OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
Andreas Jaeger [Thu, 21 Feb 2002 12:48:36 +0000 (12:48 +0000)]
* config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.

22 years ago* Makefile.in (armnbsd-nat.o): Update dependencies.
Richard Earnshaw [Thu, 21 Feb 2002 12:19:55 +0000 (12:19 +0000)]
* Makefile.in (armnbsd-nat.o): Update dependencies.
* armnbsd-nat.c (supply_gregset): New function.  Common code to
supply the integer register set.
(supply_fparegset): New function.  Similar for FPA registers.
(fetch_regs, fetch_fp_regs): Use them.
(fetch_core_registers): Likewise.
(fetch_elfcore_registers): New function.
(arm_netbsd_elfcore_fns): New core-file type specification.
(_initialize_arm_netbsd_nat): Register it.

22 years ago* armnbsd-nat.c: Include gdbcore.h.
Richard Earnshaw [Thu, 21 Feb 2002 11:15:41 +0000 (11:15 +0000)]
* armnbsd-nat.c: Include gdbcore.h.
(FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
(fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
'void' to declaration, to shut up ARI.
(fetch_core_registers): Make static.  Rewrite using supply_register.
(arm_netbsd_core_fns): New core-file type specification.
(_initialize_arm_netbsd_nat): New function.

22 years ago* win32-nat.c (register_loaded_dll): Correctly check for invalid handle value.
Christopher Faylor [Thu, 21 Feb 2002 06:44:05 +0000 (06:44 +0000)]
* win32-nat.c (register_loaded_dll): Correctly check for invalid handle value.

22 years ago* win32-nat.c (register_loaded_dll): Handle case where FindFirstFile fails.
Christopher Faylor [Thu, 21 Feb 2002 04:59:36 +0000 (04:59 +0000)]
* win32-nat.c (register_loaded_dll): Handle case where FindFirstFile fails.

22 years agoXCOFF booke tests. Fix tlbre, tlbwe ppc WS field.
Tom Rix [Thu, 21 Feb 2002 03:57:36 +0000 (03:57 +0000)]
XCOFF booke tests.  Fix tlbre, tlbwe ppc WS field.

22 years ago2002-02-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 21 Feb 2002 02:54:46 +0000 (02:54 +0000)]
2002-02-20  Daniel Jacobowitz  <drow@mvista.com>

        * jv-exp.y (parse_number): Change type of implicit longs
        to builtin_type_uint64.

22 years ago* gdb.base/sizeof.c (main): Call fill_structs. Print value of
Andrew Cagney [Thu, 21 Feb 2002 01:55:05 +0000 (01:55 +0000)]
* gdb.base/sizeof.c (main): Call fill_structs.  Print value of
signed, unsigned and straight char.
(padding_char, padding_short, padding_int, padding_long,
padding_long_long, padding_float, padding_double,
padding_long_double): New global variables.
(fill, fill_structs): New functions.

* gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
for correctly sized writes.  Update copyright.
(get_valueof): New procedure.
(get_sizeof): Call get_valueof.
(check_valueof): New procedure.
(check_padding): New procedure.

22 years ago*** empty log message ***
gdbadmin [Thu, 21 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-02-20 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 20 Feb 2002 23:54:01 +0000 (23:54 +0000)]
2002-02-20  Michael Chastain  <mec@shout.net>

* gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
to setup_xfail.  Document some of the remaining calls.

22 years agodaily update
Alan Modra [Wed, 20 Feb 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 20 Feb 2002 22:58:57 +0000 (22:58 +0000)]
2002-02-20  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (mywait): Change argument to waitpid
        to be an integer instead of a `union wait'.

22 years ago2002-02-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 20 Feb 2002 22:51:41 +0000 (22:51 +0000)]
2002-02-20  Daniel Jacobowitz  <drow@mvista.com>

        * mips-linux-nat.c: Call the operating system GNU/Linux.
        * mips-linux-tdep.c: Likewise.
        * mips-tdep.c: Likewise.

22 years ago2002-02-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 20 Feb 2002 22:41:52 +0000 (22:41 +0000)]
2002-02-20  Daniel Jacobowitz  <drow@mvista.com>

        Fix PR gdb/265.
        * jv-exp.y (parse_number): Handle 64-bit integers.

22 years ago* stabsread.c (error_type_complaint): Improve error message.
Jim Blandy [Wed, 20 Feb 2002 18:40:52 +0000 (18:40 +0000)]
* stabsread.c (error_type_complaint): Improve error message.

22 years ago2002-02-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 20 Feb 2002 16:46:36 +0000 (16:46 +0000)]
2002-02-20  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/configure.in: Remove AM_PROC_CC_STDC.  Change
        AC_STDC_HEADERS to AC_HEADER_STDC.
        * gdbserver/configure: Regenerated.

22 years ago2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Wed, 20 Feb 2002 16:09:04 +0000 (16:09 +0000)]
2002-02-19  Pierre Muller  <muller@ics.u-strasbg.fr>

           * gdb.texinfo: Document Cygwin native specific commands.

22 years ago * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are
Alan Modra [Wed, 20 Feb 2002 12:42:38 +0000 (12:42 +0000)]
* osf-core.c (osf_core_vec):  OSF/1 (Digital Unix) core files are
little endian.

22 years ago* arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
Richard Earnshaw [Wed, 20 Feb 2002 10:42:59 +0000 (10:42 +0000)]
* arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
is defined.
* sparc-tdep.c (get_longjmp_target): Likewise.

22 years ago* News: Add news about ARM and Multi-arch. Mention the new target
Richard Earnshaw [Wed, 20 Feb 2002 10:41:20 +0000 (10:41 +0000)]
* News: Add news about ARM and Multi-arch.  Mention the new target
arm*-*-netbsd*.

22 years ago* stabsread.c (error_type_complaint): Improve error message.
Jim Blandy [Wed, 20 Feb 2002 00:26:46 +0000 (00:26 +0000)]
* stabsread.c (error_type_complaint): Improve error message.

22 years ago*** empty log message ***
gdbadmin [Wed, 20 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-02-19 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 19 Feb 2002 23:48:14 +0000 (23:48 +0000)]
2002-02-19  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/README: Update documentation.
        * gdbserver/configure.in: Update configury to match documentation.
        * gdbserver/Makefile.in: Likewise.
        * gdbserver/configure: Regenerated.
        * gdbserver/aclocal.m4: New file, generated by aclocal.
        * gdbserver/config.in: New file, generated by autoheader.

22 years agodaily update
Alan Modra [Tue, 19 Feb 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Tue, 19 Feb 2002 21:01:40 +0000 (21:01 +0000)]
merge from gcc

22 years ago* config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
Richard Earnshaw [Tue, 19 Feb 2002 19:27:00 +0000 (19:27 +0000)]
* config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
armnbsd-nat.c.

22 years ago* arm-tdep.h (enum arm_float_model): New enum.
Richard Earnshaw [Tue, 19 Feb 2002 19:20:31 +0000 (19:20 +0000)]
* arm-tdep.h (enum arm_float_model): New enum.
(struct gdbarch_tdep): Add fp_model.
* arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep.  Defer setting
up floating-point conversions until we know the floating-point model
in use by the inferior.  Don't complain about being unable to
determine the ABI of the inferior when we don't have one.
(arm_extract_return_value): Support different floating-point models.
(arm_store_return_value): Likewise.
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
ARM_FLOAT_SOFT.
(arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.

22 years ago2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 19 Feb 2002 18:59:49 +0000 (18:59 +0000)]
2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* s390-dis.c (init_disasm): Use renamed architecture defines.

22 years ago * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
Peter Schauer [Tue, 19 Feb 2002 18:42:27 +0000 (18:42 +0000)]
* i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
        of ``current_gdbarch''.

22 years ago2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 19 Feb 2002 18:22:16 +0000 (18:22 +0000)]
2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31.
(bfd_mach_s390_esame): Rename to bfd_mach_s390_64.
* bfd-in2.h: Regenerate.
* cpu-s390.c (arch_info_struct): Use renamed architecture defines.
Replace architecture name "s390" with "s390:31-bit" and "s390:esame"
with "s390:64-bit".
* elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations.
(elf_s390_reloc_type_lookup): Likewise.
(elf_s390_check_relocs): Likewise.
(elf_s390_gc_sweep_hook): Likewise.
(elf_s390_relocate_section): Likewise.
(elf_s390_object_p): Use renamed architecture define.
* elf64-s390.c (elf_s390_object_p): Use renamed architecture define.

22 years ago* armnbsd-nat.c : ANSIfy all function declarations.
Richard Earnshaw [Tue, 19 Feb 2002 17:26:27 +0000 (17:26 +0000)]
* armnbsd-nat.c : ANSIfy all function declarations.
(fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
(fetch_inferior_registers): Re-implement in terms of above.
(store_register, store_regs, store_fp_register, store_fp_regs): New.
(store_inferior_registers): Re-implement in terms of above.

22 years ago2002-02-19 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Tue, 19 Feb 2002 16:33:04 +0000 (16:33 +0000)]
2002-02-19  Frank Ch. Eigler  <fche@redhat.com>

        * syms.c (stt[]): Sorted.  Added .init/.fini -> "t" mapping.

22 years ago* ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola
Matthew Green [Tue, 19 Feb 2002 15:20:26 +0000 (15:20 +0000)]
* ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola
specific.

22 years ago* arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
Richard Earnshaw [Tue, 19 Feb 2002 14:29:00 +0000 (14:29 +0000)]
* arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
kernel.
* arm-linux-tdep.c: Likewise.
* config/arm/tm-linux.h: Likewise.

22 years ago* configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
Richard Earnshaw [Tue, 19 Feb 2002 14:04:47 +0000 (14:04 +0000)]
* configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
* config/arm/nbsd.mt (TM_FILE): Delete.
* config/arm/tm-nbsd.h: Delete.

22 years ago* arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
Richard Earnshaw [Tue, 19 Feb 2002 13:57:35 +0000 (13:57 +0000)]
* arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
Initialize CALL_DUMMY_LENGTH.

22 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable
Jakub Jelinek [Tue, 19 Feb 2002 12:40:32 +0000 (12:40 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable
absptr -> pcrel optimization for shared libs.
Only create minimal .eh_frame_hdr if absptr FDE encoding in shared
library cannot be converted to pcrel.
(_bfd_elf_eh_frame_section_offset): Return -2 if making absptr
relative.
* elf32-i386.c (elf_i386_relocate_section): If
_bfd_elf_section_offset returned -2, skip, but make sure the
relocation is installed.
* elf32-arm.h (elf32_arm_final_link_relocate): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Handle
_bfd_elf_section_offset returning -2 the same way as -1.
* elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise.
* elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME
and BFD_ASSERT.
* elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise.

22 years ago* armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
Richard Earnshaw [Tue, 19 Feb 2002 11:46:21 +0000 (11:46 +0000)]
* armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
function.
(arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
* config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
defines one thing and that is incorrect for this port.
(IN_SOLIB_CALL_TRAMPOLINE): Delete.

22 years ago * fix compilation failure by adding #include "i386-tdep.h"
Pierre Muller [Tue, 19 Feb 2002 10:54:27 +0000 (10:54 +0000)]
 * fix compilation failure by adding #include "i386-tdep.h"

22 years ago2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Tue, 19 Feb 2002 08:49:42 +0000 (08:49 +0000)]
2002-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c (display_selector): New function. Displays information
about the information returned by GetThreadSelectorEntry API function.
(display_selectors): New function. Displays the infomation of
the selector given as argument, or of CS, DS ans FS selectors
if no argument is given.
( _initialize_inftarg): Add "w32" as info prefix command.
Add "info w32 selector" as command calling display_selectors.

22 years ago * i386-tdep.c (get_longjmp_target): Fix compilation failure
Pierre Muller [Tue, 19 Feb 2002 08:44:29 +0000 (08:44 +0000)]
  * i386-tdep.c (get_longjmp_target): Fix compilation failure
  by setting dummy values to JB_PC and JB_ELEMENT_SIZE
  if not defined.

22 years ago2002-02-18 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 19 Feb 2002 08:10:44 +0000 (08:10 +0000)]
2002-02-18  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen: For all functions and instructions, list model
        names that support that instruction one per line.

22 years agoAdd support for -brtl, run time linking, to AIX ld.
Tom Rix [Tue, 19 Feb 2002 05:01:27 +0000 (05:01 +0000)]
Add support for -brtl, run time linking, to AIX ld.

22 years ago*** empty log message ***
gdbadmin [Tue, 19 Feb 2002 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Mon, 18 Feb 2002 23:01:39 +0000 (23:01 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Mon, 18 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-18 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 18 Feb 2002 19:08:05 +0000 (19:08 +0000)]
2002-02-18  Michael Chastain  <mec@shout.net>

* gdb.c++/userdef.exp: Update copyright year.

22 years ago2002-02-18 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 18 Feb 2002 18:57:07 +0000 (18:57 +0000)]
2002-02-18  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.c++/userdef.exp: Test overloaded operators properly.
        Remove xfails.

22 years ago* config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
Richard Earnshaw [Mon, 18 Feb 2002 18:34:48 +0000 (18:34 +0000)]
* config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.

22 years ago * library/tclIndex: Updated.
Tom Tromey [Mon, 18 Feb 2002 17:19:44 +0000 (17:19 +0000)]
* library/tclIndex: Updated.
* library/srcbar.itcl (SrcBar): Use new Session namespace.
* library/main.tcl: Use new Session namespace.
* library/interface.tcl (gdbtk_tcl_preloop): Use new Session
namespace.
(gdbtk_cleanup): Likewise.
(_close_file): Likewise.
* library/session.tcl: Use a namespace.  Renamed all functions.

22 years ago* arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
Richard Earnshaw [Mon, 18 Feb 2002 16:42:54 +0000 (16:42 +0000)]
* arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
(arm_fix_call_dummy): Call it.
(arm_call_dummy_breakpoint_offset): Delete.
(arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
* config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.

22 years ago * i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands.
Jan Hubicka [Mon, 18 Feb 2002 16:32:25 +0000 (16:32 +0000)]
* i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands.

22 years ago* gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
Andrew Cagney [Mon, 18 Feb 2002 15:59:14 +0000 (15:59 +0000)]
* gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
Default to func_frame_chain_valid.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h (FRAME_CHAIN_VALID): Delete definition.

22 years ago2002-02-18 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 18 Feb 2002 15:08:40 +0000 (15:08 +0000)]
2002-02-18  Elena Zannoni  <ezannoni@redhat.com>

* ppc-linux-nat.c: Update copyright.
(fetch_register, store_register): Add tid parameter, don't compute
tid here.
(fetch_ppc_registers, store_ppc_registers): Add tid
parameter. Pass it along to callees.
(fetch_inferior_registers, store_inferior_registers): Compute tid
here, and pass it to calleed functions.
(fill_gregset, supply_fpregset): Clean up formatting.

22 years ago* arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
Richard Earnshaw [Mon, 18 Feb 2002 15:04:19 +0000 (15:04 +0000)]
* arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
* config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.

22 years ago* gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
Richard Earnshaw [Mon, 18 Feb 2002 13:35:31 +0000 (13:35 +0000)]
* gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
* gdbarch.c gdbarch.h: Regenerate.
* breakpoint.c (create_longjmp_breakpoint): Always compile this
function.
(breakpoint_reset): Test GET_LONGJMP_TARGET_P().
* infrun.c (GET_LONGJMP_TARGET): Delete default definition.
(handle_inferior_event): Test GET_LONGJMP_TARGET_P().

* arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
* arm-tdep.c (arm_get_longjmp_target): New function.
(arm_gdbarch_init): Initialize jb_pc to -1.  If ABI handler changes
this to a positive value register arm_get_longjmp_target as the
longjmp handler.
* arm-linux-tdep.c (arm_get_longjmp_target): Delete.
(arm_linux_init_abi): Set up longjmp description in tdep.
* armnbsd-nat.c (get_longjmp_target): Delete.
* armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
description in tdep.
* config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
(get_longjmp_target): Delete declaration.
(GET_LONGJMP_TARGET): Delete.
* config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
(GET_LONGJMP_TARGET): Delete.

22 years ago * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define.
Alan Modra [Mon, 18 Feb 2002 12:40:24 +0000 (12:40 +0000)]
* elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define.
(struct ppc_link_hash_table): Add sfpr.
(ppc64_elf_link_hash_table_create): Init it.
(ppc64_elf_create_dynamic_sections): Split creation of .stub and
.glink out to..
(create_linkage_sections): ..here.  Make .sfpr too.
(ppc64_elf_check_relocs): Call create_linkage_sections, and set
dynobj early.
(MIN_SAVE_FPR, MAX_SAVE_FPR): Define.
(ppc64_elf_func_desc_adjust): Look for missing ._savef* and
._restf* functions, and create as needed.
(func_desc_adjust): Only force_local for shared libs.

* emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.

22 years agoBump version number to 2.12.90
Nick Clifton [Mon, 18 Feb 2002 12:16:55 +0000 (12:16 +0000)]
Bump version number to 2.12.90

22 years agoUpdated translations
Nick Clifton [Mon, 18 Feb 2002 08:40:03 +0000 (08:40 +0000)]
Updated translations

22 years ago From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
Kevin Buettner [Mon, 18 Feb 2002 05:53:04 +0000 (05:53 +0000)]
From Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>:
* ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
of ``current_gdbarch''.

22 years ago * cli/cli-cmds.c (compare_strings): New function.
Tom Tromey [Mon, 18 Feb 2002 01:12:38 +0000 (01:12 +0000)]
* cli/cli-cmds.c (compare_strings): New function.
(complete_command): Only print each unique item once.
* completer.h (complete_line): Declare.
* completer.c (complete_line): New function.
(line_completion_function): Use it.

22 years ago*** empty log message ***
gdbadmin [Mon, 18 Feb 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 17 Feb 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * mmo.c: Correct and improve comments.
Hans-Peter Nilsson [Sun, 17 Feb 2002 21:18:33 +0000 (21:18 +0000)]
* mmo.c: Correct and improve comments.
(mmo_write_chunk): Store trailing byte in bfd buffer; don't
zero-pad.  Use input to fill up non-empty bfd buffer.
(mmo_flush_chunk): New function.
(mmo_write_loc_chunk): Add parameter last_vmap, all callers
changed.  Don't emit location specifier if VMA is same as
*LAST_VMAP after omitting leading zero contents.  Call
mmo_flush_chunk before emitting location specifier.
(mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished
with mmo_write_loc_chunk calls.
(mmo_internal_write_section): Call mmo_flush_chunk after
mmo_write_chunk.
(mmo_write_symbols_and_terminator): Move :Main to first position
in symbol array.  Add faked one if it does not exist if there are
other symbols.  Don't add it if there are no symbols at all.  Move
out test for value of :Main from symbol loop.  Rename table
fakemain to maintable and variable mainsym to fakemain.

22 years ago*** empty log message ***
gdbadmin [Sun, 17 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
Andrew Cagney [Sat, 16 Feb 2002 23:09:16 +0000 (23:09 +0000)]
* gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
* gdbarch.h, gdbarch.c: Re-generate.

22 years agodaily update
Alan Modra [Sat, 16 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-16 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 16 Feb 2002 22:25:50 +0000 (22:25 +0000)]
2002-02-16  Daniel Jacobowitz  <drow@mvista.com>

        * valarith.c (value_x_unop): Fix decrement; support post-decrement.

2002-02-16  Daniel Jacobowitz  <drow@mvista.com>

        From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
        * valops.c (value_arg_coerce): Don't take the address of a reference
        to convert an argument to a reference.

22 years ago* win32-nat.c (get_image_name): New function.
Christopher Faylor [Sat, 16 Feb 2002 02:33:24 +0000 (02:33 +0000)]
* win32-nat.c (get_image_name): New function.
(handle_load_dll): Use get_image_name function.
(get_child_debug_event): Avoid registering debug events until possibly execed
process is started.
(child_create_inferior): Allow invocation via shell so that command line
redirection, etc.  works ok.
(_initialize_inftarg): Add new command: "set shell" to control whether a shell
is used to start a process.

22 years ago*** empty log message ***
gdbadmin [Sat, 16 Feb 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Fri, 15 Feb 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-15 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 15 Feb 2002 22:59:13 +0000 (22:59 +0000)]
2002-02-15  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
        instead of find_register_by_number.
        (cannot_store_register): Likewise.

22 years ago2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 15 Feb 2002 22:42:33 +0000 (22:42 +0000)]
2002-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>

* dwarf2read.c: Replace fprintf (stderr, ...) by
fprintf_unfiltered (gdb_stderr, ...).

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target
Richard Henderson [Fri, 15 Feb 2002 21:26:05 +0000 (21:26 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target
        section with no got matches any got.  Simplify error generaion.

22 years ago * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
Richard Henderson [Fri, 15 Feb 2002 21:00:45 +0000 (21:00 +0000)]
    * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
        disassembly mask.

22 years ago2002-02-15 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 15 Feb 2002 19:08:05 +0000 (19:08 +0000)]
2002-02-15  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/gdbserver.1: Document --attach.

22 years ago2002-02-15 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 15 Feb 2002 19:06:33 +0000 (19:06 +0000)]
2002-02-15  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.texinfo: Document gdbserver ``--attach'' command.

22 years ago* arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
Richard Earnshaw [Fri, 15 Feb 2002 16:12:24 +0000 (16:12 +0000)]
* arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
descriptions.
* arm-tdep.c (arm_default_arm_le_breakpoint)
(arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
(arm_default_thumb_be_breakpoint): New.  Initialize them from
traditional breakpoint defines.
(arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
(arm_gdbarch_init): Initialize new breakpoint variables.
* arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
(arm_linux_init_abi): Initialize linux-specific breakpoint.
* armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
(arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
code out to ...
(arm_netbsd_init_abi_common): ... here; new function.
* config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
(THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
* config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
* config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.

22 years ago* arm-tdep.h (enum arm_abi): New enum.
Richard Earnshaw [Fri, 15 Feb 2002 13:35:27 +0000 (13:35 +0000)]
* arm-tdep.h (enum arm_abi): New enum.
(struct gdbarch_tdep): New structure.
(LOWEST_PC): Provide a default.
(arm_gdbarch_register_os_abi): Declare new function.
* arm-tdep.c (arm_abi_names): New array.
(process_note_abi_tag_sections): New function.
(get_elfosabi): New function.
(arm_gdbarch_register_os_abi): New function.
(arm_gdbarch_init): Try to determine the ABI of the inferior.  If
support for that ABI has been built in, then call the appropriate
configuration routine.  Use gdbarch_num_regs() to get the number
of registers.
(arm_dump_tdep): New function.
(arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
place-holder functions.
(_initialize_arm_tdep): Register them.
* config/arm/tm-arm.h (LOWEST_PC): Delete.

* armnbsd-tdep.c: New file.
* Makefile.in (armnbsd-tdep.o): Add dependencies.
* config/arm/nbsd.mt (TDEPFILES): Add it.
* config/arm/tm-nbsd.h (LOWEST_PC): Delete.

* armnbsd-nat.c: Include regcache.h.
* Makefile.in (armnbsd-nat.o): Update dependency list.

* arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.

22 years ago * alpha-opc.c (alpha_opcodes): Add simple pseudos for
Richard Henderson [Fri, 15 Feb 2002 09:43:16 +0000 (09:43 +0000)]
    * alpha-opc.c (alpha_opcodes): Add simple pseudos for
        lda, ldah, jmp, ret.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 15 Feb 2002 03:58:34 +0000 (03:58 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/Makefile.in: Fix typos in target rules.

22 years ago Support arbitrary length fill patterns.
Alan Modra [Fri, 15 Feb 2002 02:10:35 +0000 (02:10 +0000)]
Support arbitrary length fill patterns.
* linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc.
(_bfd_default_link_order): Remove bfd_fill_link_order code.
Call default_data_link_order.
(default_fill_link_order): Delete.
(default_data_link_order): New function.
* elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences
of bfd_fill_link_order with bfd_data_link_order.
* elf64-alpha.c (elf64_alpha_final_link): Likewise.
* elf64-mips.c (mips_elf64_final_link): Likewise.

22 years ago Support arbitrary length fill patterns.
Alan Modra [Fri, 15 Feb 2002 02:10:03 +0000 (02:10 +0000)]
Support arbitrary length fill patterns.
* bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order.
(struct bfd_link_order): Remove fill.  Add data.size.

22 years ago * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value.
Alan Modra [Fri, 15 Feb 2002 00:20:17 +0000 (00:20 +0000)]
* bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value.
Correct value returned in "end" for "0x<non-hex>".

22 years ago*** empty log message ***
gdbadmin [Fri, 15 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoRevert accidental commit.
Daniel Jacobowitz [Thu, 14 Feb 2002 23:57:50 +0000 (23:57 +0000)]
Revert accidental commit.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 23:40:23 +0000 (23:40 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        Fix part of PR gdb/267.
        * linespec.c (find_methods): Handle constructors specially for now.

22 years agodaily update
Alan Modra [Thu, 14 Feb 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago * arm-tdep.c (arm_push_arguments): Eliminate special float type
Corinna Vinschen [Thu, 14 Feb 2002 19:00:58 +0000 (19:00 +0000)]
* arm-tdep.c (arm_push_arguments): Eliminate special float type
handling.
* config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
standard_coerce_float_to_double().

22 years ago* config/i386/xm-cygwin.h: Revert inadvertent reinclusion of GDBINIT_FILENAME.
Christopher Faylor [Thu, 14 Feb 2002 16:32:57 +0000 (16:32 +0000)]
* config/i386/xm-cygwin.h: Revert inadvertent reinclusion of GDBINIT_FILENAME.

22 years agoReplace 'arch' field with 'mach'.
Nick Clifton [Thu, 14 Feb 2002 16:24:20 +0000 (16:24 +0000)]
Replace 'arch' field with 'mach'.

22 years ago2002-02-14 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 14 Feb 2002 15:13:53 +0000 (15:13 +0000)]
2002-02-14  Elena Zannoni  <ezannoni@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): Don't call
find_variant_by_name, because it confuses the multiarch
framework. Return NULL if there isn't an architecture with the
user supplied name, instead of forcing a different one without
recording the change with the multiarch machinery.
(find_variant_by_name): Delete.

22 years agoUpdated translation
Nick Clifton [Thu, 14 Feb 2002 15:06:41 +0000 (15:06 +0000)]
Updated translation

22 years ago * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
Peter Schauer [Thu, 14 Feb 2002 08:14:20 +0000 (08:14 +0000)]
* config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.

22 years ago2002-02-13 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 14 Feb 2002 07:25:22 +0000 (07:25 +0000)]
2002-02-13  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-hooks.c (gdbtk_print_frame_info): Don't
set GDB globals current_source_symtab and current_source_line.
Let GDB do it.

22 years ago2002-02-13 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 14 Feb 2002 07:24:54 +0000 (07:24 +0000)]
2002-02-13  Martin M. Hunt  <hunt@redhat.com>

* stack.c (print_frame_info_base): When calling
print_frame_info_listing_hook, set current_source_symtab.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 06:25:19 +0000 (06:25 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/a2-run.exp: Check for a remote target properly.
        * gdb.base/annota1.exp: Likewise.
        * gdb.base/list.exp: Likewise.
        * gdb.base/reread.exp: Likewise.
        * gdb.base/scope.exp: Likewise.
        * gdb.base/shlib-call.exp: Likewise.
        * gdb.base/term.exp: Likewise.
        * gdb.c++/annota2.exp: Likewise.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 06:21:24 +0000 (06:21 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
        and remove unused $(INCLUDE_DIR).
        Add regcache.c to OBS.
        Add generated register protocol files to clean target.
        Update dependencies for new objects, obsolete old target code.

        * gdbserver/linux-low.c: Remove all platform-specific code to
        new files.  Remove various dead code.  Update to use regcache
        functionality.
        * gdbserver/remote-utils.c (fromhex): Add return statement
        to quiet warning.
        (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
        constant.
        (input_interrupt): Add integer parameter to match prototype
        of a signal handler.
        (outreg): Use register_data ().
        (prepare_resume_reply): Use gdbserver_expedite_regs.
        * gdbserver/server.c (main): Dynamically allocate own_buf because
        PBUFSIZ is no longer constant.  Use registers_to_string () and
        registers_from_string ().
        * gdbserver/server.h: No longer include "defs.h".  Add prototypes
        for error (), fatal (), and warning ().  Update definition of
        PBUFSIZ to use regcache functionality.  Add include guard.
        * gdbserver/utils.c (fatal): Add missing ``const''.
        (warning): New function.

        * regformats/regdat.sh: Include "regcache.h" in generated files.
        Provide init_registers () function.
        * regformats/regdef.h: Add prototype for set_register_cache ().
        Add include guard.

        * gdbserver/linux-arm-low.c: New file.
        * gdbserver/linux-i386-low.c: New file.
        * gdbserver/linux-ia64-low.c: New file.
        * gdbserver/linux-m68k-low.c: New file.
        * gdbserver/linux-mips-low.c: New file.
        * gdbserver/linux-ppc-low.c: New file.
        * gdbserver/linux-sh-low.c: New file.

        * gdbserver/regcache.c: New file.
        * gdbserver/regcache.h: New file.

        * gdbserver/low-linux.c: Removed obsolete file.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 05:48:40 +0000 (05:48 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
        * config/i386/linux.mt: Likewise.
        * config/ia64/linux.mt: Likewise.
        * config/m68k/linux.mh: Likewise.
        * config/powerpc/linux.mh: Likewise.
        * config/mips/linux.mt: Likewise.

        * config/sh/linux.mt: Add GDBSERVER_DEPFILES.

        * config/i386/i386lynx.mh: Mark gdbserver variables
        as (currently) obsolete for this target.
        * config/i386/nbsd.mt: Likewise.
        * config/i386/nbsdelf.mt: Likewise.
        * config/m32r/m32r.mt: Likewise.
        * config/m68k/m68klynx.mh: Likewise.
        * config/m68k/nbsd.mt: Likewise.
        * config/m68k/sun3os4.mh: Likewise.
        * config/mips/vr5000.mt: Likewise.
        * config/ns32k/nbsd.mt: Likewise.
        * config/pa/hppabsd.mh: Likewise.
        * config/pa/hppaosf.mh: Likewise.
        * config/powerpc/nbsd.mt: Likewise.
        * config/rs6000/rs6000lynx.mh: Likewise.
        * config/s390/s390.mt: Likewise.
        * config/s390/s390x.mt: Likewise.
        * config/sparc/sparclynx.mh: Likewise.
        * config/sparc/sun4os4.mh: Likewise.
        * config/i386/x86-64linux.mt: Likewise.
        * config/sparc/linux.mh: Likewise.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 05:31:46 +0000 (05:31 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * configure.tgt: Configure gdbserver only for known working
        targets.  Set ${build_gdbserver} instead of modifying ${configdirs}.
        * configure.in: Check ${build_gdbserver}.  Put gdbserver/ into
        SUBDIRS if it is configured.  Update comment for ${nativefile}.
        * configure: Regenerated.