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
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
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
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
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
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
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
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
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
Jim Kingdon
ae039ff3ca
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
1993-08-10 20:56:52 +00:00
Fred Fish
869cfa9fd5
* gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
...
xfails for other systems. Match a missing 'Continuing.' as an
explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
1993-08-10 18:42:20 +00:00
Fred Fish
adf18b2460
* gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
...
gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
Only issue warning for missing executables if -all option is used.
1993-08-10 17:31:45 +00:00
Fred Fish
c0398b8bd4
* gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
...
file if -all option is used. It's like an unpredictable XFAIL.
1993-08-10 16:58:44 +00:00
Jim Kingdon
3241e35dd9
* gdb.t15/funcargs.exp: Add comments that hppa xfails are only
...
for dynamically linked binaries.
1993-08-09 19:52:37 +00:00
Jim Kingdon
0685d95ff4
* gdbcore.h: New variable gnutarget.
...
* core.c: Add commands to set and show it.
* Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
* environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
putenv.
* symtab.c (decode_line_1): Give error on unmatched single quote.
1993-08-09 16:53:32 +00:00
Jim Kingdon
205c1ddc32
* gdb.t20/inherit.exp: Change message for "print tagless struct"
...
to state that this is a known bug in old versions of g++.
1993-08-08 19:27:10 +00:00
Jim Kingdon
6117e42f9a
* gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
...
while waiting for `Continuing'.
1993-08-08 16:16:35 +00:00
Fred Fish
d8ab5dbf82
* gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
...
in text, data, and bss.
* gdb.t10/nodebug.c: Add local and global test variables for
initialized and uninitialized data.
1993-08-07 14:47:55 +00:00
Jim Kingdon
f4dfe788b8
* config/unix-gdb.exp (gdb_exit): Add "wait".
1993-08-05 17:21:51 +00:00
Fred Fish
a469d3b63b
* gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
...
compilers don't grok it.
* gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
with small octal ints rather than character constants, which
are signed and might not fit if first promoted to int.
1993-08-05 01:36:43 +00:00
Fred Fish
ad6feb0847
* gdb.t09/Makefile.in (clean): Remove corefile.
1993-08-04 01:29:26 +00:00
Jim Kingdon
a92499baaf
* gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
...
NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
1993-08-02 17:38:08 +00:00
Jim Kingdon
c4978d689e
* gdb.t17/interrupt.exp: Add xfail for hppa.
1993-07-31 00:56:26 +00:00
Peter Schauer
a4fbb03e2d
Fix typo in previous ChangeLog entry.
1993-07-30 20:12:28 +00:00
Peter Schauer
69aa789bb2
* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
...
gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
* gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
to determine signed-ness of bitfields and use the result to setup
the xfail.
* gdb.t13/gdbme.c: Add comment to the two indirect call0a lines.
* gdb.t13/funcargs.exp: Use it to step until the second indirect call
line is reached if necessary.
1993-07-30 20:04:34 +00:00
Jim Kingdon
84123aa604
* gdb.stabs/wierd.exp: New test, for nameless baseclasses.
1993-07-30 01:37:49 +00:00