OSDN Git Service

* sparc-tdep.h (struct regset): Provide opaque declaration.
[pf3gnuchains/sourceware.git] / gdb / ChangeLog
index de7c816..2f026c3 100644 (file)
@@ -1,3 +1,155 @@
+2004-01-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc-tdep.h (struct regset): Provide opaque declaration.
+       (struct gdbarch_tdep): Add gregset, sizeof_gregset,
+       fpregset and sizeof_fpregset members.
+       * sparc-tdep.c (struct regset): Provide opaque declaration.
+       (sparc_regset_from_core_section): New function.
+       (sparc32_gdbarch_init): Initialize TDEP->gregset,
+       TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
+       Set regset_from_core_section when appropriate.
+
+2004-01-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * x86-64-tdep.c (amd64_non_pod_p): New function.
+       (amd64_classify_aggregate): Return class memory for non-POD
+       C++ structure types.
+
+       * x86-64-tdep.c (amd64_push_arguments): Add struct_return
+       argument.  Use it to reserve a register if necessary.
+       (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
+       amd64_push_arguments.
+
+       * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
+
+       * x86-64-tdep.c (amd64_register_info): Add %cs and %ss.  Adjust
+       register numbers in comments.
+       * x86-64-tdep.h: Update copyright year.
+       (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
+       Adjust for addition of %cs and %ss.
+       * amd64fbsd-nat.c: Update copyright year.
+       (reg_offset): Add register offsets for %cs and %ss.
+       * amd64fbsd-tdep.c: Update copyright year.
+       (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
+       (amd64fbsd_sc_reg_offset): Likewise.
+       * x86-64-linux-nat.c: Update copyright year.
+       (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
+       and %ss.
+       * amd64nbsd-nat.c: Update copyright year.
+       (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
+       * amd64nbsd-tdep.c: Update copyright year.
+       (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
+       * x86-64-linux-tdep.c: Update copyright year.
+       (user_to_gdb_regmap): Add mapping for %cs and %ss.
+       (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
+       * regformats/reg-x86-64.dat: Add %cs and %ss.
+
+       * blockframe.c (inside_entry_func): Reformat.  Introduce new local
+       variables to prevent long lines.  Update comments to reflect
+       reality.
+
+2004-01-09  David Carlton  <carlton@kealia.com>
+
+       Checked in by Elena Zannoni  <ezannoni@redhat.com>.
+       * dwarf2read.c (read_namespace): Pull out name-generating code
+       into namespace_name. Rename previous_namespace to previous_prefix
+       and processing_current_namespace to processing_current_prefix..
+        (namespace_name): New function.
+       (add_partial_symbol): Substitute uses of pdi->name with
+       actual_name.
+       * cp-support.h: Rename processing_current_namespace to
+       processing_current_prefix.
+        Update copyright year.
+       * cp-namespace.c: Rename processing_current_namespace to
+       processing_current_prefix.
+        Update copyright year.
+       
+2004-01-09  Andrew Cagney  <cagney@redhat.com>
+
+       * jv-valprint.c, ser-unix.c: Add missing copyright years.
+
+2004-01-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
+       complaining.
+       (process_one_symbol): Deal with N_PATCH stabs.
+
+2004-01-09  Elena Zannoni  <ezannoni@redhat.com>
+
+       * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
+       ifdeffed code.
+        Update copyright year.
+
+2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * config/pa/tm-hppa.h: Update extern declarations for
+       hppa32_hpux_frame_saved_pc_in_sigtramp,
+       hppa32_hpux_frame_base_before_sigtramp, and
+       hppa32_hpux_frame_find_saved_regs_in_sigtramp.
+
+2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * config/pa/tm-hppah.h: Update copyright years.
+
+2004-01-08  Andrew Cagney  <cagney@redhat.com>
+
+       * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
+       (mips_o32_reg_struct_has_addr): Delete function.
+       (mips_gdbarch_init): Update.
+       (mips_extract_struct_value_address): Delete function.
+
+2004-01-08  David Mosberger  <davidm@hpl.hp.com>
+
+       * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
+       reality.
+
+2004-01-07  Andrew Cagney  <cagney@redhat.com>
+
+       * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
+       architecture's elf flags (when available).
+
+       * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
+       FPU to the start, check the MIPS FPU when looking for an old
+       architecture.
+       (set_mipsfpu_single_command): Update the architecture.
+       (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
+
+       * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
+       (mips_mask_address_p): Add "tdep" parameter.
+       (show_mask_address, mips_addr_bits_remove): Update.
+       (mips_dump_tdep): Update.
+       (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
+       (MIPS_STACK_ARGSIZE): Delete macro.
+       (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
+       (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
+       (mips_o64_push_dummy_call, mips_o32_return_value): Update.
+       (mips_dump_tdep): Update.
+       (MIPS_SAVED_REGSIZE): Delete macro.
+       (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
+       (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
+       (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
+       (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
+       (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
+       (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
+       (mips_pop_frame, return_value_location): Update.
+       (mips_n32n64_return_value, mips_dump_tdep): Update.
+
+       * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
+       MIPS ABI.
+
+       * mips-tdep.c: Update copyright.
+       (mips_gdbarch_init): Merge two code blocks handling the register
+       name and number layout.
+
+2004-01-02  Pawel Ostrowski  <pasza@zodiac.mimuw.edu.pl>
+
+       * tracepoint.c (validate_actionline): Fix segv at EOF
+
+2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
+       properly for static fields.
+
 2004-01-06  Jeff Johnston  <jjohnstn@redhat.com>
            Jason Molenda  <jmolenda@apple.com>