2004-06-07 Randolph Chung <tausq@debian.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9943619550ff5dd27def08b9d29d5528692a2f7b..02be9650ea2ef5cc7127f9eebdf5346e9fb43d51 100644 (file)
@@ -1,3 +1,270 @@
+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.
This page took 0.025552 seconds and 4 git commands to generate.