Commit graph

664 commits

Author SHA1 Message Date
Jim Kingdon
e1a6b67ab3 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems. 1995-01-21 23:38:43 +00:00
Jim Kingdon
9f538e3e9d add new tests sigall.c and sigall.exp 1995-01-21 23:30:43 +00:00
Jim Kingdon
f34c87666e * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
	gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
	gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
	it makes the tests harder to understand and confuses test-o-matic.
	The preferred style is that each test provides a PASS or a FAIL,
	and has a unique message (e.g. "continue #54" not just "continue")
	which is the same for the pass and the fail.
	* gdb.fortran/exprs.exp, gdb.fortran/types.exp,
	gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
	to lib/gdb.exp.
	* gdb.base/printcmds.exp: Use test_print_accept.  Remove
	prt_accept which was basically the same thing.  Likewise for
	test_print_reject and prt_reject.
	* lib/gdb.exp (test_print_reject): Add some more error message
	patterns to match from the former printcmds.exp (prt_reject).
	* gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
	One defect of the passcount stuff is that some of it failed to
	report XPASS where appropriate.
	* gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
	stuff before and after arg in expected pattern.
	(test_paddr_operator_functions): Re-do test without print_addr_of;
	this is the only test which seems to want extra stuff there.
1995-01-20 22:26:33 +00:00
Jim Kingdon
29f25f6f69 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
and "ptype" work on variables in files compiled without -g.
	Replaces commented out "maint print msymbol" tests.
1995-01-17 16:22:23 +00:00
Jim Kingdon
668336262c * gdb.base/setvar.c (dummy): Call malloc. 1995-01-16 20:14:38 +00:00
Jim Kingdon
24f5d04a56 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
losing with the irix4 sed.
1995-01-16 17:24:13 +00:00
Jim Kingdon
0c72a5b7ed * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
ALRM" on irix4.
1995-01-16 17:19:03 +00:00
Jim Kingdon
d722005e65 * TODO: Remove items about corefile.exp testing new exec-file and
backtrace; both are now done.  Add items about printing enums.
1995-01-16 03:21:04 +00:00
Jim Kingdon
2d593cdda9 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
"get signal $thissig" test fails.
1995-01-14 18:23:51 +00:00
Jim Kingdon
770b7c5935 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks. 1995-01-14 16:29:24 +00:00
Jim Kingdon
592355645c * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
compiler warning with dec alpha compiler.

	* gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
	extra \n from gdb_test call (this explains why the prompt test
	that I removed yesterday was there).
	(user_defined_command_test): Remove extra \n and prompt test.

	* gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
	doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
	doesn't exist.
	* gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
	Also remove alpha workaround, which turns out to be because
	SIGABRT == SIGLOST.
1995-01-12 20:12:07 +00:00
Jim Kingdon
3074a46dbf * gdb.base/sigall.exp: Add workaround for alpha weirdness. 1995-01-12 16:41:09 +00:00
Jim Kingdon
4a9758edbc * gdb.base/help.exp: Don't test "help show". 1995-01-12 06:17:40 +00:00
Jim Kingdon
8bc8001669 * gdb.base/help.exp: Replace most of docstring for "define" with ".*". 1995-01-11 20:45:59 +00:00
Jim Kingdon
4a2170f0ea * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
was a vestige of the manual TESTSTRATEGY, and the purpose of it
	was to make sure that gdb can read a core file.  But (a) the "read
	the corefile" part didn't make it to a1-selftest.exp, we just
	delete the corefile after creating it, and (b) we test reading
	corefiles in corefile.exp anyway.  Also, this test left around a
	xgdb process on Solaris.

	* gdb.base/corefile.exp: Also test backtrace.
1995-01-11 20:42:33 +00:00
Jeff Law
b0c2974980 * gdb.base/commands.exp: Test a simple user defined command with
arguments and if/while statements; verify the full user command is
	printed by "show user".
1995-01-11 07:43:53 +00:00
Jeff Law
cba9d85e01 * gdb.base/commands.exp: Test if/while commands as part of a
breakpoint command list; verify they appear in breakpoint
	information.
1995-01-11 07:16:54 +00:00
Jim Kingdon
7454930699 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
than by dividing by zero.
1995-01-11 05:53:49 +00:00
Jeff Law
4f9045b47c * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
performing an inferior call with watchpoints enabled.
	* gdb.base/watchpoint.c (main): Delete second unnecessary read
	call.
1995-01-11 04:48:43 +00:00
Jim Kingdon
d7c6f0f7fb * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
of "file" command.
1995-01-10 23:54:03 +00:00
Jim Kingdon
6fd417ffbb * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
Add additional pattern for when "int operator int(void);" appears
	in a different order.
1995-01-10 23:44:43 +00:00
Jim Kingdon
229ad46612 * gdb.base/signals.exp: Call gdb_exit and gdb_start. 1995-01-09 22:24:12 +00:00
Jim Kingdon
07112465eb * gdb.base/help.exp: Replace most of docstrings for "info signals"
and "signal" with ".*".
1995-01-09 21:32:53 +00:00
Jim Kingdon
d71511fbd3 * TODO: Add note about "handle all nostop".
* gdb.base/{sigall.c, sigall.exp}: New test.
	* gdb.base/Makefile.in: Add it.
1995-01-08 23:03:28 +00:00
Stan Shebs
26e4dcae58 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
when invoking GDB, suppresses any windowing interface.
1995-01-06 01:37:18 +00:00
Stan Shebs
c5b92a77f6 keep sim-gdb.exp 1995-01-03 01:45:57 +00:00
Stan Shebs
8ef36cf363 * config/sim-gdb: New file, simulator testing support. 1995-01-03 01:44:08 +00:00
Jeff Law
61c4b14e98 * gdb.base/interrupt.exp: Test calling func1 twice. 1994-12-28 19:23:34 +00:00
Jim Kingdon
9b826d6df6 * gdb.base/list.exp (test_forward_search): Set timeout higher
when we'll be getting lots of output from gdb.

	* gdb.base/a1-selftest.exp: Move code that was inside expect -re
	"init_malloc" to after the expect statement.  Run it if that
	regexp is taken, but also for two others which happen if source
	cannot be found.
