Commit Graph

2141 Commits

Author SHA1 Message Date
Mark Kettenis 621046191f * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
* gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
(main): Call new function.
2004-07-23 22:08:39 +00:00
Michael Chastain 4a1135b808 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
Test for PR exp/1715.
	* gdb.base/radix.exp: Refactor common procedures.  Make all
	test names unique.  Change XFAIL to KFAIL.
2004-07-22 09:56:42 +00:00
Michael Chastain 8a12c1f0c4 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
* gdb.ada/gnat_ada.gpr.in: Rename from here ...
	* gdb.ada/gnat_ada.gin: ... to here.
	* configure.in: Use gnat_ada.gin.
	* configure: Regenerate.
2004-07-20 23:11:21 +00:00
Andrew Cagney 23b451cfe2 2004-07-20 Andrew Cagney <cagney@gnu.org>
* gdb.base/signals.exp: Replace send_gdb and gdb_expect with
	gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
	XFAILs.  Clean up test messages and comments.  Check backtraces.
	Delete re-sync code.
2004-07-20 19:59:26 +00:00
Michael Chastain 83938a4eb9 Argh, I screwed up and committed a ChangeLog entry for a patch
that is still in the comment period.  Sorry!
2004-07-20 00:26:35 +00:00
Michael Chastain ab618a0235 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
Fix PR cli/740.
	* gdb.base/annota1.exp: Honor gdb,nosignals.
	* gdb.base/annota3.exp: Likewise.
2004-07-20 00:24:41 +00:00
Michael Chastain 46dad34018 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
* lib/java.exp: Update copyright notice.
2004-07-19 21:33:53 +00:00
Andrew Cagney 756d8c7093 2004-07-19 Andrew Cagney <cagney@gnu.org>
* gdb.base/selftest.exp: Copy file from here ...
	* gdb.gdb/selftest.exp: ... to here.
2004-07-19 13:58:21 +00:00
Andrew Cagney 586027e615 2004-07-16 Andrew Cagney <cagney@redhat.com>
* lib/insight-support.exp: Delete file.
	* lib/java.exp (java_init): Fix copyright.
2004-07-17 02:03:00 +00:00
Andrew Cagney 029d220040 2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/restore.c: Append "prologue" to comments marking the a
	function's prologue.
	* gdb.base/restore.exp: Update copyright, re-indent.
	(restore_tests): Use gdb_test_multiple.  Add "calleeN calls
	callerN" prefix where needed.  Update patterns that match a
	function's prologue.
2004-07-16 22:21:52 +00:00
Michael Chastain 653b62c59c 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/restore.c: Add copyright notice.
2004-07-16 22:02:02 +00:00
Andrew Cagney f7d690e5af 2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/logical.exp: Update copyright.
	(evaluate): New procedure.  Use to re-implement tests using
	several tables.
2004-07-16 19:08:42 +00:00
Martin Hunt d629a7cb0a 2004-07-14 Martin Hunt <hunt@redhat.com>
* lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
	which fixes some problems where init.tcl was not found.
2004-07-14 18:55:22 +00:00
Andrew Cagney 6bf46641b8 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/sizeof.exp: Skip test when no inferior I/O.
	(check_sizeof, check_valueof): Do not include the output in the
	test name.  Use gdb_test.
	(get_valueof): Use gdb_test_multiple.
2004-07-13 17:08:36 +00:00
Andrew Cagney c4ffd4c07c 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/step-test.exp: Update copyright.  Use
	gdb_test_multiple.  Ensure that test names do not include
	architecture dependent output.
2004-07-13 16:25:46 +00:00
Andrew Cagney ab89363a82 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.gdb/observer.exp: Update copyright.
	(setup_test): Use gdb_test_multiple.
	(attach_first_observer, attach_second_observer)
	(attach_third_observer, detach_first_observer)
	(detach_second_observer, detach_third_observer)
	(reset_counters, check_counters): Make $message a prefix.
	(test_normal_stop_notifications): Add "args" parameter - a list of
	init functions to be called.  Make $message a prefix,
	(test_observer_normal_stop): Change the message prefixes so that
	they are unique, pass the attach / detach procedures to
	test_normal_stop_notifications.
2004-07-13 14:36:44 +00:00
Andrew Cagney ec58997a7b 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/signull.exp (test_segv): Prefix all tests with
	"${name}".  Clean up test messages.
2004-07-13 13:44:01 +00:00
Andrew Cagney b475183b5c 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
2004-07-13 13:10:54 +00:00
Andrew Cagney 9c7bb33213 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/ena-dis-br.exp: Update copyright.
	(break_at): New function.  Replace send_gdb with gdb_test,
	break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
	ignore count, not stopped at bpt", with KFAIL.
2004-07-13 13:01:04 +00:00
Corinna Vinschen 2dd95497fe * gdb.base/attach.exp: Remove cleanupfile handling. 2004-07-13 11:19:22 +00:00
Andrew Cagney 419e626baa 2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/annota1.exp: Cleanup corefile test name.
	* gdb.base/annota3.exp: Ditto.
2004-07-12 21:39:35 +00:00
Andrew Cagney 7865082976 2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/signals.exp: Clean up copyright, re-indent.
2004-07-12 15:02:52 +00:00
Andrew Cagney 8b1b32286b 2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Replace send_gdb and gdb_expect with
	gdb_test and gdb_test_multiple.
