* vax-tdep.c: Tweak comments. Reorder include files. Don't
[external/binutils.git] / gdb / ChangeLog
index 3b25992..461e9f6 100644 (file)
@@ -1,5 +1,181 @@
+2004-05-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * vax-tdep.c: Tweak comments.  Reorder include files.  Don't
+       include "symtab.h", "opcode/vax.h" and "inferior.h".
+       (vax_skip_prologue): Replace calls to read_memory_integer by calls
+       to read_memory_unsigned_integer.
+       (vax_gdbarch_init): Reorder.
+       (_initialize_vax_tdep): Spell out prototype.
+       * Makefile.in (vax-tdep.o): Update dependencies.
+
+2004-05-08  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (resume): Delete call to DO_DEFERRED_STORES.
+       * target.c (target_detach, target_disconnect): Ditto.
+
+       * infcall.c (call_function_by_hand): When no
+       DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Do not set
+       DEPRECATED_SAVE_DUMMY_FRAME_TOS.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+       * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+       
+       * gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
+       deprecated_fix_call_dummy.
+       * v850-tdep.c (v850_gdbarch_init): Ditto.
+       * infcall.c (call_function_by_hand): Do not call
+       DEPRECATED_FIX_CALL_DUMMY.
+
+       * gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS)
+       (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * arm-linux-tdep.c (arm_linux_call_dummy_words)
+       (arm_linux_init_abi): Do not set deprecated_call_dummy_words or
+       deprecated_sizeof_call_dummy_words.
+       * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
+       * v850-tdep.c (v850_gdbarch_init): Ditto.
+       * sh64-tdep.c (sh64_gdbarch_init): Ditto.
+       * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+       * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+       * arch-utils.h (legacy_call_dummy_words)
+       (legacy_sizeof_call_dummy_words): Delete declarations.
+       * arch-utils.c (legacy_call_dummy_words)
+       (legacy_sizeof_call_dummy_words): Delete variables.
+
+       * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * inferior.h (PUSH_DUMMY_FRAME): Delete macro.
+       * infcall.c (call_function_by_hand): Eliminate call to
+       DEPRECATED_PUSH_DUMMY_FRAME.
+       * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
+       push_dummy_frame.
+       (ns32k_push_dummy_frame): Delete function.
+
+       * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
+       deprecated_call_dummy_breakpoint_offset or
+       deprecated_call_dummy_start_offset.
+       * dummy-frame.c, arm-tdep.c: Update comments.
+       * gdbarch.sh (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET)
+       (DEPRECATED_CALL_DUMMY_START_OFFSET): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       
+       * infcall.c (legacy_push_dummy_code): Delete function.
+       (push_dummy_code): Delete call.
+
+       * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * blockframe.c (legacy_frame_chain_valid): Simplify by eliminating
+       DEPRECATED_USE_GENERIC_DUMMY_FRAMES.
+       * infcall.c (legacy_push_dummy_code, call_function_by_hand): Ditto.
+       * frame.c (frame_type_from_pc, legacy_get_prev_frame): Ditto.
+
+       * breakpoint.h (deprecated_frame_in_dummy): Delete declaration.
+       (struct frame_info): Delete opaque declaration.
+       * breakpoint.c (deprecated_frame_in_dummy): Delete function.
+       * frame.c (get_frame_type): Delete call.
+
+       * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
+       pc_in_call_dummy.
+       * inferior.h (deprecated_pc_in_call_dummy_on_stack): Delete.
+       * blockframe.c (deprecated_pc_in_call_dummy_on_stack): Delete.
+
+2004-05-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * alphanbsd-tdep.c: Include "gdb_string.h".
+       * armnbsd-tdep.c: Update copyright year.
+       Include "gdb_string.h".
+       * Makefile.in (alphanbsd-tdep.o, armnbsd-tdep.o): Update
+       dependencies.
+
+       * delta68-nat.c: Remove file.
+       * m68k-tdep.c (delta68_in_sigtramp, delta68_frame_args_address)
+       (delta68_frame_saved_pc, delta68_frame_num_args): Remove functions.
+       * Makefile.in (ALLDEPFILES): Remove delta68-nat.c.
+       (delta68-nat.o): Remove dependency.
+
+       * m68k-tdep.c (m68k_frameless_function_invocation): Remove
+       function.
+       (m68k_gdbarch_init): Don't set
+       deprecated_frameless_function_invocation.
+
+2004-05-07  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Use 
+       read_memory_nobpt for code reading when doing frame unwinding.
+       * hppa-linux-tdep.c (insns_match_pattern): Likewise.
+
+2004-05-07  Randolph Chung  <tausq@debian.org>
+
+       * hppa-linux-tdep.c (hppa_linux_sigtramp_find_sigcontext): Pass in pc
+       instead of sp, handle sigaltstack case.
+       (hppa_linux_sigtramp_frame_unwind_cache): Adjust calls to 
+       hppa_linux_sigtramp_find_sigcontext, and set base to the frame of the
+       signal handler and not that of the caller.
+       (hppa_linux_sigtramp_unwind_sniffer): Adjust calls to
+       hppa_linux_sigtramp_find_sigcontext.
+
+2004-05-07  Randolph Chung  <tausq@debian.org>
+
+       * Makefile.in (ALLDEPFILES): Add hppa-linux-tdep.c and
+       hppa-linux-nat.c.
+       (hppa-linux-tdep.o, hppa-linux-nat.o): Define rules.
+       * hppa-linux-nat.c (fetch_register, store_register): Define.
+       (fetch_inferior_registers, store_inferior_registers): Define.
+       (supply_gregset): Add comment and clean up some unneeded code.
+       (fill_gregset): Add comment and fix so that it saves registers in
+       the right place in the gregset.
+       (fill_fpregset): Fix buffer overrun problem.
+       * config/pa/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
+
+2004-05-07  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_frame_prev_register_helper): New function to 
+       do common handling of the pcoqt register.
+       (hppa_frame_prev_register, hppa_stub_frame_prev_register): Convert
+       to use helper function.
+       (hppa_frame_unwind_sniffer): Only use if unwind entry is present.
+       (hppa_fallback_frame_cache, hppa_fallback_frame_this_id)
+       (hppa_fallback_frame_prev_register, hppa_fallback_frame_unwind): New
+       generic fallback unwinder when all else fails.
+       (hppa_gdbarch_init): Add fallback sniffer.
+       * hppa-tdep.h (hppa_frame_prev_register_helper): Prototype.
+       * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): Convert
+       to use helper function.
+
+2004-05-08  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/djgpp/fnchange.lst: Add translation rules for
+       gdb.arch/powerpc-aix-prologue.c and gdb.arch/powerpc-aix-prologue.exp.
+
+2004-05-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * frame.c (get_prev_frame_1): Work around GCC bug.
+       * frame.h: Add comment about GCC bug.
+
+2004-05-07  Andrew Cagney  <cagney@redhat.com>
+
+       * observer.c: Include "commands.h" and "gdbcmd.h".
+       (observer_debug, _initialize_observer): Add the
+       command "set/show debug observer".
+       * observer.sh: When observer debugging, log notify calls.
+       * Makefile.in (observer.o): Update dependencies.
+
+2004-05-07  Jason Molenda  (jmolenda@apple.com)
+
+       * cli/cli-decode.c: Fix "SHOW_DOR" comment typeos.
+
 2004-05-07  Jim Blandy  <jimb@redhat.com>
 
+       * aix-thread.c (fetch_regs_kernel_thread, fill_gprs64,
+       fill_gprs32, store_regs_kernel_thread): Use tdep->ppc_gp0_regnum
+       to recognize gpr regnums, instead of assuming that
+       tdep->ppc_fp0_regnum marks the end of the general-purpose
+       registers.
+
        * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Assert that
        the given architecture has floating-point registers.