Commit Graph

1553 Commits

Author SHA1 Message Date
Michael Chastain eca3e36bf8 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/cvexpr.c: Be type-safe with function pointers and
	data pointers.
2004-01-07 08:32:51 +00:00
Michael Chastain f8d4bac4a7 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/m-static.exp: Compile one source file at a time.
	Delete unused call to get_compiler_info.
2004-01-06 19:21:59 +00:00
Michael Chastain 9b4e0f9493 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
	* gdb.base/call-rt-st.exp: Likewise.
	* gdb.base/nodebug.exp: Likewise.
	* gdb.base/volatile.exp: Likewise.
	* gdb.cp/ref-types.exp: Likewise.
	* gdb.cp/templates.exp: Likewise.
2004-01-06 19:05:14 +00:00
Mark Kettenis 023c10246b * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files. 2004-01-05 22:55:33 +00:00
Michael Chastain 19703c4ab8 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
	hppa*-hp-hpux*.
2004-01-05 12:32:11 +00:00
Mark Kettenis ba6219c89f * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
x86_64-*-*.
2004-01-04 15:04:41 +00:00
Mark Kettenis 18b6703720 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
sparc64-*-* and sparc*-solaris2*.
2004-01-04 14:06:00 +00:00
Mark Kettenis 1bfbbb9d24 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
return ${tests}" test.  The ${tests} already mentions the
filename.
2004-01-03 23:49:31 +00:00
Michael Chastain 06846494ce 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/local.exp: Accept gcc abi 2.
2004-01-03 01:46:09 +00:00
Michael Chastain 3b0cb2022c 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept gcc abi 2.
2004-01-03 00:03:11 +00:00
Michael Chastain 0643ec3f3c 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.cc: Remove supports_template_debugging.
	* gdb.cp/templates.exp: Do not test supports_template_debugging.
2004-01-02 23:20:51 +00:00
Michael Chastain d231d0b13f 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Accept gcc abi 2.
2004-01-02 06:38:01 +00:00
Michael Chastain 44ffb27cc2 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/method.exp: Accept gcc abi 2.
2004-01-02 06:17:19 +00:00
Michael Chastain 184ad4855f 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Generate identical results as old version.
	* gdb.cp/derivation.exp: Likewise.
	* gdb.cp/overload.exp: Likewise.
	* gdb.cp/virtfunc.exp: Likewise.
2004-01-02 04:46:45 +00:00
Michael Chastain 116f09e7e9 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Modify some patterns to avoid a
	mysterious bug with sourceware version of expect.
2004-01-01 23:05:12 +00:00
Michael Chastain b13797763f 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
	current versions of gcc, including gcc abi 2.  Remove gratuitous
	restart of test program.  Use gdb_test_multiple and gdb_test for
	all tests.  Add patterns to xfail missing "const" in "const char *"
	and kfail PR gdb/1155.
2004-01-01 09:46:21 +00:00
Michael Chastain 6b7a4c0e17 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
	current versions of gcc, including gcc abi 2.  Remove gratuitous
	restart of test program.  Use gdb_test_multiple and gdb_test for
	all tests.  Add patterns to kfail PR gdb/1498.
2004-01-01 06:58:44 +00:00
Michael Chastain 51615d7251 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
	current versions of gcc, including gcc abi 2.  Use "breakpoint"
	and "continue" instead of restarting the target program.  Use
	gdb_test_multiple and gdb_test for all tests.
2004-01-01 02:30:59 +00:00
Mark Kettenis 7b79a9d72e * gdb.asm/asm-source.exp: Update copyright year. Link statically
for *-*-solaris2*.
2004-01-01 01:13:42 +00:00
Michael Chastain 1cd3489fb3 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
	current versions of gcc, including gcc abi 2.  Use "breakpoint"
	and "continue" instead of restarting the target program several
	times.  Use gdb_test_multiple and gdb_test for all tests.
2003-12-31 20:59:11 +00:00
Michael Chastain 850742db45 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/sect-cmd.exp: Handle compiling test case from multiple
	source files.
2003-12-18 16:25:21 +00:00
Michael Chastain eb4bbda805 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/environ.exp: Handle compiling test case from multiple
	source files.
