3 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
4 $targetname, $serialport and $baud instead of hardwired variables.
5 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6 target doesn't support signals.
10 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
14 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
15 Don't rely on the value of an auto variable before it has been
16 initialized. Use gdb_test more.
20 * lib/gdb.exp (default_gdb_version): A version number must start
21 with a digit, but other than that contains all characters up to
22 the first whitespace character.
26 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30 * gdb.c++/*.exp: Warn if executable does not exist. The original
31 reason for skipping the warning was that configure.in sometimes
32 intentionally skipped building the executables but the tcl code
33 had no way of knowing. That (a) was always bogus with respect to
34 error handling, (b) is no longer true (right now there is no way
37 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
41 * gdb.base/list.exp: Add expect patterns for output from
42 SunPRO compiled executables.
43 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
48 * gdb.base/break.exp (test_next_with_recursion): Accept any line
49 number (we are already testing that the correct source line text
52 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
53 that is what is intended, but something needed to be done to get
54 sunos4 native working again.
56 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
58 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
59 apparently went with a (very) old xfail.
63 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
64 runto_main is a proc in gdb.exp that will do 'step' for target use
66 * gdb.base/exprs.exp: ditto.
67 * gdb.base/interrupt.exp: ditto.
68 * gdb.base/opaque.exp: ditto.
69 * gdb.base/printcmds.exp: ditto.
70 * gdb.base/ptype.exp: ditto.
71 * gdb.base/scope.exp: ditto.
72 * gdb.base/setvar.exp: ditto.
73 * gdb.base/signals.exp: ditto.
74 * gdb.base/twice.exp: ditto.
75 * gdb.c++/classes.exp: ditto.
76 * gdb.c++/inherit.exp: ditto.
77 * gdb.c++/templates.exp: ditto.
78 * gdb.base/break.exp: no run and hit main for stubs. Change line
79 numbers for breakpoints and info breakpoint.
80 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
82 * gdb.base/callfuncs.c: ditto.
83 * gdb.base/exprs: ditto.
84 * gdb.base/interrupt.c: ditto.
85 * gdb.base/opaque0.c: ditto.
86 * gdb.base/printcmds.c: ditto.
87 * gdb.base/ptype.c: ditto.
88 * gdb.base/scope0.c: ditto.
89 * gdb.base/setvar.c: ditto.
90 * gdb.base/signals.c: ditto.
91 * gdb.base/twice.c: ditto.
92 * gdb.c++/misc.cc: ditto.
93 * gdb.c++/templates.cc: ditto.
97 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
99 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
100 somewhere between `read' and `main.c'. I'm pretty sure the
101 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
102 and it isn't particularly useful.
104 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
108 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
112 * config/mt-slite: add LIBS and -nostdlib.
113 * config/slite-gdb.exp: add this new file to support sparclite target.
117 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
119 * gdb.base/a2-run.exp: Change argument to istarget from
120 "*-*-vxworks" to "*-*-vxworks*".
121 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
125 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
126 will not runto main but do a 'step' to step out of breakpoint().
127 * config/mt-slite: add -Dusestubs.
131 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
134 * gdb.base/signals.exp: Add test for "handle all print".
135 * TODO: Remove "handle all print". Also remove item about
136 checking copyright date (I don't like the idea of a spurious FAIL
137 based on when we run the tests).
139 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
140 for SunOS4 (reason for failure not investigated). Remove
141 redundant test for $binfile.
143 * gdb.base/nodebug.c (array_index): Call malloc.
145 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
149 * gdb.base/recurse.exp: Update gdb_test invocation to use new
150 conventions and slightly simplify the matching regexp.
154 * gdb.base/break.exp: Update gdb_test invocation to use new
157 * lib/gdb.exp: If noargs is not set, set it to 0.
159 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
162 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
166 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
167 one argument of type "<non-float parameter>".
171 * config/rom68k.exp: New file to support Motorola IDP board.
172 * gdb.base/a2-run.exp: Skip this file if noargs is set.
173 * gdb.base/break.c: Change things around so that this program
174 doesn't depend upon args. This is necessary to make remote
175 targets work (in general, they can't take args).
176 * gdb.base/break.exp: Don't try to send args to program. Don't
177 expect output. Also, replace lots of code with gdb_test.
181 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
182 printing of '\'' (which is what the comment says we are testing,
183 even though we were not), not '''.
184 (test_integer_literals_rejected): Test that printing ''' is an error.
186 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
187 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
188 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
189 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
190 Use gdb_test not test_print_accept.
191 * lib/gdb.exp: Remove test_print_accept.
193 * gdb.base/signals.exp (signal_tests_1): Make pass message
194 consistent with fail message.
196 * gdb.base/whatis.exp: Remove xfails for printing char vs.
197 unsigned char; the bug (PR 1821) is fixed.
199 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
201 * gdb.base/scope.exp (test_at_localscopes): Call pass for
202 successful tests--makes xfailing them work right.
206 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
207 only \r\n, not .*. The test can pass .* as the last thing in
208 $pattern if that is what it wants. In addition to providing this
209 flexibility, this change should speed up pattern matching in cases
210 where the pattern already ended with .* (there were a number of
211 them). This change also helps catch bad patterns--in the old
212 scheme the typo "char \*" instead of "char \\*" would pass. Now
214 * Many .exp files: Update callers.
216 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
217 clearer and does not spuriously match multiple ('s. Likewise for
220 * gdb.base/nodebug.exp: Test ability to call a function and pass
221 it a string (even with no debugging info).
223 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
224 "p '\'", which is the same as "p ''" once tcl gets done with
225 quoting, to "p '\\'", which I suspect is what is intended (one
226 backslash gets sent to GDB).
228 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
232 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
233 1817) was fixed literally years ago.
237 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
238 test, it causes stepping out of call_after_alloca_subr with
239 optimizing compilers.
240 (localvars_in_indirect_call): Consume GDB prompt if `finish'
243 * gdb.c++/templates.exp: Source templ-info.exp only if
244 the templates executable exists.
246 * gdb.c++/misc.cc (class Contains_static_instance,
247 class Contains_nested_static_instance),
248 gdb.c++/classes.exp (test_static_members): Test printing of
249 a class that contains a static instance of the class.
253 * gdb.base/langs2.c (cppsub_): Don't prototype.
254 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
259 * lib/gdb.exp (skip_chill_tests): New procedure.
261 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
265 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
266 each expect pattern. Cuts runtime from 12 to about 4 seconds.
270 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
272 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
273 disassemble 8, not 16, instructions for part 4.
275 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
276 support the latter anymore.
278 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
280 * gdb.base/callfuncs.c: Control use of prototypes based on
281 NO_PROTOTYPES, not __STDC__.
282 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
283 t_float_values2 tests if prototypes in use.
285 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
286 t_double_values): When checking differences against DELTA, check
287 that difference is within the range (-DELTA,DELTA), not just
292 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
293 'file' command firts, then 'target', then 'load', this is due to gdb
295 * config/mips-gdb.exp: Fix a couple regular exp bugs.
299 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
300 FP load/store variants.
301 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
305 * gdb.base/term.exp: Do not give a warning if not native, it is
306 not an abnormal condition.
310 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
315 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
316 are getting the version number.
318 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
319 if not native, it is not an abnormal condition.
323 * lib/gdb.exp: Just use "file exists", rather than undocumented
324 dejagnu procedure "findfile".
328 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
329 (LDFLAGS): Set to -Xlinker -Ur.
331 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
332 Removed, these values are set by lib/gdb.exp.
334 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
338 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
339 of replicating gdb startup code.
341 * config/mt-vxworks (LDFLAGS): Set to -r.
342 (CFLAGS_FOR_TARGET): Removed.
344 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
345 (gdb) and gdb for vxworks uses (vxgdb).
347 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
348 executable is not in the tree and host != target, use sed and
349 program_transform_name to determine the gdb name used by the
352 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
353 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
357 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
358 floats, chars, and shorts where there are ANSI-style function
361 * gdb.base/langs.exp, gdb.base/langs*: New test.
362 * gdb.base/Makefile.in: Build it.
363 * TODO: Remove item about checking that C names don't get C++
364 demangling applied; this test tests it.
368 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
369 went with the const70 xfail. The xfail went away a year ago.
371 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
373 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
376 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
378 * gdb.base/a1-selftest.exp: Don't run on hp300.
382 * Makefile.in (site.exp): Set host_alias and target_alias as well
383 as host_triplet and target_triplet.
387 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
389 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
390 places as other ecoff systems).
392 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
397 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
399 * gdb.base/nodebug.exp: Accept "function" in addition to "text
400 variable and "variable" in addition to "data variable".
401 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
403 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
405 * gdb.base/list1.c (long_line): Add additional statement at start
407 * gdb.base/list.exp (test_forward_search): Update line number to
408 reflect new statement.
412 * gdb.base/signals.exp: Reinitialize searched source directories
413 after gdb_start call.
417 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
418 * gdb.stabs/Makefile.in: Likewise.
420 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
421 change. Instead split the tests into smaller pieces.
422 * gdb.disasm/hppa.s: Corresponding changes.
426 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
427 Quote ^C when passing it to stty. For some shells ^ is a pipe.
429 * gdb.base/funcargs.exp: Modify many tests so that every test
430 either passes or fails. Make some test names unique.
434 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
435 Call stty to set interrupt character.
437 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
438 for HP assembler versus GNU assembler based on actual behavior of
439 $(CC), rather than assuming that $(AS) is always the GNU assembler.
441 * TODO: Suggest a few more stepping tests.
445 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
446 restart GDB for h8300 after a continue.
447 (return): Add pattern to match a29k-udi behavior.
448 * gdb.base/nodebug.exp: Remove obsolete comment.
449 * gdb.base/regs.exp: New file, testing of register displays.
450 * gdb.base/return.exp: Fix typo in reference to $objdir.
451 * gdb.base/whatis.exp: Always start with a fresh GDB.
455 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
456 higher, these tests generate a lot of output.
460 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
461 code following the catch silently ignored some errors; without the
462 catch they should be thrown like any other tcl error. Also, the
463 catch used "" instead of {} which meant all the callers who wanted
464 to include one of the characters "[]$ had to quote it an extra time.
465 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
466 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
467 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
468 Remove extra quoting.
472 * gdb.base/commands.exp: Make test names unique; every test either
473 passes or fails. Update some comments.
475 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
479 The following fixes a FAIL caused by the fact that the alpha stabs
480 configuration didn't use the ".if alpha" code in weird.def.
481 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
482 bit pointer, so the 32 bit version works even on the alpha.
483 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
484 Remove the stuff which allowed us to have separate versions for
485 alpha and everything else.
487 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
488 regexp which "info func operator\[\](" is supposed to match. Fix
489 string to send to GDB. Note that GDB still doesn't work right. Add a
490 new test for "info func .perator\[\](" which GDB does handle correctly.
492 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
496 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
497 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
498 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
499 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
500 it makes the tests harder to understand and confuses test-o-matic.
501 The preferred style is that each test provides a PASS or a FAIL,
502 and has a unique message (e.g. "continue #54" not just "continue")
503 which is the same for the pass and the fail.
504 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
505 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
507 * gdb.base/printcmds.exp: Use test_print_accept. Remove
508 prt_accept which was basically the same thing. Likewise for
509 test_print_reject and prt_reject.
510 * lib/gdb.exp (test_print_reject): Add some more error message
511 patterns to match from the former printcmds.exp (prt_reject).
512 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
513 One defect of the passcount stuff is that some of it failed to
514 report XPASS where appropriate.
515 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
516 stuff before and after arg in expected pattern.
517 (test_paddr_operator_functions): Re-do test without print_addr_of;
518 this is the only test which seems to want extra stuff there.
522 * gdb.base/nodebug.exp: Update new tests to reflect improved
523 wording of gdb output.
525 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
526 and "ptype" work on variables in files compiled without -g.
527 Replaces commented out "maint print msymbol" tests.
531 * gdb.base/setvar.c (dummy): Call malloc.
533 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
534 losing with the irix4 sed.
536 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
541 * TODO: Remove items about corefile.exp testing new exec-file and
542 backtrace; both are now done. Add items about printing enums.
546 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
547 "get signal $thissig" test fails.
549 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
553 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
554 compiler warning with dec alpha compiler.
556 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
557 extra \n from gdb_test call (this explains why the prompt test
558 that I removed yesterday was there).
559 (user_defined_command_test): Remove extra \n and prompt test.
561 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
562 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
564 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
565 Also remove alpha workaround, which turns out to be because
568 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
570 * gdb.base/help.exp: Don't test "help show".
574 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
575 "set print address" is on.
576 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
577 pass prompt to gdb_test; gdb_test already looks for the prompt.
579 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
581 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
582 was a vestige of the manual TESTSTRATEGY, and the purpose of it
583 was to make sure that gdb can read a core file. But (a) the "read
584 the corefile" part didn't make it to a1-selftest.exp, we just
585 delete the corefile after creating it, and (b) we test reading
586 corefiles in corefile.exp anyway. Also, this test left around a
587 xgdb process on Solaris.
589 * gdb.base/corefile.exp: Also test backtrace.
593 * gdb.base/commands.exp: Test a simple user defined command with
594 arguments and if/while statements; verify the full user command is
595 printed by "show user".
597 * gdb.base/commands.exp: Test if/while commands as part of a
598 breakpoint command list; verify they appear in breakpoint
603 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
604 than by dividing by zero.
608 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
609 performing an inferior call with watchpoints enabled.
610 * gdb.base/watchpoint.c (main): Delete second unnecessary read
615 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
618 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
619 Add additional pattern for when "int operator int(void);" appears
620 in a different order.
624 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
626 * gdb.base/help.exp: Replace most of docstrings for "info signals"
627 and "signal" with ".*".
631 * TODO: Add note about "handle all nostop".
633 * gdb.base/{sigall.c, sigall.exp}: New test.
634 * gdb.base/Makefile.in: Add it.
638 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
639 when invoking GDB, suppresses any windowing interface.
643 * config/sim-gdb: New file, simulator testing support.
647 * gdb.base/interrupt.exp: Test calling func1 twice.
651 * gdb.base/list.exp (test_forward_search): Set timeout higher
652 when we'll be getting lots of output from gdb.
654 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
655 "init_malloc" to after the expect statement. Run it if that
656 regexp is taken, but also for two others which happen if source
661 * gdb.base/printcmds.exp: New test, for printing register before
666 * gdb.base/list.exp: Correct some alternate expect patterns
667 to reflect changes in list1.c.
671 * TODO: Add item regarding large frames.
673 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
675 * TODO: Remove item about enabling return.exp; it
676 is enabled. Suggest a few more "return" tests.
680 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
685 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
686 and pr-5646.o, so "make" is the same as "make all", not "make
691 * gdb.base/list.exp: Adjust expectations to reflect changes in
693 (test_forward_search): New test proc.
694 * gdb.base/list1.c (long_line): New function, has long source line.
698 * gdb.base/a1-selftest.exp: Change initial stepping to know about
699 additional line of code that was added.
703 * gdb.disasm/hppa.s: Break the large branching tests into smaller
704 tests so as not to overflow expect's input buffers.
705 * gdb.disasm/hppa.exp: Corresponding changes.
709 Beginnings of template debugging tests.
710 * gdb.c++/templ-info.cc: New file to test for template
711 debugging capability of the compiler.
712 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
714 * gdb.c++/templates.cc: Add explicit template instantiations
715 to enable compiling with -fno-implicit-templates. Add destructor
716 and 'value' method to T5 class for template tests.
717 * gdb.c++/templates.exp: Add testcases for printing of template
718 types, setting breakpoints on template methods and calling a
723 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
724 branch target since some assemblers (gas-2.5) may emit a
725 relocation for the branch instead of resolving it in the
730 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
731 through signal handler.
735 * configure.in (*-*-netware): Use config/mt-netware.
737 * config/mt-netware: New file.
738 * config/mt-i386-netware: Removed, separate configs for different
739 netware architectures are no longer needed now that we have
744 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
745 by the recent changes to use ANSI C arithmetic conversions.
749 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
750 bug involving using inferior_pid to figure out whether to select a
755 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
756 match the current disassembler output.
760 * gdb.fortran/exprs.exp: Expect VOID instead of void.
761 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
762 types, expect "int" as type of integer values (for now).
766 * gdb.base/commands.exp: New tests for if/while commands.
770 * lib/gdb.exp (runto): Replace sub-pattern for hex value
771 by .*, since hex values have different syntax in Chill mode.
775 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
776 linefeed from expect pattern for repeated types with indices > 9.
780 First part of Fortran test suite.
781 * gdb.fortran: New directory.
782 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
786 * gdb.base/default.exp: Update expect pattern for load command
791 * configure.in: Change i386 to i[345]86.
792 * gdb.base/configure.in: Likewise.
793 * gdb.c++/configure.in: Likewise.
794 * gdb.chill/configure.in: Likewise.
798 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
799 patterns, since that is not a valid context for comments.
803 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
804 repeated types and repeated types with indices > 9.
808 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
809 2417; old bug has been fixed.
813 * gdb.base/interrupt.exp: When trying to wake up the inferior,
814 send the newline ourselves instead of assuming gdb_test will do
815 so when passed an empty input string.
817 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
822 * lib/gdb.exp (gdb_test): Don't send anything if the first
823 argument is an empty string. This makes cases where we want to
824 match output that is already in expect's buffers (for example,
825 matching a breakpoint after gdb_run_cmd has been called) work
830 * config/netware.exp: New file.
834 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
835 the -B and -L prefixes so we can find the debugging stub.
837 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
838 there and we are using the gcc from the tree.
840 * gdb.base/types.c: Removed.
842 * gdb.base/configure.in: Look for makefile fragments in ../config.
843 Recognize i386-*-netware.
844 * gdb.c++/configure.in: Likewise.
848 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
849 the correct TCL syntax.
853 * gdb.base/opaque.exp: use runto instead of messing around with
854 breakpoints. Simplify by using gdb_test.
856 * gdb.base/bitfields.exp: restart between tests on netware targets
857 because breakpoints aren't relocated after target death. Run
858 processes to completion.
860 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
864 * Makefile.in: Remove extra tabs that confuse some versions
865 of "make". Use the newly built gdb to test with by default,
866 rather than the first one in the tester's search path.
870 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
872 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
877 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
879 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
881 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
882 * gdb.base/funcargs.exp: Likewise.
884 * gdb.base/bitfields.exp: Simplify by using gdb_test.
885 * gdb.base/funcargs.exp: Likewise.
887 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
892 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
893 return,signals,twice}.exp: Handle non-existant binaries
896 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
897 * gdb.base/Makefile.in: Don't try to generate a core dump, we
898 might testing a cross development system.
902 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
903 runtest script is relative to ${srcdir}, not ${rootdir}.
907 * gdb.base/signals.exp: Allow for optionality of breakpoint
912 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
916 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
917 for size_t definition.
918 * gdb.c++/templates.cc: Likewise
920 * config/mt-i386-netware: New file.
922 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
925 * gdb.base/Makefile.in: Added support for systems that name core
926 files by appending "core" to the program name.
927 * gdb.base/a1-selftest.exp: Likewise.
931 * gdb.base/return.exp: Add comment and message for `return double'
932 test failure on Sparc Solaris.
936 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
940 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
941 from optimizing them away.
942 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
943 patterns to include default constructors and assignment operators,
944 to match gcc versions beyond 2.5.8. Accept any cplus demangling
945 character in the output of the virtual base pointer.
949 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
950 expression match in print_addr_of to avoid unintented matches.
951 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
952 versions up to 2.5.8.
956 * gdb.base/list.exp: Tweak alternate pattern for listing of an
957 included file to run under newer versions of expect.
958 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
959 consecutive >'s in templates to accomodate recent cplus-dem.c change.
960 Remove xfail for the virtual table of BDDHookV.
964 * lib/gdb.exp (string_to_regexp): Set a default result.
965 (default_gdb_start): Fix misleading message.
969 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
970 Remove all CC, etc definitions.
971 * config/mt-hpux: New file.
972 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
973 (CFLAGS, LDFLAGS): Define.
974 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
976 * Makefile.in (site.exp): Don't insert host_os, etc.
977 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
978 (distclean): Check existence of subdir.
979 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
980 * gdb.base/Makefile.in: General cleanup and simplification.
981 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
982 to build executables. Use default rule to build .o files.
983 (EXPECT, RUNTEST, CC): Fix relative pathname.
984 (site.exp): Don't insert host_os, etc.
985 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
986 and/or SIGUSR1 defined.
987 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
988 * gdb.c++/Makefile.in: General cleanup and simplification.
989 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
991 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
995 * gdb.base/recurse.exp: Misc changes to get tests running again
996 after Kung's changes to the watchpoint code.
997 * gdb.base/watchpoint.exp: Likewise.
1001 * lib/gdb.exp (string_to_regexp): Convert {\} also.
1005 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
1006 * lib/gdb.exp (default_gdb_start): Define.
1007 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
1008 gdb.base/funcargs.exp, gdb.base/opaque.exp,
1009 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
1010 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
1011 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
1012 Don't call gdb_target_udi in between tests.
1016 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
1017 (which was basically just a local version of the same thing). In
1018 addition to avoiding duplication, gdb_test_exact is faster.
1019 * lib/gdb.exp (gdb_test_exact): Fix typo.
1021 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
1022 don't give an error.
1024 * gdb.base/term.exp: Call delete_breakpoints before starting.
1026 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
1031 Reorganization of the GDB Test Suite.
1033 * gdb.base: New directory, contains all the basic tests.
1034 * gdb.c++: New directory, tests specific to C++.
1035 * gdb.chill: New directory, tests specific to Chill.
1036 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
1037 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
1038 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
1039 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
1040 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
1042 * */gdbme.*: Rename to match appropriate expect scripts.
1043 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
1044 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
1045 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
1046 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
1047 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
1048 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
1049 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
1050 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
1051 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
1052 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
1053 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
1054 gdb.c++/virtfunc.cc: New names of C++ files.
1055 * gdb.chill/chillvars.ch: New name of Chill file.
1056 * gdb.base/configure.in, gdb.c++/configure.in,
1057 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
1058 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
1059 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
1060 * configure.in (configdirs): Update to reflect directory changes.
1061 (target_abbrev): No longer define for any configuration.
1062 * Makefile.in: Cosmetic improvements to header comments.
1066 Various changes to gdb.t31:
1068 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
1069 * gdbme.ch: Make all key-words and predefineds be upper-case.
1070 * chillvars.exp: Expect key-words and predefinds in upper-case.
1072 * chillvars.exp: Use gdb_test_exact many places.
1073 Change expected output for arrays (which now includes index labels).
1075 * pr-5020.exp, gdme.ch (module PR_5020):
1076 New test, for PR-5020.
1080 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
1081 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
1085 * Makefile.in: Fix bit-rot in definitions of CHILL,
1086 CHILL_FOR_TARGET and Chill_LIB.
1087 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
1088 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
1089 CHILL, and CHILL_LIB.
1093 * Makefile.in (TARGET_FLAGS_TO_PASS): Fix syntax of
1094 sanitize-chill comments.
1098 * Revert the previous changes. Please see Rob's directory
1099 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
1103 * Makefile.in, configure.in, config/mips-gdb.exp,
1104 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
1105 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
1106 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
1107 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
1108 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
1109 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
1110 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
1111 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
1112 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
1113 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
1114 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
1115 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
1116 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
1117 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
1118 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
1123 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
1124 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
1125 Rob's new testing fragments.
1129 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
1130 lib/gdb.exp: Replace error proc calls with perror.
1134 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
1135 version also, match on casted version strings, and match on
1136 gdb startup case where the line numbers might be messed up.
1140 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
1141 (CFLAGS): Delete it from here.
1145 * .Sanitize: Drop the gdb.t30 and gdb.t31 directories
1146 unless keep-chill was specified on the command line.
1147 * Makefile.in, config/makefile.rel.in: : Add comment lines
1148 to Sanitize out CHILL references unless keep-chill
1153 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
1157 * Makefile.in (RUNTEST): Default to just "runtest".
1161 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
1162 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
1163 the code has been restructured.
1167 * gdb.t00/default.exp (set write): Allow any number of \r and/or
1168 \n, not just one of each.
1170 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
1171 /bin/cc gives a warning if you do.
1175 * gdb.t24/demangle.exp: change expect pattern of
1176 __t10ListS_link1ZUiRCUiPT0
1180 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
1181 on local variables in recursive functions.
1183 * gdb.t07/Makefile.in: Build the new test.
1187 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
1188 directly. Instead compare the return values from actual calls.
1192 * Makefile.in (check): Set TCL_LIBRARY for runtest.
1196 * From Peter Schauer with minor modifications.
1197 * gdb.t15/return.exp (return_tests): Handle targets where "return"
1198 stops in mid-line in the caller. Add xfail for returning a float
1199 value on X86 targets.
1203 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
1204 to avoid expect lossage.
1205 (fmem_LRbug_tests): Likewise.
1206 * gdb.disasm/hppa.s: Corresponding changes.
1208 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
1209 conditions to work with latest dejagnu/expect.
1211 * gdb.t15/funcargs.exp (finish from indirect call): No longer
1212 expected to fail on the PA.
1213 (backtrace in call with trampolines): Explicitly require main
1214 to be frame #1 (no trampolines should show up in backtrace).
1216 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
1218 * gdb.t06/break.exp: Likewise.
1219 * gdb.t07/watchpoint.exp: Likewise.
1220 * gdb.t13/bitfields.exp: Likewise.
1221 * gdb.t15/{funcargs,return}.exp: Likewise.
1222 * gdb.stabs/weird.exp: Likewise.
1223 * config/{mips,udi}-gdb.exp: Likewise.
1225 * hppa.sed: Enclose comments within a sed command to avoid
1226 losing with the old OSF1 sed.
1230 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
1232 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
1233 * gdb.t15/funcargs.exp: Conditionally step again to really
1234 finish from marker_call_with_trampolines. Handle the case where
1235 the first step from within call_with_trampolines already steps
1237 * gdb.t15/gdbme.c: Add comment to closing brace of
1238 call_with_trampolines for funcargs.exp.
1242 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1247 * gdb.t07/gdbme.c: More code for watchpoint testing.
1249 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
1250 "Hardware watchpoint" throughout file.
1251 (test_watchpoint_triggered_in_syscall): New test.
1252 (test_complex_watchpoint): New test.
1256 * gdbme.c (call_with_trampolines): New function to try and step
1257 into. Tests trampoline problems on the PA.
1259 * funcargs.exp (localvars_in_indirect_call): No longer expect
1260 stepping into indirect call to fail on PAs.
1261 (test_stepping_over_trampolines): New test.
1265 * TODO: Add suggestions for static member function tests, and
1270 * TODO: Add suggestions for "p/a" tests.
1272 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
1273 (default_gdb_exit): Replace all the hair with sending "quit" to
1274 the process with a simple close.
1278 * TODO: Add suggestions for shared library tests.
1282 * TODO: Add suggestions for x/s tests.
1286 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
1287 "enable once", and "enable breakpoints once" with ".*".
1291 * TODO: Add suggestions about structure passing tests.
1295 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
1296 the primary1 test, use work around if __GNUC__ < 2.
1297 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
1298 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
1299 Test for bad output rather than waiting for timeout. Issue
1300 second continue only if first continue failed.
1304 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
1305 operator[] test with gdb_test because the old code didn't seem to
1306 be getting the quoting right with the new dejagnu.
1310 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
1312 * Makefile.in: Use a fresh expect if there is one, use runtest
1313 from the src tree if there is one.
1317 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
1318 next over recursive call. Revise the tests from that point on
1319 (which had been skipped) to match GDB's actual (correct) output.
1321 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
1322 with next over a breakpoint whose condition is false.
1324 * gdb.t00/help.exp: Comment out "help set print" tests just like
1325 (and for same reason as) "help set" test.
1329 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
1330 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
1334 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
1335 necessary gdb_target_udi.
1337 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
1339 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
1340 1838 and 2417; they are fixed.
1342 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
1343 gdb.t03/ptype.exp (ptype structure, ptype union):
1344 Remove xfails; the test is looser than when the xfails were added.
1346 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
1347 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
1349 * gdb.t01/run.exp: Only run shell test if isnative.
1351 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
1352 since "run" automatically loads if necessary. Call gdb_target_udi
1353 after the "file" since "file" kills any execution target.
1355 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
1356 GDB. GDB doesn't work that way (not anymore at least) on UDI.
1357 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
1362 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
1364 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
1368 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
1369 properly quoting regexps. This makes the second argument to
1370 demangle a fixed string, which matches the callers, instead of a
1371 shell-style pattern which is what the previous implementation
1372 used. Update some of the callers.
1376 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
1377 (comib_nullified_tests): Fix typo.
1378 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
1379 strings. No longer expected to fail.
1381 * gdb.disasm/hppa.s (addib_tests): Fix typo.
1382 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
1383 strings. No longer expected to fail.
1385 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
1386 string. No longer expected to fail.
1390 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
1391 No longer expected to fail.
1393 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
1394 string. No longer expected to fail.
1398 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
1399 only in the names (I probably got most of them). I was even
1400 generous with some which differed in underscores in names, and
1401 probably missed a few, and I *still* was able to remove almost a
1402 third of the file with almost no impact on testsuite coverage.
1406 * gdb.t00/default.exp: Match udi_attach error message as well as
1407 the one from child_attach.
1409 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
1411 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
1413 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
1414 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
1416 * Move test with enums and partial symbols back to
1417 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
1418 Reverts the change of 26 May 93. Per today's change to
1419 stabs.texinfo, the behavior that weird.exp was expecting was
1420 unreasonable; what is important is that the compiler+gdb get
1421 things right, which happens with a recent gcc. Also fix the test
1422 to deal with native compilers which put out the stab gdb can't
1427 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
1428 in the names. The main thing these accomplish is to slow things down.
1429 Many more such duplicates surely remain.
1431 * gdb.t00/help.exp: Comment out "help support" test just like
1432 (and for same reason as) "help set" test.
1436 * gdb.t06/break.exp: Remove setup_xfails for
1437 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
1438 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
1439 about known bug in gcc to include up through 2.5.8.
1440 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
1442 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
1443 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
1444 with latest gcc and gdb.
1445 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
1450 * configure.in (hppa*-*-*): Also configure and build stabs-only
1455 * gdb.t10/hppa.mt: A makefile fragment for the PA.
1456 * gdb.t10/configure.in (hppa*-*-*): Use it.
1460 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
1464 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
1465 versions prior to 1.13.5.
1469 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
1470 the prompt is at the start of a line.
1474 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
1475 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
1476 in the copr tests now.
1477 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
1478 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
1483 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
1484 gdb.t31/chillvars.exp, lib/gdb.exp:
1485 Tweak to run under either version of expect.
1486 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
1487 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
1488 * gdb.t11/list.exp: Remove extraneous whitespace.
1492 * gdb.t16/printcmds.exp (test_print_strings): Accept
1493 "(unsigned char *) " before the string.
1495 * TODO: Add notes about printing of fancy types and GDB expressions.
1499 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
1500 * gdb.t06/configure.in: Don't try to compile signals test program
1501 if doing mips-idt-ecoff.
1505 * Most .exp files: Tweak to run under either version of expect.
1509 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
1510 xfails; I'm not sure why they are failing, but not because of PR 1806.
1514 * config/unix-gdb.exp: Remove gdb_unload cause it's already
1515 defined in lib/gdb.exp.
1519 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
1520 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
1521 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
1522 have to be typeless.
1526 * TODO: Add suggestion for copyright year test.
1530 * configure.in (*-*-lynxos*): Add stabs tests.
1534 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
1535 so insert a tab before any assembler directive in column zero.
1537 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
1539 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
1541 (fpu_short_memory_tests): Likewise.
1545 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
1546 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
1547 .stabs directives in comments.
1551 * TODO: New file, describing tests we could write.
1552 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
1556 * gdb.t06/signals.exp: Add kludge to force re-sync.
1558 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
1559 to xgdb instead of gdb, get out of gdb.
1563 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
1568 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
1569 * gdb.stabs/configure.in (hppa*-*-*): Use it.
1570 * gdb.stabs/hppa.sed: New sed script for the PA.
1574 * gdb.stabs: Re-write weird.def and configuration to use sed
1575 instead of cpp. sed is portable and POSIX; cpp is neither.
1579 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
1583 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
1587 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
1589 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
1590 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
1594 * lib/gdb.exp: Comment out code which depends on non-existent
1595 `transform' procedure.
1599 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
1600 * lib/gdb.exp: Transform tool name.
1601 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
1602 1.1's new error handling system.
1606 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
1610 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
1611 They made pattern matching so slow that timeouts happened on
1612 heavily loaded systems. Now any output from "show print" which
1613 gets us back to the GDB prompt is a PASS.
1615 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
1617 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
1621 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
1623 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
1624 It is not from PR 3220.
1628 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
1629 just started failing because they depended on the order the
1630 subcommands are presented, or exact docstring text. This kind of
1631 test is a pain and has minimal benefit.
1635 * gdb.t09/corefile.exp: At end of test, use "core" command with
1638 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
1640 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
1641 17}/Makefile.in: Make it possible to run the testsuite with Sun
1642 make and CC = cross gcc by adding explicit build rules for .o
1647 * gdb.t15/funcargs.exp: Don't put comments on same line as
1648 setup_xfail (@#$*%& tcl braindamage!).
1652 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
1656 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
1657 * gdb.t20/inherit.exp: remove three dumplicate entries.
1661 * gdb.t06/break.exp: For "next over recursive call", fail on any
1662 incorrect output, not just on "factorial (value=2)".
1666 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
1667 working now. Add an xfail if accesing a bss variable causes
1668 a memory error if the target is not yet run.
1672 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
1673 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
1674 name of __st* demangling (2 strings). Did Kung really get the
1675 more than 95 others right without testing them?
1679 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
1683 * configure.in (configdirs): Add gdb.disasm
1684 * gdb.disasm: New directory for GDB disassembler tests.
1685 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
1689 * gdb.t00/help.exp: Don't test "help set".
1691 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
1692 from within expect statements. None of these happen anymore and
1693 they cause regressions to be silently unnoticed.
1695 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
1696 messages) about known failures with gcc cygnus-2.4.5-930417.
1698 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
1699 comp-info.exp so it gets built if it doesn't exist.
1701 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
1702 it is no longer used.
1703 * gdb.t13/comp-info.c: Removed.
1707 * gdb.t06/signals.exp: Add xfail for sun3.
1711 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
1712 relevant because ^C doesn't get sent but failure can be reproduced
1717 * gdb.stabs/alpha.mt: New configuration file for alpha.
1718 * gdb.stabs/configure.in: Use it.
1719 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
1720 sharing with alpha.mt, redefine long to word via preprocessor.
1721 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
1723 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
1725 * gdb.t00/teststrategy.exp: Change expect string so that we
1726 consume the `(xgdb)' from the command echo and from the gdb prompt.
1727 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
1728 gdb currently compares all values as long, so this failure probably
1729 applies to any configuration where LONGEST is bigger than a target int.
1730 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
1732 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
1733 to handle opaque pointers, gcc is.
1734 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
1735 as first argument. Include <sys/types.h> and change all operator
1736 new definitions to use size_t.
1737 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
1738 now that we use size_t.
1742 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
1743 a long or float array cast all array members to the same type.
1744 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
1746 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
1748 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
1752 * gdb.t24 (demangle.exp): Constructors of templates have names like
1753 vector<int>::vector(int) not vector<int>::vector<int>(int). See
1754 section 14.6 of the ARM.
1756 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
1757 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
1758 accomplish little and slow down the testsuite.
1760 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
1761 Accept spaces various places.
1765 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
1766 with watchpoint enabled.
1768 * Makefile.in: Remove definition of CC and remove the second
1769 definition of CXX (the "CXX = gcc" one remains). These definitions
1770 were causing backquotes to be expanded within backquotes, which
1775 * gdb.t17/callfuncs.exp: Add "return 0" to end.
1779 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
1780 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
1781 by mips cc and contains no stabs entries.
1785 * config/vx-gdb.exp: Use fake device to load files rather than
1787 * lib/gdb.exp: New proc to do "file" command.
1788 * config/unix-gdb.exp: Use new "file" proc.
1792 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
1793 Rework board rebooting slightly.
1794 (gdb_exit): Don't exit from the remote shell; there isn't one.
1795 * gdb.stabs/weird.exp: If a program is being debugged already,
1797 * gdb.t04/setvar.exp: Stop and restart gdb.
1798 * gdb.t05/expr.exp: Likewise.
1799 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
1800 restart gdb and reload the program.
1801 * gdb.t08/opaque.exp: Likewise.
1802 * gdb.t12/scope.exp: Likewise.
1803 * gdb.t13/bitfields.exp: Likewise.
1804 * gdb.t15/funcargs.exp: Likewise.
1805 * gdb.t20/classes.exp: Likewise.
1806 * gdb.t03/ptype.exp: Increase timeout.
1807 * gdb.t16/printcmds.exp (test_print_string_constants,
1808 test_print_array_constants): Likewise.
1809 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
1810 * gdb.t20/classes.exp (do_tests): Likewise.
1811 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
1815 * gdb.stabs: Renamed *wierd* to *weird*.
1819 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
1820 for timeout. Add "known gcc 2.4.5 bug" to failure message.
1824 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
1825 (do_tests): Remove xfail for whatis on one_var and two_var.
1829 * Makefile.in: Made cross building work better by adding
1830 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
1834 * gdb.t15/{return.c,return.exp,Makefile.in}:
1835 New test, currently commented out.
1839 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
1840 still running and removes the leftover named socket so GDb can do
1845 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
1847 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
1848 cross testing works better with "make check"
1849 * config/unix-gdb: Use default procedures for exit and version.
1850 * config/vx-gdb.exp: Cleaned up and massaged back to working order
1851 with the newest VxWorks.
1855 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
1858 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
1859 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
1861 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
1863 * config/unix-gdb.exp: Remove this version of gdb_exit
1864 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
1865 Rob says he'll look at it when he gets back to testing boards.
1869 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
1870 an expected fail for certain ptype commands.
1872 * gdb.t20/classes.exp: Update expected results of "ptype class
1873 Base1" to account for the constructor that now appears in the type.
1877 * configure.in (configdirs): Restore gdb.t04, which mysteriously
1878 disappeared from list.
1879 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
1880 "alldone" proc with call to cleanup and exit.
1881 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
1882 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
1883 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
1884 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
1885 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
1886 "alldone" proc with simple returns that suppress remaining
1887 tests. The alldone proc went away many months ago.
1891 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
1893 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
1897 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
1898 as vax gdb will display them.
1902 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
1905 * scope.exp: Change "bad value for localval" messages so each one
1908 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
1909 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
1911 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
1915 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
1916 doesn't exist (due to optimization).
1920 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
1921 contains \r because the filename is long.
1923 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
1924 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
1928 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
1929 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
1931 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
1933 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
1937 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
1939 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
1940 to match does not match the passing case but still matches the
1945 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
1949 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
1950 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
1951 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
1952 Remove various versions of gdb_exit.
1953 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
1955 * config/unix-gdb.exp: gdb_exit remains here, and should override
1956 the generic version, since it's doing a lot of wierd stuff that
1957 the other versions aren't. FIXME, fold it in, or abandon this
1962 * gdb.t24/demangle.exp: Add tests for PR 3220.
1966 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
1970 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
1971 "i386-*-*". Works for i486 as well.
1973 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
1974 bug, and expand domain of xfail to all SVR4 systems, since the
1975 actual problem is likely to be in generic SVR4 /proc support.
1979 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
1983 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
1984 xfails for other systems. Match a missing 'Continuing.' as an
1985 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
1987 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
1988 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
1989 Only issue warning for missing executables if -all option is used.
1991 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
1992 file if -all option is used. It's like an unpredictable XFAIL.
1996 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
1997 for dynamically linked binaries.
1999 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
2003 * gdb.t20/inherit.exp: Change message for "print tagless struct"
2004 to state that this is a known bug in old versions of g++.
2008 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
2009 while waiting for `Continuing'.
2013 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
2014 in text, data, and bss.
2015 * gdb.t10/nodebug.c: Add local and global test variables for
2016 initialized and uninitialized data.
2020 * config/unix-gdb.exp (gdb_exit): Add "wait".
2024 * gdb.t06/signals.exp: xfail the continue from the handler for all
2027 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
2028 function with watchpoints enabled, the i386 call dummy starts with
2031 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
2032 386 bsd names its corefiles.
2036 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
2037 compilers don't grok it.
2038 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
2039 with small octal ints rather than character constants, which
2040 are signed and might not fit if first promoted to int.
2044 * gdb.t09/Makefile.in (clean): Remove corefile.
2048 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
2053 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
2054 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
2055 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
2059 * gdb.t17/interrupt.exp: Add xfail for hppa.
2063 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
2064 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
2065 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
2066 to determine signed-ness of bitfields and use the result to setup
2068 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
2069 * gdb.t15/funcargs.exp: Use them to step until the second indirect
2070 call line is reached if necessary.
2074 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
2078 * gdb.t06/break.exp: Also test `clear' command.
2082 * gdb.t00/teststrategy.exp: Remove extra quote.
2084 * gdb.t07/watchpoint.exp: Change xfail for calling function with
2085 watchpoint enabled to be for all non-68k machines.
2087 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
2091 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
2092 targets use aout.mt instead of ecoff.mt as gas understands
2093 standard aout format.
2097 * lib/gdb.exp (runto): Don't insist that function we are running to
2098 was compiled with -g.
2100 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
2102 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
2103 to get back into the read system call.
2104 Accept leading newline in case where we woke it up.
2108 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
2109 to make the stabs test work on ecoff systems using gcc and -with-stabs.
2110 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
2111 enable ecoff configuration.
2115 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
2119 * gdb.t16/printcmds.exp: Add another printf test.
2123 * configure.in: If configured -with-stabs on any target, add
2124 stabsdirs to configdirs.
2128 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
2129 fun" so pattern does not match the command itself.
2133 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
2137 * gdb.t17/interrupt.exp: Test for more things.
2141 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
2142 compiler arranges the code and line numbers.
2144 * gdb.t17/interrupt.exp: Don't send \n after ^C.
2148 * gdb.t00/help.exp: Increase expect input buffer size.
2152 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
2154 * gdb.t07/watchpoint.exp: Add xfail for hppa.
2156 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
2158 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
2159 [0-9]*, not just [0-9].
2163 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
2165 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
2169 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
2173 * gdb.t06/signals.c: Add xfails for sun3.
2175 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
2177 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
2178 test_stepping tests.
2182 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
2184 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
2186 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
2187 rather than actually putting it through cpp twice.
2189 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
2193 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
2198 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
2200 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
2201 C++ features prints as "struct", make it a pass, not an xfail.
2205 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
2206 Don't require VA to print as "class" rather than "struct".
2210 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
2214 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
2218 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
2223 * gdb.t16/printcmds.exp: Add printf tests.
2225 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
2227 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
2231 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
2232 pass counts, to counteract any existing or future setup_xfails.
2236 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
2237 {BEGIN,END}_COMMON for common block instead of STAB.
2238 * gdb.stabs/wierd.exp: Add xfail for rs6000.
2240 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
2241 intp_var should be N_GSYM not N_LSYM.
2242 wierd-aout.S: Use a label for the value of the N_SO.
2243 wierd.def: Remove all backslashes.
2244 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
2248 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
2249 get the expected next to inheritance3.
2253 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
2254 now that gcc-2.4 gets it right.
2258 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
2260 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
2261 generating comp-info.exp which works for cross-compilation.
2265 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
2270 * gdb.t01/run.exp: Start with a fresh gdb.
2271 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
2276 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
2277 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
2278 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
2279 Makefile.in (distclean, realclean): Remove gdbme.c from list of
2284 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
2285 test cases from bug reports.
2289 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
2290 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
2291 avoid spurious xfails.
2292 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
2293 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
2294 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
2298 * gdb.t00/teststrategy.exp: Rework to provide more useful
2299 description of each test, fix problem with systems that define
2300 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
2301 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
2302 results for "next over recursive call" so timeouts aren't taken
2307 * gdb.t12/scope.exp: Test printing of variables before run.
2309 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
2310 printed in wrong order due to sorting.
2314 * gdb.t00/teststrategy.exp: Fix expected results for printing
2315 user entered string constant. Is array of char, prints with no
2318 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
2320 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
2321 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
2322 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
2323 of struct of char arrays.
2324 * gdb.t00/radix.exp: New tests for radix commands.
2328 * gdb.t16/printcmd.exp: Print a variable before running program
2329 (with xfail for AIX).
2333 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
2335 * gdb.t16/printcmd.exp: Don't print variables before running program.
2337 * gdb.t06/break.exp: Don't require envp argument to main.
2339 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
2341 * gdb.t02/whatis.exp, gdb.t11/list.exp:
2342 Add xfails for rs6000.
2344 * gdb.t02/whatis.exp: Change other tests not to re-test something
2347 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
2348 each type used has a variable of that type.
2352 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
2354 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2356 * configure.in: change srctrigger to be a file, not a directory
2360 * configure.in (mips-idt-ecoff*): Added trailing '*'.
2362 * gdb.t11/list.exp: Fixed a couple of typos.
2366 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
2367 is fixed and PR is closed.
2368 * gdb.t16 (gdbme.c): Add simple test string variable.
2369 * gdb.t16 (printcmds.exp): Add tests with simple test string
2370 variable, primarily for boundaries on "set print elements".
2374 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
2375 Make leading 0's optional and don't expect a tab in the middle
2378 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
2380 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
2381 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
2382 don't end command passed to gdb_test with newline.
2384 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
2385 signed keyword away, don't expect signed bitfields to be signed.
2387 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
2388 printing with only as many 1's as are in the field as well as printing
2389 with 32 1's (see comment).
2393 * gdb.t00/default.exp: Start with a fresh gdb.
2394 * configure.in (configdirs): Remove gdb.t31 until the chill
2395 compiler works again. It no longer is able to find chillrt0
2396 since it isn't in libchill.a anymore.
2397 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
2398 wierd.o, make more modular.
2399 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
2400 spurious newlines that caused problems.
2404 * Move test with enums and partial symbols from gdb.t03/ptype.exp
2405 to gdb.stabs/wierd.exp since GCC has worked around the bug.
2406 gdb.stabs/wierd.{exp,def}: Many new tests.
2408 * gdb.t00/default.exp: update info line for new message.
2410 * gdb.t02/{whatis.exp,gdbme.c}:
2411 Test that "char *" doesn't print as "caddr_t".
2415 * gdb.t00/help.exp: Use .* in place of some help messages which
2417 gdb.t00/default.exp: Update "info frame" test for new message.
2418 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
2423 * gdb.t03/{gdbme.c,ptype.exp}:
2424 Add tests for typedef'd struct and union without tags.
2425 Also check "whatis" on a variable of a typedef'd enum without a tag.
2427 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
2428 PRMS 1823; the bug still exists but isn't reproduced by this test
2429 anymore), and remove rs6000 XFAIL (the bug is fixed).
2431 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
2432 duplicated from whatis.exp. For those that are left, accept
2433 "long", "long int", or "int" for long variables (whatis.exp already
2434 has an XFAIL for "int", so no need to fail it here).
2436 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
2437 Deal with GCC's names for types now that GDB uses the compiler's names.
2439 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
2440 setup_xfail's for sunos4. If we #defined the signed keyword away,
2441 don't expect GDB to know that char it is signed.
2443 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
2447 * configure.in (configdirs): Add gdb.t24 for C++ tests that
2448 should work on any system, regardless of debugging format.
2449 * gdb.t21/demangle.exp: Move to gdb.t24.
2450 * gdb.t24/demangle.exp: Move from gdb.t21.
2451 * gdb.t24/{Makefile.in, configure.in}: New files.
2455 * configure.in: Do gdb.stabs and C++ tests only for stabs.
2456 * gdb.stabs: New directory.
2460 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
2461 not just "Quit anyway?".
2465 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
2466 that all setup_xfails are immediately followed by clear_xfails.
2470 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
2471 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
2472 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
2473 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
2474 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
2475 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
2476 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
2477 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
2478 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
2479 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
2480 gdb.t31/chillvars.exp, lib/gdb.exp:
2486 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
2487 with 0.0, not integer 0.
2491 * gdb.t06/break.exp: Update for "Kill the program" message change.
2495 * Makefile.in (GDBFLAGS): Set to -nx.
2496 * Makefile.in (site.exp): Use GDBFLAGS.
2500 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
2502 (check): depend on just-check.
2503 (just-check): added so that tests can be run without a noop
2508 Switch to using configure's configdirs.
2509 * Makefile.in (Makefile): add configure.in dependency.
2510 (SUBDIRS): removed redundant assignment.
2511 * configure.in: switch subdirs assignment to configdirs.
2512 * gdb.t*/configure.in: new files.
2516 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
2521 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
2522 in explicit rules. Apparently this is not supported by some makes.
2526 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
2530 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
2535 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
2539 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
2540 watchpoint problem that is now fixed.
2541 * gdb.t30/chexp.exp: Remove setup_xfail for printing
2542 uninitialized convenience variables.
2543 * gdb.t31/chillvars.exp: Fix expected patterns for printing
2548 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
2549 which causes expect to get out of sync with gdb on long output
2551 * gdb.t09/corefile.exp: Make expected pattern for core file
2552 failing signal and frame output format less sun specific.
2556 * gdb.t31/chillvars.exp: Add and remove initial dummy
2557 breakpoint, so that symbol table is forced in.
2558 (Needed at least on Sunos4, though it seems not SVR4.)
2559 * gdb.t31/chillvars.exp: Update for changed output format.
2561 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
2563 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
2567 * Makefile.in: Added --srcdir when invoking runtest, removed the
2568 need for a local config file. (optional now)
2572 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
2573 failure count used to force early termination. Add some more
2574 expected failures for gnu style demangling.
2578 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
2579 pmi variable from gdb.t20/gdbme to get optimized away.
2580 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
2581 Check for written corefile upon timeout _and_ eof.
2585 * config/unix-gdb.exp: Add missing return 0.
2589 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
2594 * configure.in (subdirs): Put back gdb.t17 which mysteriously
2599 * gdb.t10/crossload.exp: Disable the i860-elf test until such
2600 time as i860 support works.
2602 * gdb.t15/funcargs.exp: Fix expected outputs to include
2603 "backtrace 100\r" rather than just "backtrace\r", to match last
2608 * config/udi-gdb.exp (gdb_exit): Remove close command.
2609 (gdb_target_udi): New procedure to set the UDI target.
2610 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
2611 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
2612 Added waits for prompts after several question responses. Added
2613 some more responses used by a29k-amd-udi-gdb.
2614 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
2615 pass different arguments, restart UDI connection after program
2617 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
2618 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
2619 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
2620 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
2621 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
2622 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
2623 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
2624 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
2625 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
2626 after program completion.
2627 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
2628 compiled with a SELECT_VECS setting.
2629 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
2632 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
2633 Added checks for COFF results, and made them expected failures for
2634 all targets. It would be better to make them expected failures
2635 for COFF targets only.
2637 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
2639 * Makefile.in: add null dvi target, don't bother to recurse
2640 through test directories for info and install-info; rename
2641 $(datadir) to be dejagnu instead of deja-gnu
2645 * gdb.t31/gdbme.ch: Re-enable code that previously caused
2646 compiler to coredump.
2647 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
2652 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
2654 * gdb.t31/chillvars.exp: Comment out tests that depend on that
2657 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
2659 * gdb.t03/ptype.exp: tests for return code from gdb_test.
2660 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
2661 which in a shell. Deletes xgdb when done.
2662 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
2663 Tests the return from the "set height" or "set width" commands.
2664 Added a few return codes where needed.
2668 * Makefile.in (SUBDIRS): Add gdb.t17.
2669 * configure.in (subdirs): Add gdb.t17.
2670 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
2671 files to test gdb's calling of functions in the inferior with
2672 the correct arguments and gdb's ability to retrieve any
2677 * config/unix-gdb.exp (gdb_exit): Remove close commands that
2678 may be called after gdb goes away. Previous versions of expect
2679 needed these to avoid file descriptor leaks, but they cause
2680 errors with the current revision of expect.
2681 * gdb.t00/gdbvars.exp: Use -re on expected output after
2682 setting sevenbit-strings.
2683 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
2684 to set sevenbit-strings consistent across tests.
2685 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
2686 set sevenbit-strings consistent across tests.
2690 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
2691 expected output to match current "expect" expectations.
2695 * gdb.t00/default.exp: Change expected output for default "source"
2696 command, to match new gdb behavior which requires a filename to
2701 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
2702 expected fail for i486-*-* that misses the marker2 function.
2703 * gdb.t10/crossload.exp (bfddefault): Allow successful
2704 recognition of a format to pass even if no symbols are found.
2705 Explicitly catch failures where the format is not recognized
2706 or is ambiguous, and add the reason to the fail message.
2707 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
2708 the cause is and invalid target and add reason to failure message.
2709 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
2710 elf32-i386, elf32-sparc, and elf32-i860.
2711 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
2712 Set up expected failure for 'filename'::variable scope resolution,
2713 which is now apparently broken on all targets.
2714 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
2715 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
2716 gdb.t23/templates.exp: Change failure for missing binfile into
2718 gdb.t21/demangle.exp: Change all cfront references to 'arm'
2723 * gdb.t00/default.exp: Add expected output for default "source"
2724 command, to match new gdb behavior.
2725 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
2729 * config/*-gdb.exp: returns an error, rather than exiting on
2734 * gdb.t03/gdbme.c: Add pointer to struct variable.
2735 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
2736 referencing struct members.
2740 * configure.in (mips-idt-ecoff): New target.
2741 * config/mips-gdb.exp: New file for remote board using MIPS remote
2744 * Redid configuration scheme. Removed gdb.t*/configure.in.
2745 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
2746 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
2747 distclean targets. Built executables via .o files. Adjusted
2748 tests to account for source files in $(srcdir) rather than
2750 * lib/gdb.exp (runto): Don't expect () after the function name,
2751 because it may have arguments.
2755 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
2756 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
2757 expected failures for mips-idt-* and mips-sgi-*.
2758 * gdb.t00/default.exp (attach): Kill process if requested.
2759 * gdb.t00/help.exp (help target core, help target): Accept a gdb
2760 that does not read core files.
2761 * gdb.t01/run.exp: Removed checks for exit status code.
2762 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
2764 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
2765 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
2766 appropriate, rather than doing it by hand.
2767 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
2769 * gdb.t10/crossload.exp: Kill existing program if needed.
2770 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
2771 appropriate, rather than doing it by hand. Always increase
2772 timeout for this test, not just for VxWorks.
2776 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
2777 of Chill STRUCT types and STRUCT values.
2778 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
2780 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
2781 struct2): New struct definitions and initializations to test
2782 simple Chill STRUCT types.
2786 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
2787 the null byte at the end of strings.
2788 * gdb.t00/default.exp: Make show version insensitive to copyright
2790 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
2791 to avoid dependencies on target char signedness.
2792 * gdb.t16/printcmds.exp: Update expected results for explicitly
2794 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
2796 * gdb.t21/demangle.exp: Add many more patterns for template
2797 demangling, most of them being expected failures.
2798 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
2799 string we are matching for, to match on the whole string.
2800 * gdb.t21/demangle.exp: Add many new test strings to demangle,
2801 and fix a whole bunch that had incorrect expected output but were
2802 passing anyway because of the bug in "proc demangle".
2803 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
2805 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
2809 * gdb/testsuite: made modifications to testcases, etc., to allow
2810 them to work properly given the reorganization of deja-gnu and the
2811 relocation of the testcases from deja-gnu to a "tool" subdirectory.
2815 * gdb/testsuite: Initial creation of gdb/testsuite.
2816 Migrated dejagnu testcases and support files for testing nm to
2817 gdb/testsuite from deja-gnu. These files were moved "as is"
2818 with no modifications. This migration is part of a major overhaul
2819 of dejagnu. The modifications to these testcases, etc., which
2820 will allow them to work with the new version of dejagnu will be
2821 made in a future update.
2827 version-control: never