2004-07-12 14:25:48 +00:00
Jeff Johnston 935c276026 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmain.exp: Fix expected line number for main to
        break at.  Set XFAIL for break at main test since gcj does not
        provide line number info for first statement in main.
2004-07-08 21:00:45 +00:00
Andrew Cagney 1279f4ffe5 2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Cleanup copyright.  Re-indent.
2004-07-08 20:04:47 +00:00
Andrew Cagney 1544280f1d 2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp: Make the common part of each test name a
	prefix instead of suffix.
2004-07-08 14:19:21 +00:00
Bob Rossi bcc82369d2 I added the testcase for -file-list-exec-source-files to mi2-file.exp.
It should have been added to mi-file.exp. So, here it is.
2004-07-08 01:57:51 +00:00
Jeff Johnston 23f4b0aa1b 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmisc.exp: Fix expected output of ptype to look for
        the jmisc() constructor instead of <init>.
        * gdb.java/jmisc1.exp: Ditto.
2004-07-07 20:08:03 +00:00
Andrew Cagney 56401cd585 2004-07-07 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp (stepi_out): Check for a single step
	corrupting the PC.
2004-07-07 17:30:10 +00:00
Michael Chastain 44ae2f6a11 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept whitespace change in demangler
	output.
2004-07-06 19:36:10 +00:00
Andrew Cagney 45a83408cd 2004-07-06 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
2004-07-06 15:08:54 +00:00
Michael Chastain d205ad70f2 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
	* lib/compiler.cc: Likewise.
2004-07-02 04:18:17 +00:00
Michael Chastain 06ea1a610f 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.cc: Work around string preprocessing problem
	with old hp c++ compiler.
	* lib/compiler.c: Likewise.
2004-06-30 08:01:33 +00:00
Corinna Vinschen daab125139 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
directives to conditionalize symbol prefixing.
	* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
	additional_flags handling.  Add underscore prefix for Cygwin.
	* gdb.arch/i386-unwind.c: Use preprocessor directives to
	conditionalize symbol prefixing.
	* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
	additional_flags handling.  Add underscore prefix for Cygwin.
2004-06-29 17:52:49 +00:00
Corinna Vinschen cc98411666 * gdb.base/bigcore.exp: Skip test on Cygwin. 2004-06-29 06:34:50 +00:00
Michael Chastain c279b077e0 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
	formats for "info register".  Use gdb_test_multiple.  Fix
	the "invalid register" test.
2004-06-28 18:19:47 +00:00
Corinna Vinschen 0e9157473d * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
PID for Cygwin.  Add Cygwin specific strings to check for in some
	tests.
	(do_attach_tests): Add a test for user interaction when attaching
	to a process with no matching symbol table already loaded.
2004-06-28 11:15:31 +00:00
Andrew Cagney 11422c8666 2004-06-26 Andrew Cagney <cagney@gnu.org>
Test PR java/1567 and PR java/1565.
	* gdb.java/jmain.exp, gdb.java/jmain.java: New files.
	* gdb.java/jmisc2.exp: Delete file.
2004-06-27 00:41:39 +00:00
Michael Chastain cefbce265a 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
2004-06-26 22:20:50 +00:00
Corinna Vinschen e19f872c5b * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
attach process.
2004-06-25 13:52:20 +00:00
Michael Chastain d931ba3b35 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-1553.exp: Remove.
2004-06-23 18:36:51 +00:00
Michael Chastain aef68c4869 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-1553.cc: Remove.
	* gdb.cp/pr-1553.exp: Disable this test.
2004-06-22 18:17:54 +00:00
Jim Blandy 8d5df71af0 Fix PR testsuite/1680.
* gdb.arch/i386-sse.exp: Properly quote curly braces in
regular expressions.
2004-06-21 05:00:37 +00:00
Michael Chastain 4ac6f39dda 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
Fix PR testsuite/1679.
	* gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
	Issue an UNSUPPORTED result instead.
2004-06-19 18:58:42 +00:00
Jim Blandy 1b413552e1 * gdb.base/charset.exp: Only send a control-C if we see a new
prompt and incomplete command.
2004-06-18 23:12:54 +00:00
Michael Chastain 6daa6ebd43 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-574.cc: Add copyright notice.
2004-06-18 14:24:54 +00:00
Jim Blandy 51fa4ae02d * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
cases where the regexp has no groups; this grabs random text from
the previous test suite, whatever that was.
2004-06-17 21:07:42 +00:00
Michael Chastain 8fea26c5a5 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/printmethod.cc: Add copyright notice.
2004-06-17 18:30:18 +00:00
Michael Chastain 1e3aeb41f2 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
2004-06-17 04:28:22 +00:00
Andrew Cagney 9d9030bc8f 2004-06-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/signull.c: Update copyright.  Include <string.h>.
	(bowler): Replace data_pointer with data_read
	and data_write cases.  Add code_descriptor case.
	(zero, desc): New array and pointer.
	(data, code): Change to simple pointers.
	* gdb.base/signull.exp: Fix probe pattern matching a function
	descriptor SIGSEGV.  Replace data_pointer with data_read and
	data_write tests.
2004-06-16 16:40:51 +00:00