2004-05-17 Randolph Chung <tausq@debian.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d8b072e98208be15f701dd0b3d48f26dea444c22..c7728777029323565c62a1b29e2ad656df828553 100644 (file)
@@ -1,3 +1,685 @@
+2004-05-17  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c: Remove superfluous #include's.
+       * Makefile.in (hppa-tdep.o): Update dependencies.
+
+2004-05-17  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol.
+       (THREAD_INITIAL_FRAME_SYM_LEN): Likewise.
+       (unwind_command, hppa_alignof, prologue_inst_adjust_sp)
+       (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries)
+       (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr):
+       Remove static function declarations.
+
+2004-05-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
+       and M68K_A2_REGNUM.
+
+       * m68k-tdep.c (m68k_svr4_return_value): Implement
+       RETURN_VALUE_ABI_RETURNS_ADDRESS.
+
+2004-05-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * sol-thread.c Update copyright year.  Fix various coding
+       standards violations.  Tweak a few comments.
+       (td_err_string, td_state_string, thread_to_lwp, lwp_to_thread):
+       Delete prototypes.
+
+2004-05-15  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs
+       as pointer instead of array reference since HPUX compiler does
+       not accept unsized array arguments.
+       * somsolib.c (dld_flags_buffer): Use constant array size.
+
+2004-05-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
+       offset with decimal offset.
+       (amd64obsd_sigcontext_addr): Return correct address for entire
+       signal trampoline.
+
+       * vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
+       instead of get_frame_base.
+
+       * i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.
+       (fill_gregset): Use regcache_raw_collect.
+
+       * config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and
+       ppcobsd-tdep.c.
+
+       * config/sparc/tm-nbsd64.h: Remove file.
+       * config/tm-sunos.h: Remove file.
+
+2004-05-15  Joel Brobecker  <brobecker@gnat.com>
+
+       * rs6000-tdep.c (store_param_on_stack_p): New function,
+       an improved version of some code extracted from skip_prologue().
+       (skip_prologue): Use store_param_on_stack_p() to detect
+       instructions saving a parameter on the stack. Detect when r0
+       is used to save a parameter.
+       Do not mark "li rx, SIMM" instructions as part of the prologue,
+       unless the following instruction is also part of the prologue.
+
+2004-05-14  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (handle_inferior_event): Simplify
+       STEP_OVER_UNDEBUGGABLE.
+
+       * infrun.c (handle_step_into_function): Delete function.
+       (handle_inferior_event): Inline calls to
+       handle_step_into_function.
+
+2004-05-14  Jerome Guitton  <guitton@rome.act-europe.fr>
+
+       * rs6000-nat.c: Fix a comment.
+
+2004-05-12  David Anderson <davea@sgi.com>
+
+       Committed by Jim Blandy <jimb@redhat.com>:
+       * regcache.c (struct regcache_descr): fix comment spelling.
+
+2004-05-13  J. Brobecker  <brobecker@gnat.com>
+
+       * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
+       Fixes a link link failure.
+
+2004-05-13  J. Brobecker  <brobecker@gnat.com>
+
+       * aix-thread.c (store_regs_kernel_thread): Fix a little obvious
+       error that was causing the build to fail.
+
+2004-05-13  J. Brobecker  <brobecker@gnat.com>
+
+       * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
+       * Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
+
+2004-05-13  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (handle_inferior_event): Check for
+       STEP_OVER_UNDEBUGGABLE after signal trampolines and function
+       calls.  Update comments.
+
+2004-05-13  Jim Blandy  <jimb@redhat.com>
+
+       * aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs)
+       (fetch_regs_user_thread, fetch_regs_kernel_thread)
+       (store_regs_user_thread, store_regs_kernel_thread): Use
+       ppc_num_gprs and ppc_num_fprs instead of '32' and '31'.
+       * ppc-linux-nat.c (fill_gregset): Same.
+       * ppc-linux-tdep.c (ppc_linux_supply_gregset) 
+       (ppc_linux_sigtramp_cache): Same.
+       * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg) 
+       (ppcnbsd_sigtramp_cache_init): Same.
+       * rs6000-nat.c (fetch_core_registers): Same.
+       * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) 
+       (rs6000_frame_cache): Same.
+
+       * aix-thread.c (supply_gprs64, fetch_regs_user_thread)
+       (store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead
+       of assuming that the gprs are numbered starting with zero.
+       * ppc-linux-nat.c (fill_gregset): Same.
+       * ppc-linux-tdep.c (ppc_linux_supply_gregset): Same.
+       * ppcnbsd-nat.c (getregs_supplies): Same.
+       * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same.
+       * rs6000-nat.c (fetch_core_registers): Same.
+       * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same.
+
+2004-05-07  Michael Snyder  <msnyder@redhat.com>
+
+       * tracepoint.c (scope_info): Add handling for LOC_COMPUTED,
+       LOC_COMPUTED_ARG, and LOC_INDIRECT.
+
+2004-05-13  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (handle_inferior_event): Use frame_unwind_id.
+
+2004-05-13  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust
+       base_address for shared libraries.
+
+2004-05-13  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * MAINTAINERS (write after approval): Add myself.       
+
+2004-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * breakpoint.c (bpstat_stop_status): Add new argument
+       STOPPED_BY_WATCHPOINT.  Use it instead of testing
+       target_stopped_data_address agaist 0 to check whether
+       or not we stopped due to a hardware watchpoint.
+       * breakpoint.h (bpstat_stop_status): Adapt prototype.
+       * infrun.c (handle_inferior_event): Call bpstat_stop_status
+       with new argument.
+
+2004-05-12  Jim Blandy  <jimb@redhat.com>
+
+       * configure.in: When checking whether we should use the -bbigtoc
+       option, don't forget to restore the original value of LDFLAGS.
+       * configure: Regenerated.
+
+2004-05-12  Andrew Cagney  <cagney@redhat.com>
+
+       * thread.c (load_infrun_state): Delete step_sp.
+       * infrun.c (context_switch): Ditto.
+       * inferior.h (step_sp): Ditto.
+       * infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto.
+       * gdbthread.h (struct thread_info, save_infrun_state)
+       (restore_infrun_state): Ditto.
+
+2004-05-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * MAINTAINERS (write after approval): Add myself.
+
+2004-05-12  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (adjust_pc_after_break): Rewrite decr logic,
+       eliminate reference to step_sp.
+       (struct execution_control_state, init_execution_control_state)
+       (handle_inferior_event, keep_going): Delete update_step_sp and
+       step_sp.
+       * infcmd.c (step_sp): Note that variable is unused.
+
+2004-05-11  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (step_over_function): Delete function.
+       (handle_step_into_function): Use insert_step_resume_breakpoint.
+       (insert_step_resume_breakpoint): Fix assertion.
+
+2004-05-11  Nick Roberts  <nickrob@gnu.org>
+
+       * utils.c (defaulted_query): Just use the normal query input type
+       when printing the annotations.
+
+2004-05-11  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (handle_inferior_event): Simplify code handling
+       step-into or return-from a signal trampoline.
+
+2004-05-11  Andrew Cagney  <cagney@redhat.com>
+
+       * ppcnbsd-tdep.c: Include "gdb_assert.h".
+       * Makefile.in (ppcnbsd-tdep.o): Update dependencies.
+
+2004-05-10  Jim Blandy  <jimb@redhat.com>
+
+       * ppc-bdm.c (bdm_ppc_fetch_registers): Replace utterly broken code
+       with a call to internal_error.
+
+       * ppc-tdep.h (struct gdbarch_tdep): Change definition of
+       ppc_fp0_regnum and ppc_fpscr_regnum: if they are -1, then this
+       processor variant lacks those registers.
+       (ppc_floating_point_unit_p): Change description to make it clear
+       that this returns info about the ISA, not the ABI.
+       * rs6000-tdep.c (ppc_floating_point_unit_p): Decide whether to
+       return true or false by checking tdep->ppc_fp0_regnum and
+       tdep->ppc_fpscr_regnum.  The original code replicated the BFD
+       arch/mach switching done in rs6000_gdbarch_init; it's better to
+       keep that logic there, and just check the results here.
+       (rs6000_gdbarch_init): On the E500, set tdep->ppc_fp0_regnum and
+       tdep->ppc_fpscr_regnum to -1 to indicate that we have no
+       floating-point registers.
+       (ppc_supply_fpregset, ppc_collect_fpregset)
+       (rs6000_push_dummy_call, rs6000_extract_return_value)
+       (rs6000_store_return_value): Assert that we have floating-point
+       registers.
+       (rs6000_dwarf2_stab_reg_to_regnum): Add FIXME.
+       (rs6000_frame_cache): Don't note the locations at which
+       floating-point registers were saved if we have no fprs.
+       * aix-thread.c (supply_fprs, fill_fprs): Assert that we have FP
+       registers.
+       (fetch_regs_user_thread, fetch_regs_kernel_thread)
+       (store_regs_user_thread, store_regs_kernel_thread): Only call
+       supply_fprs / fill_fprs if we actually have floating-point
+       registers.
+       (special_register_p): Check ppc_fpscr_regnum before matching
+       against it.
+       (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32): Don't
+       supply / collect fpscr if we don't have it.
+       * ppc-bdm.c: #include "gdb_assert.h".
+       (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Assert that we
+       have floating-point registers, since I can't test this code on
+       FP-free systems to adapt it.
+       * ppc-linux-nat.c (ppc_register_u_addr): Don't match against the
+       fpscr and floating point register numbers if they don't exist.
+       (fetch_register): Assert that we have floating-point registers
+       before we reach the code that handles them.
+       (store_register): Same.  And use tdep instead of calling
+       gdbarch_tdep again.
+       (fill_fpregset): Don't try to collect FP registers and fpscr if we
+       don't have them.
+       (ppc_linux_sigtramp_cache): Don't record the saved locations of
+       fprs and fpscr if we don't have them.
+       (ppc_linux_supply_fpregset): Don't supply fp regs and fpscr if we
+       don't have them.
+       * ppcnbsd-nat.c: #include "gdb_assert.h".
+       (getfpregs_supplies): Assert that we have floating-point registers.
+       * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): Same.
+       * ppcobsd-tdep.c: #include "gdb_assert.h".
+       (ppcobsd_supply_gregset, ppcobsd_collect_gregset): Assert that we
+       have floating-point registers.
+       * rs6000-nat.c (regmap): Don't match against the fpscr and
+       floating point register numbers if they don't exist.
+       (fetch_inferior_registers, store_inferior_registers,
+       fetch_core_registers): Only fetch / store / supply the
+       floating-point registers and the fpscr if we have them.
+       * Makefile.in (ppc-bdm.o, ppc-linux-nat.o, ppcnbsd-nat.o)
+       (ppcobsd-tdep.o): Update dependencies.
+       
+2004-05-10  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (through_sigtramp_breakpoint): Delete variable.
+       (context_switch): Do not switch through_sigtramp_breakpoint.
+       * gdbthread.h (save_infrun_state, load_infrun_state)
+       (struct thread_info): Delete through_sigtramp_breakpoint parameter
+       and structure member.
+       * thread.c (load_infrun_state, save_infrun_state): Update.
+
+2004-05-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68kbsd-tdep.c (m68kbsd_elf_init_abi): Call m68k_svr4_init_abi.
+
+2004-05-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * acinclude.m4: Quote macro names being defined by AC_DEFUN 
+       throughout.
+       * aclocal.m4: Regenerate.
+
+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 
This page took 0.040197 seconds and 4 git commands to generate.