2004-06-11 Martin Hunt <hunt@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b2de0b5c77cf567f1cf8dc286f6bec9c601c4777..e6fb978ea1f9664c2ef1b63223b634b7c387dd8d 100644 (file)
@@ -1,3 +1,807 @@
+2004-06-11  Martin Hunt  <hunt@redhat.com>
+
+       * mips-tdep.c (mips_gdbarch_init): Recognize vr4120
+       has no fpu.
+
+2004-06-10  Andrew Cagney  <cagney@gnu.org>
+
+       * blockframe.c (legacy_inside_entry_func): Delete.
+       (legacy_frame_chain_valid): Inline call to
+       legacy_inside_entry_func, simplify.
+
+2004-06-10  Bob Rossi  <bob@brasko.net>
+
+       * dbxread.c (read_dbx_symtab): Set pst->dirname when known.
+       * dwarf2read.c (partial_die_info) : Add dirname field.
+       (dwarf2_build_psymtabs_hard) : Set pst->dirname when known.
+       (read_partial_die) : Save away DW_AT_comp_dir.
+       * defs.h (symtab_to_filename) : Removed.
+       * source.c (find_and_open_source) : Added.
+       (open_source_file): Just calls find_and_open_source.
+       (symtab_to_filename) : Removed.
+       (symtab_to_fullname, psymtab_to_fullname ) : Added.
+       * source.h (psymtab_to_fullname,symtab_to_fullname): Added.
+       * symtab.c (lookup_symtab): Call symtab_to_fullname instead of
+       symtab_to_filename.
+       * symtab.h (partial_symtab): Add dirname field.
+       * mi/mi-cmd-file.c (FILENAME,FULLNAME): Added.
+       (mi_cmd_file_list_exec_source_file): Call new function symtab_to_fullname
+       to find fullname.
+       (mi_cmd_file_list_exec_source_files): Added.
+       * mi/mi-cmds.c (mi_cmd_mi_cmds) : Add -file-list-exec-source-files.
+       * mi/mi-cmds.h (mi_cmd_file_list_exec_source_files): Added.
+
+2004-06-10  Andrew Cagney  <cagney@gnu.org>
+
+       * avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
+       to generic_use_struct_convention, the default value.
+
+       * mn10300-tdep.c (mn10300_type_align): Call internal_error instead
+       of abort.
+
+       * ns32k-tdep.c (ns32k_push_arguments): New function.
+       (ns32k_gdbarch_init): Set deprecated_push_arguments.
+       * infcall.c (call_function_by_hand): Call error instead of
+       legacy_push_arguments.
+       * value.h (legacy_push_arguments): Delete declaration.
+       * valops.c (legacy_push_arguments): Delete function.
+       (value_push): Delete function.
+
+2004-06-10  Brian Ford  <ford@vss.fsi.com>
+
+       * coffread.c (coff_symfile_read): Prevent mixed debugging formats
+       from corrupting/reinitializing the psymtab.  Support DWARF 2 frame
+       info.
+       * dbxread.c (elfstab_build_psymtabs): Remove bogus comment.
+
+2004-06-10  Andrew Cagney  <cagney@gnu.org>
+
+       * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp"
+       parameters.
+       * dummy-frame.c (deprecated_pc_in_call_dummy): Update.
+       * arm-tdep.c (arm_pc_is_thumb_dummy): Call
+       deprecated_pc_in_call_dummy instead of
+       DEPRECATED_PC_IN_CALL_DUMMY.
+       (arm_skip_prologue): Ditto.
+       * xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue)
+       (xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto.
+       * v850-tdep.c (v850_find_callers_reg, v850_frame_chain)
+       (v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs):
+       Ditto.
+       * sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr) 
+       (sh64_init_extra_frame_info, sh64_get_saved_register) 
+       (sh64_pop_frame): Ditto.
+       * mips-tdep.c (non_heuristic_proc_desc): Ditto.
+       * mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc) 
+       (mcore_pop_frame, mcore_init_extra_frame_info): Ditto.
+       * h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc) 
+       (h8300_pop_frame): Ditto.
+       * blockframe.c (legacy_inside_entry_func) 
+       (legacy_frame_chain_valid): Ditto.
+       * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call
+       to deprecated_pc_in_call_dummy.
+       
+2004-06-09  Andrew Cagney  <cagney@gnu.org>
+
+       * gdbarch.sh (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not
+       provide a default value.
+       (CONVERT_REGISTER_P): Default to generic_convert_register_p.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * arch-utils.c (generic_convert_register_p): Rename
+       legacy_convert_register_p
+       (legacy_register_to_value, legacy_value_to_register): Delete
+       functions.
+       * arch-utils.h (generic_convert_register_p): Rename
+       legacy_convert_register_p.
+       (legacy_register_to_value, legacy_value_to_register): Delete
+       declarations.
+
+       * gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW)
+       (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL)
+       (DEPRECATED_REGISTER_CONVERTIBLE): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * infcmd.c (default_print_registers_info): Simplify.
+       * findvar.c (value_of_register): Simplify.
+       * mi/mi-main.c (get_register): Simplify.
+       * arch-utils.c (legacy_convert_register_p): Always return 0.
+       (legacy_register_to_value, legacy_value_to_register): Always call
+       internal_error.
+
+       * infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
+       #ifdef CLEAR_INSN_CACHE code.
+       * target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
+       Delete #ifdef CLEAR_DEFERRED_STORES code.
+
+       * solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
+
+       * config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
+       copyright.
+       * config/ia64/tm-aix.h (TARGET_ELF64): Ditto.
+
+       * config/mips/mipsv4.mh: Delete file.
+
+       * config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
+       unreferenced macro.
+       (hpread_adjust_stack_address): Delete declaration.
+
+2004-06-08  Andrew Cagney  <cagney@gnu.org>
+
+       * infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
+       (attach, detach): When neither PT_ATTACH / PT_DETACH nor
+       PTRACE_ATTACH / PTRACE_DETACH available call error.
+       (PT_ATTACH, PT_DETACH): Move definition to attach / detach.
+       * infttrace.c (update_thread_state_after_attach, attach, detach):
+       Remove #ifdef wrappers.
+       * inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
+       * gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
+       * config/nm-bsd.h (ATTACH_DETACH): Delete.
+       * config/nm-sysv4.h (ATTACH_DETACH): Delete.
+       * config/nm-nbsd.h (ATTACH_DETACH): Delete.
+       * config/nm-linux.h (ATTACH_DETACH): Delete.
+       * config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
+       * config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
+       * config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
+       * config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
+       * config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.
+
+2004-06-08  Corinna Vinschen  <vinschen@redhat.com>
+
+       * configure.in: Set $configdir to the right OS specific value.
+       Use value when setting $tcldir and $tkdir.
+       * configure: Regenerate.
+
+2004-06-06  Paul Brook  <paul@codesourcery.com>
+
+       * gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
+       records.
+
+2004-06-08  Paul N. Hilfinger  <Hilfinger@gnat.com>
+
+       * ada-lang.c (lookup_symbol_in_language): New function to allow
+       re-use of another language's symbol lookup code.  (Placed here
+       temporarily while Ada support is being integrated into the public
+       tree).  
+       (restore_language): New auxiliary function for 
+       lookup_symbol_in_language.
+       * ada-lang.h (lookup_symbol_in_language): Declare (Placed here
+       temporarily while Ada support is being integrated into the public
+       tree).
+       
+2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.in (check//%): New.
+
+       * mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
+       (mn10300_store_return_value): Rewrite.
+       (mn10300_type_align): New.
+       (mn10300_use_struct_convention): Rewrite.
+       (mn10300_return_value): New, using all of the above.
+       (mn10300_pop_frame_regular): Add saved_regs_size.
+       (mn10300_gdbarch_init): Remove deprecated rewritten entry points.
+
+       * mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
+       regs if PC is on movm.
+
+2004-06-07  Jim Blandy  <jimb@redhat.com>
+
+       Add native Linux support for the PowerPC E500.
+       * ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
+       all architectures except the E500.
+       * ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
+       #definitions.
+       (struct gdb_evrregset_t): New type.
+       (have_ptrace_getsetevrregs): New variable.
+       (get_spe_registers, read_spliced_spe_reg, fetch_spe_register, 
+       fetch_spe_registers): New functions.
+       (fetch_register): Call fetch_spe_register as appropriate.
+       Assert that we're only passed raw register numbers.
+       (fetch_ppc_registers): Call fetch_spe_registers as appropriate.
+       Don't fetch gprs if they're pseudoregisters.
+       (set_spe_registers, write_spliced_spe_reg, store_spe_register,
+       store_spe_registers): New functions.
+       (store_register): Call store_spe_register as appropriate.
+       Assert that we're only passed raw register numbers.
+       (store_ppc_registers): Call store_spe_registers as appropriate.
+       Don't store gprs if they're pseudoregisters.
+       
+2004-06-07  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * thread-db.c (thread_get_info_callback): Fill in the thread_info
+       struct if one exists, even if we are dealing with a zombie thread.
+
+2004-06-07  Andrew Cagney  <cagney@gnu.org>
+
+       * target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
+       * config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
+       Rename PC_REQUIRES_RUN_BEFORE_USE.
+       * breakpoint.c (breakpoint_sals_to_pc): Update.  Wrap reference in
+       #ifdef.
+
+2004-06-07  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
+       unwinding after sp has been saved to the stack but before the end
+       of the prologue, and after the fp has been modified but before it has
+       been saved to the stack.
+       (hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer): 
+       Remove superfluous definitions.
+       (hppa_gdbarch_init): Remove superfluous frame base sniffer.
+
+2004-06-07  Guy Martin  <gmsoft@gentoo.org>
+
+       Committed by Randolph Chung.
+       * hppa-linux-nat.c: Include the correct version of the header file
+       depending on the kernel version.
+
+2004-06-06  Randolph Chung  <tausq@debian.org>
+
+       * infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
+       (proceed, init_wait_for_inferior, handle_inferior_event): Likewise.
+
+2004-06-06  Randolph Chung  <tausq@debian.org>
+
+       * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline) 
+       (hppa_hpux_skip_trampoline_code): Don't cache symbol values.
+       * hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise.
+       * hppa-tdep.c (hppa_symbol_address): New function definition.
+       * hppa-tdep.h (hppa_symbol_address): New function declaration.
+
+2004-06-06  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.h (struct value): Forward declaration.
+       (gdbarch_tdep): Define tdep find_global_pointer method.
+       * hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
+       associated with the function we are trying to call, and write it
+       to the gp register.
+       (hppa32_convert_from_funct_ptr_addr): New function.
+       (hppa_find_global_pointer): New function.
+       (hppa_gdbarch_init): Set default find_global_pointer method; set
+       convert_from_func_ptr_addr method.
+       * hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
+       (hppa_linux_init_abi): Set find_global_pointer method.
+       * Makefile.in (hppa-linux-tdep.o): Add value.h dependency.
+
+2004-06-06  Randolph Chung  <tausq@debian.org>
+
+       * gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument
+       to struct value *function.
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Likewise.
+       * infcall.c (call_function_by_hand): Pass entire function value
+       to push_dummy_call.
+
+       * Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o)
+       (ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies.
+       * alpha-tdep.c (alpha_push_dummy_call): Update call signature.
+       * amd64-tdep.c (amd64_push_dummy_call): Likewise.
+       * arm-tdep.c (arm_push_dummy_call): Likewise.
+       * avr-tdep.c (avr_push_dummy_call): Likewise.
+       * cris-tdep.c (cris_push_dummy_call): Likewise.
+       * d10v-tdep.c (d10v_push_dummy_call): Likewise.
+       * frv-tdep.c (frv_push_dummy_call): Likewise.
+       * h8300-tdep.c (h8300_push_dummy_call): Likewise.
+       * hppa-tdep.c (hppa32_push_dummy_call)
+       (hppa64_push_dummy_call): Likewise.
+       * i386-tdep.c (i386_push_dummy_call): Likewise.
+       * ia64-tdep.c (ia64_push_dummy_call): Likewise.
+       * m32r-tdep.c (m32r_push_dummy_call): Likewise.
+       * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
+       * m68k-tdep.c (m68k_push_dummy_call): Likewise.
+       * m88k-tdep.c (m88k_push_dummy_call): Likewise.
+       * mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
+       (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise.
+       * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
+       (ppc64_sysv_abi_push_dummy_call): Likewise.
+       * ppc-tdep.h (ppc_sysv_abi_push_dummy_call)
+       (ppc64_sysv_abi_push_dummy_call): Likewise.
+       * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
+       * s390-tdep.c (s390_push_dummy_call): Likewise.
+       * sh-tdep.c (sh_push_dummy_call_fpu)
+       (sh_push_dummy_call_nofpu): Likewise.
+       * sparc-tdep.c (sparc32_push_dummy_call): Likewise.
+       * sparc64-tdep.c (sparc64_push_dummy_call): Likewise.
+       * vax-tdep.c (vax_push_dummy_call): Likewise.
+
+2004-06-04  Jim Blandy  <jimb@redhat.com>
+
+       * ppc-linux-nat.c (fetch_register): Don't forget to pass the
+       gdbarch argument to register_size.
+
+       * rs6000-tdep.c (rs6000_store_return_value): Use
+       regcache_cooked_write_part instead of
+       deprecated_write_register_bytes.
+       (rs6000_gdbarch_init): Register it for gdbarch_store_return_value,
+       not gdbarch_deprecated_store_return_value.
+
+       * ppc-linux-nat.c (store_register, fetch_register): Remove
+       incorrect assertions.  Simplify and generalize handling of
+       transfers whose sizes are not multiples of, or less than, sizeof
+       (PTRACE_XFER_TYPE).
+
+2004-06-04  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * infrun.c (handle_inferior_event): Don't treat an invalid ptid
+       as a new thread event.
+       * thread_db.c (thread_get_info_callback): If the thread is a
+       zombie, return TD_THR_ZOMBIE.
+       * (thread_from_lwp): If thread_get_info_callback returns
+       TD_THR_ZOMBIE, check if the thread is still on the thread list
+       and return a -1 ptid if not found.
+       (thread_db_wait): If thread_from_lwp returns a -1 ptid, then
+       change the status to TARGET_WAITKIND_SPURIOUS.
+
+2004-06-03  Corinna Vinschen  <vinschen@redhat.com>
+
+       * sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
+       double values in little endian mode.
+
+2004-06-02  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       Committed by Andrew Cagney.
+       * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
+       after last enum constant to avoid error from IBM C
+       compiler.
+
+2004-06-02  Jim Blandy  <jimb@redhat.com>
+
+       * ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
+       to 'message', and make it local to the lone block that uses it.
+
+       * ppc-linux-nat.c (store_register): Remove unused local 'offset'.
+
+2004-06-02  Paul N. Hilfinger  <hilfinger@gnat.com>
+
+       * ada-exp.y: Synchronize with current ACT sources.
+       * ada-lang.c: Ditto.
+       * ada-lang.h: Ditto.
+       * ada-lex.l: Ditto.
+       * ada-tasks.c: Ditto.
+       * ada-typeprint.c: Ditto.
+       * ada-valprint.c: Ditto.
+       
+2004-06-01  Jim Blandy  <jimb@redhat.com>
+
+       * ppc-tdep.h: Delete unused 'regoff' member.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.
+
+2004-06-01  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Fix PR symtab/1661.
+       * hpread.c (hpread_pxdb_needed): Call memset after alloca.
+       (hpread_read_struct_type): Likewise.
+
+2004-06-01  Andrew Cagney  <cagney@gnu.org>
+
+       * mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf
+       instead of xasprintf.
+       * mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt) 
+       (mi_cmd_thread_select, mi_cmd_thread_list_ids) 
+       (mi_cmd_data_list_register_names) 
+       (mi_cmd_data_list_changed_registers) 
+       (mi_cmd_data_list_register_values) 
+       (get_register, mi_cmd_data_write_register_values) 
+       (mi_cmd_data_write_register_values) 
+       (mi_cmd_data_assign, mi_cmd_data_evaluate_expression) 
+       (mi_cmd_target_download, mi_cmd_target_select) 
+       (mi_cmd_data_read_memory, mi_cmd_data_write_memory) 
+       (mi_execute_cli_command, mi_execute_async_cli_command) 
+       (mi_execute_async_cli_command): Ditto.
+       * mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto.
+       * mi/mi-cmd-var.c (mi_cmd_var_create): Ditto.
+
+       * mi/mi-cmds.h (mi_error_last_message): Delete declaration.
+       * mi/mi-interp.c (mi_cmd_interpreter_exec): Call
+       error_last_message instead of mi_error_last_message.
+       * mi/mi-main.c (mi_error_last_message): Delete function.
+
+       * mi/mi-main.c (mi_cmd_data_read_memory): Add missing return for
+       "invalid number of columns" error.  Delete redundant "out of
+       memory" check.
+
+2004-05-31  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-nat.c: Don't include <sys/procfs.h>.
+       (gregset_t, fpregset_t): Remove typedefs.
+       (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove macros.
+       (REG_OFFSET): Rename argument.
+       (i386bsd_r_reg_offset): Rename from reg_offset.
+       (REG_ADDR): Remove macro.
+       (cannot_fetch_register, supply_gregset, fill_gregset): Remove
+       functions.
+       (i386bsd_supply_gregset, i386bsd_collect_gregset): New functions.
+       (fetch_inferior_registers): Use `struct reg' and `struct fpreg'
+       instead of gregset_t and fpregset_t.  Use i386bsd_supply_gregset
+       instead of supply_gregset.
+       (store_inferior_registers): Use `struct reg' and `struct fpreg'
+       instead of gregset_t and fpregset_t.  Use i386bsd_collect_gregset
+       instead of fill_gregset.
+       (register_u_addr): Use i386_r_reg_offset instead of REG_ADDR.
+
+       * i386bsd-nat.c: Don't include "gregset.h".
+       (supply_gregset, fill_gregset): Make static.
+       (supply_fpregset, fill_fpregset): Remove.
+       * Makefile.in (i386bsd-nat.o): Update dependencies.
+
+2004-05-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * fbsd-proc.c: Include "regcache.h", "regset.h" and
+       "gdb_assert.h".  Con't include "gregset.h".
+       (fbsd_make_corefile_notes): Use regset-based core file support
+       instead off fill_gregset and fill_fpregset.
+       * Makefile.in (fbsd-proc.o): Update dependencies.
+
+       * m88k-tdep.c (m88k_analyze_prologue): Fix handling of branch
+       instructions.
+       (m88k_frame_prev_register): Simplify code a bit.
+
+       * amd64-tdep.c (amd64_supply_fpregset): Adjust comment.
+       (amd64_collect_fpregset): New function.
+       (amd64_regset_from_core_section): Use amd64_collect_fpregset.
+
+       * hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM.
+
+       * i386-tdep.c (i386_supply_gregset): Adjust comment.
+       (i386_collect_gregset): New function.
+       (i386_supply_fpregset): Adjust comment.
+       (i386_collect_fpregset): New function.
+       (i386_regset_from_core_section): Use i386_collect_gregset and
+       i386_collect_fpregset.
+
+       * hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement to
+       handle VALUEP being null.
+
+       * regset.h (collect_regset_ftype): Unconstify fourth argument.
+
+2004-05-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * MAINTAINERS: Undelete m88k.  Add myself as maintainer.
+
+       * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
+       assembler in OpenBSD 3.5-current.
+       (amd64obsd_sigcontext_addr): Likewise.
+
+2004-05-28  Jim Blandy  <jimb@redhat.com>
+
+       * rs6000-tdep.c: Use the modern gdbarch methods for handling the
+       register set, so our regcache isn't declared "legacy" and our E500
+       pseudoregister read and write functions aren't ignored.
+       (rs6000_register_byte, rs6000_register_raw_size,
+       rs6000_register_virtual_type, rs6000_register_convertible,
+       rs6000_register_convert_to_virtual,
+       rs6000_register_convert_to_raw): Deleted.
+       (rs6000_register_type, rs6000_convert_register_p,
+       rs6000_register_to_value, rs6000_value_to_register): New
+       functions.
+       (rs6000_gdbarch_init): Don't register
+       gdbarch_deprecated_register_size,
+       gdbarch_deprecated_register_bytes,
+       gdbarch_deprecated_register_byte,
+       gdbarch_deprecated_register_raw_size,
+       gdbarch_deprecated_register_virtual_type,
+       gdbarch_deprecated_register_convertible,
+       gdbarch_deprecated_register_convert_to_virtual, or
+       gdbarch_deprecated_register_convert_to_raw methods.  Instead,
+       register gdbarch_register_type, gdbarch_convert_register_p,
+       gdbarch_register_to_value, and gdbarch_value_to_register methods.
+
+2004-05-26  Jim Blandy  <jimb@redhat.com>
+
+       * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): Deleted.
+        (rs6000_stab_reg_to_regnum, rs6000_dwarf2_reg_to_regnum): New
+       functions, updated to match the register numberings used in GCC.
+       (rs6000_gdbarch_init): Register rs6000_stab_reg_to_regnum and
+       rs6000_dwarf2_reg_to_regnum as register number conversions
+       functions for STABS and Dwarf2.
+
+2004-05-26  Randolph Chung  <tausq@debian.org>
+
+       * infttrace.h (target_waitkind): Forward declare type instead of pulling
+       in header file.
+
+2004-05-25  Joel Brobecker  <brobecker@gnat.com>
+
+       * NEWS: Document new "start" command.
+
+2004-05-25  Randolph Chung  <tausq@debian.org>
+
+       * hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on
+       hppa-linux.
+
+2004-05-25  Randolph Chung  <tausq@debian.org>
+
+       * hppa-hpux-tdep.c (offsetof): Define.
+       (hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp)
+       (hppa32_hpux_frame_base_before_sigtramp)
+       (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
+       (hppa64_hpux_frame_saved_pc_in_sigtramp)
+       (hppa64_hpux_frame_base_before_sigtramp)
+       (hppa64_hpux_frame_find_saved_regs_in_sigtramp): Remove unused 
+       functions.
+       (struct hppa_hpux_sigtramp_unwind_cache, hppa_hpux_tramp_reg)
+       (hppa_hpux_sigtramp_frame_unwind_cache)
+       (hppa_hpux_sigtramp_frame_this_id)
+       (hppa_hpux_sigtramp_frame_prev_register)
+       (hppa_hpux_sigtramp_frame_unwind)
+       (hppa_hpux_sigtramp_unwind_sniffer): New signal trampoline unwinder.
+       (hppa_hpux_init_abi): Register sigtramp unwinder.
+       * Makefile.in (hppa-hpux-tdep.o): Update dependencies.
+
+2004-05-25  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
+       and multiple stack unwinds.
+       (hppa_stub_unwind_sniffer): Handle unwind from pc == 0.
+
+2004-05-25  Andrew Cagney  <cagney@gnu.org>
+
+       * symfile.h (symbol_file_add_from_memory): Delete declaration.
+       * symfile-mem.h: Delete file.
+       * symfile-mem.c: Do not include "symfile-mem.h".
+       (symbol_file_add_from_memory): Make static. Use "struct bfd" and
+       "struct bfd_section".  When an error do not bother returning NULL.
+       (add_symbol_file_from_memory_command): Use "struct bfd" and
+       "struct bfd_section".
+       * Makefile.in (symfile_mem_h): Delete.
+       (symfile-mem.o): Update dependencies.
+
+2004-05-25  Nick Roberts  <nickrob@gnu.org>
+
+       * gdb-mi.el: New file.
+
+2004-05-25  Andrew Cagney  <cagney@gnu.org>
+
+       * inftarg.c: Include "observer.h".
+       (child_attach, child_create_inferior): Notify inferior_created.
+       * corelow.c: Include "observer.h".
+       (core_open): Notify inferior_created.
+       * Makefile.in (inftarg.o, corelow.o): Update dependencies.
+
+2004-05-25  Andrew Cagney  <cagney@gnu.org>
+
+       * target.h (struct target_ops): Add from_tty to
+       to_create_inferior.
+       (target_create_inferior, find_default_create_inferior): Update.
+       * infcmd.c (run_command): Update.
+       * wince.c (child_create_inferior): Update.
+       * win32-nat.c (child_create_inferior): Update.
+       * uw-thread.c (uw_thread_create_inferior): Update.
+       * thread-db.c (thread_db_create_inferior): Update.
+       * target.c (debug_to_create_inferior) 
+       (find_default_create_inferior): Update.
+       (maybe_kill_then_create_inferior): Update.
+       * sol-thread.c (sol_thread_create_inferior): Update.
+       * remote.c (extended_remote_async_create_inferior) 
+       (extended_remote_create_inferior): Update.
+       * remote-vx.c (vx_create_inferior): Update.
+       * remote-st.c (st2000_create_inferior): Update.
+       * remote-sim.c (gdbsim_create_inferior): Update.
+       * remote-sds.c (sds_create_inferior): Update.
+       * remote-rdp.c (remote_rdp_create_inferior): Update.
+       * remote-rdi.c (arm_rdi_create_inferior): Update.
+       * remote-m32r-sdi.c (m32r_create_inferior): Update.
+       * remote-e7000.c (e7000_create_inferior): Update.
+       * procfs.c (procfs_create_inferior): Update.
+       * ocd.c (ocd_create_inferior): Update.
+       * ocd.h (ocd_create_inferior): Update.
+       * nto-procfs.c (procfs_create_inferior): Update.
+       * monitor.c (monitor_create_inferior): Update.
+       * lin-lwp.c (lin_lwp_create_inferior): Update.
+       * inftarg.c (child_create_inferior): Update.
+       * hpux-thread.c (hpux_thread_create_inferior): Update.
+       * gnu-nat.c (gnu_create_inferior): Update.
+
+2004-05-25  Andrew Cagney  <cagney@gnu.com>
+
+       * MAINTAINERS: Update e-mail address.
+
+2004-05-24  Randolph Chung  <tausq@debian.org>
+
+       * thread.c (info_threads_command, thread_apply_all_command)
+       (thread_apply_command, thread_command, do_captured_thread_select):
+       Remove HPUXHPPA-specific code.
+
+2004-05-24  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove
+       unused symbols.
+       * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more
+       references.
+
+2004-05-24  Joel Brobecker  <brobecker@gnat.com>
+
+       * infcmd.c (kill_if_already_running): New function, extracted
+       from run_command().
+       (run_command): Replace extracted code by call to
+       kill_if_already_running().
+       (start_command): New function.
+       (_initialize_infcmd): Add "start" command.
+
+2004-05-24  Mark Kettenis  <kettenis@gnu.org>
+
+       Add OpenBSD/m88k support.
+       * NEWS (New native configurations): Mention OpenBSD/m88k.
+       * m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h,
+       config/m88k/obsd.mh, config/m88k/obsd.mt: New files.
+       * Makefile.in (m88k_tdep_h): New variable.
+       (ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c.
+       (m88kbsd-nat.o, m88k-tdep.o): New dependencies.
+       * configure.host: Add m88*-*-openbsd*.
+       * configure.tgt: Add m88*-*-openbsd*.
+
+2004-05-24  Jim Blandy  <jimb@redhat.com>
+
+       * MAINTAINERS (tracing bytecode stuff): Allow global maintainers
+       to approve changes.
+
+2004-05-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * symtab.c (fixup_section): Search section table when lookup by
+       name fails.
+
+2004-05-24  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c: Fix handling of 8-byte structures; they should not 
+       be "small_struct".
+
+2004-05-24  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
+       register number in regcache_raw_collect call.
+       (m68kbsd_collect_fpregset): Likewise.
+       * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.
+
+       * regset.h (struct regset): Add back `regset' member.
+
+2004-05-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in: Check for td_pcb in `struct thread'.
+       * configure, config.in: Regenerated.
+
+       * dpx2-nat.c: Remove file.
+       * Makefile.in (ALLDEPFILES): Remove dpx2-nat.c.
+       (dpx2-nat.o): Remove dependencies.
+
+       * amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",
+       <sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
+       (amd64obsd_supply_pcb): New function.
+       (_initialize_amd64obsd_nat): Enable libkvm interface.
+       * Makefile.in (amd64obsd-nat.o): Update dependencies.
+       * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o
+       (LOADLIBES): New variable.
+
+       * sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",
+       <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h".
+       (sparc32nbsd_supply_pcb): New function.
+       (_initialize_sparcnbsd_nat): Enable libkvm interface.
+       * Makefile.in (sparcnbsd-nat.o): Update dependencies.
+       * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+
+2004-05-22  Mark Kettenis  <kettenis@gnu.org>
+
+       * bsd-kvm.c, bsd-kvm.h: New files.
+       * i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
+       "bsd-kvm.h".
+       (i386fbsd_supply_pcb): New function.
+       * Makefile.in (ALLDEPFILES): Add bsd-kvm.c.
+       (i386fbsd-nat.o): Update dependencies.
+       (bsd_kvm_h): New variable.
+       (bsd-kvm.o): New dependency.
+       * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+
+       * regset.c: Tweak comment.
+       (regset_alloc): Remove descr argument.  Use GDBARCH_OBSTACK_ZALLOC
+       macro.
+       * regset.h: Update copyright year.
+       (struct regset): Remove `descr' member, add `gdbarch' member.
+       (regset_alloc): Adjust prototype and comment.
+       * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch.
+       (i386_supply_fpregset): Likewise.
+       (i386_regset_from_core_section): Update call to regset_alloc.
+       * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from
+       REGSET->arch.
+       (i386obsd_aout_regset_from_core_section): Update call to
+       regset_alloc.
+       * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from
+       REGSET->arch.
+       (i386nbsd_aout_regset_from_core_section): Update call to
+       regset_alloc.
+       * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from
+       REGSET->arch.
+       (amd64_regset_from_core_section): Update call to regset_alloc.
+       * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from
+       REGSET->arch.
+       (amd64obsd_regset_from_core_section): Update call to regset_alloc.
+       * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass
+       &sparc32nbsd_gregset in sparc32_supply_gregset call.
+       (sparc32nbsd_init_abi): Update call to regset_alloc.
+       * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass
+       &sparc64obsd_core_gregset in sparc64_supply_gregset call.
+       (sparc64obsd_init_abi): Update call to regset_alloc.
+       * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass
+       &sparc64nbsd_gregset in sparc64_supply_gregset call.
+       (sparc64nbsd_init_abi): Update call to regset_alloc.
+       * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass
+       &sparc64fbsd_gregset in sparc64_supply_gregset call.
+       (sparc64fbsd_init_abi): Update call to regset_alloc.
+
+2004-05-22  Jim Blandy  <jimb@redhat.com>
+
+       * ppc-tdep.h (spe_register_p): New declaration.
+       (struct gdbarch_tdep): New members: ppc_acc_regnum and
+       ppc_spefscr_regnum.
+       * rs6000-tdep.c (spe_register_p): New function.
+       (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and
+       spefscr.
+       (rs6000_gdbarch_init): Initialize the new members of the tdep
+       structure.
+
+2004-05-21  Jim Blandy  <jimb@redhat.com>
+
+       * ppc-linux-nat.c (fetch_register): Move code back to be next
+       to the comment that describes it.  (Moved code, instead of
+       comment, for symmetry with store_register.)
+
+       Allocate regset structures in the gdbarch's obstack, not using
+       xmalloc.
+       * regset.c (regset_alloc): Renamed from regset_xmalloc.
+       Add 'arch' argument.  Allocate the regset on arch's obstack, not
+       using xmalloc.
+       * regset.h (regset_alloc): Update declaration.
+       * am64-tdep.c (amd64_regset_from_core_section): Update call; pass
+       gdbarch argument.
+       * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
+       * i386-tdep.c (i386_regset_from_core_section): Same.
+       * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
+       * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
+       * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
+       * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
+       * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
+       * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
+
+2004-05-21  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/djgpp/fnchange.lst: Undo previous change, was useless.
+
+2004-05-21  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2expr.c (execute_stack_op): Add 'break' statements after
+       cases for DW_OP_div and DW_OP_shr.  (Thanks to Reva Cuthbertson.)
+
+2004-05-20  Jim Blandy  <jimb@redhat.com>
+
+       * rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
+
+2004-05-20  Mark Kettenis  <kettenis@gnu.org>
+
+       * regset.h: Make prototype const-correct.
+       * regset.c (regset_xmalloc): Make const-correct.
+
+2004-05-20  Paul N. Hilfinger  <hilfinger@gnat.com>
+
+       * symtab.h (SYMBOL_SEARCH_NAME): New definition.
+       (SYMBOL_MATCHES_SEARCH_NAME): New definition.
+       (symbol_search_name): Declare.
+       
+       * dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
+       (iter_name_next_hashed): Ditto.
+       (iter_name_next_linear): Ditto.
+       (insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.
+
+       * symtab.c (lookup_partial_symbol): Assume symbols ordered by 
+       search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
+       (symbol_search_name): New function.
+       
+       * symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.
+       
+       * minsyms.c (build_minimal_symbol_hash_tables): Change
+       test for adding to demangled hash table to check for difference
+       between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
+       
 2004-05-19  Jim Blandy  <jimb@redhat.com>
 
        Use a constructor function to create regset structures.
This page took 0.031535 seconds and 4 git commands to generate.