print_percentage: Use floating point to avoid incorrect results when
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e09535904b7f59213807d4a314a9a59b6ea89dd3..53824f1d941a2a2c8ddde8506d783a34de119766 100644 (file)
@@ -1,3 +1,173 @@
+2004-03-20  Paul Hilfinger  <hilfingr@nile.gnat.com>
+
+       * bcache.c (print_percentage): Use floating point to avoid
+       incorrect results when portion*100 overflows.
+
+2004-03-19  Kevin Buettner  <kevinb@redhat.com>
+
+       * ppc_tdep.h (ppc_linux_frame_saved_pc)
+       (ppc_linux_init_extra_frame_info)
+       (ppc_linux_frameless_function_invocation)
+       (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain)
+       (rs6000_frame_saved_pc, rs6000_init_extra_frame_info)
+       (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs)
+       (rs6000_frame_chain): Delete declarations.
+       * ppc-linux-tdep.c (ppc_linux_frame_saved_pc)
+       (ppc_linux_init_extra_frame_info)
+       (ppc_linux_frameless_function_invocation)
+       (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete.
+       (ppc_linux_init_abi): Remove registration of above deleted functions.
+       * rs6000-tdep.c (rs6000_init_extra_frame_info)
+       (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first)
+       (rs6000_frame_args_address, rs6000_saved_pc_after_call)
+       (rs6000_pop_frame, rs6000_frameless_function_invocation)
+       (rs6000_frame_saved_pc, rs6000_frame_chain): Delete.
+       (rs6000_gdbarch_init): Remove registration of above deleted functions.
+       Use rs6000_unwind_pc(), rs6000_frame_sniffer(),
+       rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for
+       frame management for all OSABIs.
+
+2004-03-19  Andrew Cagney  <cagney@redhat.com>
+
+       Committed by Kevin Buettner <kevinb@redhat.com>.
+
+       * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h".
+       Update copyright.
+       (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache)
+       (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
+       (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
+       (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline
+       unwinders.  #ifdef legacy frame code.
+       * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
+       "frame-base.h".
+       (rs6000_unwind_pc, rs6000_unwind_dummy_id)
+       (struct rs6000_frame_cache, rs6000_frame_cache)
+       (rs6000_frame_this_id, rs6000_frame_prev_register)
+       (rs6000_frame_sniffer, rs6000_frame_unwind)
+       (rs6000_frame_base_address, rs6000_frame_base_sniffer)
+       (rs6000_frame_base): Implement a traditional frame unwinder.
+       (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the
+       frame unwinder.
+
+2004-03-19  Kevin Buettner  <kevinb@redhat.com>
+
+       * breakpoint.c (adjust_breakpoint_address): Don't adjust
+       breakpoint address for watchpoints or the catch eventpoints.
+       Add new paramter ``bptype''.  Adjust all callers.
+
+2004-03-19  Andrew Cagney  <cagney@redhat.com>
+
+       * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro.
+
+       * PROBLEMS: Delete note that ARM does not use frame code, problem
+       fixed.
+
+2004-03-18  Andrew Cagney  <cagney@redhat.com>
+
+       * stack.c (return_command): Delete code wrapped in #ifdef
+       DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
+
+       * rs6000-tdep.c (skip_prologue): Record only the first LR save.
+
+2004-03-18  Andrew Cagney  <cagney@redhat.com>
+
+       * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
+       DEPRECATED_IN_SIGTRAMP.
+       * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
+       * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * arch-utils.c (legacy_pc_in_sigtramp): Ditto.
+       * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
+
+2004-03-18  Andrew Cagney  <cagney@redhat.com>
+
+       * frame-base.c: Update copyright.  Include "gdb_obstack.h".
+       (struct frame_base_table_entry): Define.
+       (struct frame_base_table): Re-implement as a linked list.
+       (frame_base_init): Re-implement.
+       (frame_base_table): Delete function.
+       (append_predicate): Delete function.
+       (frame_base_append_sniffer): Update.
+       (frame_base_set_default): Update.
+       (frame_base_find_by_frame): Update.
+       (_initialize_frame_base): Use gdbarch_data_register_pre_init.
+       * Makefile.in (frame-base.o): Update dependencies.
+
+2004-03-17  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (legacy_get_prev_frame): Pass correct frame to
+       frame_unwind_find_by_frame.
+
+2004-03-17  David Carlton  <carlton@kealia.com>
+
+       * NEWS: Mention C++ nested types and namespaces
+
+2004-03-16  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * PROBLEMS: Add section headers, "Regressions since gdb 6.0"
+       and "Regressions since gdb 5.3.".  Add known regressions since
+       gdb 6.0.
+
+2004-03-16  David Carlton  <carlton@kealia.com>
+
+       * dwarf2read.c (process_structure_scope): Process children even
+       when we're a declaration.
+
+2004-03-16  Andrew Cagney  <cagney@redhat.com>
+
+       * symtab.h (find_pc_sect_partial_function): Delete declaration.
+       * blockframe.c (find_pc_partial_function)
+       (find_pc_sect_partial_function): Merge into a single
+       find_pc_partial_function.
+
+2004-03-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-nat.c: s/regno/regnum/g.
+       (fetch_inferior_registers): Use I386_ST0_REGNUM instead of
+       FP0_REGNUM.
+       (store_inferior_registers): Likewise.
+
+2004-03-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead
+       of i387_fill_fsave.
+       (store_inferior_registers): Call i387_collect_fsave and
+       i387_collect_fxsave instead of i387_fill_fsave and
+       i387_fill_fxsave.
+
+2004-03-15  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (frame-unwind.o): Update dependencies.
+       * frame-unwind.c: Include "gdb_obstack.h".
+       (frame_unwind_init): Replace "gdbarch" parameter with an "obstack"
+       parameter.
+       (append_predicate): Delete function.
+       (struct frame_unwind_table_entry): New structure.
+       (struct frame_unwind_table): Replace "sniffer" with "head" and
+       "tail".
+       (frame_unwind_append_sniffer): Update.
+       (frame_unwind_find_by_frame): Update.
+       (_initialize_frame_unwind): Registe frame_unwind_init using
+       gdbarch_data_register_pre_init.
+
+2004-03-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-nat.c: Update copyright year.
+       (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
+       define unconditionally.
+
+2004-03-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * i387-tdep.h (i387_collect_fsave): New prototype.
+       * i387-tdep.c (i387_collect_fsave): New function containing most
+       of the code from i387_fill_fsave.
+       (i387_fill_fsave): Call i387_collect_fsave.
+
 2004-03-15  Mark Kettenis  <kettenis@gnu.org>
 
        * i386-linux-tdep.c: Update copyright year.
This page took 0.024699 seconds and 4 git commands to generate.