Commit Graph

221 Commits

Author SHA1 Message Date
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
Peter Schauer 26a08d1529 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
* gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
	by mips cc and contains no stabs entries.
1993-09-17 11:51:28 +00:00
Rob Savoye de8c35cfdb * config/vx-gdb.exp: Use fake device to load files rather than
NFS.
	* lib/gdb.exp: New proc to do "file" command.
	* config/unix-gdb.exp: Use new "file" proc.
1993-09-16 23:27:10 +00:00
Rob Savoye 954f33cfc0 Use new proc for "file" command to load symbol tables. 1993-09-16 23:21:56 +00:00
Ian Lance Taylor 48d10a2545 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
Rework board rebooting slightly.
	(gdb_exit): Don't exit from the remote shell; there isn't one.
	* gdb.stabs/weird.exp: If a program is being debugged already,
	kill it.
	* gdb.t04/setvar.exp: Stop and restart gdb.
	* gdb.t05/expr.exp: Likewise.
	* gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
	restart gdb and reload the program.
	* gdb.t08/opaque.exp: Likewise.
	* gdb.t12/scope.exp: Likewise.
	* gdb.t13/bitfields.exp: Likewise.
	* gdb.t15/funcargs.exp: Likewise.
	* gdb.t20/classes.exp: Likewise.
	* gdb.t03/ptype.exp: Increase timeout.
	* gdb.t16/printcmds.exp (test_print_string_constants,
	test_print_array_constants): Likewise.
	* gdb.t17/callfuncs.exp (do_function_calls): Likewise.
	* gdb.t20/classes.exp (do_tests): Likewise.
	* gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
1993-09-16 17:57:19 +00:00
Ian Lance Taylor 8cced93dd7 Change wierd to weird 1993-09-15 22:17:29 +00:00
Jim Kingdon f424845a95 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
for timeout.  Add "known gcc 2.4.5 bug" to failure message.
1993-09-15 17:39:33 +00:00
Jim Kingdon 06f63f95db * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
(do_tests): Remove xfail for whatis on one_var and two_var.
1993-09-15 00:47:45 +00:00
Rob Savoye 3f677d9e6e Added gdb_exit to call default_gdb_exit. 1993-09-10 17:35:11 +00:00
Rob Savoye 4adf693011 Made cross testing work better. 1993-09-09 05:12:46 +00:00
Jim Kingdon b7da78d561 * gdb.t15/{return.c,return.exp,Makefile.in}:
New test, currently commented out.
1993-09-07 19:21:12 +00:00
Rob Savoye e4d30c7e6a Load the udi library procedures. 1993-09-02 01:12:20 +00:00
Rob Savoye 2fd77dab11 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
still running and removes the leftover named socket so GDb can do
	clean restarts.
1993-08-31 22:53:40 +00:00
Rob Savoye 41a85720e0 Just a little cleanup. Made gdb_exit "kill" any isstip's still running
and blow away the socket. GDB now restarts beautifully.
1993-08-31 22:50:11 +00:00
Rob Savoye f6c8cae6b9 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
console, not GDB.
	* config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
	cross testing works better with "make check"
	* config/unix-gdb: Use default procedures for exit and version.
	* config/vx-gdb.exp: Cleaned up and massaged back to working order
	with the newest VxWorks.
1993-08-31 00:01:56 +00:00
Rob Savoye 1c65406fef Use default version procedure. 1993-08-30 23:28:57 +00:00
Rob Savoye 5019a2755a Add default gdb version so it can be shared. 1993-08-30 23:12:28 +00:00
Rob Savoye c79f61db34 Make gdb_exit into default_gdb_exit so it can be shared. 1993-08-30 23:08:02 +00:00
Rob Savoye 006f1ea2a4 Use default_gdb_exit now. 1993-08-30 23:06:57 +00:00
Rob Savoye fd69a916ab Works again. 1993-08-30 23:06:03 +00:00
Rob Savoye 7e7cb02f81 Add values for RUNTEST and RUNTESTFLAGS so cross testing works better. 1993-08-30 22:26:03 +00:00
Rob Savoye d4d56ed1ac Correctly a spelling mistake. 1993-08-30 04:53:24 +00:00
Jim Kingdon 298e922229 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
old form.

	* gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
	name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
1993-08-27 03:03:54 +00:00
Jim Kingdon 08843cd892 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it). 1993-08-27 02:26:25 +00:00
Jim Kingdon 4c206d219c * config/unix-gdb.exp: Remove this version of gdb_exit
* lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
	Rob says he'll look at it when he gets back to testing boards.
1993-08-26 23:04:07 +00:00
Fred Fish aed2390065 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
an expected fail for certain ptype commands.
1993-08-26 18:35:26 +00:00
Fred Fish 653ae28f8a * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
"alldone" proc with call to cleanup and exit.
	* {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
	gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
	gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
	gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
	gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
	"alldone" proc with simple returns that suppress remaining
	tests.  The alldone proc went away many months ago.
1993-08-26 00:36:15 +00:00
Jim Kingdon c69b7db738 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests. 1993-08-24 16:46:53 +00:00
Jim Kingdon 84853a53ac * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O. 1993-08-24 16:26:06 +00:00
Peter Schauer 5e95818815 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
as vax gdb will display them.
1993-08-20 05:13:13 +00:00
Jim Kingdon 6492681377 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
optimizers.
1993-08-20 01:10:51 +00:00
Jim Kingdon 7161494de7 * scope.exp: Change "bad value for localval" messages so each one
is unique.
1993-08-20 00:42:19 +00:00
Jim Kingdon 62db94cb84 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
lib/gdb.exp (gdb_exit) from ChangeLog to comments.
1993-08-19 23:57:21 +00:00
Jim Kingdon 0e8e97217f * gdb.t06/signals.exp: Skip the whole file with xfail for delta68. 1993-08-19 23:22:12 +00:00
Jim Kingdon b606bd8df4 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
doesn't exist (due to optimization).
1993-08-17 05:07:15 +00:00
Jim Kingdon c31a3b2a3b * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
contains \r because the filename is long.
1993-08-17 04:21:55 +00:00
Jim Kingdon 0e0b4e647c * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
'continue'" bug, and change xfail back to i*86-univel-sysv4*.
1993-08-17 02:11:23 +00:00
Peter Schauer adce222501 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
	Ultrix.
	* gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
	int tests.
	* gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
1993-08-16 10:06:20 +00:00
Fred Fish 9e191927ab * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
to match does not match the passing case but still matches the
	failing case.
1993-08-12 22:27:40 +00:00
Jim Kingdon 285ae57afb * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*. 1993-08-12 22:05:06 +00:00
John Gilmore 7a7d682b98 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
to here.
* config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
Remove various versions of gdb_exit.
* config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
gdb_exit.
* config/unix-gdb.exp:  gdb_exit remains here, and should override
the generic version, since it's doing a lot of wierd stuff that
the other versions aren't.  FIXME, fold it in, or abandon this
version.
1993-08-12 02:51:51 +00:00
Jim Kingdon 48c95e5b9f * gdb.t24/demangle.exp: Add tests for PR 3220. 1993-08-11 19:59:27 +00:00
Fred Fish e024d80c74 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
"i386-*-*".  Works for i486 as well.
1993-08-11 00:48:54 +00:00
Fred Fish 5ad3ae4ad9 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
bug, and expand domain of xfail to all SVR4 systems, since the
	actual problem is likely to be in generic SVR4 /proc support.
1993-08-10 22:49:01 +00:00