1994-12-22 00:32:15 +00:00
Jim Kingdon
0427f3ec1c * gdb.base/printcmds.exp: New test, for printing register before
program is running.
1994-12-20 21:07:52 +00:00
Peter Schauer
633e623803 * gdb.base/list.exp: Correct some alternate expect patterns
to reflect changes in list1.c.
1994-12-19 08:37:53 +00:00
Jim Kingdon
4ec56c1fec * TODO: Add item regarding large frames. 1994-12-18 06:41:00 +00:00
Jim Kingdon
cdb09cd6d7 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
* TODO: Remove item about enabling return.exp; it
	is enabled.  Suggest a few more "return" tests.
1994-12-18 02:18:32 +00:00
Peter Schauer
528d1a8dfd * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
anonymous unions.
1994-12-17 10:47:40 +00:00
Jim Kingdon
fd82583b42 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
and pr-5646.o, so "make" is the same as "make all, not "make
	pr-4975.o".
1994-12-13 19:30:31 +00:00
Stan Shebs
75d1ef1322 * gdb.base/list.exp: Adjust expectations to reflect changes in
list1.c.
	(test_forward_search): New test proc.
	* gdb.base/list1.c (long_line): New function, has long source line.
1994-12-08 03:05:49 +00:00
Stan Shebs
3046ecae1f * gdb.base/a1-selftest.exp: Change initial stepping to know about
additional line of code that was added.
1994-12-02 07:17:28 +00:00
Jeff Law
002199bca4 * gdb.disasm/hppa.s: Break the large branching tests into smaller
tests so as not to overflow expect's input buffers.
        * gdb.disasm/hppa.exp: Corresponding changes.
1994-12-01 04:08:29 +00:00
Per Bothner
a36c3ee1dc * pr-5984.ch, pr-5984.exp, Makefile.in: New test case. 1994-11-29 02:39:35 +00:00
Peter Schauer
52e895cbb4 Beginnings of template debugging tests.
* gdb.c++/templ-info.cc:  New file to test for template
	debugging capability of the compiler.
	* gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
	templ-info.cc.
	* gdb.c++/templates.cc:  Add explicit template instantiations
	to enable compiling with -fno-implicit-templates. Add destructor
	and 'value' method to T5 class for template tests.
	* gdb.c++/templates.exp:  Add testcases for printing of template
	types, setting breakpoints on template methods and calling a
	template method.
1994-11-25 21:48:02 +00:00
Peter Schauer
68906e4c3f * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
through signal handler.
1994-10-29 09:58:01 +00:00
J.T. Conklin
6b55e5e3b9 * configure.in (*-*-netware): Use config/mt-netware.
* config/mt-netware: New file.
* config/mt-i386-netware: Removed, separate configs for different
  netware architectures are no longer needed now that we have
  --with-headers.
1994-10-21 18:34:40 +00:00
Jim Kingdon
62433a301a * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
bug involving using inferior_pid to figure out whether to select a
	frame.
1994-10-09 14:52:02 +00:00
Per Bothner
87846d8a69 Add missing file; adjust Makefile etc. 1994-09-17 01:00:09 +00:00
Per Bothner
ab8b59f441 * pr-5646.ch, pr-5646.exp, Makefile.in: New testcase. 1994-09-16 23:55:01 +00:00
Jeff Law
9fa1bd1f40 * gdb.base/commands.exp: New tests for if/while commands. 1994-09-08 06:02:58 +00:00
Per Bothner
16654bbe99 * pr-5016.ch, pr-5016.exp, Makefile.in: New testcase.
* Makefile.in (.exe.check):  New rule, to run just one test.
1994-09-06 20:23:16 +00:00
Per Bothner
b19d7c45d7 Note fix to lib/gdb.exp. 1994-09-06 20:17:29 +00:00
Peter Schauer
146d1b553f * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
linefeed from expect pattern for repeated types with indices > 9.
1994-09-06 09:26:19 +00:00
Stan Shebs
e32890404e Keep Fortran tests 1994-08-29 21:33:43 +00:00
Stan Shebs
6862283731 First part of Fortran test suite.
* gdb.fortran: New directory.
	* gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1994-08-29 21:31:48 +00:00
Peter Schauer
176d550474 * gdb.base/default.exp: Update expect pattern for load command
without arguments.
1994-08-28 14:08:03 +00:00
Ian Lance Taylor
2c5d4a3443 * configure.in: Change i386 to i[345]86.
* gdb.base/configure.in: Likewise.
	* gdb.c++/configure.in: Likewise.
	* gdb.chill/configure.in: Likewise.
1994-08-24 17:18:05 +00:00
Stan Shebs
70bcd4bc7e * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
patterns, since that is not a valid context for comments.
1994-08-24 02:21:37 +00:00
Stan Shebs
3cbe9f4d97 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2417; old bug has been fixed.
1994-08-16 23:05:00 +00:00
Jeff Law
b42f02ba3f * gdb.base/interrupt.exp: When trying to wake up the inferior,
send the newline ourselves instead of assuming gdb_test will do
	so when passed an empty input string.
1994-08-13 02:12:03 +00:00
Jeff Law
5278c61d20 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
stabs testcode.
1994-08-13 01:38:55 +00:00
J.T. Conklin
662bd26379 * config/netware.exp: New file. 1994-08-02 17:27:18 +00:00
J.T. Conklin
b933a608ed Obsolete file. 1994-07-29 00:41:04 +00:00
J.T. Conklin
af1fa5e7ca * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
the -B and -L prefixes so we can find the debugging stub.
1994-07-28 23:00:42 +00:00
J.T. Conklin
d18245ea9a Fix typo 1994-07-28 21:33:56 +00:00
J.T. Conklin
c2926ab7fc * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
there and we are using the gcc from the tree.

* gdb.base/types.c: Removed.
1994-07-28 21:23:28 +00:00
J.T. Conklin
9f70e45075 * gdb.base/configure.in: Look for makefile fragments in ../config.
Recognize i386-*-netware.
* gdb.c++/configure.in: Likewise.
1994-07-28 20:38:45 +00:00
Peter Schauer
d938d0f96a * gdb.base/corefile.exp: Change else if' to elseif', which is
the correct TCL syntax.
1994-07-26 06:52:38 +00:00
J.T. Conklin
08104d73b8 * gdb.base/opaque.exp: use runto instead of messing around with
breakpoints.

