+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.
+