* elflink.h (elf_bfd_final_link): Check if dynobj is not NULL
[binutils-gdb.git] / gdb / ChangeLog
index c2202bf2c38c8df970d9a93634d901d2d4a6acb9..ccd64de50a3ab26fa36e48e395b7595e70f624a4 100644 (file)
@@ -1,3 +1,126 @@
+2001-12-30  Michael Snyder  <msnyder@redhat.com>
+
+       * sparc-tdep.c (sparc-store-return-value): Whitespace fix-up.
+
+2001-12-29  Elena Zannoni  <ezannoni@redhat.com>
+
+        * Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h.
+
+        * rs6000-tdep.c: Include parser-defs.h.
+        (rs6000_register_virtual_type): Rewrite, including handling of
+        AltiVec regs type.
+        (altivec_register_p): New function.
+        (rs6000_do_altivec_registers): New function.
+        (rs6000_altivec_registers_info): New function.
+        (rs6000_do_registers_info): New function.
+        (R16): Define.
+        (PPC_ALTIVEC_REGS): Define.
+        (registers_powerpc): Add AltiVec registers.
+        (registers_7400): Define.
+        (variants): Add 7400 machine.
+        (rs6000_gdbarch_init): Set the numbers of AltiVec registers.
+        Initialize gdbarch_do)_registers_info.
+        (rs6000_info_power_command): New function.
+        (info_power_cmdlist): New static variable.
+        (_initialize_rs6000_tdep): Add new 'info powerpc altivec' command.
+
+        * ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields.
+        (altivec_register_p): Export.
+
+2001-12-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-nat.c (reg_offset): Fix typo.
+
+       * i386-tdep.c (i386_push_dummy_frame): Don't write back the
+       modified frame pointer until the old frame pointer has been saved.
+
+2001-12-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * arch-utils.c (initialize_current_architecture): Test byte_order
+       against BFD_ENDIAN_UNKNOWN.
+       (gdbarch_info_init): Initialize byte_order to BFD_ENDIAN_UNKNOWN.
+       * gdbarch.sh: Update comments on default value of byte_order.
+       (verify_gdbarch, gdbarch_update_p): Test byte_order against
+       BFD_ENDIAN_UNKNOWN.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2001-12-27  Michael Snyder  <msnyder@redhat.com>
+
+       * i386-linux-nat.c: Include i386-tdep.h.
+
+       * maint.c (match_substring): GNU coding standards fixes.
+       (print_bfd_section_info): Ditto.
+       (print_objfile_section_info): Ditto.
+
+2001-12-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * maint.c (match_substring): Make parameters `string' and `substr'
+       const.  Make local variable `tok' const.
+
+2001-12-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM,
+       FCTRL_REGNUM, FPC_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM,
+       FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM,
+       LAST_FPU_CTRL_REGNUM, XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM,
+       IS_FP_REGNUM, IS_SSE_REGNUM): Removed.
+       (FP0_REGNUM): Define conditionally depending on HAVE_I387_REGS.
+       (SIZEOF_FPU_CTRL_REGS): Hardcode value.
+       * i386-tdep.h (struct gdbarch_tdep): Change such that it contains
+       a single member `num_xmm_regs'.
+       (FPC_REGNUM): New macro.
+       (FIRST_FPU_REGNUM, LAST_FPU_REGNUM, FISRT_XMM_REGNUM,
+       LAST_XMM_REGNUM, MXCSR_REGNUM, FIRST_FPU_CTRL_REGNUM,
+       LAST_FPU_CTRL_REGNUM): Removed.
+       (FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FOP_REGNUM, XMM0_REGNUM,
+       MXCSR_REGNUM): Define unconditionally.  Change macros to match the
+       comment describing the register layout.
+       (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM): New macros.
+       (FP_REGNUM_P, FPC_REGNUM_P, SSE_REGNUM_P): New macros.
+       (IS_FP_REGNUM, IS_FPU_CTRL_REGNUM, IS_SSE_REGNUM): Make obsolete,
+       unconditionally define in terms of FP_REGNUM_P, FPC_REGNUM_P and
+       SSE_REGNUM_P).
+       (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Make
+       obsolete, unconditionally define in terms of FISEG_REGNUM,
+       FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM.
+       * i386-tdep.c (i386_gdbarch_init): Initialize `num_xmm_regs'
+       member of `struct gdbarch_tdep'.
+       * x86-64-tdep.c (i386_gdbarch_init): Change initialization of
+       `struct gdbarch_tdep'.
+       * i387-nat.c (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM):
+       Replace with FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM and
+       FOOFF_REGNUM.  Use FPC_REGNUM instead of FIRST_FPU_CTRL_REGNUM.
+       Use XMM0_REGNUM instead of LAST_FPU_CTRL_REGNUM.
+
+2001-12-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * cli/cli-script.c (execute_control_command): Replace value_ptr
+       with a struct value pointer.
+       * ch-lang.c (evaluate_subexp_chill): Ditto.
+       * printcmd.c (printf_command): Ditto.
+       * tracepoint.c (set_traceframe_context): Ditto.
+       (encode_actions): Ditto.
+       * eval.c (evaluate_subexp_standard): Ditto.
+
+2001-12-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.sh: When an int variable, print value using %d instead
+       of %ld.
+       * gdbarch.c: Re-generate.
+       
+2001-12-24  Tom Rix  <trix@redhat.com>
+
+       * config/powerpc/aix.mt (TDEPFILES): Add xcoffread.o to fix a build 
+       failure.
+
+2001-12-21  Michael Snyder  <msnyder@redhat.com>
+
+       * procfs.c (info_proc_cmd): Add the 'mappings' sub-command that
+       was dropped a few years ago, when procfs.c was rewritten.
+       (info_proc_mappings): New function, implement 'info proc mappings'.
+       (mappingflags): New function.
+       (_initialize_procfs): Document new option to 'info proc' command.
+
 2001-12-21  Tom Tromey  <tromey@redhat.com>
 
        * configure, config.in: Rebuilt.