* gdb.base/bitfields.exp: restart between tests on netware targets
  because breakpoints aren't relocated after target death.  Run
  processes to completion.

* gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
1994-07-25 23:35:10 +00:00
J.T. Conklin
a488d496ec * gdb.base/opaque.exp: use runto instead of messing around with
breakpoints.
1994-07-25 23:34:23 +00:00
Fred Fish
dedd81f159 * Makefile.in: Remove extra tabs that confuse some versions
of "make".  Use the newly built gdb to test with by default,
	rather than the first one in the tester's search path.
1994-07-24 16:56:45 +00:00
Stan Shebs
73e484b44a * gdb.base/whatis.exp (v_signed_short_array): Fix a typo. 1994-07-23 23:24:05 +00:00
Stan Shebs
a924cf196d * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
condition help.
1994-07-23 22:09:34 +00:00
J.T. Conklin
316567f0ff Upgraded to use gdb_test. 1994-07-22 21:14:03 +00:00
J.T. Conklin
fafc71bab7 Use gdb_run_cmd 1994-07-20 17:38:05 +00:00
J.T. Conklin
959fea03b5 Changed pattern in gdb_run_cmd to match up to the first newline only.
The old pattern used ".*$", which could, and did, swallow up output
that we were attempting to match elsewhere.
1994-07-20 17:29:02 +00:00
J.T. Conklin
4f2ec2eeb8 New implementation of gdb_run_cmd which fixes some subtle bugs. 1994-07-20 16:40:08 +00:00
J.T. Conklin
412c988b1d Temporarily back out last change 1994-07-20 01:03:24 +00:00
J.T. Conklin
b34c14fb19 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd. 1994-07-19 22:57:49 +00:00
J.T. Conklin
27b4d34f08 * gdb.base/funcargs.exp: Use gdb_run_cmd to start program. 1994-07-19 22:57:29 +00:00
J.T. Conklin
4704ece79f * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
* gdb.base/funcargs.exp: Use gdb_run_cmd to start program.
1994-07-19 22:57:13 +00:00
J.T. Conklin
809943cfa9 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
running.
1994-07-19 22:19:41 +00:00
J.T. Conklin
c5ea7f99a4 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program. 1994-07-19 22:19:25 +00:00
J.T. Conklin
3236e9849d * lib/gdb.exp (gdb_run_cmd): New function, used to start program
running.
* gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
1994-07-19 22:18:48 +00:00
J.T. Conklin
940423347b Mostly converted to use gdb_test proc. 1994-07-19 21:42:58 +00:00
J.T. Conklin
7e63dc5fb2 This config file didn't belong here 1994-07-19 21:33:15 +00:00
J.T. Conklin
3e304ddfab * gdb.base/bitfields.exp: Simplify by using delete_breakpoints and
gdb_test.
* lib/gdb.exp (gdb_test): if match times out, don't call fail if
  message is "".
1994-07-19 17:33:52 +00:00
J.T. Conklin
98f6da4f02 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
return,signals,twice}.exp: Handle non-existant binaries
  consistantly.
1994-07-18 22:27:07 +00:00
J.T. Conklin
8f2d75fcf4 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
* gdb.base/Makefile.in: Don't try to generate a core dump, we
  might testing a cross development system.
