3 * gdb.stabs/configure (alpha-*-*,mips-*-*): Add missing
4 "test" and enclose string in quotes.
8 * gdb.base/corefile.exp: When generating a core, discard any
9 error messages about ulimit not found and the "core dumped"
10 message from the shell that runs the coredumper.
14 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
16 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
17 which sed script to run. Expect failure for v_comb test
22 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
23 "print func2::coremaker_local" and for "backtrace in corefile.exp"
27 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
29 "sparc-sun-solaris*" xfails for "p v_comb".
30 * lib/gdb.exp (default_gdb_start): Fix typo.
31 * gdb.base/corefile.exp: Allow "Core was generated by ..."
32 messages to not include the full program name that caused
33 the core dump since some systems (such as solaris) apparently
34 truncate this path to about 80 characters.
35 When generating a core file first try increasing the core file
36 size limit to unlimited since some systems may default it to
37 zero, and it is harmless to try it. Move the test for failing
38 to generate a core file to where it will actually get executed.
39 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
40 new gdb result from g++ debug info improvements and make old
41 pattern obsolescent. Also account for size_t differences
43 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
44 initialization before function call is placed in the delay slot
45 and thus appears to be skipped over by commands such as "next".
49 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
53 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
54 input source file; fix code to compile test to deal with this
56 * gdb.c++/*.exp: Likewise.
60 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
65 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
66 "step over execarg initialization" and
67 "step over corearg initialization".
71 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
72 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
77 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
78 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
79 configure.in}, gdb.disasm/{Makefile.in, configure.in},
80 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
81 configure.in}: Major reworking for autoconfig.
82 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
83 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
85 * config/unix-gdb.exp: Make GDB global.
86 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
87 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
88 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
89 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
90 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
91 term.exp, twice.exp, watchpoint.exp, whatis.exp},
92 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
93 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
94 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
95 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
96 pr-8136.exp, result.exp, string.exp, tuples.exp},
97 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
98 to returns as necessary, arrange for test to compile own testcase
100 * lib/gdb.exp: Changes for testsuite to compile own test cases.
104 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
105 clear_xfail at end of test which might not call either pass or fail.
106 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
107 "backtrace through signal handler".
111 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
112 continuing from a job control stop signal.
113 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
117 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
118 * gdb.base/corefile.exp: Likewise.
119 * gdb.base/funcargs.exp: Likewise.
123 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
124 * config/monitor.exp: Add support for setting baud rate.
128 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
129 i*86-*-linux* xfails for "backtrace through signal handler".
130 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
131 "print func2::coremaker_local".
132 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
133 alpha-dec-osf2* xfail for
134 "delete all breakpoints when none".
138 * gdb.base/break.exp: Change test that deletes all breakpoints
139 when no user breakpoints are installed. A post 4.15 change
140 causes gdb to no longer prompt in this case.
144 * gdb.base/return.exp (return_tests): Change xfail for test
145 "correct value returned double test" to stop xfailing at
146 Solaris 2.5. Apparently the bug has been fixed.
150 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
151 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
155 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
156 * gdb.disasm/hppa.s: Corresponding changes.
160 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
162 * config/mt-hpux: Deleted.
166 * Many files: When warning about suppressed tests due to a
167 nonexistant test binary, avoid incrementing the warning count.
171 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
175 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
180 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
181 Add global and local variables and initialize them.
182 * gdb.base/corefile.exp: Test correct mapping of corefile sections
183 by printing variables. Remove rs6000 and powerpc xfails, BFD now
184 extracts the file name and terminating signal from the core file.
185 * TODO: Remove note about tests for correct mapping of corefile.
186 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
187 from optimizing it away.
188 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
189 handles common blocks.
194 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
195 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
200 * Makefile.in (maintainer-clean): New target, synonym for
202 * gdb.base/Makefile.in (maintainer-clean): Likewise.
203 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
204 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
205 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
206 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
207 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
211 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
212 xfails when not gcc compiled for "print foo::funclocal".
213 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
214 "print foo::funclocal at foo",
215 "print 'scope1.c'::foo::funclocal at foo",
216 "print foo::funclocal_bss at foo",
217 "print 'scope1.c'::foo::funclocal_bss at foo",
218 "print foo::funclocal_ro at foo",
219 "print 'scope1.c'::foo::funclocal_ro at foo",
220 "print bar::funclocal at foo" and
221 "print 'scope1.c'::bar::funclocal at foo".
222 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
223 gcc compiled for "print foo::funclocal at bar".
224 Expand all messages to ensure that they identify that
225 the test is at bar().
226 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
228 "ptype on opaque struct pointer (statically)",
229 "ptype on opaque struct tagname (statically)",
230 "ptype on opaque struct pointer (dynamically) 1",
231 "ptype on opaque struct tagname (dynamically) 1",
232 "ptype on opaque struct pointer (dynamically) 2" and
233 "ptype on opaque struct tagname (dynamically) 2
234 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
240 "whatis bsslocal", and
242 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
243 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
244 when not gcc compiled.
245 * gdb.base/funcargs.exp (float_and_integral_args): Add
246 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
248 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
249 "backtrace from call6a" when not gcc compiled.
250 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
251 "backtrace from call7a" when not gcc compiled.
252 * gdb.base/callfuncs.exp (do_function_calls):
253 Add "hppa*-*-hpux*" xfail when not gcc compiled for
254 "p t_char_array_values(char_array_val2,char_array_val1)",
255 "p t_char_array_values(char_array_val1,char_array_val2)",
256 "p t_char_array_values("carray 1","carray 2")",
257 "p t_char_array_values("carray 1",char_array_val2)",
258 "p t_char_array_values(char_array_val1,"carray 2")",
260 "p sum_args(2,{2,3})",
261 "p sum_args(3,{2,3,4})",
262 "p sum_args(4,{2,3,4,5})"
263 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
264 "backtrace in corefile.exp" when not gcc compiled.
268 * gdb.base/signals.exp: Rewrite `handle all print' test as
269 a procedure. Accept blanks or TABs as whitespace, increase
270 timeout and expect input buffer size for the large output
271 from the command. Remove "i*86-*-bsdi2.0" xfail.
275 * gdb.base/setvar.exp: Add new testcases for truncation when
276 assigning invalid values to bitfields.
280 * gdb.base/callfuncs.exp (do_function_calls): Remove
281 mips-sgi-irix* xfail for
282 "call inferior func with struct - returns char *"
283 and fix test so that an optional (unsigned char *) cast is
284 accepted in the result.
288 * gdb.base/funcargs.exp (float_and_integral_args): Remove
289 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
290 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
291 * gdb.base/signals.exp: Remove duplicate "handle all print" test
292 that accidentally got checked in.
296 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
297 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
299 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
300 Add mips-sgi-irix5* xfail for not gcc compiled.
301 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
302 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
303 "p top", "whatis top", "p middle", and "whatis middle".
304 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
305 "whatis signed char" for not gcc compiled.
306 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
307 "set variable signed char=-1 (-1)" and
308 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
309 * gdb.base/funcargs.exp (float_and_integral_args):
310 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
311 Add mips-sgi-irix* xfail when not gcc compiled for
312 "continue to call2b".
313 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
314 "continue to call2g".
315 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
316 "backtrace from call6a"
317 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
318 "backtrace from call7k".
319 Add mips-sgi-irix5* xfail when not gcc compiled for
320 "backtrace from call7a".
321 (localvars_after_alloca): Fix gdb_test cmds for
322 "print * after runto ...".
323 Remove rs6000-*-* xfails for
324 "print i after runto localvars_after_alloca" and
325 "print l after runto localvars_after_alloca"
327 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
328 when not compiled with gcc, for:
329 "print signed char == (minus)",
330 "print signed char != (minus)",
331 "print signed char < (minus)",
332 "print signed char > (minus)".
333 * gdb.base/callfuncs.exp (do_function_calls):
334 Add mips-sgi-irix* xfail, when compiled with native compiler, for
335 "call inferior func with struct - returns char *".
336 * gdb.base/return.exp (return_tests): Change xfail for
337 "correct value returned double test" to include Solaris 2.4.
338 * gdb.base/funcargs.exp (float_and_integral_args):
339 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
343 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
344 enumeration bitfields if compiling with GNU C.
345 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
350 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
351 test for PRO targets.
353 * gdb.base/funcargs.exp: Avoid ever setting more than 8
354 breakpoints in the inferior at any given time by making
355 two groups of breakpoints for call2*, call6* and call7*
360 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
361 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
362 from optimizing it away.
363 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
364 "call inferior func with struct".
368 * configure.in: Only configure gdb.chill for particular targets.
372 * gdb.base/Makefile.in: Add action to .c.o transformation
373 rule that generates a .ci file for each .o file and remove
374 explicit .c.o rules except for callfuncs.o.
375 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
376 generates a .ci file for each .o file and remove explicit
378 (clean): Remove *.tmp *.ci files.
379 (EXECUTABLES): Remove templ-info.exp.
380 * gdb.base/compiler.c: New file.
381 * gdb.c++/compiler.cc: New file
382 * gdb.base/scope.exp: Source gdb.base/scope.ci.
383 Change rs6000-*-* xfail for
384 "print 'scope0.c'::filelocal_ro" and
385 "print 'scope1.c'::filelocal" and
386 "print 'scope1.c'::filelocal_bss" and
387 "print 'scope1.c'::filelocal_ro" and
388 "print 'scope1.c'::foo::funclocal" and
389 "print 'scope1.c'::foo::funclocal_ro" and
390 "print 'scope1.c'::bar::funclocal" and
391 "print 'scope0.c'::filelocal_ro" and
392 "print 'scope1.c'::filelocal at foo" and
393 "print 'scope1.c'::filelocal_bss at foo" and
394 "print 'scope1.c'::filelocal_ro at foo" and
395 "print 'scope1.c'::foo::funclocal at foo" and
396 "print 'scope1.c'::foo::funclocal_bss at foo" and
397 "print 'scope1.c'::foo::funclocal_ro at foo" and
398 "print 'scope1.c'::bar::funclocal at foo" and
399 "print 'scope0.c'::filelocal_ro" and
400 "print 'scope1.c'::filelocal" and
401 "print 'scope1.c'::filelocal_bss" and
402 "print 'scope1.c'::filelocal_ro" and
403 "print 'scope1.c'::foo::funclocal" and
404 "print 'scope1.c'::foo::funclocal_bss" and
405 "print 'scope1.c'::foo::funclocal_ro" and
406 "print 'scope1.c'::bar::funclocal" and
407 "print 'scope1.c'::bar::funclocal_bss"
408 to only be xfail'd when not compiled with gcc.
409 Add rs6000-*-* xfail for
410 "print 'scope0.c'::filelocal_bss before run"
411 when compiled with gcc.
412 (test_at_main): Add rs6000-*-* xfail for
413 "print filelocal_ro in test_at_main"
414 when compiled with gcc.
415 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
416 Add rs6000-*-aix* xfail for
417 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
418 "ptype t_char_array", not compiled with gcc.
419 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
420 xfail for "list foo (in include file)" when gcc compiled.
421 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
422 (integral_args): Add rs6000-*-* xfail for
423 "run to call0a" if not compiled with gcc.
424 (unsigned_integral_args): Add rs6000-*-* xfail for
425 "run to call1a" if not compiled with gcc.
426 (float_and_integral_args): Add rs6000-*-* xfail for
427 "run to call2a" if not compiled with gcc and for
428 "continue to call2b" for any compiler.
429 Add rs6000-*-* xfail to
430 "print f1 after run to call2a" for gcc compiled.
431 (discard_and_shuffle): Add rs6000-*-* xfail for
433 (shuffle_round_robin): Add rs6000-*-* xfail for
434 "backtrace from call7a" if not compiled with gcc.
435 Add rs6000-*-* xfail for
436 "backtrace from call7b" if compiled with gcc.
437 (call_after_alloca): Add rs6000-*-* xfail for
438 "print c in call_after_alloca" and
439 "print s in call_after_alloca" and
440 "backtrace from call_after_alloca_subr"
441 if not compiled with gcc.
442 (localvars_in_indirect_call): Add rs6000-*-* xfail for
443 "print c in localvars_in_indirect_call" and
444 "print c in localvars_in_indirect_call" and
445 "backtrace in indirectly called function" and
446 "stepping into indirectly called function"
447 if not compiled with gcc.
448 (localvars_after_alloca): Add rs6000-*-* xfail for
449 "print c after runto localvars_after_alloca" and
450 "print s after runto localvars_after_alloca" and
451 "print i after runto localvars_after_alloca" and
452 "print l after runto localvars_after_alloca"
454 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
455 than whatis-info.exp.
456 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
457 than opaque-info.exp.
458 Setup rs6000-*-* xfail for
459 "ptype on opaque struct pointer (statically)" and
460 "ptype on opaque struct pointer (dynamically)" when
461 not compiled with gcc.
462 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
463 rather than callf-info.exp.
464 (do_function_calls): Add clear_xfail for rs6000-*-* for
465 "p t_float_values2(3.14159,float_val2)". Seems to work
466 fine there, both with xlc and gcc. Need to find out what
467 it is doing right and fix other platforms.
468 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
469 "call inferior func with struct - returns int",
470 "call inferior func with struct - returns long",
471 "call inferior func with struct - returns float",
472 "call inferior func with struct - returns double",
473 "call inferior func with struct - returns char *",
474 but only if not gcc compiled (presumes xlc compiled).
475 Change rs6000-*-* xfails for
476 "call inferior func with struct - returns char" and
477 " call inferior func with struct - returns short" to only
478 xfail if not using gcc.
479 (clean mostlyclean): Remove *.ci and *.tmp files.
480 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
482 * gdb.base/langs.exp: Source gdb.base/langs.ci.
483 Add rs6000-*-* xfail for "up to foo in langs.exp"
484 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
485 when not gcc compiled.
489 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
490 * gdb.base/corefile.exp: Likewise.
491 * gdb.base/list.exp: Likewise.
492 * gdb.base/scope.exp: Likewise.
493 * gdb.base/siganls.exp: Likewise.
495 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
497 * gdb.base/whatis.exp: Likewise.
502 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
503 failure (opcode table has been fixed to match reality).
508 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
509 "call inferior func with struct - returns char",
510 "call inferior func with struct - returns short"
512 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
513 "print 'scope0.c'::filelocal at main",
514 "print 'scope0.c'::filelocal_bss in test_at_main",
515 "print 'scope0.c'::filelocal at foo",
516 "print 'scope0.c'::filelocal_bss in test_at_foo",
517 "print 'scope0.c'::filelocal at bar",
518 "print 'scope0.c'::filelocal_bss in test_at_bar"
520 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
521 in source file 1". This bug seems to have been fixed with both
522 gcc and native cc (was native assembler bug?).
526 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
527 "backtrace through signal handler" to "i*86-*-sysv4*".
528 * gdb.base/signals.exp: Add xfail for "'next' behaved as
529 continue" case. Add "known SVR4 bug" to fail message.
530 Add "i*86-*-bsdi2.0" xfail for "handle all print".
531 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
532 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
533 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
534 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
535 "up to foo in langs.exp", "show language at foo in
536 langs.exp", "up to cppsub_ in langs.exp", "show
537 language at cppsub_ in langs.exp", "up to fsub in
538 langs.exp", and "show language at fsub in langs.exp".
539 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
540 "bactrace in corefile.exp".
541 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
542 "call inferior function with struct - returns float" and
543 "call inferior function with struct - returns double".
548 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
549 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
550 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
551 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
556 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
557 (or overriden) "CHILL" macro rather then bare "gcc".
558 Also look for ../../gcc/xgcc since that is what we will
559 actually need, not "Makefile". Remove following assignment
560 of CHILL to CHILL_FOR_TARGET because that results in
561 recursive definition.
565 * gdb.base/corefile.exp: Change xfail for backtrace in
566 corefile.exp from linuxaout to all linux.
567 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
568 cases where we miss the breakpoint at the signal handler
569 for some reason. Setup xfail for linuxoldld/linuxaout and
570 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
571 hitting SIGURG breakpoint.
572 * gdb.base/signals.exp: Setup xfail for "next" acting like
573 continue to add linuxoldld. Setup xfail for all linux for
574 "next to handler in signals_tests_1", "backtrace in
575 signals_tests_1", "continue to func1", "pass SIGUSR1",
576 and continue to handler".
580 * Update all FSF addresses except those in COPYING* files.
584 * gdb.base/a2-run.exp: Change messages to be more explicit about
585 the status of args, and quote binfile in results.
589 * gdb.base/callfuncs.exp: Add tests for passing structs to
590 inferior functions and return various types.
591 * gdb.base/callfuncs.c: Add functions to receive a struct
592 and return a member of the struct, in various types.
596 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
600 * config/vxworks29k.exp: New file, sources vxworks.exp.
604 * config/gdbremote.exp: New file. Testing framework using
609 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
610 "call function when asleep" and "send end of file".
611 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
612 for "backtrace in corefile.exp".
613 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
614 for "backtrace through signal handler".
615 * gdb.base/corefile.exp: Make sure we actually generate a core file
616 before trying the core tests. Some systems allow the user to suppress
617 generation of core files and default to that (linux for example).
618 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
619 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
623 * gdb.threads: New directory with some crude multi-threaded
624 gdb tests (step.exp and step2.exp).
625 * config/mt-lynx (STEP_EXECUTABLE): Define.
626 (THREADFLAGS): Define.
630 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
632 * gdb.base/signals.exp: Disable whole file for lynx until
635 * gdb.base/signals.exp: xfail test where "next" acts like
638 * gdb.base/interrupt.exp: xfail test for calling function while
639 inferior is asleep for lynx.
641 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
642 than one cr-lf after each command.
646 * configure.in: Reinstate setting of stabsdirs variable, fix
647 typo in setting up configdirs for native builds.
649 * gdb.base/return.exp: Fix typo in return double test.
650 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
651 compiler from optimizing them away.
655 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
656 sequences to be echo'd by gdb when using gdb_test.
657 * gdb.chill/chexp.exp: Likewise.
658 * gdb.fortran/exprs.exp: Likewise
662 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
663 after the inferior gdb has started.
665 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
667 * gdb.base/funcargs.exp: Likewise.
668 * gdb.base/gdbvars.exp: Likewise.
669 * gdb.base/interrupt.exp: Likewise.
670 * gdb.base/list.exp: Likewise.
671 * gdb.base/watchpoint.exp: Likewise.
672 * gdb.c++/demangle.exp: Likewise.
673 * gdb.c++/inherit.exp: Likewise.
674 * gdb.chill/chexp.exp: Likewise.
675 * gdb.fortran/exprs.exp: Likewise.
677 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
678 test if we can't handle IO to/from the inferior.
680 * gdb.c++/misc.exp: Always check for a program already being
681 started after sending a "run" command to gdb.
683 * gdb.base/twice.exp: Start with a fresh gdb.
685 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
686 only depend on gdb's expression code, not the chill runtime.
688 * gdb.base/return.c: Put return values into variables so we
689 can have gdb print them rather than depending on the program
691 * gdb.base/return.exp: Corresponding changes.
693 * lib/gdb.exp: Provide default value for noinferiorio.
694 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
697 * gdb.base/break.exp: Always check for a program already being
698 started after sending a "run" command to gdb.
699 (text_next_with_recursion): Don't check the output from the
700 program's printf statement. Instead just make sure the program
703 * gdb.base/commands.exp: Protect tests which need arguments with
704 $noargs conditionals.
708 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
709 of structure member arrays to match gdb/valops.c:value_addr change.
713 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
718 * configure.in (configdirs): Remove gdb.chill from default list
719 of subdirs and then add it back in only if doing a native build.
720 The current chill compiler does not yet work in any cross build.
721 * Revert all signal changes from Jul 6.
722 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
723 for sh-hms targets, allowing these tests to link, with no other
724 changes. Testing is suppressed by setting "nosignals" in site.exp.
728 * configure.in (signaldirs): Define and add to configdirs for all
729 targets except some specific ones that are known to not support signals.
730 Also clean up formatting.
731 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
732 (signals, sigall): Remove rules to build.
733 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
734 Moved to new gdb.signals directory.
735 * gdb.signals: New test directory.
736 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
737 signals.c signals.exp}: New or moved files.
741 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
745 * gdb.base/return.exp: Xfail `return double' test failure
746 on at least Solaris 2.3 and handle future/past versions on
747 a case by case basis as appropriate. Also update message
748 to include i*86 failures.
752 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
754 * lib/gdb.exp: Fix comment which erroneously identified
755 gdb_file_cmd as gdb_load (the 19 May change was in fact to
756 gdb_file_cmd not gdb_load).
757 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
759 * gdb.base/setvar.exp: Make test names consistent between pass and
760 fail cases. Use gdb_test more.
764 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
768 * gdb.base/help.exp: Fix expected help string for `show commands'.
772 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
774 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
779 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
780 that loop eventually terminates. Fix Connection refused logic so
781 that testsuite will expire nicely.
785 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
786 config/rom68k.exp: New tcl glue for the appropriate monitors.
787 These all just end up calling monitor.exp.
788 * config/monitor.exp (gdb_target_monitor): Handle `Connection
789 refused' by retrying. Cleanup some timeout issues.
790 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
791 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
792 callers don't have to set/restore global timeout variable.
794 * The following set of changes centralizes management of the global
795 timeout variable. This way, it can be set in one target dependent
796 place instead of dozens of places scattered throughout the test suite.
797 If you need to lengthen a timeout, then you should either set timeout
798 in one of the config/{target}.exp files, or multiply it by a factor.
799 Setting it to an absolute value is always going to lose for some
801 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
802 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
803 * gdb.base/funcargs.exp: Don't set timeout.
804 * gdb.base/list.exp (test_forward_search): Only use local timeout.
805 * gdb.base/printcmds.exp (test_print_string_constants
806 test_print_array_constants): Don't set timeout.
807 * gdb.base/ptype.exp: Don't set timeout.
808 * gdb.base/recurse.exp: Don't set timeout.
809 * gdb.base/return.exp: Don't set timeout.
810 * gdb.base/watchpoint.exp: Don't set timeout.
811 * gdb.c++/classes.exp (do_tests): Don't set timeout.
812 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
816 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
820 * lib/gdb.exp: Disable chill tests for irix5.
824 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
825 each test pass or fail.
829 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
834 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
838 * config/est.exp: Fix copyright and comments. Remove dead code.
839 Use targetname, serialport and baud variables instead of fixed
841 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
842 * config/cpu32bug.exp: New file to support cpu32bug monitors.
846 * gdb.base/watchpoint.exp: Don't run
847 test_watchpoint_triggered_in_syscall for sunos.
851 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
852 they don't seem to exist. Do include stdio.h.
856 * gdb.base/a1-selftest.exp: Add alpha xfail.
860 * gdb.base/watchpoint.c (main): Prompt before calling read().
861 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
862 Revise accordingly. Remove cruft about sending "123" several
863 times, until it gets noticed. Clean up the "print buf[0]" stuff
864 so that it passes or fails, and waits for prompts in the usual way.
868 * gdb.base/recurse.exp: Fix comment.
870 * TODO: Remove item about printing variables in nodebug.exp. Add
871 item about enabling tests which are only run on some targets.
873 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
874 fail, make test names unique, use new gdb_test convention
875 regarding pattern, use gdb_test more, etc.).
877 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
878 fail, make test names unique, etc.).
882 * gdb.base/nodebug.c: Change return type of top and middle to
884 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
885 are fixed by the recent mdebugread.c changes. Allow `short ()'
886 as type for top and middle.
890 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
891 nearly as I can tell, the whole thing was an accident in Stu's
892 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
893 to replace a send/expect pair with gdb_test, but ended up only
894 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
895 of 30 Mar 1995 took care of it, but left this vestigial comment
896 which I am now nuking.
900 * gdb.base/break.exp: Look for different line number for
901 breakpoint at main depending on usestubs.
905 * gdb.base/list.exp: Adjust some alternate expect patterns to
906 match recent list0.c change. Add alternate expect pattern for
907 output from `list default lines around main' for optimizing
912 * lib/gdb.exp: If nosignals is not set, set it to 0.
916 * config/slite-gdb.exp: Responds to load symbol table prompt.
917 * gdb.base/break.exp: Adjust line number, fix rerun.
918 * gdb.base/langs0.c: Add #ifdef usestubs.
922 * gdb.base/list.exp: Adjust line contents after adding new lines in
923 list0.c. Also fix a syntax error.
925 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
926 * gdb.base/break.exp: ditto.
927 * gdb.base/list.exp: ditto.
928 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
929 * gdb.base/run.c: ditto.
930 * gdb.base/list0.c: ditto.
931 * gdb.base/funcargs.c: ditto.
935 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
936 $targetname, $serialport and $baud instead of hardwired variables.
937 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
938 target doesn't support signals.
942 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
946 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
947 Don't rely on the value of an auto variable before it has been
948 initialized. Use gdb_test more.
952 * lib/gdb.exp (default_gdb_version): A version number must start
953 with a digit, but other than that contains all characters up to
954 the first whitespace character.
958 * gdb.base/commands.exp (breakpoint_command_test): New tests.
962 * gdb.c++/*.exp: Warn if executable does not exist. The original
963 reason for skipping the warning was that configure.in sometimes
964 intentionally skipped building the executables but the tcl code
965 had no way of knowing. That (a) was always bogus with respect to
966 error handling, (b) is no longer true (right now there is no way
969 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
973 * gdb.base/list.exp: Add expect patterns for output from
974 SunPRO compiled executables.
975 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
980 * gdb.base/break.exp (test_next_with_recursion): Accept any line
981 number (we are already testing that the correct source line text
984 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
985 that is what is intended, but something needed to be done to get
986 sunos4 native working again.
988 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
990 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
991 apparently went with a (very) old xfail.
995 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
996 runto_main is a proc in gdb.exp that will do 'step' for target use
998 * gdb.base/exprs.exp: ditto.
999 * gdb.base/interrupt.exp: ditto.
1000 * gdb.base/opaque.exp: ditto.
1001 * gdb.base/printcmds.exp: ditto.
1002 * gdb.base/ptype.exp: ditto.
1003 * gdb.base/scope.exp: ditto.
1004 * gdb.base/setvar.exp: ditto.
1005 * gdb.base/signals.exp: ditto.
1006 * gdb.base/twice.exp: ditto.
1007 * gdb.c++/classes.exp: ditto.
1008 * gdb.c++/inherit.exp: ditto.
1009 * gdb.c++/templates.exp: ditto.
1010 * gdb.base/break.exp: no run and hit main for stubs. Change line
1011 numbers for breakpoints and info breakpoint.
1012 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
1014 * gdb.base/callfuncs.c: ditto.
1015 * gdb.base/exprs: ditto.
1016 * gdb.base/interrupt.c: ditto.
1017 * gdb.base/opaque0.c: ditto.
1018 * gdb.base/printcmds.c: ditto.
1019 * gdb.base/ptype.c: ditto.
1020 * gdb.base/scope0.c: ditto.
1021 * gdb.base/setvar.c: ditto.
1022 * gdb.base/signals.c: ditto.
1023 * gdb.base/twice.c: ditto.
1024 * gdb.c++/misc.cc: ditto.
1025 * gdb.c++/templates.cc: ditto.
1029 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1031 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
1032 somewhere between `read' and `main.c'. I'm pretty sure the
1033 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
1034 and it isn't particularly useful.
1036 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
1040 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
1044 * config/mt-slite: add LIBS and -nostdlib.
1045 * config/slite-gdb.exp: add this new file to support sparclite target.
1049 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
1051 * gdb.base/a2-run.exp: Change argument to istarget from
1052 "*-*-vxworks" to "*-*-vxworks*".
1053 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1057 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
1058 will not runto main but do a 'step' to step out of breakpoint().
1059 * config/mt-slite: add -Dusestubs.
1063 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
1066 * gdb.base/signals.exp: Add test for "handle all print".
1067 * TODO: Remove "handle all print". Also remove item about
1068 checking copyright date (I don't like the idea of a spurious FAIL
1069 based on when we run the tests).
1071 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
1072 for SunOS4 (reason for failure not investigated). Remove
1073 redundant test for $binfile.
1075 * gdb.base/nodebug.c (array_index): Call malloc.
1077 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
1081 * gdb.base/recurse.exp: Update gdb_test invocation to use new
1082 conventions and slightly simplify the matching regexp.
1086 * gdb.base/break.exp: Update gdb_test invocation to use new
1089 * lib/gdb.exp: If noargs is not set, set it to 0.
1091 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
1094 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
1098 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
1099 one argument of type "<non-float parameter>".
1103 * config/rom68k.exp: New file to support Motorola IDP board.
1104 * gdb.base/a2-run.exp: Skip this file if noargs is set.
1105 * gdb.base/break.c: Change things around so that this program
1106 doesn't depend upon args. This is necessary to make remote
1107 targets work (in general, they can't take args).
1108 * gdb.base/break.exp: Don't try to send args to program. Don't
1109 expect output. Also, replace lots of code with gdb_test.
1113 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
1114 printing of '\'' (which is what the comment says we are testing,
1115 even though we were not), not '''.
1116 (test_integer_literals_rejected): Test that printing ''' is an error.
1118 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1119 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
1120 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
1121 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
1122 Use gdb_test not test_print_accept.
1123 * lib/gdb.exp: Remove test_print_accept.
1125 * gdb.base/signals.exp (signal_tests_1): Make pass message
1126 consistent with fail message.
1128 * gdb.base/whatis.exp: Remove xfails for printing char vs.
1129 unsigned char; the bug (PR 1821) is fixed.
1131 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
1133 * gdb.base/scope.exp (test_at_localscopes): Call pass for
1134 successful tests--makes xfailing them work right.
1138 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
1139 only \r\n, not .*. The test can pass .* as the last thing in
1140 $pattern if that is what it wants. In addition to providing this
1141 flexibility, this change should speed up pattern matching in cases
1142 where the pattern already ended with .* (there were a number of
1143 them). This change also helps catch bad patterns--in the old
1144 scheme the typo "char \*" instead of "char \\*" would pass. Now
1146 * Many .exp files: Update callers.
1148 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
1149 clearer and does not spuriously match multiple ('s. Likewise for
1152 * gdb.base/nodebug.exp: Test ability to call a function and pass
1153 it a string (even with no debugging info).
1155 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
1156 "p '\'", which is the same as "p ''" once tcl gets done with
1157 quoting, to "p '\\'", which I suspect is what is intended (one
1158 backslash gets sent to GDB).
1160 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
1164 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
1165 1817) was fixed literally years ago.
1169 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
1170 test, it causes stepping out of call_after_alloca_subr with
1171 optimizing compilers.
1172 (localvars_in_indirect_call): Consume GDB prompt if `finish'
1175 * gdb.c++/templates.exp: Source templ-info.exp only if
1176 the templates executable exists.
1178 * gdb.c++/misc.cc (class Contains_static_instance,
1179 class Contains_nested_static_instance),
1180 gdb.c++/classes.exp (test_static_members): Test printing of
1181 a class that contains a static instance of the class.
1185 * gdb.base/langs2.c (cppsub_): Don't prototype.
1186 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
1191 * lib/gdb.exp (skip_chill_tests): New procedure.
1193 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
1197 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
1198 each expect pattern. Cuts runtime from 12 to about 4 seconds.
1202 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
1204 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
1205 disassemble 8, not 16, instructions for part 4.
1207 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
1208 support the latter anymore.
1210 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
1212 * gdb.base/callfuncs.c: Control use of prototypes based on
1213 NO_PROTOTYPES, not __STDC__.
1214 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
1215 t_float_values2 tests if prototypes in use.
1217 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
1218 t_double_values): When checking differences against DELTA, check
1219 that difference is within the range (-DELTA,DELTA), not just
1224 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
1225 'file' command firts, then 'target', then 'load', this is due to gdb
1227 * config/mips-gdb.exp: Fix a couple regular exp bugs.
1231 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
1232 FP load/store variants.
1233 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
1237 * gdb.base/term.exp: Do not give a warning if not native, it is
1238 not an abnormal condition.
1242 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
1247 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
1248 are getting the version number.
1250 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
1251 if not native, it is not an abnormal condition.
1255 * lib/gdb.exp: Just use "file exists", rather than undocumented
1256 dejagnu procedure "findfile".
1260 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
1261 (LDFLAGS): Set to -Xlinker -Ur.
1263 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
1264 Removed, these values are set by lib/gdb.exp.
1266 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
1270 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
1271 of replicating gdb startup code.
1273 * config/mt-vxworks (LDFLAGS): Set to -r.
1274 (CFLAGS_FOR_TARGET): Removed.
1276 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
1277 (gdb) and gdb for vxworks uses (vxgdb).
1279 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
1280 executable is not in the tree and host != target, use sed and
1281 program_transform_name to determine the gdb name used by the
1284 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
1285 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
1289 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
1290 floats, chars, and shorts where there are ANSI-style function
1293 * gdb.base/langs.exp, gdb.base/langs*: New test.
1294 * gdb.base/Makefile.in: Build it.
1295 * TODO: Remove item about checking that C names don't get C++
1296 demangling applied; this test tests it.
1300 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
1301 went with the const70 xfail. The xfail went away a year ago.
1303 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
1305 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
1308 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
1310 * gdb.base/a1-selftest.exp: Don't run on hp300.
1314 * Makefile.in (site.exp): Set host_alias and target_alias as well
1315 as host_triplet and target_triplet.
1319 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
1321 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
1322 places as other ecoff systems).
1324 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
1329 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
1331 * gdb.base/nodebug.exp: Accept "function" in addition to "text
1332 variable and "variable" in addition to "data variable".
1333 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
1335 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
1337 * gdb.base/list1.c (long_line): Add additional statement at start
1339 * gdb.base/list.exp (test_forward_search): Update line number to
1340 reflect new statement.
1344 * gdb.base/signals.exp: Reinitialize searched source directories
1345 after gdb_start call.
1349 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
1350 * gdb.stabs/Makefile.in: Likewise.
1352 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
1353 change. Instead split the tests into smaller pieces.
1354 * gdb.disasm/hppa.s: Corresponding changes.
1358 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1359 Quote ^C when passing it to stty. For some shells ^ is a pipe.
1361 * gdb.base/funcargs.exp: Modify many tests so that every test
1362 either passes or fails. Make some test names unique.
1366 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1367 Call stty to set interrupt character.
1369 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
1370 for HP assembler versus GNU assembler based on actual behavior of
1371 $(CC), rather than assuming that $(AS) is always the GNU assembler.
1373 * TODO: Suggest a few more stepping tests.
1377 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
1378 restart GDB for h8300 after a continue.
1379 (return): Add pattern to match a29k-udi behavior.
1380 * gdb.base/nodebug.exp: Remove obsolete comment.
1381 * gdb.base/regs.exp: New file, testing of register displays.
1382 * gdb.base/return.exp: Fix typo in reference to $objdir.
1383 * gdb.base/whatis.exp: Always start with a fresh GDB.
1387 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
1388 higher, these tests generate a lot of output.
1392 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
1393 code following the catch silently ignored some errors; without the
1394 catch they should be thrown like any other tcl error. Also, the
1395 catch used "" instead of {} which meant all the callers who wanted
1396 to include one of the characters "[]$ had to quote it an extra time.
1397 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
1398 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
1399 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
1400 Remove extra quoting.
1404 * gdb.base/commands.exp: Make test names unique; every test either
1405 passes or fails. Update some comments.
1407 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
1411 The following fixes a FAIL caused by the fact that the alpha stabs
1412 configuration didn't use the ".if alpha" code in weird.def.
1413 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
1414 bit pointer, so the 32 bit version works even on the alpha.
1415 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
1416 Remove the stuff which allowed us to have separate versions for
1417 alpha and everything else.
1419 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
1420 regexp which "info func operator\[\](" is supposed to match. Fix
1421 string to send to GDB. Note that GDB still doesn't work right. Add a
1422 new test for "info func .perator\[\](" which GDB does handle correctly.
1424 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
1428 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
1429 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
1430 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
1431 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
1432 it makes the tests harder to understand and confuses test-o-matic.
1433 The preferred style is that each test provides a PASS or a FAIL,
1434 and has a unique message (e.g. "continue #54" not just "continue")
1435 which is the same for the pass and the fail.
1436 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1437 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
1439 * gdb.base/printcmds.exp: Use test_print_accept. Remove
1440 prt_accept which was basically the same thing. Likewise for
1441 test_print_reject and prt_reject.
1442 * lib/gdb.exp (test_print_reject): Add some more error message
1443 patterns to match from the former printcmds.exp (prt_reject).
1444 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
1445 One defect of the passcount stuff is that some of it failed to
1446 report XPASS where appropriate.
1447 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
1448 stuff before and after arg in expected pattern.
1449 (test_paddr_operator_functions): Re-do test without print_addr_of;
1450 this is the only test which seems to want extra stuff there.
1454 * gdb.base/nodebug.exp: Update new tests to reflect improved
1455 wording of gdb output.
1457 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
1458 and "ptype" work on variables in files compiled without -g.
1459 Replaces commented out "maint print msymbol" tests.
1463 * gdb.base/setvar.c (dummy): Call malloc.
1465 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
1466 losing with the irix4 sed.
1468 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
1473 * TODO: Remove items about corefile.exp testing new exec-file and
1474 backtrace; both are now done. Add items about printing enums.
1478 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
1479 "get signal $thissig" test fails.
1481 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
1485 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
1486 compiler warning with dec alpha compiler.
1488 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
1489 extra \n from gdb_test call (this explains why the prompt test
1490 that I removed yesterday was there).
1491 (user_defined_command_test): Remove extra \n and prompt test.
1493 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
1494 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
1496 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
1497 Also remove alpha workaround, which turns out to be because
1500 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
1502 * gdb.base/help.exp: Don't test "help show".
1506 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
1507 "set print address" is on.
1508 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
1509 pass prompt to gdb_test; gdb_test already looks for the prompt.
1511 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
1513 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
1514 was a vestige of the manual TESTSTRATEGY, and the purpose of it
1515 was to make sure that gdb can read a core file. But (a) the "read
1516 the corefile" part didn't make it to a1-selftest.exp, we just
1517 delete the corefile after creating it, and (b) we test reading
1518 corefiles in corefile.exp anyway. Also, this test left around a
1519 xgdb process on Solaris.
1521 * gdb.base/corefile.exp: Also test backtrace.
1525 * gdb.base/commands.exp: Test a simple user defined command with
1526 arguments and if/while statements; verify the full user command is
1527 printed by "show user".
1529 * gdb.base/commands.exp: Test if/while commands as part of a
1530 breakpoint command list; verify they appear in breakpoint
1535 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
1536 than by dividing by zero.
1540 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
1541 performing an inferior call with watchpoints enabled.
1542 * gdb.base/watchpoint.c (main): Delete second unnecessary read
1547 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
1550 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
1551 Add additional pattern for when "int operator int(void);" appears
1552 in a different order.
1556 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
1558 * gdb.base/help.exp: Replace most of docstrings for "info signals"
1559 and "signal" with ".*".
1563 * TODO: Add note about "handle all nostop".
1565 * gdb.base/{sigall.c, sigall.exp}: New test.
1566 * gdb.base/Makefile.in: Add it.
1570 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
1571 when invoking GDB, suppresses any windowing interface.
1575 * config/sim-gdb: New file, simulator testing support.
1579 * gdb.base/interrupt.exp: Test calling func1 twice.
1583 * gdb.base/list.exp (test_forward_search): Set timeout higher
1584 when we'll be getting lots of output from gdb.
1586 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
1587 "init_malloc" to after the expect statement. Run it if that
1588 regexp is taken, but also for two others which happen if source
1593 * gdb.base/printcmds.exp: New test, for printing register before
1598 * gdb.base/list.exp: Correct some alternate expect patterns
1599 to reflect changes in list1.c.
1603 * TODO: Add item regarding large frames.
1605 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
1607 * TODO: Remove item about enabling return.exp; it
1608 is enabled. Suggest a few more "return" tests.
1612 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
1617 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
1618 and pr-5646.o, so "make" is the same as "make all", not "make
1623 * gdb.base/list.exp: Adjust expectations to reflect changes in
1625 (test_forward_search): New test proc.
1626 * gdb.base/list1.c (long_line): New function, has long source line.
1630 * gdb.base/a1-selftest.exp: Change initial stepping to know about
1631 additional line of code that was added.
1635 * gdb.disasm/hppa.s: Break the large branching tests into smaller
1636 tests so as not to overflow expect's input buffers.
1637 * gdb.disasm/hppa.exp: Corresponding changes.
1641 Beginnings of template debugging tests.
1642 * gdb.c++/templ-info.cc: New file to test for template
1643 debugging capability of the compiler.
1644 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
1646 * gdb.c++/templates.cc: Add explicit template instantiations
1647 to enable compiling with -fno-implicit-templates. Add destructor
1648 and 'value' method to T5 class for template tests.
1649 * gdb.c++/templates.exp: Add testcases for printing of template
1650 types, setting breakpoints on template methods and calling a
1655 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
1656 branch target since some assemblers (gas-2.5) may emit a
1657 relocation for the branch instead of resolving it in the
1662 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
1663 through signal handler.
1667 * configure.in (*-*-netware): Use config/mt-netware.
1669 * config/mt-netware: New file.
1670 * config/mt-i386-netware: Removed, separate configs for different
1671 netware architectures are no longer needed now that we have
1676 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
1677 by the recent changes to use ANSI C arithmetic conversions.
1681 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
1682 bug involving using inferior_pid to figure out whether to select a
1687 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
1688 match the current disassembler output.
1692 * gdb.fortran/exprs.exp: Expect VOID instead of void.
1693 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
1694 types, expect "int" as type of integer values (for now).
1698 * gdb.base/commands.exp: New tests for if/while commands.
1702 * lib/gdb.exp (runto): Replace sub-pattern for hex value
1703 by .*, since hex values have different syntax in Chill mode.
1707 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
1708 linefeed from expect pattern for repeated types with indices > 9.
1712 First part of Fortran test suite.
1713 * gdb.fortran: New directory.
1714 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1718 * gdb.base/default.exp: Update expect pattern for load command
1723 * configure.in: Change i386 to i[345]86.
1724 * gdb.base/configure.in: Likewise.
1725 * gdb.c++/configure.in: Likewise.
1726 * gdb.chill/configure.in: Likewise.
1730 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
1731 patterns, since that is not a valid context for comments.
1735 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
1736 repeated types and repeated types with indices > 9.
1740 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
1741 2417; old bug has been fixed.
1745 * gdb.base/interrupt.exp: When trying to wake up the inferior,
1746 send the newline ourselves instead of assuming gdb_test will do
1747 so when passed an empty input string.
1749 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
1754 * lib/gdb.exp (gdb_test): Don't send anything if the first
1755 argument is an empty string. This makes cases where we want to
1756 match output that is already in expect's buffers (for example,
1757 matching a breakpoint after gdb_run_cmd has been called) work
1762 * config/netware.exp: New file.
1766 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
1767 the -B and -L prefixes so we can find the debugging stub.
1769 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
1770 there and we are using the gcc from the tree.
1772 * gdb.base/types.c: Removed.
1774 * gdb.base/configure.in: Look for makefile fragments in ../config.
1775 Recognize i386-*-netware.
1776 * gdb.c++/configure.in: Likewise.
1780 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
1781 the correct TCL syntax.
1785 * gdb.base/opaque.exp: use runto instead of messing around with
1786 breakpoints. Simplify by using gdb_test.
1788 * gdb.base/bitfields.exp: restart between tests on netware targets
1789 because breakpoints aren't relocated after target death. Run
1790 processes to completion.
1792 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
1796 * Makefile.in: Remove extra tabs that confuse some versions
1797 of "make". Use the newly built gdb to test with by default,
1798 rather than the first one in the tester's search path.
1802 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
1804 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
1809 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
1811 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
1813 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
1814 * gdb.base/funcargs.exp: Likewise.
1816 * gdb.base/bitfields.exp: Simplify by using gdb_test.
1817 * gdb.base/funcargs.exp: Likewise.
1819 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
1824 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
1825 return,signals,twice}.exp: Handle non-existant binaries
1828 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
1829 * gdb.base/Makefile.in: Don't try to generate a core dump, we
1830 might testing a cross development system.
1834 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
1835 runtest script is relative to ${srcdir}, not ${rootdir}.
1839 * gdb.base/signals.exp: Allow for optionality of breakpoint
1844 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
1848 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
1849 for size_t definition.
1850 * gdb.c++/templates.cc: Likewise
1852 * config/mt-i386-netware: New file.
1854 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
1857 * gdb.base/Makefile.in: Added support for systems that name core
1858 files by appending "core" to the program name.
1859 * gdb.base/a1-selftest.exp: Likewise.
1863 * gdb.base/return.exp: Add comment and message for `return double'
1864 test failure on Sparc Solaris.
1868 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
1872 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
1873 from optimizing them away.
1874 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
1875 patterns to include default constructors and assignment operators,
1876 to match gcc versions beyond 2.5.8. Accept any cplus demangling
1877 character in the output of the virtual base pointer.
1881 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
1882 expression match in print_addr_of to avoid unintented matches.
1883 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
1884 versions up to 2.5.8.
1888 * gdb.base/list.exp: Tweak alternate pattern for listing of an
1889 included file to run under newer versions of expect.
1890 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
1891 consecutive >'s in templates to accomodate recent cplus-dem.c change.
1892 Remove xfail for the virtual table of BDDHookV.
1896 * lib/gdb.exp (string_to_regexp): Set a default result.
1897 (default_gdb_start): Fix misleading message.
1901 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
1902 Remove all CC, etc definitions.
1903 * config/mt-hpux: New file.
1904 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
1905 (CFLAGS, LDFLAGS): Define.
1906 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
1908 * Makefile.in (site.exp): Don't insert host_os, etc.
1909 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
1910 (distclean): Check existence of subdir.
1911 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
1912 * gdb.base/Makefile.in: General cleanup and simplification.
1913 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1914 to build executables. Use default rule to build .o files.
1915 (EXPECT, RUNTEST, CC): Fix relative pathname.
1916 (site.exp): Don't insert host_os, etc.
1917 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
1918 and/or SIGUSR1 defined.
1919 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
1920 * gdb.c++/Makefile.in: General cleanup and simplification.
1921 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1923 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
1927 * gdb.base/recurse.exp: Misc changes to get tests running again
1928 after Kung's changes to the watchpoint code.
1929 * gdb.base/watchpoint.exp: Likewise.
1933 * lib/gdb.exp (string_to_regexp): Convert {\} also.
1937 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
1938 * lib/gdb.exp (default_gdb_start): Define.
1939 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
1940 gdb.base/funcargs.exp, gdb.base/opaque.exp,
1941 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
1942 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
1943 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
1944 Don't call gdb_target_udi in between tests.
1948 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
1949 (which was basically just a local version of the same thing). In
1950 addition to avoiding duplication, gdb_test_exact is faster.
1951 * lib/gdb.exp (gdb_test_exact): Fix typo.
1953 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
1954 don't give an error.
1956 * gdb.base/term.exp: Call delete_breakpoints before starting.
1958 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
1963 Reorganization of the GDB Test Suite.
1965 * gdb.base: New directory, contains all the basic tests.
1966 * gdb.c++: New directory, tests specific to C++.
1967 * gdb.chill: New directory, tests specific to Chill.
1968 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
1969 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
1970 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
1971 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
1972 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
1974 * */gdbme.*: Rename to match appropriate expect scripts.
1975 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
1976 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
1977 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
1978 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
1979 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
1980 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
1981 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
1982 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
1983 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
1984 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
1985 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
1986 gdb.c++/virtfunc.cc: New names of C++ files.
1987 * gdb.chill/chillvars.ch: New name of Chill file.
1988 * gdb.base/configure.in, gdb.c++/configure.in,
1989 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
1990 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
1991 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
1992 * configure.in (configdirs): Update to reflect directory changes.
1993 (target_abbrev): No longer define for any configuration.
1994 * Makefile.in: Cosmetic improvements to header comments.
1998 Various changes to gdb.t31:
2000 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
2001 * gdbme.ch: Make all key-words and predefineds be upper-case.
2002 * chillvars.exp: Expect key-words and predefinds in upper-case.
2004 * chillvars.exp: Use gdb_test_exact many places.
2005 Change expected output for arrays (which now includes index labels).
2007 * pr-5020.exp, gdme.ch (module PR_5020):
2008 New test, for PR-5020.
2012 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
2013 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
2017 * Makefile.in: Fix bit-rot in definitions of CHILL,
2018 CHILL_FOR_TARGET and Chill_LIB.
2019 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
2020 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
2021 CHILL, and CHILL_LIB.
2025 * Revert the previous changes. Please see Rob's directory
2026 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
2030 * Makefile.in, configure.in, config/mips-gdb.exp,
2031 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
2032 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
2033 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
2034 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
2035 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
2036 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
2037 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
2038 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
2039 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
2040 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
2041 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
2042 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
2043 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
2044 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
2045 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
2050 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
2051 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
2052 Rob's new testing fragments.
2056 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
2057 lib/gdb.exp: Replace error proc calls with perror.
2061 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
2062 version also, match on casted version strings, and match on
2063 gdb startup case where the line numbers might be messed up.
2067 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
2068 (CFLAGS): Delete it from here.
2072 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
2076 * Makefile.in (RUNTEST): Default to just "runtest".
2080 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
2081 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
2082 the code has been restructured.
2086 * gdb.t00/default.exp (set write): Allow any number of \r and/or
2087 \n, not just one of each.
2089 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
2090 /bin/cc gives a warning if you do.
2094 * gdb.t24/demangle.exp: change expect pattern of
2095 __t10ListS_link1ZUiRCUiPT0
2099 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
2100 on local variables in recursive functions.
2102 * gdb.t07/Makefile.in: Build the new test.
2106 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
2107 directly. Instead compare the return values from actual calls.
2111 * Makefile.in (check): Set TCL_LIBRARY for runtest.
2115 * From Peter Schauer with minor modifications.
2116 * gdb.t15/return.exp (return_tests): Handle targets where "return"
2117 stops in mid-line in the caller. Add xfail for returning a float
2118 value on X86 targets.
2122 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
2123 to avoid expect lossage.
2124 (fmem_LRbug_tests): Likewise.
2125 * gdb.disasm/hppa.s: Corresponding changes.
2127 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
2128 conditions to work with latest dejagnu/expect.
2130 * gdb.t15/funcargs.exp (finish from indirect call): No longer
2131 expected to fail on the PA.
2132 (backtrace in call with trampolines): Explicitly require main
2133 to be frame #1 (no trampolines should show up in backtrace).
2135 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
2137 * gdb.t06/break.exp: Likewise.
2138 * gdb.t07/watchpoint.exp: Likewise.
2139 * gdb.t13/bitfields.exp: Likewise.
2140 * gdb.t15/{funcargs,return}.exp: Likewise.
2141 * gdb.stabs/weird.exp: Likewise.
2142 * config/{mips,udi}-gdb.exp: Likewise.
2144 * hppa.sed: Enclose comments within a sed command to avoid
2145 losing with the old OSF1 sed.
2149 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
2151 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
2152 * gdb.t15/funcargs.exp: Conditionally step again to really
2153 finish from marker_call_with_trampolines. Handle the case where
2154 the first step from within call_with_trampolines already steps
2156 * gdb.t15/gdbme.c: Add comment to closing brace of
2157 call_with_trampolines for funcargs.exp.
2161 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2166 * gdb.t07/gdbme.c: More code for watchpoint testing.
2168 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
2169 "Hardware watchpoint" throughout file.
2170 (test_watchpoint_triggered_in_syscall): New test.
2171 (test_complex_watchpoint): New test.
2175 * gdbme.c (call_with_trampolines): New function to try and step
2176 into. Tests trampoline problems on the PA.
2178 * funcargs.exp (localvars_in_indirect_call): No longer expect
2179 stepping into indirect call to fail on PAs.
2180 (test_stepping_over_trampolines): New test.
2184 * TODO: Add suggestions for static member function tests, and
2189 * TODO: Add suggestions for "p/a" tests.
2191 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
2192 (default_gdb_exit): Replace all the hair with sending "quit" to
2193 the process with a simple close.
2197 * TODO: Add suggestions for shared library tests.
2201 * TODO: Add suggestions for x/s tests.
2205 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
2206 "enable once", and "enable breakpoints once" with ".*".
2210 * TODO: Add suggestions about structure passing tests.
2214 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
2215 the primary1 test, use work around if __GNUC__ < 2.
2216 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
2217 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
2218 Test for bad output rather than waiting for timeout. Issue
2219 second continue only if first continue failed.
2223 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
2224 operator[] test with gdb_test because the old code didn't seem to
2225 be getting the quoting right with the new dejagnu.
2229 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
2231 * Makefile.in: Use a fresh expect if there is one, use runtest
2232 from the src tree if there is one.
2236 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
2237 next over recursive call. Revise the tests from that point on
2238 (which had been skipped) to match GDB's actual (correct) output.
2240 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
2241 with next over a breakpoint whose condition is false.
2243 * gdb.t00/help.exp: Comment out "help set print" tests just like
2244 (and for same reason as) "help set" test.
2248 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
2249 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
2253 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
2254 necessary gdb_target_udi.
2256 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
2258 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
2259 1838 and 2417; they are fixed.
2261 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
2262 gdb.t03/ptype.exp (ptype structure, ptype union):
2263 Remove xfails; the test is looser than when the xfails were added.
2265 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
2266 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
2268 * gdb.t01/run.exp: Only run shell test if isnative.
2270 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
2271 since "run" automatically loads if necessary. Call gdb_target_udi
2272 after the "file" since "file" kills any execution target.
2274 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
2275 GDB. GDB doesn't work that way (not anymore at least) on UDI.
2276 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
2281 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
2283 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
2287 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
2288 properly quoting regexps. This makes the second argument to
2289 demangle a fixed string, which matches the callers, instead of a
2290 shell-style pattern which is what the previous implementation
2291 used. Update some of the callers.
2295 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
2296 (comib_nullified_tests): Fix typo.
2297 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
2298 strings. No longer expected to fail.
2300 * gdb.disasm/hppa.s (addib_tests): Fix typo.
2301 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
2302 strings. No longer expected to fail.
2304 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
2305 string. No longer expected to fail.
2309 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
2310 No longer expected to fail.
2312 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
2313 string. No longer expected to fail.
2317 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
2318 only in the names (I probably got most of them). I was even
2319 generous with some which differed in underscores in names, and
2320 probably missed a few, and I *still* was able to remove almost a
2321 third of the file with almost no impact on testsuite coverage.
2325 * gdb.t00/default.exp: Match udi_attach error message as well as
2326 the one from child_attach.
2328 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
2330 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
2332 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
2333 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
2335 * Move test with enums and partial symbols back to
2336 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
2337 Reverts the change of 26 May 93. Per today's change to
2338 stabs.texinfo, the behavior that weird.exp was expecting was
2339 unreasonable; what is important is that the compiler+gdb get
2340 things right, which happens with a recent gcc. Also fix the test
2341 to deal with native compilers which put out the stab gdb can't
2346 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
2347 in the names. The main thing these accomplish is to slow things down.
2348 Many more such duplicates surely remain.
2350 * gdb.t00/help.exp: Comment out "help support" test just like
2351 (and for same reason as) "help set" test.
2355 * gdb.t06/break.exp: Remove setup_xfails for
2356 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
2357 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
2358 about known bug in gcc to include up through 2.5.8.
2359 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
2361 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
2362 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
2363 with latest gcc and gdb.
2364 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
2369 * configure.in (hppa*-*-*): Also configure and build stabs-only
2374 * gdb.t10/hppa.mt: A makefile fragment for the PA.
2375 * gdb.t10/configure.in (hppa*-*-*): Use it.
2379 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
2383 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
2384 versions prior to 1.13.5.
2388 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
2389 the prompt is at the start of a line.
2393 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
2394 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
2395 in the copr tests now.
2396 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
2397 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
2402 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
2403 gdb.t31/chillvars.exp, lib/gdb.exp:
2404 Tweak to run under either version of expect.
2405 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
2406 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
2407 * gdb.t11/list.exp: Remove extraneous whitespace.
2411 * gdb.t16/printcmds.exp (test_print_strings): Accept
2412 "(unsigned char *) " before the string.
2414 * TODO: Add notes about printing of fancy types and GDB expressions.
2418 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
2419 * gdb.t06/configure.in: Don't try to compile signals test program
2420 if doing mips-idt-ecoff.
2424 * Most .exp files: Tweak to run under either version of expect.
2428 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
2429 xfails; I'm not sure why they are failing, but not because of PR 1806.
2433 * config/unix-gdb.exp: Remove gdb_unload cause it's already
2434 defined in lib/gdb.exp.
2438 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
2439 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
2440 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
2441 have to be typeless.
2445 * TODO: Add suggestion for copyright year test.
2449 * configure.in (*-*-lynxos*): Add stabs tests.
2453 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
2454 so insert a tab before any assembler directive in column zero.
2456 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
2458 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
2460 (fpu_short_memory_tests): Likewise.
2464 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
2465 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
2466 .stabs directives in comments.
2470 * TODO: New file, describing tests we could write.
2471 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
2475 * gdb.t06/signals.exp: Add kludge to force re-sync.
2477 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
2478 to xgdb instead of gdb, get out of gdb.
2482 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
2487 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
2488 * gdb.stabs/configure.in (hppa*-*-*): Use it.
2489 * gdb.stabs/hppa.sed: New sed script for the PA.
2493 * gdb.stabs: Re-write weird.def and configuration to use sed
2494 instead of cpp. sed is portable and POSIX; cpp is neither.
2498 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
2502 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
2506 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
2508 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
2509 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
2513 * lib/gdb.exp: Comment out code which depends on non-existent
2514 `transform' procedure.
2518 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
2519 * lib/gdb.exp: Transform tool name.
2520 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
2521 1.1's new error handling system.
2525 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
2529 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
2530 They made pattern matching so slow that timeouts happened on
2531 heavily loaded systems. Now any output from "show print" which
2532 gets us back to the GDB prompt is a PASS.
2534 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
2536 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
2540 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
2542 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
2543 It is not from PR 3220.
2547 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
2548 just started failing because they depended on the order the
2549 subcommands are presented, or exact docstring text. This kind of
2550 test is a pain and has minimal benefit.
2554 * gdb.t09/corefile.exp: At end of test, use "core" command with
2557 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
2559 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
2560 17}/Makefile.in: Make it possible to run the testsuite with Sun
2561 make and CC = cross gcc by adding explicit build rules for .o
2566 * gdb.t15/funcargs.exp: Don't put comments on same line as
2567 setup_xfail (@#$*%& tcl braindamage!).
2571 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
2575 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
2576 * gdb.t20/inherit.exp: remove three dumplicate entries.
2580 * gdb.t06/break.exp: For "next over recursive call", fail on any
2581 incorrect output, not just on "factorial (value=2)".
2585 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
2586 working now. Add an xfail if accesing a bss variable causes
2587 a memory error if the target is not yet run.
2591 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
2592 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
2593 name of __st* demangling (2 strings). Did Kung really get the
2594 more than 95 others right without testing them?
2598 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
2602 * configure.in (configdirs): Add gdb.disasm
2603 * gdb.disasm: New directory for GDB disassembler tests.
2604 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
2608 * gdb.t00/help.exp: Don't test "help set".
2610 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
2611 from within expect statements. None of these happen anymore and
2612 they cause regressions to be silently unnoticed.
2614 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
2615 messages) about known failures with gcc cygnus-2.4.5-930417.
2617 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
2618 comp-info.exp so it gets built if it doesn't exist.
2620 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
2621 it is no longer used.
2622 * gdb.t13/comp-info.c: Removed.
2626 * gdb.t06/signals.exp: Add xfail for sun3.
2630 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
2631 relevant because ^C doesn't get sent but failure can be reproduced
2636 * gdb.stabs/alpha.mt: New configuration file for alpha.
2637 * gdb.stabs/configure.in: Use it.
2638 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
2639 sharing with alpha.mt, redefine long to word via preprocessor.
2640 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
2642 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
2644 * gdb.t00/teststrategy.exp: Change expect string so that we
2645 consume the `(xgdb)' from the command echo and from the gdb prompt.
2646 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
2647 gdb currently compares all values as long, so this failure probably
2648 applies to any configuration where LONGEST is bigger than a target int.
2649 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
2651 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
2652 to handle opaque pointers, gcc is.
2653 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
2654 as first argument. Include <sys/types.h> and change all operator
2655 new definitions to use size_t.
2656 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
2657 now that we use size_t.
2661 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
2662 a long or float array cast all array members to the same type.
2663 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
2665 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
2667 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
2671 * gdb.t24 (demangle.exp): Constructors of templates have names like
2672 vector<int>::vector(int) not vector<int>::vector<int>(int). See
2673 section 14.6 of the ARM.
2675 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
2676 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
2677 accomplish little and slow down the testsuite.
2679 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
2680 Accept spaces various places.
2684 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
2685 with watchpoint enabled.
2687 * Makefile.in: Remove definition of CC and remove the second
2688 definition of CXX (the "CXX = gcc" one remains). These definitions
2689 were causing backquotes to be expanded within backquotes, which
2694 * gdb.t17/callfuncs.exp: Add "return 0" to end.
2698 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
2699 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
2700 by mips cc and contains no stabs entries.
2704 * config/vx-gdb.exp: Use fake device to load files rather than
2706 * lib/gdb.exp: New proc to do "file" command.
2707 * config/unix-gdb.exp: Use new "file" proc.
2711 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
2712 Rework board rebooting slightly.
2713 (gdb_exit): Don't exit from the remote shell; there isn't one.
2714 * gdb.stabs/weird.exp: If a program is being debugged already,
2716 * gdb.t04/setvar.exp: Stop and restart gdb.
2717 * gdb.t05/expr.exp: Likewise.
2718 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
2719 restart gdb and reload the program.
2720 * gdb.t08/opaque.exp: Likewise.
2721 * gdb.t12/scope.exp: Likewise.
2722 * gdb.t13/bitfields.exp: Likewise.
2723 * gdb.t15/funcargs.exp: Likewise.
2724 * gdb.t20/classes.exp: Likewise.
2725 * gdb.t03/ptype.exp: Increase timeout.
2726 * gdb.t16/printcmds.exp (test_print_string_constants,
2727 test_print_array_constants): Likewise.
2728 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
2729 * gdb.t20/classes.exp (do_tests): Likewise.
2730 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
2734 * gdb.stabs: Renamed *wierd* to *weird*.
2738 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
2739 for timeout. Add "known gcc 2.4.5 bug" to failure message.
2743 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
2744 (do_tests): Remove xfail for whatis on one_var and two_var.
2748 * Makefile.in: Made cross building work better by adding
2749 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
2753 * gdb.t15/{return.c,return.exp,Makefile.in}:
2754 New test, currently commented out.
2758 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
2759 still running and removes the leftover named socket so GDb can do
2764 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
2766 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
2767 cross testing works better with "make check"
2768 * config/unix-gdb: Use default procedures for exit and version.
2769 * config/vx-gdb.exp: Cleaned up and massaged back to working order
2770 with the newest VxWorks.
2774 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
2777 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
2778 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
2780 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
2782 * config/unix-gdb.exp: Remove this version of gdb_exit
2783 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
2784 Rob says he'll look at it when he gets back to testing boards.
2788 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
2789 an expected fail for certain ptype commands.
2791 * gdb.t20/classes.exp: Update expected results of "ptype class
2792 Base1" to account for the constructor that now appears in the type.
2796 * configure.in (configdirs): Restore gdb.t04, which mysteriously
2797 disappeared from list.
2798 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
2799 "alldone" proc with call to cleanup and exit.
2800 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
2801 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
2802 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
2803 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
2804 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
2805 "alldone" proc with simple returns that suppress remaining
2806 tests. The alldone proc went away many months ago.
2810 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
2812 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
2816 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
2817 as vax gdb will display them.
2821 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
2824 * scope.exp: Change "bad value for localval" messages so each one
2827 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
2828 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
2830 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
2834 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
2835 doesn't exist (due to optimization).
2839 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
2840 contains \r because the filename is long.
2842 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
2843 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
2847 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
2848 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
2850 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
2852 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
2856 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
2858 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
2859 to match does not match the passing case but still matches the
2864 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
2868 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
2869 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
2870 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
2871 Remove various versions of gdb_exit.
2872 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
2874 * config/unix-gdb.exp: gdb_exit remains here, and should override
2875 the generic version, since it's doing a lot of wierd stuff that
2876 the other versions aren't. FIXME, fold it in, or abandon this
2881 * gdb.t24/demangle.exp: Add tests for PR 3220.
2885 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
2889 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
2890 "i386-*-*". Works for i486 as well.
2892 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
2893 bug, and expand domain of xfail to all SVR4 systems, since the
2894 actual problem is likely to be in generic SVR4 /proc support.
2898 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
2902 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
2903 xfails for other systems. Match a missing 'Continuing.' as an
2904 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
2906 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
2907 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
2908 Only issue warning for missing executables if -all option is used.
2910 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
2911 file if -all option is used. It's like an unpredictable XFAIL.
2915 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
2916 for dynamically linked binaries.
2918 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
2922 * gdb.t20/inherit.exp: Change message for "print tagless struct"
2923 to state that this is a known bug in old versions of g++.
2927 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
2928 while waiting for `Continuing'.
2932 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
2933 in text, data, and bss.
2934 * gdb.t10/nodebug.c: Add local and global test variables for
2935 initialized and uninitialized data.
2939 * config/unix-gdb.exp (gdb_exit): Add "wait".
2943 * gdb.t06/signals.exp: xfail the continue from the handler for all
2946 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
2947 function with watchpoints enabled, the i386 call dummy starts with
2950 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
2951 386 bsd names its corefiles.
2955 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
2956 compilers don't grok it.
2957 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
2958 with small octal ints rather than character constants, which
2959 are signed and might not fit if first promoted to int.
2963 * gdb.t09/Makefile.in (clean): Remove corefile.
2967 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
2972 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
2973 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
2974 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
2978 * gdb.t17/interrupt.exp: Add xfail for hppa.
2982 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
2983 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
2984 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
2985 to determine signed-ness of bitfields and use the result to setup
2987 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
2988 * gdb.t15/funcargs.exp: Use them to step until the second indirect
2989 call line is reached if necessary.
2993 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
2997 * gdb.t06/break.exp: Also test `clear' command.
3001 * gdb.t00/teststrategy.exp: Remove extra quote.
3003 * gdb.t07/watchpoint.exp: Change xfail for calling function with
3004 watchpoint enabled to be for all non-68k machines.
3006 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
3010 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
3011 targets use aout.mt instead of ecoff.mt as gas understands
3012 standard aout format.
3016 * lib/gdb.exp (runto): Don't insist that function we are running to
3017 was compiled with -g.
3019 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
3021 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
3022 to get back into the read system call.
3023 Accept leading newline in case where we woke it up.
3027 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
3028 to make the stabs test work on ecoff systems using gcc and -with-stabs.
3029 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
3030 enable ecoff configuration.
3034 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
3038 * gdb.t16/printcmds.exp: Add another printf test.
3042 * configure.in: If configured -with-stabs on any target, add
3043 stabsdirs to configdirs.
3047 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
3048 fun" so pattern does not match the command itself.
3052 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
3056 * gdb.t17/interrupt.exp: Test for more things.
3060 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
3061 compiler arranges the code and line numbers.
3063 * gdb.t17/interrupt.exp: Don't send \n after ^C.
3067 * gdb.t00/help.exp: Increase expect input buffer size.
3071 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
3073 * gdb.t07/watchpoint.exp: Add xfail for hppa.
3075 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
3077 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
3078 [0-9]*, not just [0-9].
3082 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
3084 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
3088 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
3092 * gdb.t06/signals.c: Add xfails for sun3.
3094 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
3096 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
3097 test_stepping tests.
3101 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
3103 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
3105 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
3106 rather than actually putting it through cpp twice.
3108 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
3112 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
3117 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
3119 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
3120 C++ features prints as "struct", make it a pass, not an xfail.
3124 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
3125 Don't require VA to print as "class" rather than "struct".
3129 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
3133 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
3137 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
3142 * gdb.t16/printcmds.exp: Add printf tests.
3144 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
3146 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
3150 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
3151 pass counts, to counteract any existing or future setup_xfails.
3155 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
3156 {BEGIN,END}_COMMON for common block instead of STAB.
3157 * gdb.stabs/wierd.exp: Add xfail for rs6000.
3159 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
3160 intp_var should be N_GSYM not N_LSYM.
3161 wierd-aout.S: Use a label for the value of the N_SO.
3162 wierd.def: Remove all backslashes.
3163 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
3167 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
3168 get the expected next to inheritance3.
3172 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
3173 now that gcc-2.4 gets it right.
3177 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
3179 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
3180 generating comp-info.exp which works for cross-compilation.
3184 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
3189 * gdb.t01/run.exp: Start with a fresh gdb.
3190 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
3195 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
3196 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
3197 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
3198 Makefile.in (distclean, realclean): Remove gdbme.c from list of
3203 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
3204 test cases from bug reports.
3208 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
3209 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
3210 avoid spurious xfails.
3211 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
3212 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
3213 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
3217 * gdb.t00/teststrategy.exp: Rework to provide more useful
3218 description of each test, fix problem with systems that define
3219 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
3220 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
3221 results for "next over recursive call" so timeouts aren't taken
3226 * gdb.t12/scope.exp: Test printing of variables before run.
3228 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
3229 printed in wrong order due to sorting.
3233 * gdb.t00/teststrategy.exp: Fix expected results for printing
3234 user entered string constant. Is array of char, prints with no
3237 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
3239 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
3240 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
3241 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
3242 of struct of char arrays.
3243 * gdb.t00/radix.exp: New tests for radix commands.
3247 * gdb.t16/printcmd.exp: Print a variable before running program
3248 (with xfail for AIX).
3252 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
3254 * gdb.t16/printcmd.exp: Don't print variables before running program.
3256 * gdb.t06/break.exp: Don't require envp argument to main.
3258 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
3260 * gdb.t02/whatis.exp, gdb.t11/list.exp:
3261 Add xfails for rs6000.
3263 * gdb.t02/whatis.exp: Change other tests not to re-test something
3266 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
3267 each type used has a variable of that type.
3271 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
3273 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3275 * configure.in: change srctrigger to be a file, not a directory
3279 * configure.in (mips-idt-ecoff*): Added trailing '*'.
3281 * gdb.t11/list.exp: Fixed a couple of typos.
3285 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
3286 is fixed and PR is closed.
3287 * gdb.t16 (gdbme.c): Add simple test string variable.
3288 * gdb.t16 (printcmds.exp): Add tests with simple test string
3289 variable, primarily for boundaries on "set print elements".
3293 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
3294 Make leading 0's optional and don't expect a tab in the middle
3297 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
3299 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
3300 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
3301 don't end command passed to gdb_test with newline.
3303 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
3304 signed keyword away, don't expect signed bitfields to be signed.
3306 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
3307 printing with only as many 1's as are in the field as well as printing
3308 with 32 1's (see comment).
3312 * gdb.t00/default.exp: Start with a fresh gdb.
3313 * configure.in (configdirs): Remove gdb.t31 until the chill
3314 compiler works again. It no longer is able to find chillrt0
3315 since it isn't in libchill.a anymore.
3316 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
3317 wierd.o, make more modular.
3318 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
3319 spurious newlines that caused problems.
3323 * Move test with enums and partial symbols from gdb.t03/ptype.exp
3324 to gdb.stabs/wierd.exp since GCC has worked around the bug.
3325 gdb.stabs/wierd.{exp,def}: Many new tests.
3327 * gdb.t00/default.exp: update info line for new message.
3329 * gdb.t02/{whatis.exp,gdbme.c}:
3330 Test that "char *" doesn't print as "caddr_t".
3334 * gdb.t00/help.exp: Use .* in place of some help messages which
3336 gdb.t00/default.exp: Update "info frame" test for new message.
3337 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
3342 * gdb.t03/{gdbme.c,ptype.exp}:
3343 Add tests for typedef'd struct and union without tags.
3344 Also check "whatis" on a variable of a typedef'd enum without a tag.
3346 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
3347 PRMS 1823; the bug still exists but isn't reproduced by this test
3348 anymore), and remove rs6000 XFAIL (the bug is fixed).
3350 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
3351 duplicated from whatis.exp. For those that are left, accept
3352 "long", "long int", or "int" for long variables (whatis.exp already
3353 has an XFAIL for "int", so no need to fail it here).
3355 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
3356 Deal with GCC's names for types now that GDB uses the compiler's names.
3358 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
3359 setup_xfail's for sunos4. If we #defined the signed keyword away,
3360 don't expect GDB to know that char it is signed.
3362 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
3366 * configure.in (configdirs): Add gdb.t24 for C++ tests that
3367 should work on any system, regardless of debugging format.
3368 * gdb.t21/demangle.exp: Move to gdb.t24.
3369 * gdb.t24/demangle.exp: Move from gdb.t21.
3370 * gdb.t24/{Makefile.in, configure.in}: New files.
3374 * configure.in: Do gdb.stabs and C++ tests only for stabs.
3375 * gdb.stabs: New directory.
3379 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
3380 not just "Quit anyway?".
3384 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
3385 that all setup_xfails are immediately followed by clear_xfails.
3389 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
3390 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
3391 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
3392 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
3393 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
3394 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3395 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3396 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
3397 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
3398 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
3399 gdb.t31/chillvars.exp, lib/gdb.exp:
3405 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
3406 with 0.0, not integer 0.
3410 * gdb.t06/break.exp: Update for "Kill the program" message change.
3414 * Makefile.in (GDBFLAGS): Set to -nx.
3415 * Makefile.in (site.exp): Use GDBFLAGS.
3419 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
3421 (check): depend on just-check.
3422 (just-check): added so that tests can be run without a noop
3427 Switch to using configure's configdirs.
3428 * Makefile.in (Makefile): add configure.in dependency.
3429 (SUBDIRS): removed redundant assignment.
3430 * configure.in: switch subdirs assignment to configdirs.
3431 * gdb.t*/configure.in: new files.
3435 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
3440 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
3441 in explicit rules. Apparently this is not supported by some makes.
3445 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
3449 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
3454 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
3458 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
3459 watchpoint problem that is now fixed.
3460 * gdb.t30/chexp.exp: Remove setup_xfail for printing
3461 uninitialized convenience variables.
3462 * gdb.t31/chillvars.exp: Fix expected patterns for printing
3467 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
3468 which causes expect to get out of sync with gdb on long output
3470 * gdb.t09/corefile.exp: Make expected pattern for core file
3471 failing signal and frame output format less sun specific.
3475 * gdb.t31/chillvars.exp: Add and remove initial dummy
3476 breakpoint, so that symbol table is forced in.
3477 (Needed at least on Sunos4, though it seems not SVR4.)
3478 * gdb.t31/chillvars.exp: Update for changed output format.
3480 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
3482 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
3486 * Makefile.in: Added --srcdir when invoking runtest, removed the
3487 need for a local config file. (optional now)
3491 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
3492 failure count used to force early termination. Add some more
3493 expected failures for gnu style demangling.
3497 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
3498 pmi variable from gdb.t20/gdbme to get optimized away.
3499 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
3500 Check for written corefile upon timeout _and_ eof.
3504 * config/unix-gdb.exp: Add missing return 0.
3508 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
3513 * configure.in (subdirs): Put back gdb.t17 which mysteriously
3518 * gdb.t10/crossload.exp: Disable the i860-elf test until such
3519 time as i860 support works.
3521 * gdb.t15/funcargs.exp: Fix expected outputs to include
3522 "backtrace 100\r" rather than just "backtrace\r", to match last
3527 * config/udi-gdb.exp (gdb_exit): Remove close command.
3528 (gdb_target_udi): New procedure to set the UDI target.
3529 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
3530 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
3531 Added waits for prompts after several question responses. Added
3532 some more responses used by a29k-amd-udi-gdb.
3533 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
3534 pass different arguments, restart UDI connection after program
3536 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
3537 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3538 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
3539 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
3540 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
3541 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
3542 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3543 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
3544 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
3545 after program completion.
3546 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
3547 compiled with a SELECT_VECS setting.
3548 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
3551 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
3552 Added checks for COFF results, and made them expected failures for
3553 all targets. It would be better to make them expected failures
3554 for COFF targets only.
3556 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3558 * Makefile.in: add null dvi target, don't bother to recurse
3559 through test directories for info and install-info; rename
3560 $(datadir) to be dejagnu instead of deja-gnu
3564 * gdb.t31/gdbme.ch: Re-enable code that previously caused
3565 compiler to coredump.
3566 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
3571 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
3573 * gdb.t31/chillvars.exp: Comment out tests that depend on that
3576 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
3578 * gdb.t03/ptype.exp: tests for return code from gdb_test.
3579 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
3580 which in a shell. Deletes xgdb when done.
3581 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
3582 Tests the return from the "set height" or "set width" commands.
3583 Added a few return codes where needed.
3587 * Makefile.in (SUBDIRS): Add gdb.t17.
3588 * configure.in (subdirs): Add gdb.t17.
3589 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
3590 files to test gdb's calling of functions in the inferior with
3591 the correct arguments and gdb's ability to retrieve any
3596 * config/unix-gdb.exp (gdb_exit): Remove close commands that
3597 may be called after gdb goes away. Previous versions of expect
3598 needed these to avoid file descriptor leaks, but they cause
3599 errors with the current revision of expect.
3600 * gdb.t00/gdbvars.exp: Use -re on expected output after
3601 setting sevenbit-strings.
3602 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
3603 to set sevenbit-strings consistent across tests.
3604 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
3605 set sevenbit-strings consistent across tests.
3609 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
3610 expected output to match current "expect" expectations.
3614 * gdb.t00/default.exp: Change expected output for default "source"
3615 command, to match new gdb behavior which requires a filename to
3620 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
3621 expected fail for i486-*-* that misses the marker2 function.
3622 * gdb.t10/crossload.exp (bfddefault): Allow successful
3623 recognition of a format to pass even if no symbols are found.
3624 Explicitly catch failures where the format is not recognized
3625 or is ambiguous, and add the reason to the fail message.
3626 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
3627 the cause is and invalid target and add reason to failure message.
3628 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
3629 elf32-i386, elf32-sparc, and elf32-i860.
3630 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
3631 Set up expected failure for 'filename'::variable scope resolution,
3632 which is now apparently broken on all targets.
3633 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
3634 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
3635 gdb.t23/templates.exp: Change failure for missing binfile into
3637 gdb.t21/demangle.exp: Change all cfront references to 'arm'
3642 * gdb.t00/default.exp: Add expected output for default "source"
3643 command, to match new gdb behavior.
3644 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
3648 * config/*-gdb.exp: returns an error, rather than exiting on
3653 * gdb.t03/gdbme.c: Add pointer to struct variable.
3654 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
3655 referencing struct members.
3659 * configure.in (mips-idt-ecoff): New target.
3660 * config/mips-gdb.exp: New file for remote board using MIPS remote
3663 * Redid configuration scheme. Removed gdb.t*/configure.in.
3664 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
3665 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
3666 distclean targets. Built executables via .o files. Adjusted
3667 tests to account for source files in $(srcdir) rather than
3669 * lib/gdb.exp (runto): Don't expect () after the function name,
3670 because it may have arguments.
3674 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
3675 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
3676 expected failures for mips-idt-* and mips-sgi-*.
3677 * gdb.t00/default.exp (attach): Kill process if requested.
3678 * gdb.t00/help.exp (help target core, help target): Accept a gdb
3679 that does not read core files.
3680 * gdb.t01/run.exp: Removed checks for exit status code.
3681 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
3683 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
3684 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
3685 appropriate, rather than doing it by hand.
3686 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
3688 * gdb.t10/crossload.exp: Kill existing program if needed.
3689 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
3690 appropriate, rather than doing it by hand. Always increase
3691 timeout for this test, not just for VxWorks.
3695 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
3696 of Chill STRUCT types and STRUCT values.
3697 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
3699 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
3700 struct2): New struct definitions and initializations to test
3701 simple Chill STRUCT types.
3705 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
3706 the null byte at the end of strings.
3707 * gdb.t00/default.exp: Make show version insensitive to copyright
3709 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
3710 to avoid dependencies on target char signedness.
3711 * gdb.t16/printcmds.exp: Update expected results for explicitly
3713 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
3715 * gdb.t21/demangle.exp: Add many more patterns for template
3716 demangling, most of them being expected failures.
3717 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
3718 string we are matching for, to match on the whole string.
3719 * gdb.t21/demangle.exp: Add many new test strings to demangle,
3720 and fix a whole bunch that had incorrect expected output but were
3721 passing anyway because of the bug in "proc demangle".
3722 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
3724 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
3728 * gdb/testsuite: made modifications to testcases, etc., to allow
3729 them to work properly given the reorganization of deja-gnu and the
3730 relocation of the testcases from deja-gnu to a "tool" subdirectory.
3734 * gdb/testsuite: Initial creation of gdb/testsuite.
3735 Migrated dejagnu testcases and support files for testing nm to
3736 gdb/testsuite from deja-gnu. These files were moved "as is"
3737 with no modifications. This migration is part of a major overhaul
3738 of dejagnu. The modifications to these testcases, etc., which
3739 will allow them to work with the new version of dejagnu will be
3740 made in a future update.
3746 version-control: never