Back out change. The NetBSD changes need Jason Thorpe's approval, but
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index aaba0f97d0395eed74e749e8329ceb785ff1d344..4eccaffa00495756d511a38fe49aadc5827d6857 100644 (file)
@@ -1,3 +1,737 @@
+2004-05-10  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * alphanbsd-tdep.c: Fix include of "gdb_string.h".
+
+2004-05-10  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (check_sigtramp2): Delete function.
+       (handle_inferior_event): When single stepping, and taking a
+       signal, set a breakpoint at the signal return address.  Delete
+       redundant calls to check_sigtramp2.
+       (insert_step_resume_breakpoint): New function.
+       (through_sigtramp_breakpoint, handle_inferior_event)
+       (follow_exec, wait_for_inferior, fetch_inferior_event)
+       (currently_stepping, keep_going): Delete most uses of
+       through_sigtramp_breakpoint, not that it should be deleted.
+       (delete_breakpoint_current_contents): Delete function.
+
+2004-05-10  Randolph Chung  <tausq@debian.org>
+
+       * config/pa/linux.mt (TM_FILE): Use new tm-linux.h for hppa-linux
+       target.
+       * config/pa/tm-linux.h: New file.
+
+2004-05-10  Daniel Jacobowitz  <drow@mvista.com>
+
+       * cli/cli-setshow.c (cmd_show_list): Check for "show" in the middle
+       of prefixes.  Don't print the prefix twice in the CLI.
+
+2004-05-10  Jim Blandy  <jimb@redhat.com>
+
+       * rs6000-tdep.c (ppc_collect_gregset): When regnum == -1, do
+       collect all the gprs.
+
+       * rs6000-tdep.c (ppc_collect_gregset): Correct off-by-one error in
+       loop collecting gprs.
+
+2004-05-09  Andrew Cagney  <cagney@redhat.com>
+
+       * remote-vx.c (net_step): Delete step-range code.
+       * remote.c (remote_resume, init_all_packet_configs)
+       (set_remote_protocol_E_packet_cmd)
+       (show_remote_protocol_E_packet_cmd)
+       (remote_protocol_E, show_remote_cmd, _initialize_remote)
+       (remote_protocol_e, set_remote_protocol_e_packet_cmd)
+       (show_remote_protocol_e_packet_cmd): Ditto.
+
+2004-05-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM.
+
+       * hppa-tdep.h: Update copyright year.
+       (struct trad_frame_saved_reg): Add opaque declaration.
+
+       * amd64-tdep.c (amd64_return_value): Implement
+       RETURN_VALUE_ABI_RETURNS_ADDRESS.
+
+       * m68k-tdep.c (m68k_convert_register_p, m68k_register_to_value)
+       (m68k_value_to_register): New functions.
+       (m68k_gdbarch_init): Set convert_register_p, register_to_value and
+       value_to_register.
+
+       * defs.h (enum return_value_convention): Add
+       RETURN_VALUE_ABI_RETURNS_ADDRESS and
+       RETURN_VALUE_ABI_PRESERVES_ADDRESS.
+       * infcmd.c (legacy_return_value): New function.
+       (print_return_value): Rwerite to implement
+       RETURN_VALUE_ABI_RETURNS_ADDRESS.
+       * values.c (using_struct_return): Check for inequality to
+       RETURN_VALUE_REGISTER_CONVENTION instead of equality to
+       RETURN_VALUE_STRUCT_CONVENTION.
+       * i386-tdep.c (i386_return_value): Implement
+       RETURN_VALUE_ABI_RETURNS_ADDRESS.
+
+       * 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. 
+
+2004-05-07  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Replace with
+       macro defined to 1.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
+       deprecated_use_generic_dummy_frames.
+
+2004-05-07  Brian Ford  <ford@vss.fsi.com>
+
+       * NEWS: Mention Cygwin DWARF 2 support.
+
+2004-05-07  Andrew Cagney  <cagney@redhat.com>
+
+       * objfiles.h (struct entry_info): Delete unused fields
+       deprecated_entry_file_lowpc and deprecated_entry_file_highpc.
+       * objfiles.c (init_entry_point_info, objfile_relocate): Update.
+       * mipsread.c (mipscoff_symfile_read): Update.
+       * mdebugread.c (parse_partial_symbols): Update.
+       * dwarfread.c (read_file_scope): Update.
+       * dwarf2read.c (read_file_scope): Update.
+       * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update.
+       * coffread.c (complete_symtab): Update.
+
+2004-05-07  Mark Kettenis  <kettenis@gnu.org>
+
+       * infcall.c (_initialize_infcall): Fix typo.
+
+2004-05-07  Andrew Cagney  <cagney@redhat.com>
+
+       * cli/cli-decode.c (add_setshow_zinteger_cmd): New function.
+       * command.h (add_setshow_zinteger_cmd): Declare.
+
+2004-05-06  Randolph Chung  <tausq@debian.org>
+
+       * config/pa/tm-hppa.h (RO_REGNUM, FLAGS_REGNUM, RP_REGNUM)
+       (HPPA_FP_REGNUM, HPPA_SP_REGNUM, SAR_REGNUM, IPSW_REGNUM)
+       (PCOQ_HEAD_REGNUM, PCSQ_HEAD_REGNUM, PCOQ_TAIL_REGNUM, PCSQ_TAIL_REGNUM)
+       (EIEM_REGNUM, IIR_REGNUM, ISR_REGNUM, IOR_REGNUM, SR4_REGNUM)
+       (RCR_REGNUM, PID0_REGNUM, PID1_REGNUM, PID2_REGNUM, PID3_REGNUM)
+       (CCR_REGNUM, TR0_REGNUM, CR27_REGNUM, HPPA_FP0_REGNUM, FP4_REGNUM)
+       (ARG0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM): Move *_REGNUM 
+       definitions ...
+       * hppa-tdep.h: ... to here, with HPPA_ prefix.
+       * Makefile.in (hppah-nat.o): Add $(hppa_tdep_h)
+       * hppa-hpux-tdep.c (hppa32_hpux_frame_find_saved_regs_in_sig)
+       (hppa64_hpux_frame_find_saved_regs_in_sig)
+       (child_get_current_exception_event): Add HPPA_ prefix to *_REGNUM usage.
+       * hppa-linux-nat.c (GR_REGNUM, TR_REGNUM, greg_map): Likewise.
+       * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum)
+       (hppa_linux_target_write_pc, hppa_linux_sigtramp_frame_unwind_cache)
+       (hppa_linux_sigtramp_frame_prev_register): Likewise.
+       * hppa-tdep.c (hppa32_return_value, hppa64_return_value)
+       (hppa32_push_dummy_call, hppa64_push_dummy_call, hppa64_frame_align)
+       (hppa_target_read_pc, hppa_target_write_pc, hppa_frame_cache)
+       (hppa_frame_prev_register, hppa_stub_frame_unwind_cache)
+       (hppa_stub_frame_prev_register, hppa_unwind_dummy_id)
+       (hppa_skip_permanent_breakpoint, hppa_instruction_nullified)
+       (hppa32_register_type, hppa_cannot_store_register)
+       (hppa_fetch_pointer_argument, hppa_pseudo_register_read): Likewise.
+       * hppah-nat.c (store_inferior_registers, fetch_register): Likewise.
+       * hpread.c (hpread_process_one_debug_symbol): Likewise.
+       * pa64solib.c (pa64_solib_have_load_event)
+       (pa64_solib_have_unload_event, pa64_solib_loaded_library_pathname)
+       (pa64_solib_unloaded_library_pathname): Likewise.
+       * somsolib.c (som_solib_have_load_event, som_solib_have_unload_event)
+       (som_solib_library_pathname): Likewise.
+
+2004-05-05  Jim Ingham  <jingham@apple.com>
+       
+       * breakpoint.c (create_breakpoints): Copy the ignore count and
+       thread id over from the pended breakpoint to the actual
+       breakpoint.
+       
+2004-05-05  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (PARM_BOUNDARY): Delete.
+       gdbarch.h, gdbarch.c: Re-generate.
+       * valops.c (PARM_BOUNDARY): Delete macro.
+       (value_push): Delete PARM_BOUNDARY code.
+       * m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.
+
+2004-05-04  Jim Blandy  <jimb@redhat.com>
+
+       * ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers):
+       Don't assume that the gprs, fprs, and UISA sprs are
+       contiguous, start at register number zero, and end with fpscr.
+       Instead, use the numbers from the tdep structure.
+
+       * config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that this
+       should no longer be used in code specific to the RS6000 and its
+       derivatives.
+       * ppc-tdep.h (struct gdbarch_tdep): Add 'ppc_fp0_regnum' member.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Initialize
+       tdep->ppc_fp0_regnum.
+       (ppc_supply_fpregset, ppc_collect_fpregset)
+       (rs6000_push_dummy_call, rs6000_extract_return_value)
+       (rs6000_dwarf2_stab_reg_to_regnum, rs6000_store_return_value)
+       (rs6000_frame_cache): Use tdep->ppc_fp0_regnum instead of
+       FP0_REGNUM. 
+       * aix-thread.c (supply_fprs, fetch_regs_kernel_thread)
+       (fill_gprs64, fill_gprs32, fill_fprs, store_regs_kernel_thread):
+       Same.
+       * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_fetch_registers,
+       bdm_ppc_store_registers): Same.
+       * ppc-linux-nat.c (ppc_register_u_addr, fetch_register) 
+       (store_register, fill_fpregset): Same.
+       * ppc-linux-tdep.c (ppc_linux_sigtramp_cache) 
+       (ppc_linux_supply_fpregset): Same.
+       * ppcnbsd-nat.c (getfpregs_supplies): Same.
+       * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg):
+       Same.
+       * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call,
+       do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call,
+       ppc64_sysv_abi_return_value): Same.
+       * rs6000-nat.c (regmap, fetch_inferior_registers) 
+       (store_inferior_registers, fetch_core_registers): Same.
+
+2004-05-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68knbsd-nat.c: Remove file.
+       * m68knbsd-tdep.c: Remove file.
+       * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove
+       dependencies.
+       * configure.host: Add m68k-*-netbsdelf*.
+       * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd.
+       * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o,
+       solib.o and solib-sunos.o.  Remove m68knbsd-nat.o, corelow.o.
+       (XM_FILE): Remove.
+       * config/m68k/nbsdelf.mh: New file.
+       * config/m68k/nbsd.mt: New file.
+       * config/m68k/nbsdaout.mt: Remove file.
+       * config/m68k/tm-nbsd.h: Don't include <sys/param.h>,
+       <machine/vmparam.h> and "m68k/tm-m68k.h".  Include "solib.h".
+       (BPT_VECTOR, STACK_END_ADDR): Remove defines.
+       (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise.
+       (use_struct_convention): Remove prototype.
+       (USE_STRUCT_CONVENTION): Remove define.
+       * config/m68k/xm-nbsd.h: Remove file.
+
+2004-05-04  Michael Snyder  <msnyder@redhat.com>
+
+       * m68k-tdep.c (m68k_gdbarch_init): Default to using 
+       reg_struct_return method (as gcc usually does for cross targets).
+
+2004-05-04  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+       Committed by Andrew Cagney.
+       * s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for
+       alignment padding when accessing ucontext struct members.
+
+2004-05-04  Jim Blandy  <jimb@redhat.com>
+
+       * config/ppc-tdep.h (struct gdbarch_tdep): Delete
+       'ppc_gplast_regnum' member.
+       (ppc_num_gprs): New enum constant.
+       * ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum
+       and ppc_num_gprs instead of tdep->ppc_gplast_regnum.
+       * rs6000-nat.c (regmap, fetch_inferior_registers,
+       store_inferior_registers): Same.
+       * rs6000-tdep.c (e500_pseudo_register_read)
+       (e500_pseudo_register_write): Same.
+       (rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum.
+
+       * config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition.
+       * ppc-tdep.h (ppc_num_fprs): New enum constant.
+       * aix-thread.c (fetch_regs_kernel_thread, fill_fprs,
+       store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not
+       FPLAST_REGNUM.
+       * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
+       Same.
+       * ppc-linux-nat.c (ppc_register_u_addr): Same.
+       * rs6000-nat.c (regmap, fetch_inferior_registers) 
+       (store_inferior_registers): Same.
+
+       * aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
+       with FPLAST_REGNUM.
+
+2004-05-03  Joel Brobecker  <brobecker@gnat.com>
+
+       * dwarf2read.c (dwarf2_create_include_psymtab): Fix build
+       failure detected by recent versions of GCC.
+       (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro
+       to be consistent with the usage in dwarf2_create_include_psymtab.
+
+2004-05-03  Michael Snyder  <msnyder@redhat.com>
+
+       * mips-tdep.c (mips_gdbarch_init): Fix typo in comment.
+       (heuristic_proc_start): Whitespace cleanup.
+
+2004-05-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * sun3-nat.c: Remove file.
+       * Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove
+       dependencies.
+       (ALLDEPFILES): Remove sun3-nat.c.
+       (sun3-nat.o): Remove dependencies.
+
+       * i386-interix-nat.c, i386-interix-tdep.c,
+       config/i386/nm-interix.h, config/i386/interix.mh,
+       config/i386/interix.mt: Remove files.
+       * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove
+       dependencies.
+
+2004-05-03  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68k-tdep.h (struct gdbarch_tdep): Add member
+       struct_value_regnum.
+       (m68k_svr4_init_abi): New prototype.
+       * m68k-tdep.c: Include "floatformat.h".  Add comment about all the
+       different calling conventions.
+       (m68k_extract_return_value): Remove code dealing with single-field
+       structs.
+       (m68k_store_return_value): Remove code dealing with single-field
+       structs.  Correctly store return values of 5, 6, 7 or 8 bytes.
+       (m68k_extract_struct_value_address): Remove function.
+       (m68k_svr4_extract_return_value,m68k_svr4_store_return_value)
+       (m68k_reg_struct_return_p, m68k_return_value)
+       (m68k_svr4_return_value): New functions.
+       (m68k_use_struct_convention): Remove function.
+       (m68k_push_dummy_call): Use new struct_value_regnum member of
+       `struct gdbarch_tdep' instead of hardcoded register number to
+       store STRUCT_ADDR.
+       (m68k_svr4_init_abi): New function.
+       (m68k_gdbarch_init): Don't set extract_return_value,
+       store_return_values, deprecated_extract_struct_value_address and
+       use_struct_convention.  Set return_value instead.  Initialize new
+       struct_value_regnum member of `struct gdbarch_tdep'.
+       * m68klinux-tdep.c: Update copyright year.
+       (m68k_linux_extract_return_value, m68k_linux_store_return_value)
+       (m68k_linux_extract_struct_value_address): Remove function.
+       (m68k_linux_init_abi): Don't set extract_return_value,
+       store_return_values, deprecated_extract_struct_value_address and
+       use_struct_convention.  Call m68k_svr4_init_abi but override the
+       new struct_value_regnum member of `struct gdbarch_tdep'.
+       * Makefile.in (m68k-tdep.o): Update dependencies.
+
+2004-05-03  J. Brobecker  <brobecker@gnat.com>
+
+       * dwarf2read.c (line_header): Add new included_p field in
+       field file_names.
+       (partial_die_info): New field has_stmt_list. New field line_offset.
+       (dwarf2_create_include_psymtab): New function.
+       (dwarf2_build_include_psymtabs): New function.
+       (add_file_name): Add forward declaration. Initialize new field.
+       (dwarf_decode_lines): Add new parameter. Enhance this procedure
+       to be able to determine the list of files included by the
+       given unit, and build their associated psymtabs.
+       (dwarf2_build_psymtabs_hard): Build the psymtabs for the included
+       files as well.
+       (psymtab_to_symtab_1): Build the symtabs of all dependencies as well.
+       (read_file_scope): Update call to dwarf_decode_lines.
+       (read_partial_die): Handle DW_AT_stmt_list attributes.
+
+2004-05-02  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Unfix PR gdb/1626.
+       * configure.in: Revert special case for osf5.*.
+       * configure: Regenerate.
+
+2004-05-02  Jim Blandy  <jimb@redhat.com>
+
+       Move the symbol-file-from-memory functions into their own file.
+       * symfile-mem.c, symfile-mem.h: New files.
+       * symfile.c (symbol_file_add_from_bfd): New function.
+       (symbol_file_add): Call symbol_file_add_from_bfd.
+       (symbol_file_add_from_memory, add_symbol_file_from_memory_command):
+       Moved to symfile-mem.c.
+       (_initialize_symfile): Move definition of
+       add-symbol-file-from-memory command to symfile-mem.c.
+       * symfile.h (symbol_file_add_from_bfd): New declaration.
+       * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o.
+       * config/powerpc/linux.mt (TDEPFILES): Same.
+       * Makefile.in (SFILES): Add symfile-mem.c.
+       (symfile_mem_h): New variable.
+       (HFILES_NO_SRCDIR): Add symfile-mem.h.
+       (symfile-mem.o): New rule.
+
+2004-05-01  Andrew Cagney  <cagney@redhat.com>
+
+       * breakpoint.c (insert_bp_location): Use get_frame_id, and
+       frame_find_by_id instead of frame_relative_level.
+       (do_enable_breakpoint): Ditto.
+       * thread.c: Update copyright.
+       (info_threads_command): Ditto, simplify.
+
+       * frame.c (deprecated_generic_get_saved_register): Delete
+       function, moved to "xstormy16-tdep.c".
+       * xstormy16-tdep.c (xstormy16_get_saved_register): Inline
+       deprecated_generic_get_saved_register from "frame.c".
+       (xstormy16_frame_saved_register): Call
+       xstormy16_get_saved_register.
+       * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make
+       static.
+       * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete.
+       * frame.h (deprecated_generic_get_saved_register): Delete.
+
+2004-05-01  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * dwarfread.c: Update documentation on the state of dwarf-1.
+
+2004-05-01  Andrew Cagney  <cagney@redhat.com>
+
+       * stack.c (select_frame_command): Delete call to
+       frame_relative_level.
+       (print_frame, set_backtrace_limit_command, backtrace_limit_info):
+       Delete #if0 code.
+       (frame_info): Do not print FRAMELESS.
+       (print_block_frame_labels): Replace DEPRECATED_STREQ.
+       (catch_info): Delete #if0 code.
+
+       * frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
+       * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
+       of frame_relative_level.
+       * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
+       to SENTINEL_FRAME.
+       * frame.h (enum frame_type): Add SENTINEL_FRAME.
+       * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
+       frame_relative_level.
+
+       * frame.h (deprecated_set_frame_type): Delete declaration.
+       * frame.c (deprecated_set_frame_type): Delete function, update
+       comments.
+
+       * gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp.
+       (shnbsd_pc_in_sigtramp): Delete.
+       * i386-interix-tdep.c (i386_interix_init_abi): Do not set
+       pc_in_sigtramp.
+       * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set
+       pc_in_sigtramp.
+       * frame.h: Update comments.
+       * ppc-linux-tdep.c: Update comments.
+       * breakpoint.c (bpstat_what): Update comments.
+
+       * Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix
+       m68klinux-tdep.o's dependencies, were previously added to
+       m68klinux-nat.o.
+
+       * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
+       * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
+       * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
+       * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
+       * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
+
+       * Makefile.in (m68klinux-nat.o): Update dependencies.
+       * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
+       (m68k_linux_sigtramp_frame_cache)
+       (m68k_linux_sigtramp_frame_this_id)
+       (m68k_linux_sigtramp_frame_prev_register)
+       (m68k_linux_sigtramp_frame_unwind)
+       (m68k_linux_sigtramp_frame_sniffer)
+       (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from
+       m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable
+       names, use trad-frame.h.
+       * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info.
+       (struct m68k_sigtramp_info): Delete.
+       * m68k-tdep.c (m68k_sigtramp_frame_cache)
+       (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register)
+       (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer)
+       (m68k_gdbarch_init): Delete all the sigtramp code, moved to
+       "m68klinux-tdep.c".
+
+       * infrun.c (check_sigtramp2): Delete check for
+       DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
+
+2004-05-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
+
+2004-05-01  Andrew Cagney  <cagney@redhat.com>
+
+       * frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
+       (frv_linux_sigtramp_frame_cache)
+       (frv_linux_sigtramp_frame_this_id)
+       (frv_linux_sigtramp_frame_prev_register)
+       (frv_linux_sigtramp_frame_unwind)
+       (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
+       include "linux" in function and variable names, directly call
+       frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
+       the latest trad-frame code.
+       (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
+       not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
+       * Makefile.in (frv-linux-tdep.o): Update dependencies.
+       * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
+       * frv-tdep.c (frv_sigtramp_frame_cache)
+       (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
+       (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
+       frv-linux-tdep.c.
+       (frv_gdbarch_init): Do not append a sigtramp sniffer.
+       (struct gdbarch_tdep): Delete sigcontext_reg_addr.
+       (frv_set_sigcontext_reg_addr): Delete function.
+
+       * gdbarch.sh (DEPRECATED_SIGTRAMP_START)
+       (DEPRECATED_SIGTRAMP_END): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * arch-utils.c (legacy_pc_in_sigtramp): Simplify.
+       * config/vax/tm-vaxbsd.h: Update copyright.
+       (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
+       (DEPRECATED_IN_SIGTRAMP): Define.
+       * config/m68k/tm-nbsd.h: Update copyright.
+       (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
+       (DEPRECATED_IN_SIGTRAMP): Define.
+
+2004-05-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
+       encondings.  Fixes PR gdb/1628.
+
+       * dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
+       DW_CFA_restore state without a matching DW_CFA_remember_state
+       instead of aborting.  Fixes PR backtrace/1589.
+
+2004-04-30  Joel Brobecker  <brobecker@gnat.com>
+
+       * MAINTAINERS: Add self as AIX maintainer.
+       Update my e-mail address in write-after-approval section.
+
+2004-04-30  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP.
+       (legacy_get_prev_frame): Ditto.
+
+       * mips-tdep.c (mips_pc_in_sigtramp): Delete.
+       (mips_gdbarch_init): Do not set pc_in_sigtramp.
+       * mipsread.c (sigtramp_address): Delete extern variable.
+       (mipscoff_new_init): Delete reference.
+       * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables.
+       (fixup_sigtramp): Delete function.
+       * config/mips/tm-mips.h (sigtramp_address, sigtramp_end)
+       (fixup_sigtramp): Delete declarations.
+
+       * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
+       deprecated_pc_in_sigtramp.
+       (ppcnbsd_pc_in_sigtramp): Delete function.
+
+2004-05-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/m68k/nm-nbsd.h: Tweak comments.
+       * config/m68k/nm-nbsdaout.h: Likewise.
+
+2004-04-30  Andrew Cagney  <cagney@redhat.com>
+
+       * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call
+       legacy_pc_in_sigtramp.
+       * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
+
+2004-05-01  Mark Kettenis  <kettenis@gnu.org>
+
+       Add OpenBSD/m68k support.
+       * NEWS (New native configurations): Mention OpenBSD/m68k.
+       * m68kbsd-tdep.c: New file.
+       * m68kbsd-nat.c: New file.
+       * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c.
+       (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies.
+       * configure.host: Add m68k-*-openbsd.
+       * configure.tgt: Add m68k-*-openbsd.
+       * config/m68k/tm-obsd.h: New file.
+       * config/m68k/obsd.mt: New file.
+       * config/m68k/obsd.mh: New file.
+       * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and
+       m68kbsd-tdep.c.
+
+2004-04-30  Andrew Cagney  <cagney@redhat.com>
+
+       * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
+       (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
+
+2004-04-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
+       * config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
+
+2004-04-30  Brian Ford  <ford@vss.fsi.com>
+
+       Revert 2004-04-16 change.
+       * i386-tdep.c (i386_gdbarch_init): Fix comment typos.
+       (i386_coff_init_abi): Remove.
+       * i386-tdep.h (i386_coff_init_abi): Remove.
+       * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
+
 2004-04-30  Andrew Cagney  <cagney@redhat.com>
 
        * blockframe.c (find_pc_partial_function): Delete use of
This page took 0.049609 seconds and 4 git commands to generate.