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
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
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
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
Jeff Law
9fa1bd1f40
* gdb.base/commands.exp: New tests for if/while commands.
1994-09-08 06:02:58 +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
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
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
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