2003-12-18 07:48:37 +00:00
Michael Chastain e42c777187 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2003-12-17 22:32:18 +00:00
Jim Blandy 5f06973a05 * gdb.base/freebpcmd.c: Add copyright notice. 2003-12-17 21:34:51 +00:00
Jim Blandy 80e4b428e6 * gdb.base/freebpcmd.exp: Mark the interesting failure as known. 2003-12-17 21:28:40 +00:00
Michael Chastain 0ab84fb789 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2003-12-17 05:43:46 +00:00
Jim Blandy 1b3bb3d032 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test. 2003-12-13 20:12:31 +00:00
Kevin Buettner 3a4c93712e * gdb.asm/frv.inc: New file.
* gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2003-12-13 01:01:08 +00:00
Fred Fish a1dea79abe Committed after testing and independent approval/endorsement.
2003-12-09  Fred Fish  <fnf@redhat.com>
	* gdb.base/break.c (marker1, marker2, marker3, marker4): Move
	functions to break1.c and leave prototypes behind.  Add more
	"set breakpoint NN here" comments.
	* gdb.base/break1.c: New file.
	* gdb.base/break.exp: Handle compiling test case from multiple
	source files and change source file references as needed.
	* gdb.base/completion.exp: Ditto.
	* gdb.base/condbreak.exp: Ditto.
	* gdb.base/define.exp: Ditto.
	* gdb.base/ena-dis-br.exp: Ditto.
	* gdb.base/info-proc.exp: Ditto.
	* gdb.base/maint.exp: Ditto.
	* gdb.base/until.exp: Ditto.
	* gdb.base/condbreak.exp: Use bp_locationNN variables instead of
	hardcoded line numbers.
	* gdb.base/define.exp: Ditto.
	* gdb.base/ena-dis-br.exp: Ditto.
	* gdb.base/maint.exp: Ditto.
	* gdb.base/until.exp: Ditto.
	* gdb.base/completion.exp: Use "break1" for completion tests since
	"break" is no longer a unique prefix.
2003-12-09 18:19:20 +00:00
Andrew Cagney 5266b69c16 2003-12-06 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp (test_struct_returns): When applicable, set
	"return_value_unimplemented".  When an unimplemented struct return
	architecture, report incorrect values as a KFAIL
2003-12-06 22:49:02 +00:00
Michael Chastain 374451f0e9 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/rtti.exp: Accept new wording of warning from
	cp_lookup_rtti_type.
2003-12-06 04:40:42 +00:00
Michael Chastain ba9b20a7b1 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/scope.exp (test_at_main): Replace references to
	gcc_compiled with calls to test_compiler_info.
	(test_at_foo): Likewise.
	(test_at_bar): Likewise.
2003-12-06 02:06:22 +00:00
Michael Chastain b74b6d0b9f 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
	to test_compiler_info.
2003-12-05 01:53:46 +00:00
Michael Chastain ccfa340233 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/so-impl-ld.exp: Update copyright notice.
2003-12-04 04:37:54 +00:00
Michael Chastain f6246aba72 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
	to test_compiler_info.
2003-12-02 17:53:58 +00:00
Michael Chastain 13ae734acd 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
	from current versions of gdb.  Clean up regular expressions.
	Delete redundant timeout case.
2003-12-02 17:03:30 +00:00
Michael Chastain d8e1cdeed9 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/nondebug.exp: Match and KFAIL the output that comes
	from current versions of gdb.  Clean up regular expressions.
	Delete redundant timeout case.
2003-12-02 16:57:16 +00:00
Michael Chastain 96457b64cf 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/callfuncs.exp (do_function_calls): Replace reference to
	gcc_compiled with call to test_compiler_info.
2003-12-01 22:09:06 +00:00
Michael Chastain f35309fcfd 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/list.exp (test_list_function): Delete unused declaration
	of gcc_compiled.
2003-11-30 23:13:34 +00:00
Michael Chastain d7afdf9bce 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/complex.exp: Replace reference to gcc_compiled with
	call to test_compiler_info.
2003-11-30 06:50:49 +00:00
Mark Kettenis 71507b5617 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
it to create the appropriate note.inc.
* gdb.asm/asmsrc1.s: Include "note.inc".
* gdb.asm/netbsd.inc: New file.
* gdb.asm/empty.inc: New file.
2003-11-29 13:55:17 +00:00
Michael Chastain f81f93f75e 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/constvars.exp: Replace references to gcc_compiled with
	calls to test_compiler_info.
2003-11-29 06:56:06 +00:00
Michael Chastain 9a77938ecf 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/volatile.exp: Replace references to gcc_compiled with
	calls to test_compiler_info.
