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
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
Jim Kingdon
283bd6dbf2
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
1993-08-10 21:09:41 +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
Fred Fish
b5ed6e32c2
Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
...
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-08-02 23:29:32 +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
Fred Fish
775d4a4096
Add .Sanitize to Things-to-lose list.
1993-07-30 16:46:19 +00:00
Jim Kingdon
84123aa604
* gdb.stabs/wierd.exp: New test, for nameless baseclasses.
1993-07-30 01:37:49 +00:00
Jim Kingdon
002c6d1777
* gdb.t00/teststrategy.exp: Remove extra quote.
1993-07-22 04:24:28 +00:00
Jim Kingdon
6665d54ceb
* gdb.t07/watchpoint.exp: Change xfail for calling function with
...
watchpoint enabled to "*-*-*".
1993-07-22 01:55:26 +00:00
Jim Kingdon
cb6afa30e7
* gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
1993-07-22 01:28:38 +00:00
Peter Schauer
9d77e877fe
* gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
...
targets use aout.mt instead of ecoff.mt as gas understands
standard aout format.
1993-07-20 07:04:26 +00:00
Jim Kingdon
62d4a6865e
* lib/gdb.exp (runto): Don't insist that function we are running to
...
was compiled with -g.
* gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
1993-07-20 02:57:39 +00:00
Jim Kingdon
675d65db00
* gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
...
to get back into the read system call.
Accept leading newline in case where we woke it up.
1993-07-20 01:15:20 +00:00
Peter Schauer
76b098d175
* gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
...
to make the stabs test work on ecoff systems using gcc and -with-stabs.
* gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
enable ecoff configuration.
1993-07-18 15:47:51 +00:00
Jim Kingdon
0568df2acf
* gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
1993-07-15 17:10:43 +00:00
Jim Kingdon
e91ceb3c59
* printcmds.exp: Add another printf test.
1993-07-14 22:54:22 +00:00
Ian Lance Taylor
6dc31f06c3
* configure.in: If configured -with-stabs on any target, add
...
stabsdirs to configdirs.
1993-07-14 22:38:37 +00:00
Jim Kingdon
5af4f5f6f1
Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
...
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function
returning foo' as well as `pointer to foo'.
* remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
* config/m68k/tm-m68k.h: Define it.
* mem-break.c, breakpoint.c: Improve comments.
Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr )
* config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
* config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
1993-07-14 15:12:05 +00:00
Jim Kingdon
4988d8c722
* gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
1993-07-12 16:30:21 +00:00
Jim Kingdon
a688a1866c
* gdb.t17/interrupt.exp: Test for more things.
1993-07-11 17:05:33 +00:00
Jim Kingdon
81074ec8d1
* gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
...
compiler arranges the code and line numbers.
1993-07-09 19:24:00 +00:00
Jim Kingdon
2a62a4cb1b
* gdb.t17/interrupt.exp: Don't send \n after ^C.
1993-07-09 19:14:43 +00:00
Peter Schauer
3ae135ab3b
* gdb.t00/help.exp: Increase expect input buffer size.
1993-07-09 16:54:31 +00:00
Jim Kingdon
075aa449df
* gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
...
* gdb.t07/watchpoint.exp: Add xfail for hppa.
1993-07-09 03:55:06 +00:00
Jim Kingdon
1af6f16c65
* gdb.t07/watchpoint.exp: Add xfail for hppa.
1993-07-08 23:08:05 +00:00
Jim Kingdon
270532f9a4
* gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
1993-07-08 19:58:22 +00:00
Jim Kingdon
be7f754982
* gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
...
[0-9]*, not just [0-9].
1993-07-08 19:29:53 +00:00
Jim Kingdon
9ae07ce5d0
* gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
1993-07-07 23:26:44 +00:00
Jim Kingdon
f2dee08e88
* gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
1993-07-07 22:55:16 +00:00
Jim Kingdon
afde243fa5
* gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
1993-07-06 19:04:59 +00:00
Jim Kingdon
46d284c9fc
* gdb.t06/signals.c: Add xfails for sun3.
1993-07-06 05:23:10 +00:00
Jim Kingdon
306ee233ba
* gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
1993-07-06 04:05:49 +00:00
Jim Kingdon
762665e153
* gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
...
test_stepping tests.
1993-07-06 03:50:00 +00:00
Jim Kingdon
b2618fd85a
* gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
1993-07-02 21:56:27 +00:00
Jim Kingdon
56f413cd8f
* gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
...
rather than actually putting it through cpp twice.
1993-07-02 18:26:55 +00:00
Jim Kingdon
79f3218c2a
* gdb.t06/signals.exp: Add xfails unixware and rs6000.
1993-07-02 18:11:23 +00:00
Ian Lance Taylor
eae166985b
* config/mips-gdb.exp (gdb_exit): Removed close statement which is
...
no longer needed.
1993-07-02 17:49:32 +00:00
Jim Kingdon
b4ace9d36f
* gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
1993-07-02 17:00:33 +00:00
Jim Kingdon
38e1dd5415
* gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
...
C++ features prints as "struct", make it a pass, not an xfail.
1993-07-02 14:13:09 +00:00
Jim Kingdon
b55cc8a268
* gdb.t06/twice.exp: Don't care about the file name GDB prints.
1993-07-02 01:37:50 +00:00
Jim Kingdon
e02c07a5ef
* gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
1993-06-30 23:05:47 +00:00
Jim Kingdon
366f286982
* gdb.t16/printcmds.exp: Add printf tests.
1993-06-29 17:51:19 +00:00
Jim Kingdon
38c41e9209
* gdb.t06/{twice.{c,exp},Makefile.in}: New test.
1993-06-29 17:13:28 +00:00
Jim Kingdon
b4e899792d
* gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
1993-06-29 14:24:36 +00:00
Jim Kingdon
44443a9b09
* gdb.stabs/wierd.exp: Add xfail for rs6000.
1993-06-28 15:15:23 +00:00
Jim Kingdon
f492b6c11b
* gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
...
{BEGIN,END}_COMMON for common block instead of STAB.
1993-06-28 15:03:27 +00:00
Jim Kingdon
884e8cd43e
* gdb.stabs/wierd.def: Make value of N_GSYM's 0.
...
intp_var should be N_GSYM not N_LSYM.
wierd-aout.S: Use a label for the value of the N_SO.
wierd.def: Remove all backslashes.
wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
1993-06-28 14:34:46 +00:00
Peter Schauer
9325d5afa3
* gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
...
get the expected next to inheritance3.
1993-06-28 14:23:11 +00:00