2003-04-08 Elena Zannoni <ezannoni@redhat.com>
[external/binutils.git] / gdb / ChangeLog
index 0c13c5f..c1ba5bb 100644 (file)
@@ -1,3 +1,652 @@
+2003-04-08  Elena Zannoni  <ezannoni@redhat.com>
+
+        * infrun.c (stop_soon): Rename from stop_soon_quietly.
+       (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
+       (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
+       (start_remote): Ditto.
+       (handle_inferior_event): Ditto.
+       (save_inferior_status): Ditto.
+       (restore_inferior_status): Ditto.
+       * infcmd.c (attach_command): Ditto.
+       * fork-child.c (startup_inferior): Ditto.
+        * inferior.h (stop_soon): Rename from stop_soon_quietly.
+       * alpha-tdep.c (heuristic_proc_start): Ditto.
+       * mips-tdep.c (heuristic_proc_start): Ditto.
+       * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
+       * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
+       * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
+       * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
+       * remote-vx.c (vx_create_inferior): Ditto.
+
+2003-04-08  Elena Zannoni  <ezannoni@redhat.com>
+
+       * infrun.c (stop_soon_quietly): Make it an enum, to better
+       override the default behavior of handle_inferior_event.
+       (clear_proceed_status): Update uses of stop_soon_quietly to
+       reflect that it is now an enum.
+       (start_remote): Ditto.
+       (handle_inferior_event): Change logic a bit if stop_soon_quietly
+       is set to handle the new GNU/Linux kernel behavior for
+       attach/sigstop.  Update uses of stop_soon_quietly.
+       * inferior.h (enum stop_kind): New enum.
+       * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
+       Reset normal handle_inferior_event behavior, afterwards.
+       * fork-child.c (startup_inferior): Update.
+       * alpha-tdep.c (heuristic_proc_start): Update.
+       * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
+       * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
+       * solib-osf.c (osf_solib_create_inferior_hook): Update.
+       * solib-irix.c (irix_solib_create_inferior_hook): Update.
+       * remote-vx.c (vx_create_inferior): Update.
+       * mips-tdep.c (heuristic_proc_start): Update.
+
+2003-04-07  Elena Zannoni  <ezannoni@redhat.com>
+
+       * disasm.c (dump_insns):  Move variables inside loop, or they will
+        be freed more than once, causing wild memory corruptions.
+       (gdb_disassembly): Look for the substring "-thread",
+        instead of "-threads" in the target name, to make sure to find
+        the 'multi-thread' target.  Also, make sure we do the right thing 
+        with the "core" target.
+
+2003-04-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (mips_print_fp_register): New function, created from
+       do_fp_register_row().  Registers are now (also) printed as hex.
+       Only one register is printed per row.
+       (mips_print_register, do_fp_register_row): Print floating point
+       registers with mips_print_fp_register().
+
+2003-04-06  Andrew Cagney  <cagney@redhat.com>
+
+       * valprint.h (inspect_it): Add extern declaration.
+       * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
+       (selectors_info, classes_info): Ditto.
+       (find_objc_msgcall): Fix indentation.
+       (objc_printstr): Delete extern declarations.
+
+       * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
+
+2003-04-06  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
+       Update comment.
+       * frame.c (legacy_saved_regs_this_id): Update.
+       (legacy_get_prev_frame): Update.
+       * xstormy16-tdep.c: Update comment.
+       * sparc-tdep.c (sparc_frame_chain): Update comment.
+       * blockframe.c (legacy_frame_chain_valid): Update.
+
+2003-04-06  Andrew Cagney  <cagney@redhat.com>
+
+       * valprint.c (val_print_type_code_int): Delete #ifdef
+       PRINT_TYPELESS_INTEGER code.
+
+       * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
+       (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
+       multi-arch definition.
+       * gdbarch.h: Re-generate.
+
+2003-04-05  Andrew Cagney  <cagney@redhat.com>
+
+       Eliminate FRAME_FIND_SAVED_REGS.
+       * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
+       Change FSR parameter to a pointer.
+       * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
+       Assume FSR parameter is a pointer.
+       * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
+       Make fsr a pointer.
+       * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
+       (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs.  Make
+       saved_regs a pointer.
+       (hppa_frame_saved_pc): Ditto.
+       (find_dummy_frame_regs): Make frame_saved_regs a pointer
+       (hppa_pop_frame): Call hppa_frame_init_saved_regs.  Make fsr a
+       pointer.
+       (restore_pc_queue): Make fsr a pointer.
+       (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
+       (hppa_frame_chain): Make saved_regs a pointer, call
+       hppa_frame_init_saved_regs.
+       * sparc-tdep.c: Include "gdb_assert.h".
+       (sparc_frame_find_saved_regs): Replace internal_error with
+       gdb_assert.
+       * remote-vxsparc.c (vx_read_register): Delete reference to
+       FRAME_FIND_SAVED_REGS.
+       * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
+       * gdbarch.h: Regenerate.
+       * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
+       (deprecated_get_frame_saved_regs): Delete declaration.
+       (struct frame_saved_regs): Delete definition.
+       * frame.c (deprecated_get_frame_saved_regs): Delete function.
+       * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
+       (hppa_frame_find_saved_regs): Delete declaration.
+       (FRAME_FIND_SAVED_REGS): Delete macro.
+       (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
+       * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
+       FRAME_FIND_SAVED_REGS in comment.
+
+2003-04-05  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (frame_func_unwind, get_frame_func): New functions.
+       * frame.h (get_frame_func, frame_func_unwind): Declare.
+       (struct frame_info): Add field "prev_func" for caching the
+       previous frame's function address.
+       * arm-tdep.c (arm_frameless_function_invocation): Combine
+       get_pc_function_start and get_frame_pc into get_frame_func.
+       * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
+       (sh64_nofp_frame_init_saved_regs): Ditto.
+       * s390-tdep.c (s390_function_start): Ditto.
+       * rs6000-tdep.c (rs6000_pop_frame): Ditto.
+       (rs6000_frameless_function_invocation): Ditto.
+       (rs6000_frame_saved_pc): Ditto.
+       * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
+       * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
+       * i386-tdep.c (i386_frameless_signal_p): Ditto.
+       (i386_frame_init_saved_regs): Ditto.
+       * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
+       * d10v-tdep.c (d10v_frame_unwind_cache): Combine
+       get_pc_function_start and frame_pc_unwind into frame_func_unwind.
+       * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
+       * blockframe.c (frameless_look_for_prologue): Ditto.
+
+2003-04-05  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (legacy_get_prev_frame): Link prev to next at the
+       function start.  Update comments.
+
+2003-04-05  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (get_frame_id): Update comment.
+       (legacy_get_prev_frame): Update comment.
+       * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
+       * gdbarch.h: Regenerate.
+       * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
+       * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
+
+2003-04-05  Andrew Cagney  <cagney@redhat.com>
+
+       * stack.c (print_frame_info): Use get_frame_pc.
+
+2003-04-04  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (get_prev_frame): Do not call frame_type_from_pc.  Set
+       the frame's type from the unwinder.
+       (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
+       (create_new_frame, legacy_get_prev_frame): When the unwinder's
+       type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
+       (get_frame_base_address): Use get_frame_type.
+       (get_frame_locals_address, get_frame_args_address): Ditto.
+       (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
+       * frame.h (enum frame_type): Add UNKNOWN_FRAME.
+       (struct frame_info): Add comment explaining why the frame contains
+       a "type" field.
+       * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
+       * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
+       * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
+       NORMAL_FRAME.
+       * frame-unwind.h: Include "frame.h".
+       (struct frame_unwind): Add "type" field.
+       * Makefile.in (frame_unwind_h): Add $(frame_h).
+       
+2003-04-04  Andrew Cagney  <cagney@redhat.com>
+
+       * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
+       * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
+       * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
+       get_frame_base.
+       (d10v_unwind_dummy_id): Use frame_id_build.
+       * frame.c (find_frame_sal): Use get_frame_pc.
+       (create_new_frame): Use deprecated_update_frame_pc_hack and
+       deprecated_update_frame_base_hack.
+       (create_sentinel_frame): Add comment about ->pc going away.
+       (get_prev_frame): Add comment about ->pc going away.
+       (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
+       frame_id_build, deprecated_update_frame_pc_hack and
+       deprecated_update_frame_base_hack.
+       (select_frame): Use get_frame_pc.
+       (legacy_saved_regs_this_id): Use frame_id_build.
+
+2003-04-04  Elena Zannoni  <ezannoni@redhat.com>
+
+        * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
+        signed integer case.
+        (classify_argument): Handle enumerations and references.
+
+2003-04-04  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (create_sentinel_frame): Initialize the sentinel frame's
+       ID to NULL.
+
+2003-04-01  Adam Fedor  <fedor@gnu.org>
+
+       * gdb/objc-lang.c (selectors_info): Replace calls to
+       SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
+       SYMBOL_NATURAL_NAME.
+       (classes_info, find_methods): Likewise.
+
+2003-04-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
+       ``mach'' to the value determined by bfd_default_set_arch_mach().
+
+2003-04-02  Bob Rossi  <bob_rossi@cox.net>
+
+       * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
+       (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
+       (mi-cmd-file.o): Update dependencies.
+
+2003-04-01  Kevin Buettner  <kevinb@redhat.com>
+
+       * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
+       (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
+
+2003-04-01  Adam Fedor  <fedor@gnu.org>
+
+       * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
+       * language.h (struct language_defn): Add la_demangle.
+       (language_demangle): Declare.
+       * language.c (language_demangle): New function.
+       (unk_lang_demangle): Likewise.
+       (unknown_language_defn, auto_language_defn, local_language_defn):
+        Add ukn_lang_demangle.
+       * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
+        * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
+       * c-lang.c (c_language_defn, asm_language_defn): Likewise.
+       (cplus_language_defn): Add cplus_demangle for la_demangle element.
+       * jv-lang.c (java_demangle): New function
+       (java_language_defn): Use it for la_demangle element.
+        * objc-lang.c (objc_demangle): Add options argument
+        (objc_language_defn): Use objc_demangle for la_demangle element.
+       * maint.c (maintenance_demangle): Replace switch with
+       call to language_demangle.
+       * utils.c (fprintf_symbol_filtered): Likewise.
+
+2003-04-01  Andrew Cagney  <cagney@redhat.com>
+
+       * printcmd.c (print_frame_nameless_args): Delete #ifdef
+       NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
+       PRINT_TYPELESS_INTEGER.
+       * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
+       PUSH_RETURN_ADDRESS.
+
+2003-04-01  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (d10v-tdep.o): Update dependencies.
+       * d10v-tdep.c: Include "frame-base.h".
+       (d10v_frame_unwind): Make constant.
+       (d10v_frame_base_address): New function.
+       (d10v_frame_base): New variable.
+       (d10v_gdbarch_init): Set frame_base default.
+       (struct d10v_unwind_cache): Add the field "prev_sp".  Update
+       comment for base.
+       (d10v_frame_unwind_cache): Set and use "prev_sp".
+       (d10v_frame_this_id): Use the previous frame's inner most stack
+       address and this frame's func address for the frame ID.  Use
+       frame_id_build.  Don't analyze beyond the current instruction.
+       
+2003-04-01  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.h (get_frame_locals_address, get_frame_args_address):
+       Refer to the base address, instead of the address of the first
+       local or parameter.
+       
+2003-04-01  Andrew Cagney  <cagney@redhat.com>
+
+       Add frame debug info addresses:
+       * frame-base.c: New file.
+       * frame-base.h: New file.
+       * frame.h (struct frame_base): Add opaque declaration.
+       (get_frame_base): Update comment.
+       (get_frame_base_address): Declare.
+       (get_frame_locals_address): Declare.
+       (get_frame_args_address): Declare.
+       (struct frame_info): Add "base" and "base_cache".  Update
+       comments on the unwinder.
+       * frame.c: Include "frame-base.h".
+       (get_frame_locals_address): New function.
+       (get_frame_base_address): New function.
+       (get_frame_args_address): New function.
+       * findvar.c (read_var_value): Use get_frame_locals_address and
+       get_frame_args_address.
+       * stack.c (frame_info): Use get_frame_locals_address and
+       get_frame_args_address.
+       (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
+       moved to "frame-base.c".
+       * printcmd.c (print_frame_nameless_args): Ditto.
+       * symtab.h (address_class): Update comments.
+       * dwarf2loc.c (dwarf_expr_frame_base): Add note about
+       get_frame_base_address.
+       * dwarf2expr.c (execute_stack_op): Ditto.
+       * Makefile.in (frame_base_h): Define.
+       (frame.o): Update dependencies.
+       (frame-base.o): Add dependencies.
+       (SFILES): Add frame-base.c.
+       (COMMON_OBS): Add frame-base.o.
+
+2003-04-01  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
+       CALL_DUMMY_LENGTH): Ditto.
+       * gdbarch.c: Re-generate.
+       * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
+       (CALL_DUMMY_LENGTH): Delete macro.
+       * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
+       * arm-tdep.c (arm_gdbarch_init): Ditto.
+       * avr-tdep.c (avr_gdbarch_init): Ditto.
+       * cris-tdep.c (cris_gdbarch_init): Ditto.
+       * d10v-tdep.c (d10v_gdbarch_init): Ditto.
+       * frv-tdep.c (frv_gdbarch_init): Ditto.
+       * h8300-tdep.c (h8300_gdbarch_init): Ditto.
+       * hppa-tdep.c (hppa_gdbarch_init): Ditto.
+       * i386-tdep.c (i386_gdbarch_init): Ditto.
+       * ia64-tdep.c (ia64_gdbarch_init): Ditto.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
+       * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+       * mips-tdep.c (mips_gdbarch_init): Ditto.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
+       * s390-tdep.c (s390_gdbarch_init): Ditto.
+       * sh-tdep.c (sh_gdbarch_init): Ditto.
+       * sparc-tdep.c (sparc_gdbarch_init): Ditto.
+       * v850-tdep.c (v850_gdbarch_init): Ditto.
+       * vax-tdep.c (vax_gdbarch_init): Ditto.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
+
+2003-04-01  Corinna Vinschen  <vinschen@redhat.com>
+
+       * frame.c (get_prev_frame): Disable call to inside_entry_file().
+
+2003-04-01  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
+       (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
+       (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
+       * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
+       * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
+       (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
+       * infcmd.c (run_stack_dummy): Simplify assuming
+       CALL_DUMMY_BREAKPOINT_OFFSET_P.
+       * infrun.c (handle_inferior_event): Ditto.
+       * alpha-tdep.c (alpha_gdbarch_init): Do not set
+       call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
+       * arm-tdep.c (arm_gdbarch_init): Ditto.
+       * avr-tdep.c (avr_gdbarch_init): Ditto.
+       * cris-tdep.c (cris_gdbarch_init): Ditto.
+       * d10v-tdep.c (d10v_gdbarch_init): Ditto.
+       * frv-tdep.c (frv_gdbarch_init): Ditto.
+       * h8300-tdep.c (h8300_gdbarch_init): Ditto.
+       * i386-tdep.c (i386_gdbarch_init): Ditto.
+       * ia64-tdep.c (ia64_gdbarch_init): Ditto.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
+       * m68k-tdep.c (m68k_gdbarch_init): Ditto.
+       * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+       * mips-tdep.c (mips_gdbarch_init): Ditto.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+       * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
+       * s390-tdep.c (s390_gdbarch_init): Ditto.
+       * sh-tdep.c (sh_gdbarch_init): Ditto.
+       * sparc-tdep.c (sparc_gdbarch_init): Ditto.
+       * v850-tdep.c (v850_gdbarch_init): Ditto.
+       * vax-tdep.c (vax_gdbarch_init): Ditto.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
+
+2003-04-01  Daniel Jacobowitz  <drow@mvista.com>
+
+       * symfile.c (symfile_relocate_debug_section): Update call to
+       bfd_simple_get_relocated_section_contents.
+
+2003-03-31  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * inferior.h (FIX_CALL_DUMMY): Delete macro.
+       * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
+       available.
+       * frame.h (generic_fix_call_dummy): Delete declaration.
+       * dummy-frame.h: Update comment.
+       * dummy-frame.c (generic_fix_call_dummy): Delete function.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
+       fix_call_dummy.
+       * sh-tdep.c (sh_gdbarch_init): Ditto.
+       * s390-tdep.c (s390_gdbarch_init): Ditto.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+       * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
+       * ia64-tdep.c (ia64_gdbarch_init): Ditto.
+       * i386-tdep.c (i386_gdbarch_init): Ditto.
+       * h8300-tdep.c (h8300_gdbarch_init): Ditto.
+       * frv-tdep.c (frv_gdbarch_init): Ditto.
+       * d10v-tdep.c (d10v_gdbarch_init): Ditto.
+       * cris-tdep.c (cris_gdbarch_init): Ditto.
+       * avr-tdep.c (avr_gdbarch_init): Ditto.
+       * arm-tdep.c (arm_gdbarch_init): Ditto.
+
+2003-03-31  J. Brobecker  <brobecker@gnat.com>
+
+       * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
+       (INIT_FRAME_AP): Likewise.
+       (EXTRA_FRAME_INFO): Likewise.
+
+2003-03-31  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh: Include "symfile.h".
+       (CALL_DUMMY_ADDRESS): Default to entry_point_address.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
+       call_dummy_address, the default is at entry_point_address.
+       * v850-tdep.c (v850_gdbarch_init): Ditto.
+       * sparc-tdep.c (sparc_gdbarch_init): Ditto.
+       * sh-tdep.c (sh_gdbarch_init): Ditto.
+       * s390-tdep.c (s390_gdbarch_init): Ditto.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+       * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+       * ia64-tdep.c (ia64_gdbarch_init): Ditto.
+       * i386-tdep.c (i386_gdbarch_init): Ditto.
+       * h8300-tdep.c (h8300_gdbarch_init): Ditto.
+       * frv-tdep.c (frv_gdbarch_init): Ditto.
+       * d10v-tdep.c (d10v_gdbarch_init): Ditto.
+       * cris-tdep.c (cris_gdbarch_init): Ditto.
+       * arm-tdep.c (arm_gdbarch_init): Ditto.
+
+2003-03-31  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (CALL_DUMMY_P): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * inferior.h (CALL_DUMMY_P): Delete macro.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
+       * vax-tdep.c (vax_gdbarch_init): Update.
+       * v850-tdep.c (v850_gdbarch_init): Update.
+       * sparc-tdep.c (sparc_gdbarch_init): Update.
+       * sh-tdep.c (sh_gdbarch_init): Update.
+       * s390-tdep.c (s390_gdbarch_init): Update.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Update.
+       * ns32k-tdep.c (ns32k_gdbarch_init): Update.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Update.
+       * mips-tdep.c (mips_gdbarch_init): Update.
+       * mcore-tdep.c (mcore_gdbarch_init): Update.
+       * m68k-tdep.c (m68k_gdbarch_init): Update.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
+       * ia64-tdep.c (ia64_gdbarch_init): Update.
+       * i386-tdep.c (i386_gdbarch_init): Update.
+       * h8300-tdep.c (h8300_gdbarch_init): Update.
+       * frv-tdep.c (frv_gdbarch_init): Update.
+       * d10v-tdep.c (d10v_gdbarch_init): Update.
+       * cris-tdep.c (cris_gdbarch_init): Update.
+       * breakpoint.c (deprecated_frame_in_dummy): Update.
+       * avr-tdep.c (avr_gdbarch_init): Update.
+       * alpha-tdep.c (alpha_gdbarch_init): Update.
+       * arm-tdep.c (arm_gdbarch_init): Update.
+       * dummy-frame.c (dummy_frame_this_id): Update comments.
+       * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
+       * frame.c (legacy_get_prev_frame): Ditto.
+       * valops.c (call_function_by_hand): Delete function.
+       (hand_function_call): Rename to call_function_by_hand
+
+2003-03-30  Andrew Cagney  <cagney@redhat.com>
+
+       2002-11-10 Klee Dienes <kdienes@apple.com>
+        * value.h (struct value): Update comment.
+
+2003-03-30  Andrew Cagney  <cagney@redhat.com>
+
+       * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
+       D10V_FP_REGNUM.
+       (d10v_gdbarch_init): Do not set fp_regnum.
+
+       * frame.c (get_frame_base): Force ID initialization.
+       (get_prev_frame): Move computation of the frame ID from here ...
+       (get_frame_id): ... to here.
+       (legacy_get_prev_frame): Mark the frame ID as valid.
+       * frame.h (struct frame_info): Add field "id_p".
+
+2003-03-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_store_struct_return): Removed.
+       (i386_gdbarch_init): Don't set deprecated_store_struct_return.
+
+2003-03-30  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
+       * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+       * m68k-tdep.c (m68k_gdbarch_init): Ditto.
+       * i386-tdep.c (i386_gdbarch_init): Ditto.
+       * h8300-tdep.c (h8300_gdbarch_init): Ditto.
+       * cris-tdep.c (cris_gdbarch_init): Ditto.
+       * vax-tdep.c (vax_gdbarch_init): Ditto.
+       * s390-tdep.c (s390_gdbarch_init): Ditto.
+       * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+       * alpha-tdep.c (alpha_gdbarch_init): Ditto.
+       * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
+       * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
+       * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
+       * sparc-tdep.c (sparc_gdbarch_init): Update.
+       * sh-tdep.c (sh_gdbarch_init): Update.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Update.
+       * mips-tdep.c (mips_gdbarch_init): Update.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
+       * ia64-tdep.c (ia64_gdbarch_init): Update.
+       * frv-tdep.c (frv_gdbarch_init): Update.
+       * avr-tdep.c (avr_gdbarch_init): Update.
+       * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
+       DEPRECATED_DUMMY_WRITE_SP.  Call when the method is available,
+       instead of when push_dummy_call is not available.
+       
+2003-03-30  Andrew Cagney  <cagney@redhat.com>
+
+       * infttrace.c: Include "gdbthread.h".
+       (parent_attach_all): Fix function signature.
+       (call_ptrace): Update call.
+       * Makefile.in (infttrace.o): Update dependencies.
+
+2003-03-30  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
+       PUSH_RETURN_ADDRESS.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
+       * x86-64-tdep.c (x86_64_init_abi): Update.
+       * v850-tdep.c (v850_gdbarch_init): Update.
+       * sparc-tdep.c (sparc_gdbarch_init): Update.
+       * sh-tdep.c (sh_gdbarch_init): Update.
+       * s390-tdep.c (s390_gdbarch_init): Update.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Update.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Update.
+       * mips-tdep.c (mips_gdbarch_init): Update.
+       * mcore-tdep.c (mcore_gdbarch_init): Update.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
+       * ia64-tdep.c (ia64_gdbarch_init): Update.
+       * i386-tdep.c (i386_gdbarch_init): Update.
+       * h8300-tdep.c (h8300_gdbarch_init): Update.
+       * frv-tdep.c (frv_gdbarch_init): Update.
+       * cris-tdep.c (cris_gdbarch_init): Update.
+       * avr-tdep.c (avr_gdbarch_init): Update.
+       * arm-tdep.c (arm_gdbarch_init): Update.
+       * valops.c (hand_function_call): Update.
+
+2003-03-29  Andrew Cagney  <cagney@redhat.com>
+
+       * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
+       sizeof_call_dummy_words.
+       * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
+       define.
+       * gdbarch.h: Regenerate.
+       
+2003-03-29  Andrew Cagney  <cagney@redhat.com>
+
+       * infttrace.h: New file.
+       * hpread.c: Include "gdb_assert.h" and "somsolib.h".
+       (hpread_get_textlow): Detect an uninitialized dn_bufp.
+       (hpread_read_doc_function_type): Detect an initialized type1.
+       (hpread_quick_traverse): Initialize mod_name_string.
+       * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
+       (som_solib_get_solib_by_pc): Declare.
+       (so_lib_thread_start_addr): Declare.
+       (no_shared_libraries): Declare.
+       * somread.c (init_import_symbols): Make static.  Add forward
+       declaration.
+       * config/pa/nm-hppah.h: Include "infttrace.h" for
+       parent_attach_all.
+       (hppa_insert_hw_watchpoint): Declare.
+       (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
+       * hppah-nat.c: Include "gdb_string.h".
+       (parent_attach_all): Delete extern declaration, moved to
+       "infttrace.h".
+       (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
+       int.
+       (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
+       * Makefile.in (infttrace_h): Define.
+       (hpread.o): Update dependencies.
+       (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
+       * hppa-hpux-tdep.c: Include "gdb_string.h".
+       * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
+       * infrun.c (handle_inferior_event): Always initialize
+       stepped_after_stopped_by_watchpoint.  Add default and remove
+       fallthrough in switch statement.
+       * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
+       parameter to int.
+       (hppa_remove_hw_watchpoint): Ditto.
+
+2003-03-29  Andrew Cagney  <cagney@redhat.com>
+
+       * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
+       offset.
+
+2003-03-29  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-tdep.c (arm_push_arguments): Delete.
+       (struct stack_item): New type.
+       (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
+       (arm_store_struct_return): Delte.
+       (arm_gdbarch_init): Register arm_push_dummy_call.  Don't register
+       arm_push_arguments or arm_store_struct_return.
+
+2003-03-28  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (d10v-tdep.o): Update dependencies.
+       * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
+       * d10v-tdep.c: Include "remote.h".
+       (target_resume_hook): Delete extern declaration.
+       (target_wait_loop_hook): Ditto.
+       (tdisassemble_command): Eliminate assignment in "if" conditional.
+       (d10v_ts2_register_sim_regno): Eliminate call to
+       legacy_register_sim_regno.
+       (d10v_ts3_register_sim_regno): Ditto.
+
+2003-03-28  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * thread.c: Reindented.
+       * lin-lwp.c: Ditto.
+       * linux-proc.c: Ditto.
+
 2003-03-28  Bob Rossi  <bob_rossi@cox.net>
 
         * MAINTAINERS (write after approval): Add myself.
        * objc-lang.c (objc_skip_trampoline): New function.
        (objc_language_defn): Add objc_skip_trampoline.
 
-I2003-03-25  Andrew Cagney  <cagney@redhat.com>
+2003-03-25  Andrew Cagney  <cagney@redhat.com>
 
        * frame.c (get_prev_frame): Delay validating a frame's ID -
        non-NULL, didn't go backwards - until an attempt to unwind it to