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