2003-11-28 03:31:24 +00:00
Mark Kettenis e8367dc76a * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
pattern for the KFAILs.
2003-11-27 20:40:52 +00:00
Adam Fedor 526c61eee0 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
* gdb.objc/objcdecode.m: New file.
2003-11-26 04:23:25 +00:00
Adam Fedor 28f2d60014 * gdb.objc/nondebug.exp: Test for PR objc/1236.
* gdb.objc/nondebug.m: New file.
2003-11-26 04:21:51 +00:00
Ben Elliston a3895ceeba * gdb.asm/asm-source.exp: Make sure the final link succeeds on
NetBSD as it does on FreeBSD.  Modelled on a similar change by
	Mark Kettenis on 2003-05-30.
	(link-flags): Set to "--entry _start" regardless of target.
	Special linker flags are to be appended to $link-flags.
	* gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2003-11-26 01:17:16 +00:00
Michael Chastain c9f2c8a388 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/method.exp: Accept output of new demangler.
2003-11-25 17:39:07 +00:00
Michael Chastain 15a0587afe Fix typo in my e-mail address in last ChangeLog commit.
Argh!
2003-11-25 17:10:57 +00:00
Michael Chastain f4e8b6f343 2003-11-25 Michael Chastain <mec@gnu.mindspring.com>
* gdb/class2.exp: New file.
	* gdb/class2.cc: New file.
2003-11-25 15:01:31 +00:00
Michael Chastain 3c00b5704f 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp (test_ptype_of_templates): Accept output
	of new demangler.
2003-11-25 14:34:37 +00:00
Mark Kettenis 7027acc712 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
of gdb_test "run".
2003-11-23 21:14:45 +00:00
Mark Kettenis b0e1598abf * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
"continue" into "run".
2003-11-23 19:30:52 +00:00
Michael Chastain 4d9eda44f5 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
	call to test_compiler_info.
	* gdb.cp/ctti.exp: Likewise.
	* gdb.cp/derivation.exp: Likewise.
	* gdb.cp/member-ptr.exp: Likewise.
	* gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
	reference to gcc_compiled.
2003-11-23 18:24:46 +00:00
Michael Chastain b729099eb3 2003-11-23 Michael Chastain <mec@shout.net>
Fix PR testsuite/1463.
	* gdb.base/structs.exp (start_structs_test): Call
	get_debug_format before using the debug format.
2003-11-23 17:48:00 +00:00
Andrew Cagney d422fe19c6 2003-11-22 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_test_multiple): Add simple example.
	* gdb.base/structs.exp: Use gdb_test_multiple.
2003-11-23 01:09:19 +00:00
Andrew Cagney 6882279b13 2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp: Handle and recover from internal errors.
	Replace "foo${n}" with "foo<n>" in test messages.
2003-11-20 18:03:48 +00:00
Andrew Cagney e53890ae03 2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp: Update copyright.  Rewrite.
	* gdb.base/structs.c: Update copyright.  Rewrite.
2003-11-20 17:11:55 +00:00
Andrew Cagney 2b211c59a2 2003-11-20 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
	resync count exceeded.
2003-11-20 15:58:08 +00:00
Andrew Cagney 039cf96dc4 2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/maint.exp: Use gdb_internal_error_resync to recover
	from the internal error.
	* lib/gdb.exp (gdb_internal_error_resync): New procedure.
	Original from Jim Blandy.
	(gdb_test_multiple): Use gdb_internal_error_resync.
2003-11-20 15:36:34 +00:00
Andrew Cagney eac98b22ae 2003-11-19 Andrew Cagney <cagney@redhat.com>
* gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
	KFAIL.
2003-11-19 18:34:52 +00:00
Mark Kettenis 67455b2a34 New testcase for PR backtrace/1435.
* gdb.arch/i386-unwind.exp: New file.
* gdb.arch/i386-unwind.c: New file.
2003-11-19 17:42:43 +00:00
Andrew Cagney 853d6e5b6d 2003-11-17 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (compiler_info): New global.
	(test_compiler_info): New function.
	(get_compiler_info): Set compiler_info.
	* lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
	"compiler_info" to gcc-<major>-<minor>.
2003-11-17 15:00:20 +00:00
Michael Chastain 38cf6e11c7 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.trace/configure: Remove.
2003-11-15 18:31:44 +00:00
Elena Zannoni a50d3602e0 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.c: Add comments to aid finding line numbers for
       breakpoints.
       * gdb.base/break.exp: Remove all references to explicit line
       numbers.
2003-11-13 15:34:39 +00:00
Nick Clifton d9407aaa54 Do not run for targets which do not support shared objects. 2003-11-11 17:58:28 +00:00
Corinna Vinschen db488fc1b2 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
Don't run tests if nofileio flag is given.
2003-11-10 09:12:20 +00:00
Elena Zannoni 6a90a18e85 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
        as well as 'Watchpoint'.
