2004-03-23 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a65f4f08126bf47488df51ef96edef9166a45f89..bb23e08d1dbf39f132e2fa60d568226c9b8574b5 100644 (file)
@@ -1,3 +1,197 @@
+2004-03-23  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (trad_frame_h): Add $(frame_h).
+       * trad-frame.h: Update copyright.  Include "frame.h".
+       (struct trad_frame_cache, trad_frame_cache_zalloc): Declare.
+       (trad_frame_set_id, trad_frame_get_id): Declare.
+       (trad_frame_set_reg_addr, trad_frame_get_register): Declare.
+       * trad-frame.c: Update copyright.
+       (struct trad_frame_cache): Define.
+       (trad_frame_cache_zalloc): New function.
+       (trad_frame_set_id, trad_frame_get_id): New functions.
+       (trad_frame_set_reg_addr, trad_frame_get_register): New functions.
+       
+2004-03-22  Andrew Cagney  <cagney@redhat.com>
+
+       * s390-tdep.c (struct s390_stub_unwind_cache): Rename
+       s390_pltstub_unwind_cache.
+       (s390_stub_frame_unwind_cache): Rename
+       s390_pltstub_frame_unwind_cache.
+       (s390_stub_frame_this_id): Rename s390_pltstub_frame_this_id.
+       (s390_stub_frame_prev_register): Rename
+       s390_pltstub_frame_prev_register.
+       (s390_stub_frame_unwind): Rename s390_pltstub_frame_unwind.
+       (s390_stub_frame_sniffer): Rename s390_stub_frame_sniffer.
+
+       From Ulrich Weigand:
+       * s390-tdep.c (s390_pltstub_frame_sniffer): Handle invalid function
+       pointer calls like PLT calls.
+
+2004-03-22  Daniel Jacobowitz  <drow@mvista.com>
+
+       * mips-tdep.c (non_heuristic_proc_desc): Search using the specified
+       PC rather than the partial function start address.  Use the start
+       address to sanity check the found PDR.
+
+2004-03-22  Daniel Jacobowitz  <drow@mvista.com>
+
+       * lin-lwp.c (lin_lwp_wait): Pass the LWP ID to
+       linux_handle_extended_wait.
+
+2004-03-22  Andrew Cagney  <cagney@redhat.com>
+
+       * rs6000-tdep.c (frame_initial_stack_address): Delete unused
+       function.
+
+       * frame.h (generic_pop_current_frame): Delete declaration.
+       (deprecate_pop_dummy_frame): Deprecate
+       generic_pop_dummy_frame.
+       * dummy-frame.c (deprecated_pop_dummy_frame): Update.
+       (generic_pop_current_frame): Delete function.
+       * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to
+       generic_pop_current_frame.
+       * v850-tdep.c (v850_pop_frame): Update.
+       * mcore-tdep.c (mcore_pop_frame): Update.
+       * sh64-tdep.c (sh64_pop_frame): Update.
+       * h8300-tdep.c (h8300_pop_frame): Update.
+
+2004-03-22  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.h (deprecated_pc_in_call_dummy): Rename
+       generic_pc_in_call_dummy.
+       * dummy-frame.h (pc_in_dummy_frame): Delete declaration.
+       * dummy-frame.c (deprecated_pc_in_call_dummy): Rename
+       generic_pc_in_call_dummy.
+       (pc_in_dummy_frame): Make static.
+       * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * dummy-frame.c (dummy_frame_sniffer): Simplify.
+       * frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy.
+       (legacy_get_prev_frame): Ditto.
+       * inferior.h: Delete reference to generic_pc_in_call_dummy in
+       comment.
+       
+2004-03-21  Andrew Cagney  <cagney@redhat.com>
+
+       * inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete
+       declaration and out-of-date comment.
+       * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
+       Delete function.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Do not set
+       deprecated_pc_in_call_dummy.
+
+       * infrun.c (handle_inferior_event): For non legacy frames, use the
+       frame ID and frame type to identify a signal trampoline.  Update
+       comments.
+
+2004-03-21  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h".
+       * Makefile.in (mipsnbsd-tdep.o): Update dependencies.
+
+2004-03-21  Andrew Cagney  <cagney@redhat.com>
+
+       * frame-unwind.h: Update copyright.
+       (struct frame_data): Add opaque declaration.
+       (frame_sniffer_ftype): Declare.
+       (struct frame_unwind): Add "unwind_data" and "sniffer".
+       (frame_unwind_register_unwinder): Declare.
+       (frame_unwind_find_by_frame): Add parameter "this_cache".
+       * frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame)
+       (legacy_get_prev_frame, legacy_get_prev_frame)
+       (get_frame_type): Pass the prologue_cache to
+       frame_unwind_find_by_frame.
+       * frame-unwind.c (struct frame_unwind_table_entry): Add field
+       "unwinder".
+       (frame_unwind_register_unwinder): New function.
+       (frame_unwind_find_by_frame): Handle an unwind sniffer.
+
+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".
This page took 0.029959 seconds and 4 git commands to generate.