Commit Graph

15647 Commits

Author SHA1 Message Date
Daniel Jacobowitz e74f0f0215 * breakpoint.c (must_shift_inst_regs): Delete.
(bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
	and SHIFT_INST_REGS.
	* infcmd.c (step_1, step_1_continuation): Delete references to
	SHIFT_INST_REGS.
	* infrun.c (keep_going): Likewise.
	* target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
	* config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
2004-01-17 21:56:12 +00:00
Daniel Jacobowitz a20cf13655 * gdbint.texinfo (DECR_PC_AFTER_HW_BREAK): Don't document. 2004-01-17 21:56:00 +00:00
Andrew Cagney 444a1e2eb8 2004-01-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
	* gdbarch.h, gdbarch.c: Re-generate.
	* infcmd.c (print_return_value): Delete reference to
	DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
2004-01-17 20:17:40 +00:00
Andrew Cagney def7e6edde 2004-01-17 Andrew Cagney <cagney@redhat.com>
* cris-tdep.c (cris_gdbarch_init): Do not set
	deprecated_extract_struct_value_address.
2004-01-17 20:02:04 +00:00
Andrew Cagney 07be497a4f 2004-01-17 Andrew Cagney <cagney@redhat.com>
* xstormy16-tdep.c: Update copyright.
	(xstormy16_extract_struct_value_address): Update to current
	extract struct value address interface.
	(xstormy16_gdbarch_init): Set extract_struct_value_address.
	* sh64-tdep.c (sh64_extract_struct_value_address): Update to
	current extract struct value address interface.
	(sh64_gdbarch_init): Set extract_struct_value_address.
2004-01-17 19:38:58 +00:00
Andrew Cagney 6b4d5c9185 2004-01-17 Andrew Cagney <cagney@redhat.com>
* cris-tdep.c: Update copyright.
	(cris_extract_struct_value_address): Delete function.
	(struct_return_address): Delete variable.
	(cris_store_struct_return): Do not set struct_return_address.
2004-01-17 18:52:33 +00:00
Andrew Cagney 464e0365d2 2004-01-17 Andrew Cagney <cagney@redhat.com>
* mcore-tdep.c: Update copyright.
	(mcore_extract_struct_value_address): Delete function.  Update
	comments.
	(mcore_gdbarch_init): Update.
	* mn10300-tdep.c: Update copyright.
	(mn10300_extract_struct_value_address): Delete function.
	(mn10300_gdbarch_init): Update.
	* v850-tdep.c: Update copyright.
	(v850_extract_struct_value_address): Delete.
	(v850_gdbarch_init): Update.
	* ns32k-tdep.c: Update copyright.
	(ns32k_extract_struct_value_address): Delete.
	(ns32k_gdbarch_init): Update.
	* hppa-tdep.c (hppa_extract_struct_value_address): Delete.
	(hppa_gdbarch_init): Update.
	* vax-tdep.c: Update copyright.
	(vax_extract_struct_value_address): Delete.
	(vax_gdbarch_init): Update.
2004-01-17 18:45:25 +00:00
Andrew Cagney afb18d0f3d 2004-01-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
	* gdbarch.h, gdbarch.c: Re-generate.
	* procfs.c (procfs_fetch_registers): Delete reference to
	DEPRECATED_NPC_REGNUM.
	(procfs_store_registers): Ditto.
	* regcache.c (generic_target_write_pc): Simplify.
	* lynx-nat.c: Delete #ifdef SPARC code.  Not used.

Index: doc/ChangeLog
2004-01-17  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo (Target Architecture Definition): Delete
	documentation on DEPRECATED_NPC_REGNUM.
2004-01-17 18:24:15 +00:00
Andrew Cagney a698f53eb9 2004-01-17 Andrew Cagney <cagney@redhat.com>
* core-sol2.c (fetch_core_registers): Replace
	DEPRECATED_NPC_REGNUM with equivalent tdep value.
2004-01-17 17:08:36 +00:00
Andrew Cagney adc11376dd 2004-01-17 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c: Update copyright year.
	(hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead
	of NPC_REGNUM.
	(hppa_gdbarch_init): Do not set deprecated_npc_regnum.
2004-01-17 17:01:32 +00:00
Andrew Cagney b6cb9035d0 2004-01-17 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_write_pc): New function.
	(mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
	(mips_read_pc): Use mips_regnum instead of PC_REGNUM.
	(mips_find_saved_regs, mips_software_single_step: Ditto.
	(mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
	mips_init_extra_frame_info, mips_pop_frame): Ditto.
2004-01-17 16:40:42 +00:00
Andrew Cagney 6d82d43b23 2004-01-17 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c: Re-indent.  Group functions by ABI.
2004-01-17 16:27:30 +00:00
Andrew Cagney 71bd6bd414 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 15:34:13 +00:00
Joel Brobecker a02abb6201 * 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-17 05:35:47 +00:00
Andrew Cagney cf5b2f1b3a 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 01:05:06 +00:00
Mark Kettenis d33b9831c7 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
* osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
2004-01-17 00:13:46 +00:00
Andrew Cagney 7aea86e6b1 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-17 00:00:48 +00:00
gdbadmin 593a5c7394 *** empty log message *** 2004-01-17 00:00:32 +00:00
gdbadmin ceef1284d2 *** empty log message *** 2004-01-16 00:00:02 +00:00
Michael Chastain 4120d7e626 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2004-01-15 22:23:26 +00:00
Ben Elliston f679e5307c 2004-01-16 Ben Elliston <bje@wasabisystems.com>
* gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
	(clean mostlyclean): Remove empty rm.
2004-01-15 21:16:38 +00:00
Mark Kettenis 26b0da329f * blockframe.c: Update copyright year.
(inside_entry_func): Don't treat a zero PC specially.
2004-01-15 20:00:17 +00:00
Michael Chastain 091c48f61a 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/setvar.exp: Add copyright years.
2004-01-15 19:28:46 +00:00
gdbadmin 2f5082afc4 *** empty log message *** 2004-01-15 00:00:03 +00:00
David Carlton 3e5fc8d240 2004-01-14 David Carlton <carlton@bactrian.org>
* gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
	PR c++/1511 and update coment.
	* gdb.cp/templates.exp: Update patterns to match current output.
	If changes involve something other than whitespace, KFAIL
	w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2004-01-14 19:03:32 +00:00
Elena Zannoni 86fbe6cc79 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 18:39:08 +00:00
David Carlton 63d06c5c42 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: Update copyright:
	(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: Update copyright.
	(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-14  David Carlton  <carlton@kealia.com>

	* gdb.cp/namespace.exp: Add tests involving classes defined within
	namespaces.
	* gdb.cp/namespace.cc (C::CClass): New.
	* gdb.cp/namespace1.cc: Update copyright.
	(C::OtherFileClass): New.
2004-01-14 16:54:43 +00:00
Elena Zannoni a51dab8874 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/sepdebug.exp: Bail out of the test if we don't know
	what debug info we have. Print a better message if something goes
	wrong while producing the separate debug info file.
2004-01-14 15:09:37 +00:00
Michael Chastain a476ccc9d7 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2004-01-14 14:32:54 +00:00
Michael Chastain f453692c70 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/callfuncs.c: Add copyright notice.
2004-01-14 14:11:40 +00:00
Michael Chastain f40063a5ba 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/derivation.exp: Add XFAIL for bug with protected
	inheritance.  PR gdb/1498, PR gcc/13539.
2004-01-14 03:57:23 +00:00
Andrew Cagney 87783b8b9e 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-14 02:51:42 +00:00
gdbadmin 2efda2fa03 *** empty log message *** 2004-01-14 00:00:01 +00:00
David Carlton 2970ae720e 2004-01-13 David Carlton <carlton@kealia.com>
* gdb.base/completion.exp: Don't look for 'ask' after set
	follow-fork-mode.  Update copyright.
2004-01-13 23:39:54 +00:00
Andrew Cagney 6503b91ee3 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 21:38:47 +00:00
Daniel Jacobowitz ea1dd7bc40 * 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 21:31:43 +00:00
Daniel Jacobowitz b51970ac88 * gdb.texinfo: Update copyright year. Mention that set
follow-fork-mode is supported on GNU/Linux.  Remove documentation
	of "set follow-fork-mode ask".
2004-01-13 21:31:07 +00:00
Elena Zannoni 19ac3974bc 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/gcore-thread.exp: Prefix name of binary with
         test specific name.
         * gdb.mi/gdb669.exp: Ditto.
         * gdb.mi/mi-pthreads.exp: Ditto.
         * gdb.mi/mi1-pthreads.exp: Ditto.
         * gdb.mi/mi2-pthreads.exp: Ditto.
2004-01-13 17:08:03 +00:00
Andrew Cagney 0f0cffd251 2004-01-13 Andrew Cagney <cagney@redhat.com>
* configure.in: Update copyright year.
	(build_warnings): Add -Wunused-label.
	* configure: Re-generate.

2004-01-13  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo: Update copyright year.
	(Coding): Add -Wunused-label to list of -Werror warnings.
2004-01-13 17:06:37 +00:00
Michael Chastain 56c97c6e25 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/member-ptr.cc: Add copyright notice.
2004-01-13 04:53:00 +00:00
Michael Chastain a0644324db 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
	some patterns for recent versions of gcc and hpacc.  Delete
	calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
	Delete tests that access a NULL pointer-to-member-data.  This
	script is still disabled for gcc.
2004-01-13 04:36:04 +00:00
Elena Zannoni 32fabe093f 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
* gdb.mi/mi2-basics.exp: Make sure that full pathnames are
        escaped correctly.
2004-01-13 00:25:28 +00:00
gdbadmin a85f99b311 *** empty log message *** 2004-01-13 00:00:31 +00:00
Andrew Cagney 954a7fba02 2004-01-12 Andrew Cagney <cagney@redhat.com>
* exec.h (exec_ops): Make "extern".
2004-01-12 20:33:21 +00:00
Andrew Cagney de38af9947 2004-01-12 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_pseudo_register_read): Don't return a value,
	the function is void.
	(mips_pseudo_register_write): Ditto.
2004-01-12 20:13:25 +00:00
Andrew Cagney 1a111ce38b 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 18:33:47 +00:00
Elena Zannoni 1f8a6abba1 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/sepdebug.exp: New file.
	* gdb.base/sepdebug.c: New file.
	* lib/gdb.exp (separate_debug_filename): New procedure.
	(gdb_gnu_strip_debug): New procedure.
2004-01-12 17:20:41 +00:00
Andrew Cagney 48efe7049b Eliminate the old mi/tui specific ChangeLog files as in ...
Added Files:
	mi/ChangeLog-1999-2003 testsuite/gdb.mi/ChangeLog-1999-2003
	tui/ChangeLog-1998-2003
Removed Files:
	mi/ChangeLog testsuite/gdb.mi/ChangeLog tui/ChangeLog
2004-01-12 15:16:44 +00:00
Andrew Cagney a94154757c 2004-01-12 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
	"Renaming a directory to a non-empty directory returns ENOTEMPTY
	or EEXIST", treat EBUSY as an XFAIL.
2004-01-12 14:44:49 +00:00
gdbadmin ed6cce6d54 *** empty log message *** 2004-01-12 00:00:02 +00:00
Michael Chastain 83b8cf9d6b 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/scope.exp: Remove obsolete setup_xfail for
	hp_cc_compiler.
2004-01-11 23:16:25 +00:00
Mark Kettenis 2ca6286524 * 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.
2004-01-11 20:52:29 +00:00
Mark Kettenis 46b58ce98b Fix typo and pasto. 2004-01-11 20:50:26 +00:00
Mark Kettenis ca9d58e902 * 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.
2004-01-11 20:47:53 +00:00
Mark Kettenis 762c360d8c Really check this in now.
* 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_sparnbsd_tdep): Remove call to add_core_fns.
2004-01-11 20:02:18 +00:00
Mark Kettenis 3cc87ec00c * NEWS: Mention that %cs and %ss have been added to the AMD64
configurations
2004-01-11 17:00:38 +00:00
Mark Kettenis 5bf00f29a7 * frame.c: Update copyright year.
(get_prev_frame): Improve comment.
2004-01-11 16:52:16 +00:00
gdbadmin b3497996f5 *** empty log message *** 2004-01-11 16:00:02 +00:00
Mark Kettenis 4f7ec84e7e * 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_sparnbsd_tdep): Remove call to add_core_fns.
2004-01-11 12:44:09 +00:00
Michael Chastain 9939d2a823 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
	decorations.
2004-01-11 09:40:37 +00:00
Michael Chastain 04cf5ce7dd Fix last commit. I accidentally committed a ChangeLog entry for a
change that hasn't been approved yet (setvar.exp).  The change itself
was never committed.  -- sorry, michael c
2004-01-11 08:16:42 +00:00
Michael Chastain 1ff8cadf84 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
	and "(aCC)" decorations.  Remove obsolete doco about old
	test results.
2004-01-11 08:14:49 +00:00
Mark Kettenis 4e7b0cd39d * 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_sparnbsd_tdep): Remove calls to add_core_fns.
2004-01-10 23:48:48 +00:00
Mark Kettenis a54124c5e3 * 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 23:43:25 +00:00
Mark Kettenis 79b1ab3d32 * x86-64-tdep.c (amd64_non_pod_p): New function.
(amd64_classify_aggregate): Return class memory for non-POD
C++ structure types.
2004-01-10 17:58:30 +00:00
Mark Kettenis 6470d25069 * 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.
2004-01-10 17:48:15 +00:00
Mark Kettenis 562c50c218 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields. 2004-01-10 13:21:06 +00:00
Mark Kettenis af23364752 * 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.
2004-01-10 12:52:41 +00:00
Mark Kettenis 29ff87c561 * blockframe.c (inside_entry_func): Reformat. Introduce new local
variables to prevent long lines.  Update comments to reflect
reality.
2004-01-10 00:09:58 +00:00
Michael Chastain 6fa9022e89 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/exception.exp: Fix typo in doco.
2004-01-10 00:03:17 +00:00
Elena Zannoni 38d518c93e 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 22:22:07 +00:00
Andrew Cagney 1e4728e7bc 2004-01-09 Andrew Cagney <cagney@redhat.com>
* jv-valprint.c, ser-unix.c: Add missing copyright years.
2004-01-09 20:42:10 +00:00
Mark Kettenis 209721fe3f * gdb.base/gdb1476.exp: Fix typo. 2004-01-09 16:43:05 +00:00
Mark Kettenis c77c642a84 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
complaining.
(process_one_symbol): Deal with N_PATCH stabs.
2004-01-09 16:26:17 +00:00
Elena Zannoni b44e904156 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-09 15:33:15 +00:00
Michael Chastain ef11303ebf 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
	file.
2004-01-09 12:14:28 +00:00
Michael Chastain 041ab88cf0 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
	* gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
	Use gdb_compile.  Remove restriction on gcc.  Add some patterns
	for recent version of gdb.  Delete second half, which was a copy
	of the first half with different build flags.  This test is
	still disabled because it is still not ready for production.
2004-01-09 09:48:52 +00:00
Michael Chastain e36d075ac4 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/exception.cc: Add copyright notice.
	* gdb.cp/exception.exp: Add a notice that this file is broken
	because of line number changes caused by addition of copyright
	notice.
2004-01-09 05:41:06 +00:00
Michael Chastain 42b190adc9 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
	* gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2004-01-09 05:19:13 +00:00
Michael Chastain 8f25f06bfe 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Accept gnu abi 2.
	* gdb.cp/derivation.exp: Likewise.
	* gdb.cp/overload.exp: Likewise.
	* gdb.cp/virtfunc.exp: Likewise.
2004-01-09 04:57:09 +00:00
Michael Chastain eccfb6404e 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-09 01:36:26 +00:00
Michael Chastain 848c5feb74 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* config/pa/tm-hppah.h: Update copyright years.
2004-01-09 00:25:05 +00:00
Andrew Cagney 3cc5d6634e 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-09 00:09:53 +00:00
gdbadmin a902bc6782 *** empty log message *** 2004-01-09 00:00:02 +00:00
Jason Molenda c552b3bb47 2004-01-08 Jason Molenda <jmolenda@apple.com>
Eli Zaretskii  <eliz@is.elta.co.il>

        * gdb.texinfo: Update copyright.
        (Objective-C): "methodName" typeo fixed.  Add @code/@var markup
        around names, as appropriate.  Minor syntax cleanup of
        _NSPrintForDebugger explanation.  Two spaces after periods.
        GDBN used instead of lit. "gdb".  Index entries added for
        print-object and _NSPrintForDebugger.  @noindent added in one spot.
2004-01-08 22:47:00 +00:00
Michael Chastain 06ded8b85a 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/pthreads.c (done_making_threads): Remove extraneous
	semicolon after end of function.
2004-01-08 21:43:39 +00:00
Jeff Johnston bfec0b41c9 2004-01-08 David Mosberger <davidm@hpl.hp.com>
* ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
        reality.
2004-01-08 16:46:27 +00:00
Michael Chastain 77c26ae3f4 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
	* gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
	boilerplate code for compiling and running the program under
	test.  Add some string method tests.
2004-01-08 09:41:48 +00:00
Michael Chastain 207574861e 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/bs15503.cc: Add copyright notice.
	* gdb.cp/bs15503.exp: Adjust line number.
2004-01-08 08:18:35 +00:00
Michael Chastain 0fd3b50324 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
	* gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2004-01-08 08:00:55 +00:00
Michael Chastain 10d1bea8d5 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/funcargs.exp: Remove obsolete setup_xfail for
	hp_cc_compiler.
2004-01-08 07:26:50 +00:00
Michael Chastain 2789202a9c 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
	* gdb.cp/ctti.exp: Use the marker instead of "next".
	With gcc, run further before bailing.
2004-01-08 06:35:15 +00:00
Michael Chastain b862f14c31 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/cttiadd.cc: Add copyright notice.
	* gdb.cp/cttiadd1.cc: Likewise.
	* gdb.cp/cttiadd2.cc: Likewise.
	* gdb.cp/cttiadd3.cc: Likewise.
2004-01-08 06:19:15 +00:00
Andrew Cagney 6214a8a12e 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).
2004-01-08 05:03:59 +00:00
Andrew Cagney 8d5838b592 2004-01-07 Andrew Cagney <cagney@redhat.com>
* 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.
2004-01-08 04:57:38 +00:00
Andrew Cagney 480d3dd25b 2004-01-07 Andrew Cagney <cagney@redhat.com>
* 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.
2004-01-08 04:20:57 +00:00
Andrew Cagney ec03c1ac33 2004-01-07 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
	MIPS ABI.
2004-01-08 02:27:22 +00:00
Michael Chastain 96da2469a0 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
	Use gdb_test, gdb_test_multiple.  Use floating-point values that
	have exact representations in IEEE-ish formats.
2004-01-08 02:13:57 +00:00
Andrew Cagney 16e109cad3 2004-01-07 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c: Update copyright.
	(mips_gdbarch_init): Merge two code blocks handling the register
	name and number layout.
2004-01-08 01:51:13 +00:00
gdbadmin fe82b0b710 *** empty log message *** 2004-01-08 00:00:02 +00:00