+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".
+ (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
(CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
define unconditionally.
-2004-03-15 Mark Kettenis <m.kettenis@osp.nl>
+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_fill_fsave.
+ (i387_fill_fsave): Call i387_collect_fsave.
2004-03-15 Mark Kettenis <kettenis@gnu.org>