2003-11-07 15:46:33 +00:00
Elena Zannoni 0b915e9cc2 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
Reported by Jim Ingham <jingham@apple.com>:
	* gdb.base/annota1.exp: Match at least one occurrence of the
	signal handler annotation.
2003-11-06 20:50:47 +00:00
Elena Zannoni d7e4b55f6b 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
        as well as 'Watchpoint'.
2003-11-06 20:39:46 +00:00
Michael Chastain 2fe4e8d0d9 2003-11-05 Michael Chastain <mec@shout.net>
* gdb.mi/pthreads.c (routine): Handle early return from sleep.
2003-11-06 02:08:08 +00:00
Kris Warkentin 6ef88553ef Added new SH4 testcases 2003-11-03 17:42:52 +00:00
Michael Chastain ae7dc4d82b 2003-10-22 Michael Chastain <mec@shout.net>
* gdb.mi/pthreads.c: Add copyright notice.
2003-10-24 19:55:09 +00:00
Michael Chastain c39d742707 2003-10-22 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c: Add copyright notice.
2003-10-23 04:43:54 +00:00
Michael Chastain 8b7d96c1c4 2003-10-20 Michael Chastain <mec@shout.net>
* gdb.base/gdb1056.exp: New test script.
2003-10-21 00:35:02 +00:00
Daniel Jacobowitz d1d69fdd54 * gdb.threads/killed.exp: Use gdb_run_cmd. 2003-10-13 16:32:51 +00:00
Daniel Jacobowitz 7d605576a6 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
create a core file.
	* gdb.threads/gcore-thread.exp: Likewise.
2003-10-13 16:30:45 +00:00
Corinna Vinschen 618ec11271 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
type, based on char type.
	(struct bit_flags_short_t): New bitfield type, based on short type.
	(init_bit_flags_char): New fuction.
	(init_bit_flags_short): Ditto.
	(print_bit_flags_char): Ditto.
	(print_bit_flags_short): Ditto.
	(main): Add handling for bit_flags_char_t and bit_flags_short_t.
2003-10-13 09:13:43 +00:00
Michael Chastain 9367a73cbc 2003-10-11 Michael Chastain <mec@shout.net>
* gdb.base/call-rt-st.exp: Update copyright year.
2003-10-11 20:57:42 +00:00
Kazuhiro Inaoka 1decf12004 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
* config/hmsirom.exp: Replace "Hitachi" with "Renesas".
	* gdb.disasm/sh3.s: Ditto.
2003-10-10 07:08:03 +00:00
Daniel Jacobowitz 5445b2aee4 * gdb.threads/switch-threads.exp: New test.
* gdb.threads/switch-threads.c: New source file.
2003-10-09 19:49:28 +00:00
Corinna Vinschen aec24853b5 * gdb.base/ending-run.exp: Add sh specific case. 2003-10-07 16:02:16 +00:00
Andrew Cagney adc7428d50 2003-10-06 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
	* gdb.disasm/mn10200.exp: Delete obsolete file.
2003-10-06 19:31:43 +00:00
Daniel Jacobowitz c9d37158cc * ChangeLog: Correct an entry command.exp -> commands.exp.
* gdb.base/commands.exp (bp_deleted_in_command_test)
	(temporary_breakpoint_commands): Check noargs.
2003-09-29 15:08:52 +00:00
David Carlton 79c2c32df4 2003-09-25 David Carlton <carlton@kealia.com>
* c-exp.y: Include cp-support.h.  Add qualified_type.
	(yylex): Delete nested type hack; add comments.
	* cp-namespace.c (cp_lookup_nested_type): New function.
	* cp-support.h: Declare cp_lookup_nested_type.
	* eval.c (evaluate_subexp_standard): Call value_aggregate_elt
	instead of value_struct_elt_for_reference.
	* valops.c: Include cp-support.h.
	(value_aggregate_elt): New function.
	(value_namespace_elt): Ditto.
	(value_struct_elt_for_reference): Make static.
	* value.h: Delete declaration of value_struct_elt_for_reference;
	add declaration for value_aggregate_elt.
	* Makefile.in (c-exp.tab.o): Depend on $(cp_support_h).
	(valops.o): Ditto.

2003-09-25  David Carlton  <carlton@kealia.com>

	* gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
	of some print tests, where appropriate.  Add tests for C::D::cd,
	E::ce, F::cXfX, G::XgX.
	* gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2003-09-25 16:39:39 +00:00
Richard Earnshaw 594e6d67cd * lib/java.exp (java_init): Import target_alias before using it. 2003-09-25 16:25:56 +00:00
David Carlton 10f0d45173 2003-09-25 David Carlton <carlton@kealia.com>
* gdb.base/corefile.exp: Delete obsolete setup_xfail.
2003-09-25 15:40:20 +00:00
Elena Zannoni 274bcba01c 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/selftest.exp: Accomodate more instruction reordering
        weirdness.
