+2004-01-17 Andrew Cagney <cagney@redhat.com>
+
+ * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
+ * gdbarch.c: Re-generate.
+ * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
+ DECR_PC_AFTER_BREAK to zero.
+ * vax-tdep.c (vax_gdbarch_init): Ditto.
+ * v850-tdep.c (v850_gdbarch_init): Ditto.
+ * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
+ * sh64-tdep.c (sh64_gdbarch_init): Ditto.
+ * sh-tdep.c (sh_gdbarch_init): Ditto.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
+ * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
+ * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+ * mips-tdep.c (mips_gdbarch_init): Ditto.
+ * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
+ * m32r-tdep.c (m32r_gdbarch_init): Ditto.
+ * ia64-tdep.c (ia64_gdbarch_init): Ditto.
+ * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
+ * hppa-tdep.c (hppa_gdbarch_init): Ditto.
+ * h8300-tdep.c (h8300_gdbarch_init): Ditto.
+ * frv-tdep.c (frv_gdbarch_init): Ditto.
+ * cris-tdep.c (cris_gdbarch_init): Ditto.
+ * avr-tdep.c (avr_gdbarch_init): Ditto.
+ * arm-tdep.c (arm_gdbarch_init): Ditto.
+ * i386-nto-tdep.c (i386nto_init_abi): Add comment.
+
+2004-01-17 J. Brobecker <brobecker@gnat.com>
+
+ * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
+ Delete, no longer used.
+ (read_subrange_type): New function, mostly extracted from
+ read_array_type().
+ (read_array_type): Replace extracted code by call to
+ read_subrange_type().
+ (dwarf2_get_attr_constant_value): New function.
+ (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
+ (add_partial_symbol): Likewise.
+ (process_die): Likewise.
+ (new_symbol): Likewise.
+ (read_type_die): Likewise.
+
+2004-01-16 Andrew Cagney <cagney@redhat.com>
+
+ * symfile.c: Update copyright year.
+ (compare_symbols): Delete unused function.
+ * stabsread.c: Update copyright year.
+ (lrs_general_complaint): Delete unused function.
+ (ref_search_value): Ditto.
+ (get_substring): Delete declaration.
+ * sh64-tdep.c: Update copyright year.
+ (sh64_get_gdb_regnum): Delete unused function.
+ * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
+ Delete unused function.
+
+2004-01-17 Mark Kettenis <kettenis@gnu.org>
+
+ * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
+ * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
+
+2004-01-16 Andrew Cagney <cagney@redhat.com>
+
+ Changes from Peter Schauer.
+ * rs6000-tdep.c: Update copyright year.
+ (rs6000_push_dummy_call): Update the stack pointer before
+ accessing the corresponding stack region.
+ * rs6000-nat.c: Update copyright year.
+ (set_host_arch): Set "info.abfd" to "exec_bfd".
+
+2004-01-15 Mark Kettenis <kettenis@gnu.org>
+
+ * blockframe.c: Update copyright year.
+ (inside_entry_func): Don't treat a zero PC specially.
+
+2004-01-14 Elena Zannoni <ezannoni@redhat.com>
+
+ * gcore.c (gcore_copy_callback): Use paddr_d to print size
+ variable.
+ (gcore_create_callback): Ditto. Skip any memory segment that has
+ no permissions set.
+
+2004-01-14 David Carlton <carlton@kealia.com>
+
+ Change symbols for C++ nested types to contain the fully qualified
+ name, if possible. (At least in the DWARF-2 case.) Partial fix
+ for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
+ c++/895.
+ * c-exp.y (qualified_type): Handle types nested within classes.
+ * cp-namespace.c: Update comments.
+ (cp_set_block_scope): Delete #if 0.
+ (cp_lookup_nested_type): Handle types nested within classes.
+ * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
+ when appropriate.
+ (add_partial_symbol): Add the name of the enclosing namespace to
+ types.
+ (pdi_needs_namespace): New.
+ (add_partial_namespace): Tweak comment.
+ (add_partial_structure): New.
+ (psymtab_to_symtab_1): Initialize processing_current_prefix
+ here...
+ (process_die): instead of here.
+ (read_structure_scope): Try to figure out the name of the class or
+ namespace that the structure might be defined within.
+ (read_enumeration): Generate fully-qualified names, if possible.
+ (read_namespace): Don't set name to NULL.
+ (die_specification): New.
+ (new_symbol): Generate fully-qualified names for types.
+ (read_type_die): Determine appropriate prefix.
+ (determine_prefix): New.
+ (typename_concat): New.
+ (class_name): New.
+ * valops.c (value_aggregate_elt): Pass NOSIDE to
+ value_struct_elt_for_reference.
+ (value_struct_elt_for_reference): Make static, add NOSIDE
+ parameter, call value_maybe_namespace_elt as a last resort.
+ (value_namespace_elt): Break out code into
+ value_maybe_namespace_elt.
+ (value_maybe_namespace_elt): New.
+
+2004-01-12 Andrew Cagney <cagney@redhat.com>
+
+ * mips-tdep.c (mips_convert_register_p): Handle both raw and
+ cooked floating-point registers.
+ (mips_gdbarch_init): Set convert_register_p, register_to_value,
+ and value_to_register.
+
+2004-01-13 Andrew Cagney <cagney@redhat.com>
+
+ * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
+ * gdbarch.c: Re-generate.
+ * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
+ FUNCTION_START_OFFSET.
+ * v850-tdep.c (v850_gdbarch_init): Ditto.
+ * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
+ * sh64-tdep.c (sh64_gdbarch_init): Ditto.
+ * sh-tdep.c (sh_gdbarch_init): Ditto.
+ * s390-tdep.c (s390_gdbarch_init): Ditto.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
+ * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
+ * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+ * mips-tdep.c (mips_gdbarch_init): Ditto.
+ * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+ * m68k-tdep.c (m68k_gdbarch_init): Ditto.
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
+ * m32r-tdep.c (m32r_gdbarch_init): Ditto.
+ * ia64-tdep.c (ia64_gdbarch_init): Ditto.
+ * i386-tdep.c (i386_gdbarch_init): Ditto.
+ * hppa-tdep.c (hppa_gdbarch_init): Ditto.
+ * h8300-tdep.c (h8300_gdbarch_init): Ditto.
+ * frv-tdep.c (frv_gdbarch_init): Ditto.
+ * d10v-tdep.c (d10v_gdbarch_init): Ditto.
+ * cris-tdep.c (cris_gdbarch_init): Ditto.
+ * avr-tdep.c (avr_gdbarch_init): Ditto.
+ * arm-tdep.c (arm_gdbarch_init): Ditto.
+ * alpha-tdep.c (alpha_gdbarch_init): Ditto.
+
+2004-01-13 Daniel Jacobowitz <drow@mvista.com>
+
+ * infrun.c (follow_fork_mode_ask): Remove.
+ (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
+ (follow_fork): Simplify and remove internal error for
+ follow_fork_mode_ask.
+ (_initialize_infrun): Update "set follow-fork-mode" help text.
+
+2004-01-13 Andrew Cagney <cagney@redhat.com>
+
+ * configure.in: Update copyright year.
+ (build_warnings): Add -Wunused-label.
+ * configure: Re-generate.
+
+2004-01-12 Andrew Cagney <cagney@redhat.com>
+
+ * exec.h (exec_ops): Make "extern".
+
+ * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
+ the function is void.
+ (mips_pseudo_register_write): Ditto.
+
+2004-01-12 Andrew Cagney <cagney@redhat.com>
+
+ * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
+ call. Never defined.
+ * sparc-tdep.h (struct frame_info): Add opaque declaration.
+ * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
+ (struct sparc_gregset, struct regcache): Ditto.
+ * sparc-nat.c: Update copyright. Specify "GNU/Linux".
+
+2004-01-12 Andrew Cagney <cagney@redhat.com>
+
+ * mi/ChangeLog: Delete file. Renamed to ...
+ * mi/ChangeLog-1999-2003: New file.
+ * tui/ChangeLog: Delete file. Renamed to ...
+ * tui/ChangeLog-1998-2003: New file.
+
+2004-01-11 Mark Kettenis <kettenis@gnu.org>
+
+ * sparc64nbsd-tdep.c: Include "regset.h".
+ (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
+ Remove variables.
+ (fetch_core_registers): Remove function.
+ (sparc64nbsd_core_fns): Remove variable.
+ (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
+ functions.
+ (sparc64nbsd_init_abi): Initialize TDEP->gregset,
+ TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
+ (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
+
+ * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
+ sparc_extract_struct_value_address.
+ (sparc32_gdbarch_init): Set extract_struct_value_address.
+ * sparc64-tdep.c (sparc64_extract_struct_value_address): New
+ function.
+ (sparc64_init_abi): Set extract_struct_value_address. Don't set
+ return_value_on_stack.
+
+ * NEWS: Mention that %cs and %ss have been added to the AMD64
+ configurations
+
+ * frame.c: Update copyright year.
+ (get_prev_frame): Improve comment.
+
+ * sparc64fbsd-tdep.c: Include "regset.h".
+ (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
+ Remove variables.
+ (fetch_core_registers): Remove function.
+ (sparc64fbsd_core_fns): Remove variable.
+ (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
+ functions.
+ (sparc64fbsd_init_abi): Initialize TDEP->gregset,
+ TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
+ (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
+
+ * sparcnbsd-tdep.c: Include "regset.h".
+ (fetch_core_registers): Remove function.
+ (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
+ (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
+ functions.
+ (sparc32nbsd_init_abi): Initialize TDEP->gregset and
+ TDEP->fpregset.
+ (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
+
+ * 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
in <machine/reg.h>.
* configure, config.in: Regenerate.
-For older changes see ChangeLog-2003
+For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
+tui/ChangeLog-1998-2003.
\f
Local Variables:
mode: change-log