1994-07-18 19:25:50 +00:00
Stan Shebs
802a2b00a9 * gdb.base/signals.exp: Allow for optionality of breakpoint
address.
1994-07-14 22:37:53 +00:00
Jim Kingdon
7f5f5630fc * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test. 1994-07-14 18:31:46 +00:00
J.T. Conklin
6380e4d28e Minor tweaks 1994-07-12 22:23:25 +00:00
J.T. Conklin
cdb181cb64 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
for size_t definition.
* gdb.c++/templates.cc: Likewise
1994-07-12 21:56:28 +00:00
J.T. Conklin
c14cb8ce80 * config/mt-i386-netware: New file. 1994-07-12 20:12:01 +00:00
J.T. Conklin
f3c8d0971b * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
defined.
1994-07-12 20:07:49 +00:00
J.T. Conklin
29a3db493f * gdb.base/Makefile.in: Added support for systems that name core
files by appending "core" to the program name.
* gdb.base/a1-selftest.exp: Likewise.
1994-07-12 19:33:37 +00:00
Peter Schauer
c3ac803fe6 * gdb.base/return.exp: Add comment and message for `return double'
test failure on Sparc Solaris.
1994-07-12 07:04:15 +00:00
Stan Shebs
08df328495 Various updates 1994-07-12 01:43:09 +00:00
Peter Schauer
8959745750 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
from optimizing them away.
	* gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
	patterns to include default constructors and assignment operators,
	to match gcc versions beyond 2.5.8.
1994-06-29 07:35:00 +00:00
Peter Schauer
15c7f0c747 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
expression match in print_addr_of to avoid unintented matches.
	* gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
	versions up to 2.5.8.
1994-06-24 15:25:55 +00:00
Peter Schauer
55f3c2b411 * gdb.base/list.exp: Tweak alternate pattern for listing of an
included file to run under newer versions of expect.
	* gdb.c++/demangle.exp:  Add spaces to the expect patterns between
	consecutive >'s in templates to accomodate recent cplus-dem.c change.
	Remove xfail for the virtual table of BDDHookV.
1994-06-21 07:01:10 +00:00
Stan Shebs
a8594cb3f3 * lib/gdb.exp (string_to_regexp): Set a default result.
(default_gdb_start): Fix misleading message.
1994-06-18 19:55:23 +00:00
Stan Shebs
9da7b23745 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
* config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
	Remove all CC, etc definitions.
	* config/mt-hpux: New file.
	* config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
	(CFLAGS, LDFLAGS): Define.
	* config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
1994-06-15 19:49:41 +00:00
Stan Shebs
48f6098e1d Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (site.exp): Don't insert host_os, etc.
	(just-check): Just use RUNTEST with RUNTESTFLAGS only.
	(distclean): Check existence of subdir.
	* gdb.base/configure.in (hppa*-*-hpux*): Recognize.
	* gdb.base/Makefile.in: General cleanup and simplification.
	Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
	to build executables.	Use default rule to build .o files.
	(EXPECT, RUNTEST, CC): Fix relative pathname.
	(site.exp): Don't insert host_os, etc.
	* gdb.base/signals.c (main): Don't call signal unless SIGALRM
	and/or SIGUSR1 defined.
	* gdb.base/watchpoint.c: Don't include stdio.h a second time.
	* gdb.c++/Makefile.in: General cleanup and simplification.
	Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
	(CFLAGS): Remove.
	(EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
1994-06-15 19:31:19 +00:00
Per Bothner
ccda44f92f * result.ch, result.exp, Makefile.in: New test case.
* pr-4975.ch, pr-4975-grt.ch, pr-4975.exp, Makefile.in:  Ditto.
1994-06-14 23:23:14 +00:00
Jeff Law
d3f6b4638a * gdb.base/recurse.exp: Misc changes to get tests running again
after Kung's changes to the watchpoint code.
	* gdb.base/watchpoint.exp: Likewise.
1994-06-10 17:10:08 +00:00
Per Bothner
d1a390dc4c * pr-5022.ch, pr-5022.exp: New testcase.
* chillvars.exp:  Remove spurious newline.
1994-06-10 02:17:06 +00:00
Per Bothner
605f94ba35 * Makefile.in: Bunch of fixes so it actually works in this
directory.  (E.g. add extra ../ where needed.)
	Also, add .exe to executables, so we can use suffix rules.
	* chexp.exp (test_print_reject):  Update syntax error message.
	* chillvars.ch (module PR_5020):  Moved from here ...
	* pr-5022.ch: ... to this new file.
	* chillvars.exp, pr-5020.exp (binfile):  Add .exe extension.
	* chillvars.exp, pr-5020.exp: Don't check all_flag.
	* pr-5020.exp:  Add more tests; fix "print y pretty" output.
1994-06-09 23:13:54 +00:00
Stan Shebs
0fba9aa255 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
* config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
	* lib/gdb.exp (default_gdb_start): Define.
1994-06-08 19:25:43 +00:00
Jim Kingdon
68361314c0 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
(which was basically just a local version of the same thing).  In
	addition to avoiding duplication, gdb_test_exact is faster.
	* lib/gdb.exp (gdb_test_exact): Fix typo.
1994-06-07 16:40:10 +00:00
Jim Kingdon
31711c6961 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
don't give an error.
	* gdb.base/term.exp: Call delete_breakpoints before starting.
1994-06-07 16:04:40 +00:00
Jim Kingdon
63fb699b06 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
(t10): Add comment.
1994-06-07 15:43:59 +00:00
Stan Shebs
16def8c8a0 Reorganized GDB tests - Chill 1994-06-07 02:01:27 +00:00
Stan Shebs
ef44eed173 Reorganized GDB tests - base 1994-06-07 01:57:15 +00:00
Stan Shebs
33268150cb Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
Reorganization of the GDB Test Suite.

	* gdb.base: New directory, contains all the basic tests.
	* gdb.c++: New directory, tests specific to C++.
	* gdb.chill: New directory, tests specific to Chill.
	* gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
	gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
	gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
	gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
	into appropriate new directories (t00-t17 to base, t20-t23 to c++,
	t30-31 to chill).
	* */gdbme.*: Rename to match appropriate expect scripts.
	* gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
	gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
	gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
	gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
	gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
	gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
	gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
	gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
	gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
	gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
	* gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
	gdb.c++/virtfunc.cc: New names of C++ files.
	* gdb.chill/chillvars.ch: New name of Chill file.
	* gdb.base/configure.in, gdb.c++/configure.in,
	gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
	* gdb.base/Makefile.in, gdb.c++/Makefile.in,
	gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
	* configure.in (configdirs): Update to reflect directory changes.
	(target_abbrev): No longer define for any configuration.
	* Makefile.in: Cosmetic improvements to header comments.
1994-06-07 01:50:58 +00:00
Per Bothner
b11f2c1f76 Various changes to gdb.t31. 1994-06-04 02:03:08 +00:00
Per Bothner
f2d5a56e99 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions. 1994-06-02 23:03:35 +00:00
Per Bothner
faa157708b * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures. 1994-06-02 23:02:00 +00:00
Rob Savoye
16451f9b70 Unneeded. 1994-06-01 20:40:53 +00:00
Rob Savoye
9346963065 Renamed. 1994-06-01 20:30:19 +00:00
Per Bothner
0b9158e6fa * Makefile.in: Fix bit-rot in definitions of CHILL,
CHILL_FOR_TARGET and Chill_LIB.
1994-05-30 05:34:32 +00:00
Per Bothner
06f98d4908 * Makefile.in (TARGET_FLAGS_TO_PASS): Fix syntax of
sanitize-chill comments.
1994-05-26 00:12:21 +00:00
Bill Cox
90fba5fa0f * Revert the previous changes. Please see Rob's directory
/lisa/test/rob/progressive/gdb/testsuite for these fixes.
1994-05-21 17:24:22 +00:00
Bill Cox
2f10998399 * Makefile.in, configure.in, config/mips-gdb.exp,
config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
          config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
          config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
	  gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
	  gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
	  gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
	  gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
	  gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
	  gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
	  gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
	  gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
	  gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
	  gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
	  gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
	  gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
	  changes from 94Q1.
1994-05-19 19:58:04 +00:00
Bill Cox
d7096b9269 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
config/mt-slite, config/mt-unix, config/mt-vxworks: Add
	  Rob's new testing fragments.
1994-05-19 00:06:29 +00:00
Bill Cox
8f07e53768 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
lib/gdb.exp: Replace error proc calls with perror.
1994-05-17 22:06:15 +00:00
Stan Shebs
b17fd29d90 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
* gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
	version also, match on casted version strings, and match on
	gdb startup case where the line numbers might be messed up.
1994-05-17 02:10:17 +00:00
Bill Cox
0c575f2d8b * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
(CFLAGS): Delete it from here.
1994-05-14 01:09:17 +00:00
Bill Cox
edfb9ffd1f * config/makefile.rel.in: : Add comment lines
to Sanitize out CHILL references unless keep-chill
          was specified.
1994-05-12 21:16:41 +00:00
Bill Cox
4d2ad0a87b * .Sanitize: Drop the gdb.t30 and gdb.t31 directories
unless keep-chill was specified on the command line.
	* Makefile.in: Add comment lines to Sanitize out CHILL
	  references unless keep-chill was specified.
1994-05-12 21:08:47 +00:00
Stan Shebs
526637b56c Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (RUNTEST): Default to just "runtest".
1994-04-29 21:41:14 +00:00
Bill Cox
ea68d58d4e Back-migrate minor changes in these files from 94Q1 progressive into devo:
dejagnu/ChangeLog, dejagnu/Makefile.in,
	dejagnu/example/calc/Makefile.in, dejagnu/lib/remote.exp,
	dejagnu/testsuite/Makefile.in,
	dejagnu/testsuite/runtest.all/options.exp,
	gcc/testsuite/config/unix.exp, gdb/testsuite/Makefile.in,
	ld/ChangeLog, newlib/testsuite/ChangeLog, texinfo/testsuite/ChangeLog
1994-04-28 21:49:40 +00:00
Jeff Law
9b63f09c7d * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
* gdb.t17/gdbme.c (t_func_values): Add comments about how and why
        the code has been restructured.
1994-04-27 05:24:08 +00:00
Jim Kingdon
739324d734 * gdb.t00/default.exp (set write): Allow any number of \r and/or
\n, not just one of each.

	* gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
	/bin/cc gives a warning if you do.
1994-04-21 20:08:42 +00:00
Kung Hsu
0cb7d54f3c Modified Files:
ChangeLog

        * gdb.t24/demangle.exp: change expect pattern of
        __t10ListS_link1ZUiRCUiPT0
1994-04-21 18:56:39 +00:00
Jeff Law
fa75e476f4 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
on local variables in recursive functions.

	* gdb.t07/Makefile.in: Build the new test.
1994-04-13 22:06:01 +00:00
Jeff Law
194e992858 Fix typo. 1994-04-13 03:47:33 +00:00
Jeff Law
b3e258b480 * gdb.t15/gdbme.c (t_func_values): Do not compare function pointers
directly.  Instead compare the return values from actual calls.
1994-04-13 03:46:42 +00:00
Bill Cox
099c286e74 * Makefile.in (check): Set TCL_LIBRARY for runtest. 1994-04-11 23:17:18 +00:00
Jeff Law
bff0719996 * From Peter Schauer with minor modifications.
* gdb.t15/return.exp (return_tests): Handle targets where "return"
        stops in mid-line in the caller.  Add xfail for returning a float
        value on X86 targets.
1994-04-11 16:16:20 +00:00
Jeff Law
67808d3e6f * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
to avoid expect lossage.
        (fmem_LRbug_tests): Likewise.
        * gdb.disasm/hppa.s: Corresponding changes.
1994-04-06 03:35:23 +00:00
Jeff Law
f911e41716 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
conditions to work with latest dejagnu/expect.
1994-04-06 03:06:25 +00:00
Jeff Law
7e550eb395 * gdb.t15/funcargs.exp (finish from indirect call): No longer
expected to fail on the PA.
        (backtrace in call with trampolines): Explicitly require main
        to be frame #1 (no trampolines should show up in backtrace).
1994-04-06 00:53:00 +00:00
Jeff Law
19155bc265 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
"continue -expect".
        * gdb.t06/break.exp: Likewise.
        * gdb.t07/watchpoint.exp: Likewise.
        * gdb.t13/bitfields.exp: Likewise.
        * gdb.t15/{funcargs,return}.exp: Likewise.
        * gdb.stabs/weird.exp: Likewise.
        * config/{mips,udi}-gdb.exp: Likewise.
1994-04-05 22:28:21 +00:00
Jeff Law
32a1239cc8 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
"continue -expect".
        * gdb.t06/break.exp: Likewise.
        * gdb.t07/watchpoint.exp: Likewise.
        * gdb.t13/bitfields.exp: Likewise.
        * gdb.t15/{funcargs,return}.exp: Likewise.
        * gdb.stabs/weird.exp: Likewise.
        * config/{mips,udi}-gdb.exp: Likewise.
1994-04-05 22:21:55 +00:00
Jeff Law
f0705d1831 * hppa.sed: Enclose comments within a sed command to avoid
losing with the old OSF1 sed.
1994-04-05 22:17:03 +00:00
Peter Schauer
1f655b81a6 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
sequent dynix.
	* gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
	* gdb.t15/funcargs.exp:  Conditionally step again to really
	finish from marker_call_with_trampolines. Handle the case where
	the first step from within call_with_trampolines already steps
	us back to main.
	* gdb.t15/gdbme.c:  Add comment to closing brace of
	call_with_trampolines for funcargs.exp.
1994-03-30 09:21:59 +00:00
Jeff Law
374bc5d7de * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
Fix typo(s).
1994-03-30 07:56:14 +00:00
Jeff Law
28a2181201 * gdb.t07/gdbme.c: More code for watchpoint testing.
* gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
        "Hardware watchpoint" throughout file.
        (test_watchpoint_triggered_in_syscall): New test.
        (test_complex_watchpoint): New test.
1994-03-28 00:53:55 +00:00
Jeff Law
277c24a1f0 * gdbme.c (call_with_trampolines): New function to try and step
into.  Tests trampoline problems on the PA.

        * funcargs.exp (localvars_in_indirect_call): No longer expect
        stepping into indirect call to fail on PAs.
        (test_stepping_over_trampolines): New test.
1994-03-26 01:06:12 +00:00
Jim Kingdon
b93e563cb7 * TODO: Add suggestions for static member function tests, and
completion tests.
1994-03-24 16:26:57 +00:00
Jim Kingdon
3006c5ac36 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
(default_gdb_exit): Replace all the hair with sending "quit" to
	the process with a simple close.
1994-03-16 16:57:39 +00:00
Jim Kingdon
7e1f34050d * TODO: Add suggestions for shared library tests. 1994-03-15 16:46:13 +00:00
Jim Kingdon
d19fc8790a * TODO: Add suggestions for x/s tests. 1994-03-13 18:46:42 +00:00
Jim Kingdon
45f43ce2c0 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
"enable once", and "enable breakpoints once" with ".*".
1994-03-11 16:36:22 +00:00
Jim Kingdon
27677e75f4 * TODO: Add suggestions about structure passing tests. 1994-03-10 16:42:54 +00:00
Jim Kingdon
24f815579e * TODO: Add suggestion about passing a structure as the 7th argument. 1994-03-10 16:35:54 +00:00
Peter Schauer
cbb99ebbd1 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
the primary1 test, use work around if __GNUC__ < 2.
	* gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
	* gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
	Test for bad output rather than waiting for timeout.  Issue
	second continue only if first continue failed.
1994-03-07 21:51:38 +00:00
Jim Kingdon
31b03fe43c * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
operator[] test with gdb_test because the old code didn't seem to
	be getting the quoting right with the new dejagnu.
1994-03-02 18:11:44 +00:00
Jim Kingdon
90e58b6c52 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
next over recursive call.  Revise the tests from that point on
	(which had been skipped) to match GDB's actual (correct) output.

	* gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
	with next over a breakpoint whose condition is false.
1994-02-25 09:13:10 +00:00
Jim Kingdon
b4f6f3c114 * gdb.t00/help.exp: Comment out "help set print" tests just like
(and for same reason as) "help set" test.
1994-02-25 03:03:29 +00:00
Jim Kingdon
83eab3d68d Add unknown.exp 1994-02-19 00:37:57 +00:00
Jeff Law
34535b4433 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
* gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
1994-02-14 17:59:19 +00:00
Jim Kingdon
fd70af24a3 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
gdb.t03/ptype.exp (ptype structure, ptype union):
	Remove xfails; the test is looser than when the xfails were added.
1994-02-07 02:06:27 +00:00
Jim Kingdon
2558ba5dd6 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
since "run" automatically loads if necessary.  Call gdb_target_udi
	after the "file" since "file" kills any execution target.
1994-02-07 01:50:51 +00:00
Jim Kingdon
5bf581053c * gdb.t02/whatis.exp: Remove xfails for PRs 1838 and 2417; they
are fixed.

	* gdb.t02/whatis.exp: Remove xfails for v_char_array and
	v_signed_char_array; the test is looser than when the xfails were
	added.

	* gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
	* gdb.t00/help.exp: Don't expect remote to be in "help target" output.
1994-02-07 00:59:37 +00:00
Jim Kingdon
b6999724da * gdb.t01/run.exp: Only run shell test if isnative. 1994-02-07 00:18:08 +00:00
Jim Kingdon
ebbed4c4c3 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
since "run" automatically loads if necessary.
1994-02-07 00:06:45 +00:00
Jim Kingdon
d3b06c5fcf * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
GDB.  GDB doesn't work that way (not anymore at least) on UDI.
	* gdb.t01/run.exp: Don't pass extra first argument for UDI.
1994-02-06 23:45:18 +00:00
Jim Kingdon
60f1cc9858 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
* gdb.t17/callfuncs.exp: Add xfails for rs6000.
1994-02-05 21:29:45 +00:00
Jeff Law
90e77b4aec * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
(comib_nullified_tests): Fix typo.
        * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
        strings.  No longer expected to fail.
1994-02-05 19:16:49 +00:00
Jeff Law
8a1f1fbab0 * gdb.disasm/hppa.s (addib_tests): Fix typo.
* gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
        strings.  No longer expected to fail.
1994-02-05 18:40:20 +00:00
Jim Kingdon
3c409d2045 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
properly quoting regexps.  This makes the second argument to
	demangle a fixed string, which matches the callers, instead of a
	shell-style pattern which is what the previous implementation
	used.  Update some of the callers.
1994-02-05 18:34:33 +00:00
Jeff Law
ddb01977fb * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect string.
No longer expected to fail.
1994-02-05 18:20:02 +00:00
Jeff Law
647d688bcc * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
No longer expected to fail.
1994-02-05 08:03:34 +00:00
Jeff Law
6b4eae930c * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
string.  No longer expected to fail.
1994-02-05 07:46:20 +00:00
Jim Kingdon
81268ac80e * gdb.t24/demangle.exp: Remove a bunch more tests which differ
only in the names (I probably got most of them).  I was even
	generous with some which differed in underscores in names, and
	probably missed a few, and I *still* was able to remove almost a
	third of the file with almost no impact on testsuite coverage.
1994-02-04 18:45:39 +00:00
Jim Kingdon
b2c416781d * gdb.t00/default.exp: Match udi_attach error message as well as
the one from child_attach.

	* gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
1994-02-04 02:25:33 +00:00
Jim Kingdon
a8493f59b7 * Move test with enums and partial symbols back to
gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
	Reverts the change of 26 May 93.  Per today's change to
	stabs.texinfo, the behavior that weird.exp was expecting was
	unreasonable; what is important is that the compiler+gdb get
	things right, which happens with a recent gcc.  Also fix the test
	to deal with native compilers which put out the stab gdb can't
	deal with.
1994-02-03 17:25:43 +00:00
Jim Kingdon
a7409c5498 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
in the names.  The main thing these accomplish is to slow things down.
	Many more such duplicates surely remain.
1994-01-31 21:15:53 +00:00
Jim Kingdon
48c667b407 * gdb.t00/help.exp: Comment out "help support" test just like
(and for same reason as) "help set" test.
1994-01-31 20:43:53 +00:00
Fred Fish
83fe861ee0 Fix typo in ChangeLog entry. 1994-01-31 15:25:07 +00:00
Fred Fish
9f388ef8db * gdb.t06/break.exp: Remove setup_xfails for
sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
        * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
        about known bug in gcc to include up through 2.5.8.
        * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
        well as "_vb$".
        * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
        Remove setup_xfails for sparc-sun-solaris2.*, these tests no pass
        with latest gcc and gdb.
        * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
        well as "_vb$".
1994-01-31 15:22:47 +00:00
Jeff Law
7d25181670 * configure.in (hppa*-*-*): Also configure and build stabs-only
tests.
1994-01-30 07:32:26 +00:00
Jeff Law
4a5242e884 * gdb.t10/hppa.mt: A makefile fragment for the PA.
* gdb.t10/configure.in (hppa*-*-*): Use it.
1994-01-27 16:22:10 +00:00
Peter Schauer
4b471f9391 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly. 1994-01-25 21:04:57 +00:00
Peter Schauer
a3435c0e23 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
versions prior to 1.13.5.
1994-01-19 20:46:28 +00:00
Jim Kingdon
77918505b5 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
the prompt is at the start of a line.
1994-01-19 01:14:11 +00:00
Jeff Law
46ee83a0b8 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
        in the copr tests now.
        * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
        copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
        expected to fail.
1994-01-18 04:08:30 +00:00
Jim Kingdon
80edc7cb3c Write ChangeLog entries for Rob changes.
Revert Rob changes which consisted of un-doing (accidentally,
presumably) the changes which have happened since 4.12 branched off.

In lib/gdb.exp remove the comment which went with the "catch" which
Rob removed.
1994-01-18 03:29:53 +00:00
Rob Savoye
002cc99ff6 Apply patches from gdb 4.12 testing. 1994-01-17 23:28:29 +00:00
Rob Savoye
0ab6de2336 Add patches from gdb 4.12 testing. 1994-01-17 23:27:07 +00:00
Jim Kingdon
bff37c5945 * gdb.t16/printcmds.exp (test_print_strings): Accept
"(unsigned char *) " before the string.
1994-01-15 23:00:27 +00:00
Jim Kingdon
2069bd10d5 * TODO: Add notes about printing of fancy types and GDB expressions. 1994-01-15 17:03:41 +00:00
Jim Kingdon
96f1fa1542 * TODO: Add notes about printing of fancy types and GDB expressions. 1994-01-15 16:30:04 +00:00
Jim Kingdon
3dcb86173f * TODO: Add note about printing of fancy types. 1994-01-15 14:58:41 +00:00
Jim Kingdon
44d2505679 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
xfails; I'm not sure why they are failing, but not because of PR 1806.
1994-01-11 20:24:02 +00:00
Rob Savoye
c36a1486c6 * config/unix-gdb.exp: Remove gdb_unload cause it's already
defined in lib/gdb.exp
1994-01-11 05:16:50 +00:00
Rob Savoye
7ae5557239 Tweaked to work with either version of expect. removed gdb_unload proc
cause it's already in lib/gdb.exp.
1994-01-11 05:14:08 +00:00
Rob Savoye
9bcc6c3f67 Tweaked to work with either version of expect. 1994-01-11 05:09:44 +00:00
Jim Kingdon
67d99cad3a Add TODO to things to keep 1994-01-11 04:13:54 +00:00
Peter Schauer
2db87e2212 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
	* gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
	have to be typeless.
1994-01-07 20:47:45 +00:00
Rob Savoye
70dbc7514f Tweaked to work with either version of expect. 1994-01-06 05:43:20 +00:00
Stan Shebs
e1beb23045 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
* configure.in (*-*-lynxos*): Add stabs tests.
1994-01-03 19:39:01 +00:00
Jeff Law
af5ede6e65 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
stores.
        * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
        stores.
        (fpu_short_memory_tests): Likewise.
1993-12-02 05:55:34 +00:00
Peter Schauer
09305cbdfc * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
* gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
	.stabs directives in comments.
1993-11-22 21:26:36 +00:00
Jim Kingdon
d910c7e938 * TODO: New file, describing tests we could write.
* gdb.t09/corefile.exp: Move description of tests to write to TODO.
1993-11-19 20:24:02 +00:00
Jim Kingdon
b0f4ec40fc * TODO: New file, describing tests we could write.
* gdb.t06/corefile.exp: Move description of tests to write to TODO.
1993-11-19 20:22:34 +00:00
Jim Kingdon
1562fc8325 New file, for known lacks in testsuite 1993-11-19 17:20:18 +00:00
Jim Kingdon
dfbaacfa1f * gdb.t06/signals.exp: Add kludge to force re-sync. 1993-11-17 03:59:25 +00:00
Jim Kingdon
641436212f * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
to xgdb instead of gdb, get out of gdb.
1993-11-17 03:11:30 +00:00
Jim Kingdon
92a6c3cc31 Add ChangeLog entry for change by Rob 1993-11-16 16:27:54 +00:00
Jeff Law
20fde16acc * gdb.stabs/hppa.mt: A makefile fragment for the PA.
* gdb.stabs/configure.in (hppa*-*-*): Use it.
	* gdb.stabs/hppa.sed: New sed script for the PA.
1993-11-14 07:20:53 +00:00
Jim Kingdon
dd06d920c8 * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 06:50:42 +00:00
Jim Kingdon
68702ea3dd * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 05:57:47 +00:00
Jim Kingdon
aad143dc5d * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 05:35:22 +00:00
Jim Kingdon
b219511b11 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed. 1993-11-12 21:32:42 +00:00
Jim Kingdon
3971f61b9c * gdb.t20/gdbme.cc: Add comment about pmi being optimized out. 1993-11-08 22:58:34 +00:00
Jim Kingdon
073cca33d1 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
"_vb$".
1993-11-05 06:12:59 +00:00
Jim Kingdon
4a8f7bf11d * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
* gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
1993-11-05 05:36:03 +00:00
Jim Kingdon
eba272f39e * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'. 1993-11-04 16:59:00 +00:00
Jim Kingdon
51763ee245 * lib/gdb.exp: Comment out code which depends on non-existent
`transform' procedure.
1993-11-03 19:57:50 +00:00
Rob Savoye
85174909de * lib/gdb.exp: Transform tool name.
* gdb.t*/*.exp: Change error to perror so it works with DejaGnu
	1.1's new error handling system.
1993-11-03 18:28:22 +00:00
Jim Kingdon
95bfaf1c01 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS. 1993-11-01 20:49:03 +00:00
Stu Grossman
12f4fe6cd6 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule. 1993-10-25 22:28:46 +00:00
Jim Kingdon
3c1423d645 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA. 1993-10-25 22:08:47 +00:00
Jim Kingdon
bb42d443ad * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
It is not from PR 3220.
1993-10-25 18:44:32 +00:00
Jim Kingdon
3373287100 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
just started failing because they depended on the order the
	subcommands are presented, or exact docstring text.  This kind of
	test is a pain and has minimal benefit.
1993-10-25 00:01:16 +00:00
Jim Kingdon
bf96935bbc * gdb.t09/corefile.exp: At end of test, use "core" command with
no arguments.
1993-10-21 13:32:51 +00:00
Stu Grossman
486b3fe18c * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
17}/Makefile.in:  Make it possible to run the testsuite with Sun
	make and CC = cross gcc by adding explicit build rules for .o
	files.
1993-10-20 16:23:17 +00:00
Jim Kingdon
e00def2dd1 * gdb.t15/funcargs.exp: Don't put comments on same line as
setup_xfail (@#$*%& tcl braindamage!).
1993-10-19 21:40:09 +00:00
Jim Kingdon
f9a96aa314 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile. 1993-10-19 02:56:08 +00:00
Jim Kingdon
2a23937211 * gdb.disasm: New directory for GDB disassembler tests. 1993-10-17 02:09:07 +00:00
Jim Kingdon
15598f4229 * gdb.disasm: New directory for GDB disassembler tests. 1993-10-17 02:09:06 +00:00
Jim Kingdon
d699eb2124 * gdb.t06/break.exp: For "next over recursive call", fail on any
incorrect output, not just on "factorial (value=2)".
1993-10-15 18:50:29 +00:00
Jim Kingdon
cfb56ba23e Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
	working now. Add an xfail if accesing a bss variable causes
	a memory error if the target is not yet run.
1993-10-15 17:13:27 +00:00
Jim Kingdon
81d460c775 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
	name of __st* demangling (2 strings).  Did Kung really get the
	more than 95 others right without testing them?
1993-10-15 00:36:26 +00:00
Kung Hsu
ff24cba9b6 Modified Files:
ChangeLog

	* gdb.t24/demangle.exp: clean up XFAILS, more than 100 of them.
1993-10-14 23:33:33 +00:00
Jim Kingdon
8092225e36 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
* configure.in (configdirs): Add gdb.disasm
	* gdb.disasm: New directory for GDB disassembler tests.
	* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
1993-10-14 21:58:58 +00:00
Jim Kingdon
478826389e Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
* configure.in (configdirs): Add gdb.disasm
	* gdb.disasm: New directory for GDB disassembler tests.
	* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
1993-10-14 21:03:36 +00:00
Jim Kingdon
a86bd05a66 * gdb.t00/help.exp: Don't test "help set". 1993-10-14 18:53:31 +00:00
Jim Kingdon
8d22f022d2 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
from within expect statements.  None of these happen anymore and
	they cause regressions to be silently unnoticed.

	* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
	messages) about known failures with gcc cygnus-2.4.5-930417.
1993-10-14 18:40:20 +00:00
Jim Kingdon
74aa67d3d3 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
from within expect statements.  None of these happen anymore and
	they cause regressions to be silently unnoticed.

	* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
	messages) about known failures with gcc cygnus-2.4.5-930417.

	* gdb.t22/virtfunc.exp: Add notes (in comment and failure message)
	about problem with gcc cygnus-2.4.5-930828.
1993-10-14 18:20:52 +00:00
Jim Kingdon
486e58a5d1 * gdb.t20/inherit.exp: Remove all xfails from within expect statements.
None of these happen anymore and they cause regressions to be silently
	unnoticed.

	* gdb.t20/inherit.exp: Add note (in failure message) about known
	failure with gcc cygnus-2.4.5-930417.
1993-10-14 17:50:24 +00:00
Jim Kingdon
f164292134 * gdb.t20/inherit.exp: Add note (in failure message) about known
failure with gcc cygnus-2.4.5-930417.

	* gdb.t22/virtfunc.exp: Add notes (in comments and failure message)
	about problem with gcc cygnus-2.4.5-930828.
1993-10-14 17:29:01 +00:00
Jim Kingdon
89c394ece7 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
comp-info.exp so it gets built if it doesn't exist.

	* gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
	it is no longer used.
	* gdb.t13/comp-info.c: Removed.
1993-10-14 16:47:34 +00:00
Jim Kingdon
9536b32ca2 * gdb.t06/signals.exp: Add xfail for sun3. 1993-10-14 06:03:23 +00:00
Jim Kingdon
ce5d02049b * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
relevant because ^C doesn't get sent but failure can be reproduced
	interactively).
1993-10-07 17:04:40 +00:00
Peter Schauer
a72e983365 * gdb.stabs/alpha.mt: New configuration file for alpha.
* gdb.stabs/configure.in:  Use it.
	* gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
	sharing with alpha.mt, redefine long to word via preprocessor.
	* gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
	for alpha.
	* gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
	native cc.
	* gdb.t00/teststrategy.exp:  Change expect string so that we
	consume the `(xgdb)' from the command echo and from the gdb prompt.
	* gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
	gdb currently compares all values as long, so this failure probably
	applies to any configuration where LONGEST is bigger than a target int.
	* gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
	with gcc.
	* gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
	to handle opaque pointers, gcc is.
	* gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
	as first argument. Include <sys/types.h> and change all operator
	new definitions to use size_t.
	* gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
	now that we use size_t.
1993-10-05 19:32:46 +00:00
Jim Kingdon
748699873d * gdb.t24 (demangle.exp): Constructors of templates have names like
vector<int>::vector(int) not vector<int>::vector<int>(int).  See
	section 14.6 of the ARM.

	* gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
	"_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
	accomplish little and slow down the testsuite.

	* gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
	Accept spaces various places.
1993-09-29 00:10:26 +00:00
Jim Kingdon
83eba394ec * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
Accept spaces various places.
1993-09-28 22:39:06 +00:00
Jim Kingdon
a0f3541f40 * Makefile.in: Remove definition of CC and remove the second
definition of CXX (the "CXX = gcc" one remains).  These definitions
	were causing backquotes to be expanded within backquotes, which
	doesn't work.
1993-09-21 22:32:04 +00:00
Rob Savoye
2a1bb52757 Use ftp device rather than "load" command. 1993-09-20 23:01:45 +00:00
Jim Kingdon
fa79d853b8 * gdb.t17/callfuncs.exp: Add "return 0" to end. 1993-09-18 18:06:11 +00:00