2003-09-23 19:19:48 +00:00
Michael Chastain cdbf20f734 2003-09-17 Michael Chastain <mec@shout.net>
* gdb.cp/gdb1355.exp: New file.
	* gdb.cp/gdb1355.c: New file.
2003-09-18 00:04:39 +00:00
David Carlton bd45b7af67 Fix ChangeLog entry to read 'gdb.cp' instead of 'gdb.c++'. 2003-09-17 20:40:15 +00:00
Corinna Vinschen 71e06f8034 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
* gdb.asm/sh.inc: New file.
2003-09-15 09:52:56 +00:00
David Carlton 5c4e30cabe 2003-09-11 David Carlton <carlton@kealia.com>
* gdbtypes.h: Add TYPE_CODE_NAMESPACE.
	* gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE.
	(recursive_dump_type): Ditto.
	* printcmd.c (print_formatted): Ditto.
	* typeprint.c (print_type_scalar): Ditto.
	* c-typeprint.c (c_type_print_varspec_prefix): Ditto.
	(c_type_print_varspec_suffix, c_type_print_base): Ditto.
	* cp-support.h: Declare cp_check_possible_namespace_symbols,
	maint_cplus_cmd_list.
	* cp-support.c: Make maint_cplus_cmd_list extern.
	* cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h,
	command.h.
	(lookup_symbol_file): Look in possible namespace blocks when
	appropriate.
	(initialize_namespace_symtab): New.
	(get_possible_namespace_block, free_namespace_block)
	(check_possible_namespace_symbols)
	(check_possible_namespace_symbols_loop)
	(check_one_possible_namespace_symbol)
	(lookup_possible_namespace_symbol, maintenance_cplus_namespace)
	(_initialize_cp_namespace): Ditto.
	* block.h: Declare allocate_block.
	* block.c (allocate_block): New.
	* jv-lang.c (get_java_class_symtab): Allocate blocks via
	allocate_block.
	* symfile.h: Update declaration of add_psymbol_to_list.
	* symfile.c (add_psymbol_to_list): Return the partial symbol in
	question.
	* dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to
	scan_partial_symbols_call.
	(scan_partial_symbols): Add NAMESPACE argument; update calls to
	helper functions.
	(add_partial_symbol): If necessary, scan mangled names for names
	of namespaces.
	(add_partial_namespace): Add NAMESPACE argument; generate partial
	symbols associated  to namespaces.
	(add_partial_enumeration): Add NAMESPACE argument.
	(new_symbol): Allow namespace syms.
	(read_namespace): Generate namespace syms.
	* objfiles.h: Add opaque declaration of struct symtab.
	(struct objfile): Add cp_namespace_symtab member.
	* objfiles.c (allocate_objfile): Set
	objfile->cp_namespace_symtab.
	* Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h,
	dictionary_h, command_h.

2003-09-11  David Carlton  <carlton@kealia.com>

	* gdb.c++/namespace.exp: Add tests for namespace types.
	* gdb.c++/maint.exp (test_help): Test 'help maint cp namespace'.
	(test_namespace): New.
2003-09-11 19:49:20 +00:00
Elena Zannoni 3fcf0ced03 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.stabs/weird.exp: Ditto.
2003-09-11 19:09:46 +00:00
Elena Zannoni 1c19974635 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/relocate.exp: Handle new gdb output at startup.
2003-09-11 18:59:02 +00:00
Michael Chastain 04ed252fc1 2003-09-08 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2003-09-08 21:30:52 +00:00
Michael Chastain d8a2d9e7ba 2003-09-07 Michael Chastain <mec@shout.net>
* gdb.cp/classes.exp: Accommodate both 'syntax error' and
	'parse error'.
2003-09-08 02:00:11 +00:00
Mark Kettenis 161afb2472 * gdb.arch/i386-prologue.exp: Add checks for saved registers. 2003-09-07 16:38:00 +00:00
Michael Chastain 49f2741a0a 2003-08-30 Michael Chastain <mec@shout.net>
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
	* gdb.gdb/observer.exp: Ditto.
	* gdb.gdb/xfullpath.exp: Ditto.
2003-08-30 04:58:21 +00:00
Mark Kettenis 8afa723e83 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
*-*-*bsd*.
2003-08-29 11:42:28 +00:00
Jeff Johnston f31dfe3b88 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/dump.exp: Skip for ia64.
2003-08-28 18:01:50 +00:00