1 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
3 * gdb.base/fileio.exp: Run only on remote targets.
5 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
7 * gdb.base/fileio.c: New file, testing File-I/O.
8 * gdb.base/fileio.exp: Ditto.
10 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
12 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13 shared objects after relocation at load time (gdb PR/1132).
14 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
15 as above, part of the shared object relocation test.
17 2003-06-08 Mark Kettenis <kettenis@gnu.org>
19 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
20 fully filled history list.
21 * gdb.base/gdb_history: New file.
23 * gdb.base/signals.exp: XFAIL "continue to func1" on
26 * gdb.base/attach.exp: When trying to attach to a nonexistent
27 process, make it possible to specify the PID based on the target,
28 and do so for *-*-freebsd*.
30 2003-06-02 Richard Henderson <rth@redhat.com>
32 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
34 2003-06-02 Richard Henderson <rth@redhat.com>
36 * gdb.base/selftest.exp: Next over lim_at_start initialization.
38 2003-06-02 Richard Henderson <rth@redhat.com>
40 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
42 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
44 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
47 2003-06-01 Mark Kettenis <kettenis@gnu.org>
49 * gdb.asm/asm-source.exp: Check for memory read errors in
50 disassembler test on *BSD too.
52 2003-06-01 Richard Henderson <rth@redhat.com>
54 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
56 (gdbasm_call): Lose ldgp.
57 (gdbasm_startup): Add frame information.
58 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
60 2003-05-31 Mark Kettenis <kettenis@gnu.org>
62 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
65 2003-05-30 Mark Kettenis <kettenis@gnu.org>
67 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
70 2003-05-29 Richard Henderson <rth@redhat.com>
72 * gdb.asm/alpha.inc: New file.
73 * gdb.asm/asm-source.exp: Use it.
75 2003-05-29 Jim Blandy <jimb@redhat.com>
77 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
80 2003-05-22 Jim Blandy <jimb@redhat.com>
82 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
85 2003-05-20 David Carlton <carlton@math.stanford.edu>
87 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
90 2003-05-19 David Carlton <carlton@bactrian.org>
92 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
93 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
95 2003-05-19 David Carlton <carlton@bactrian.org>
97 * gdb.c++/namespace.exp: Add namespace scope and anonymous
100 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
101 (main): Call C::D::marker2.
102 * gdb.c++/namespace1.cc: New file.
104 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
106 Roland McGrath <roland@redhat.com>
107 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
108 there is no manager thread.
110 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
112 * gdb.threads/schedlock.exp: Remove assumption that all threads
113 will run in a particular small time slice. Also ensure we break
114 in one of the child threads rather than the main thread.
116 2003-05-07 Jim Blandy <jimb@redhat.com>
118 Add support for assembly source testing on the s390x.
119 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
121 * gdb.asm/s390x.inc: New file.
123 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
124 succession of 'if' statements.
126 2003-05-05 Andrew Cagney <cagney@redhat.com>
128 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
130 2003-05-05 Andrew Cagney <cagney@redhat.com>
132 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
133 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
135 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
137 * gdb.base/charset.exp: Update based on new behavior of set/show
140 2003-05-01 Andrew Cagney <cagney@redhat.com>
142 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
143 variable do not give memory errors.
145 2003-04-30 Adam Fedor <fedor@gnu.org>
147 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
148 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
149 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
150 gdb.objc/basicclass.m: : New files
152 * lib/gdb.exp (gdb_compile_objc): New procedure.
154 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
156 * gdb.base/signals.exp: Make backtrace tests more specific.
158 2003-04-23 David Carlton <carlton@bactrian.org>
160 * gdb.c++/maint.exp (test_first_component): Add tests for
161 'operator' in more locations.
163 2003-04-16 Kevin Buettner <kevinb@redhat.com>
165 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
167 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
169 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
170 func marke' instead. Update test name.
172 2003-04-15 David Carlton <carlton@math.stanford.edu>
174 * gdb.c++/maint.exp: New file.
176 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
178 * gdb.threads/schedlock.c: Change type of thread function argument
179 to long, to avoid warnings on 64-bit platforms.
181 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
183 * gdb.base/attach.exp: Add new message from ptrace in case of
184 attaching to nonexistent process.
186 2003-04-11 Jim Blandy <jimb@redhat.com>
188 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
189 gdb.c++/userdef.cc: Place comments on the lines to which the
190 marker function might return.
191 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
192 gdb.c++/userdef.exp: Look for those comments to check that we've
193 returned to the right place, instead of checking line numbers.
195 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
197 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
198 match on sourcefile name, instead of directory name.
200 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
202 * gdb.base/completion.exp: Use string_to_regexp to match the
203 working directory name.
205 2003-04-09 Jim Blandy <jimb@redhat.com>
207 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
208 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
209 after an inferior function call, report the failure, but allow the
212 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
214 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
217 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
219 * gdb.base/break.exp: Revert last patch.
221 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
223 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
226 2003-04-02 Andrew Cagney <cagney@redhat.com>
228 * gdb.base/callfuncs.exp: Make "print add" messages unique.
229 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
230 matching directories by the name breakpoint.
231 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
232 Make "continue to marker1" consistent.
233 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
235 * lib/gdb.exp: Put "the program is no longer running", and "the
236 program exited" in parenthesis.
237 * lib/mi-support.exp: Ditto.
239 2003-04-02 Bob Rossi <bob_rossi@cox.net>
241 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
243 2003-03-29 Andrew Cagney <cagney@redhat.com>
245 * gdb.base/sizeof.c (main): Print the value of '\377'.
246 * gdb.base/sizeof.exp: Check the sign of '\377'.
248 2003-03-27 Michael Chastain <mec@shout.net>
250 * gdb.base/gdb1090.exp: New file.
251 * gdb.base/gdb1090.cc: New file.
253 2003-03-27 J. Brobecker <brobecker@gnat.com>
255 * gdb.gdb/observer.exp: New regression test.
257 2003-03-27 Michael Chastain <mec@shout.net>
259 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
260 * gdb.base/ptype.exp: Likewise.
262 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
264 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
266 2003-03-26 Michael Chastain <mec@shout.net>
268 * gdb.base/ptype.exp: Actually use some typedef'd types.
270 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
272 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
273 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
275 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
277 * gdb.base/default.exp: Fix regular expression.
279 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
281 * gdb.base/args.exp: Fix regular expression.
283 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
285 * gdb.base/help.exp: Allow Win32 child process.
287 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
289 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
290 when stepping out of main().
292 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
294 * gdb.base/default.exp: Check for win32 specific message when calling
295 "run" without executable.
297 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
299 * gdb.base/args.exp: Expect .exe in output.
301 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
303 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
306 2003-03-17 Andrew Cagney <cagney@redhat.com>
308 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
310 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
311 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
313 2003-03-17 David Carlton <carlton@math.stanford.edu>
315 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
316 test, for PR breakpoints/38.
317 Call test_watchpoint_and_breakpoint.
318 * gdb.base/watchpoint.c (func3): New function.
321 2003-03-04 David Carlton <carlton@math.stanford.edu>
323 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
324 Garply<Garply<char> >:: garply".
325 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
326 with respect to PR c++/1111; note also PR c++/1113.
327 (test_template_breakpoints): KFAIL "constructor breakpoint" with
328 respect to PR c++/1062.
329 KFAIL "destructor breakpoint" with respect to PR c++/1112.
331 2003-03-03 David Carlton <carlton@math.stanford.edu>
333 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
334 with respect to PR c++/57.
335 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
337 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
338 respect to PR c++/57.
340 2003-03-03 David Carlton <carlton@math.stanford.edu>
342 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
343 respect to PR c++/33 into FAILs.
345 2003-03-03 Michael Chastain <mec@shout.net>
347 * configure.in: Update copyright years.
349 2003-03-03 Michael Chastain <mec@shout.net>
351 * Makefile.in: Update copyright years.
353 2003-02-28 David Carlton <carlton@math.stanford.edu>
355 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
356 print class instead of struct and/or superfluous protection
357 specifiers, as long as the resulting output is equivalent to the
359 Delete FIXME from end of messages on tests that don't need
362 2003-02-28 David Carlton <carlton@math.stanford.edu>
364 * gdb.c++/templates.exp (do_tests): Allow const in the two
365 Foo<volatile char *>::foo tests.
367 2003-02-27 Michael Snyder <msnyder@redhat.com>
369 * gdb.base/restore.c (main): Return zero, so exit code
372 2003-02-26 David Carlton <carlton@math.stanford.edu>
374 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
375 char *>::foo" test with respect to PR c++/33. Create a new test
376 which is identical to that one except that it doesn't put the
377 space between the "char" and the "*"; KFAIL it, too.
379 2003-02-26 David Carlton <carlton@math.stanford.edu>
381 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
382 template types into either PASSes or KFAILs (corresponding to PR
383 c++/57). Tweak indentation. Update copyright.
385 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
387 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
389 2003-02-13 Michael Chastain <mec@shout.net>
391 * gdb.base/exprs.exp: Remove i960 remnants.
392 * gdb.base/funcargs.exp: Likewise.
393 * gdb.base/list.exp: Likewise.
394 * gdb.base/ptype.exp: Likewise.
396 2003-02-14 David Carlton <carlton@math.stanford.edu>
398 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
399 pEe->D::vg()" from XFAIL to KFAIL.
401 2003-02-13 Jason Molenda (jmolenda@apple.com)
403 * gdb.base/maint.exp: Update maint print statistics regexp to include
406 2003-02-13 Michael Chastain <mec@shout.net>
408 * gdb.c++/inherit.exp: Remove call to get_debug_format.
410 2003-02-12 Michael Chastain <mec@shout.net>
412 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
413 * gdb.c++/inherit.exp: Likewise.
414 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
415 * gdb.c++/templates.exp: Likewise.
416 * gdb.c++/virtfunc.exp: Likewise.
418 2003-02-06 Jason Molenda (jason-cl@molenda.com)
420 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
421 why the code is written that way.
423 2003-02-05 Michael Chastain <mec@shout.net>
425 * gdb.base/dump.exp: Add missing copyright line.
427 2003-02-05 Jason Molenda (jason-cl@molenda.com)
429 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
430 at the beginning so the breakpoint doesn't get set on the loop.
432 2003-02-05 Michael Chastain <mec@shout.net>
434 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
435 output for configurations with gcc 2.95.3.
437 2003-02-05 Keith Seitz <keiths@redhat.com>
438 Andrew Cagney <ac131313@redhat.com>
440 * gdb.mi/mi-cli.exp: New file.
442 2003-02-04 Michael Chastain <mec@shout.net>
444 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
445 Call perror and then continue.
447 2003-02-03 Michael Chastain <mec@shout.net>
449 * gdb.c++/pr-1023.cc: New file.
450 * gdb.c++/pr-1023.exp: New file.
452 2003-02-05 Jim Blandy <jimb@redhat.com>
454 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
455 it's local to foobar. Check for it there, and check that it's not
457 * gdb.c++/local.cc (marker2): New function.
458 (foobar): Call marker1.
459 (main): Call marker2 instead of marker1.
461 2003-02-04 Andrew Cagney <ac131313@redhat.com>
463 * gdb.disasm/mn10200.exp: Obsolete file.
464 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
465 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
466 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
468 2003-02-04 David Carlton <carlton@math.stanford.edu>
470 * gdb.c++/overload.exp: Test intToChar(1).
471 * gdb.c++/overload.cc (intToChar): New.
472 (main): Call intToChar.
474 2003-02-03 David Carlton <carlton@math.stanford.edu>
476 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
478 KFAIL some of the continue_to_bp_overloaded calls, according to
481 2003-02-01 Michael Chastain <mec@shout.net>
483 * gdb.base/advance.c (marker1): New marker function.
484 * gdb.base/advance.exp: When the 'advance' command lands on the
485 return breakpoint, it can legitimately stop on either the
486 current line or the next line. Accommodate both outcomes.
487 * gdb.base/until.exp: Likewise.
489 2003-02-02 Andrew Cagney <ac131313@redhat.com>
491 2002-11-10 Jason Molenda (jason-cl@molenda.com):
492 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
493 now a list, not a tuple.
494 * gdb.mi/mi-var-display.exp: Ditto.
495 * gdb.mi/gdb792.exp: Ditto.
497 2003-02-01 Andrew Cagney <ac131313@redhat.com>
499 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
500 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
502 * gdb.mi/mi-syn-frame.c: Part of same.
504 2003-02-01 Mark Kettenis <kettenis@gnu.org>
506 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
507 gdb.mi/mi1-pthreads.exp: Return instead of calling
508 gdb_suppress_entire_file.
510 2003-02-01 Mark Salter <msalter@redhat.com>
512 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
514 2003-01-31 Mark Salter <msalter@redhat.com>
516 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
519 2003-01-30 Michael Chastain <mec@shout.net>
521 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
522 This was a workaround for a UTF-8 bug in readline 4.3. The bug
523 has been fixed in gdb/readline on 2003-01-09.
525 2003-01-29 Michael Snyder <msnyder@redhat.com>
527 * gdb.base/maint.exp: Allow for leading underscore in symbol.
528 * gdb.base/display.exp: Allow for leading underscore in symbol.
529 * gdb.base/args.exp: Skip if target does not support args passing.
531 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
533 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
534 gdb_test. Accept a list of expect arguments as the third
538 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
540 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
541 allow for different test tree configurations. Update some
542 tescases accordingly.
543 * gdb.arch/altivec-regs.exp: Ditto.
544 * gdb.asm/asm-source.exp: Ditto.
545 * gdb.base/advance.exp: Ditto.
546 * gdb.base/display.exp: Ditto.
547 * gdb.base/long_long.exp: Ditto.
548 * gdb.base/mips_pro.exp: Ditto.
549 * gdb.base/overlays.exp: Ditto.
550 * gdb.base/relocate.exp: Ditto.
551 * gdb.base/setshow.exp: Ditto.
552 * gdb.base/step-line.exp: Ditto.
553 * gdb.base/step-test.exp: Ditto.
554 * gdb.base/until.exp: Ditto.
555 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
557 2003-01-17 David Carlton <carlton@math.stanford.edu>
559 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
560 corresponding to PR c++/945.
563 2003-01-17 David Carlton <carlton@math.stanford.edu>
565 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
566 corresponding to PR c++/68.
568 2003-01-17 David Carlton <carlton@math.stanford.edu>
570 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
571 (test_paddr_hairy_functions): Call print_addr_2_kfail for
572 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
574 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
576 * gdb.base/break.exp: Fix change of default location, because of
577 removal of until tests.
578 * gdb.base/help.exp: Update test for new 'until' help message.
579 Add test for help on 'advance'.
580 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
582 2003-01-15 Mark Kettenis <kettenis@gnu.org>
584 * gdb.base/default.exp: Adapt "info float" test for recent changes
585 to that command. Add test for "info vector".
586 * gdb.base/float.exp: New file. Add test for "info float" that
587 resembles the old test in gdb.base/default.exp.
589 2003-01-15 David Carlton <carlton@math.stanford.edu>
591 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
593 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
595 * gdb.base/break.exp: Move the tests of until command from here...
596 * gdb.base/until.exp: ... to here. New file. Add other tests.
597 * gdb.base/advance.c: New file.
598 * gdb.base/advance.exp: New file.
600 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
602 * gdb.base/args.c: New file.
603 * gdb.base/args.exp: New file.
605 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
607 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
609 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
611 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
613 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
615 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
618 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
620 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
622 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
624 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
626 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
628 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
630 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
631 * gdb.mi/mi1-console.exp: Likewise.
633 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
635 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
636 * gdb.mi/mi1-console.exp: Likewise.
638 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
640 * gdb.c++/overload.exp: Remove some fixed XFAILs.
642 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
644 * gdb.base/detach.exp: New test.
646 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
648 * Makefile.in (ALL_SUBDIRS): New variable.
649 (subdirs, clean, distclean): Use it.
650 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
651 regenerating Makefile, since it is generated from the top level.
652 * gdb.asm/Makefile.in: Likewise.
653 * gdb.base/Makefile.in: Likewise.
654 * gdb.c++/Makefile.in: Likewise.
655 * gdb.disasm/Makefile.in: Likewise.
656 * gdb.java/Makefile.in: Likewise.
657 * gdb.mi/Makefile.in: Likewise.
658 * gdb.threads/Makefile.in: Likewise.
659 * gdb.trace/Makefile.in: Likewise.
661 2003-01-09 David Carlton <carlton@math.stanford.edu>
663 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
664 Add copyright year 2003.
666 2003-01-06 Michael Chastain <mec@shout.net>
668 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
669 When selecting a thread, 'line' and 'file' are optional.
670 * gdb.mi/mi1-pthreads.exp: Likewise.
672 2003-01-06 Andreas Schwab <schwab@suse.de>
674 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
677 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
680 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
681 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
683 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
684 instead of calling gdb_suppress_entire_file.
685 * gdb.threads/print-threads.exp: Likewise.
686 * gdb.threads/schedlock.exp: Likewise.
688 * gdb.threads/killed.exp: Return instead of calling
689 gdb_suppress_entire_file.
690 * gdb.threads/linux-dp.exp: Likewise.
691 * gdb.threads/pthreads.exp: Likewise.
693 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
695 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
697 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
698 * gdb.base/whatis.exp: Always allow (void) after function names.
700 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
702 * gdb.c++/casts.exp: Correct regexp.
704 2003-01-04 Mark Kettenis <kettenis@gnu.org>
706 * configure.in: Call AC_CONFIG_HEADER. Don't call
707 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
708 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
709 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
710 aforementioned directories in the AC_OUPUT call.
711 * config.hin: New file.
712 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
713 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
714 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
715 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
716 pass -I$objdir instead of -I$objdir/$subdir in compilation.
717 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
718 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
719 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
720 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
721 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
722 gdb.threads/configure.in, gdb.threads/configure,
723 gdb.threads/config.in, gdb.trace/configure.in,
724 gdb.trace/configure: Removed.
726 2003-01-03 Michael Chastain <mec@shout.net>
728 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
729 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
731 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
733 * gdb.base/store.exp: Fix regular expressions.
735 2002-12-28 Mark Kettenis <kettenis@gnu.org>
737 * configure.in: Rewrite.
738 * configure: Regenerated.
740 2003-01-03 David Carlton <carlton@math.stanford.edu>
742 * gdb.base/psymtab.exp: New file.
743 * gdb.base/psymtab1.c: Ditto.
744 * gdb.base/psymtab2.c: Ditto.
746 2002-12-23 Adam Fedor <fedor@gnu.org>
748 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
750 2002-12-23 David Carlton <carlton@math.stanford.edu>
752 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
753 and current_directory initialization.
755 2002-12-22 Jim Blandy <jimb@redhat.com>
757 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
758 rather than as part of the output file name.
760 * gdb.base/attach.exp: There's no need to copy the test program to
761 /tmp; that was only ever necessary on HP/UX, and this test is
762 entirely disabled there anyway.
764 2002-12-21 Jim Blandy <jimb@redhat.com>
766 * gdb.c++/psmang.exp: Doc fix.
768 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
771 2002-12-20 David Carlton <carlton@math.stanford.edu>
773 * gdb.c++/annota2.exp: KFAIL annotate-quit.
775 2002-12-18 Michael Chastain <mec@shout.net>
777 * gdb.c++/annota2.exp: Add copyright year 2002.
779 2002-12-17 David Carlton <carlton@math.stanford.edu>
781 * gdb.c++/try_catch.cc: Add marker comments.
782 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
783 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
784 * gdb.c++/m-static.cc: Ditto.
785 * gdb.c++/m-static1.cc: Ditto.
786 * gdb.c++/try_catch.cc: Ditto.
788 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
790 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
791 to see whether we are using the new -environment-directory
792 command which resets via -r or the old version of the command
793 which may prompt the user. Part of fix for gdb/741.
795 2002-12-13 Andrew Cagney <ac131313@redhat.com>
797 * gdb.fortran/types.exp: Update obsolete comment.
798 * gdb.fortran/exprs.exp: Ditto.
799 * lib/gdb.exp: Delete obsolete code.
800 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
801 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
802 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
803 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
804 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
805 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
806 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
807 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
808 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
809 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
810 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
811 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
812 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
813 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
814 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
815 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
816 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
817 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
818 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
819 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
820 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
821 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
822 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
823 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
824 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
825 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
826 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
827 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
828 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
829 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
830 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
831 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
832 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
833 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
834 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
835 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
836 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
838 2002-12-11 David Carlton <carlton@math.stanford.edu>
840 * gdb.c++/m-data.exp: Add test for members that shadow global
841 variables: see PR gdb/804.
842 * gdb.c++/m-data.cc: Ditto.
844 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
846 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
848 2002-12-06 David Carlton <carlton@math.stanford.edu>
850 * gdb.base/store.c: Don't declare functions static.
852 2002-12-04 Andrew Cagney <ac131313@redhat.com>
854 * gdb.base/store.exp, gdb.base/store.c: New files.
856 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
858 * gdb.base/selftest.exp: Update for current gdb.
860 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
862 * gdb.base/maint.exp: Only dump symbols from one source file
865 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
867 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
870 2002-11-25 Jim Blandy <jimb@redhat.com>
872 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
873 function appearing in error message.
875 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
877 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
879 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
881 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
882 for mi1 and current mi is in correct format. New mi startup message
883 should be in mi console format. This is part of fix for PR gdb/604.
885 2002-09-18 Fernando Nasser <fnasser@redhat.com>
887 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
888 which explicitly prints the zero offset as "+0".
890 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
892 * gdb.threads/schedlock.c (args): Make unsigned.
894 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
896 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
897 numbers. Allow "foo2|selected stack frame".
898 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
899 * gdb.asm/asmsrc2.s: Likewise.
900 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
902 * gdb.asm/mips.inc: New file.
904 2002-10-18 Adam Fedor <fedor@gnu.org>
906 * gdb.base/default.exp: Update expected output to include 'ObjC'.
907 * gdb.base/help.exp: Likewise.
909 2002-10-17 Kevin Buettner <kevinb@redhat.com>
911 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
912 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
914 2002-10-02 Jim Blandy <jimb@redhat.com>
916 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
918 2002-10-01 Andrew Cagney <ac131313@redhat.com>
920 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
921 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
922 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
923 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
924 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
925 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
926 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
928 2002-09-29 Andrew Cagney <ac131313@redhat.com>
930 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
931 * mi0-disassemble.exp, mi0-eval.exp: Delete.
932 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
933 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
934 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
935 * mi0-var-block.exp, mi0-var-child.exp: Delete.
936 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
938 2002-09-27 Kevin Buettner <kevinb@redhat.com>
940 * gdb.base/annota1.exp (info break): Make directory components of
941 path optional since not all compilers emit this debug information.
943 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
944 step ends up stepping out of the function instead of stopping on
947 2002-09-26 Keith Seitz <keiths@redhat.com>
949 * lib/insight-support.exp (gdbtk_start): Figure out where
950 the insight executable is based on where gdb is. Use this
951 executable to start insight instead of gdb.
953 2002-09-25 Andrew Cagney <cagney@redhat.com>
955 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
957 2002-09-24 Andrew Cagney <ac131313@redhat.com>
959 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
960 test_isolated_complaints.
961 (test_empty_complaint): New function.
962 (test_empty_complaints): New function. Check no output when no
965 2002-09-19 Jim Blandy <jimb@redhat.com>
967 * gdb.base/charset.exp, gdb.base/charset.c: New files.
969 2002-09-19 Andrew Cagney <ac131313@redhat.com>
971 * gdb.gdb/complaints.exp: New file.
973 2002-09-18 Andrew Cagney <ac131313@redhat.com>
975 * gdb.base/maint.exp: Check `help maint internal-warning'.
977 2002-09-18 David Carlton <carlton@math.stanford.edu>
979 * gdb.c++/m-static.exp: Remove breakpoints depending on line
980 numbers, and replace them by a single breakpoint after the
981 constructors are all finished.
983 * gdb.c++/m-static.cc: Add test 4.
984 * gdb.c++/m-static.h: New file.
985 * gdb.c++/m-static1.cc: New file.
987 * gdb.c++/printmethod.exp: New file.
988 * gdb.c++/printmethod.cc: New file.
990 * gdb.c++/pr-574.exp: New file.
991 * gdb.c++/pr-574.cc: New file.
993 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
995 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
996 embedded targets which never actually exit.
998 2002-09-18 Fernando Nasser <fnasser@redhat.com>
1000 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1001 "don't step after run" as unresolved or unsupported, instead of xfail.
1003 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1005 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1006 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1007 Add newline to expected string in "step out of main (status wrapper)"
1010 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1012 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1013 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1015 2002-09-17 Tom Tromey <tromey@redhat.com>
1017 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1018 \000, not \0, in double-quoted string.
1020 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
1022 * gdb.base/command.exp: Don't expect a "Program exited normally"
1023 string after running the commands execution on breakpoint tests.
1025 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
1027 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1029 2002-09-12 Joel Brobecker <brobecker@gnat.com>
1031 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1033 2002-09-10 Keith Seitz <keiths@redhat.com>
1035 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1037 (mi_run_to_main): Use mi_runto.
1038 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1040 2002-09-10 Keith Seitz <keiths@redhat.com>
1042 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1043 regexp for stopping at main. Could have multiple event notifications.
1044 Don't assume that main was declared with no parameters.
1045 (mi_next): Use mi_step_to.
1046 (mi_step): Use mi_next_to.
1048 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
1050 * gdb.base/default.exp: Fix expected string in `info float' test.
1052 2002-09-09 Ben Elliston <bje@redhat.com>
1054 * config/mips.exp: Update comments.
1055 * config/mips-idt.exp: Likewise.
1056 * config/nind.exp: Likewise.
1057 * config/slite.exp: Likewise.
1058 * config/sparclet.exp: Likewise.
1059 * config/udi.exp: Likewise.
1060 * config/vx.exp: Likewise.
1061 * config/vxworks29k.exp: Likewise.
1063 2002-09-05 Jim Blandy <jimb@redhat.com>
1065 * gdb.threads/killed.exp: Fix test failure message.
1067 2002-09-04 Keith Seitz <keiths@redhat.com>
1069 * lib/mi-support.exp: Update copyright.
1070 (mi_gdb_test): Increase the priority of the expected pattern
1071 so that it matches gdb_test.
1073 2002-09-03 Keith Seitz <keiths@redhat.com>
1075 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1076 Use integer comparison instead of string comparison for testing
1077 whether binary was built.
1079 2002-09-03 Jim Blandy <jimb@redhat.com>
1081 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1083 2002-08-29 Jim Blandy <jimb@redhat.com>
1085 * gdb.threads/pthreads.exp: Move the portable thread compilation
1086 code into a function in lib/gdb.exp, and call that from here.
1087 * lib/gdb.exp (gdb_compile_pthreads): New function.
1089 2002-08-29 Keith Seitz <keiths@redhat.com>
1091 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1092 expect_out so that callers can get at it.
1094 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
1096 * gdb.threads/print-threads.c: New file.
1097 * gdb.threads/print-threads.exp: New file.
1098 * gdb.threads/schedlock.c: New file.
1099 * gdb.threads/schedlock.exp: New file.
1101 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
1103 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1106 2002-08-17 Mark Kettenis <kettenis@gnu.org>
1108 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1109 targets. The problem should be fixed now.
1111 2002-08-15 Mark Kettenis <kettenis@gnu.org>
1113 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1114 2002-07-24 change that removes final dots from error messages.
1116 2002-08-13 Tom Tromey <tromey@redhat.com>
1118 * gdb.base/readline.exp: New file.
1120 2002-08-01 Andrew Cagney <ac131313@redhat.com>
1122 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1125 2002-08-01 Andrew Cagney <cagney@redhat.com>
1127 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1128 CHILL_FOR_TARGET and CHILL_LIB.
1129 * configure.in (configdirs): Remove gdb.chill.
1130 * configure: Regenerate.
1131 * lib/gdb.exp: Obsolete references to chill.
1132 * gdb.fortran/types.exp: Ditto.
1133 * gdb.fortran/exprs.exp: Ditto.
1135 2002-07-30 Kevin Buettner <kevinb@redhat.com>
1137 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1138 set Irix-specific compile and link flags.
1140 2002-07-29 Kevin Buettner <kevinb@redhat.com>
1142 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1143 source files. The ``-o'' option doesn't work with the ``-E'' option
1144 when using the Irix compiler.
1146 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
1148 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1149 Improve support for reusing an exec file. Copy exec file
1150 to target, and run gdbserver on the target instead of on the host.
1152 2002-07-18 Jim Blandy <jimb@redhat.com>
1154 * gdb.base/ending-run.exp: Don't expect to see the program end in
1155 some orderly fashion when we're running on a real stand-alone
1158 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1159 targets that don't support interrupts.
1161 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1163 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1165 Move comments in expect statements to inside the actions, so that they
1166 don't get matched against.
1168 2002-07-10 Mark Kettenis <kettenis@gnu.org>
1170 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1171 function when asleep" test.
1173 2002-07-10 Andrew Cagney <ac131313@redhat.com>
1175 * gdb.base/page.exp: Rewrite to handle problems with very long
1176 `info set' output. Update copyright.
1178 2002-06-26 Andrew Cagney <ac131313@redhat.com>
1180 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1182 * gdb.hp/configure: Regenerate.
1183 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1184 * gdb.hp/gdb.threads-hp/configure: Delete file.
1185 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1187 2002-06-22 Andrew Cagney <ac131313@redhat.com>
1189 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1190 setlocale, bindtextdomain and textdomain.
1192 2002-06-11 Jim Blandy <jimb@redhat.com>
1194 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1195 preprocessor macro information is present.
1197 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1200 2002-06-06 Michael Snyder <msnyder@redhat.com>
1202 * gdb.base/overlays.exp: Record addresses of overlay
1203 functions in TCL variables rather than in GDB variables,
1204 to avoid having GDB convert them to pointers (with loss
1207 * gdb.base/d10v.ld: Merge in several years worth of
1208 default linker script changes.
1209 * gdb.base/long_long.exp: Add check for sizeof (long double).
1211 2002-06-06 Michal Ludvig <mludvig@suse.cz>
1213 * gdb.asm/asm-source.exp: Add x86-64 target.
1214 * gdb.asm/x86_64.inc: New.
1216 2002-05-30 Michael Chastain <mec@shout.net>
1218 From Benjamin Kosnik <bkoz@redhat.com>:
1219 * gdb.c++/m-static.cc: New file.
1220 * gdb.c++/m-static.exp: New file.
1222 2002-05-28 Michael Snyder <msnyder@redhat.com>
1224 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1227 2002-05-27 Michael Chastain <mec@shout.net>
1229 From Benjamin Kosnik <bkoz@redhat.com>:
1230 * gdb.c++/m-data.cc: New file.
1231 * gdb.c++/m-data.exp: New file.
1233 2002-05-27 Michael Chastain <mec@shout.net>
1235 From Benjamin Kosnik <bkoz@redhat.com>:
1236 * gdb.c++/try_catch.cc: New file.
1237 * gdb.c++/try_catch.exp: New file.
1239 2002-05-27 Michael Chastain <mec@shout.net>
1241 * gdb.c++/local.exp: Accept more nested types in output.
1243 2002-05-26 Michael Chastain <mec@shout.net>
1245 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1247 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1249 * lib/gdb.exp (gdb_wrapper_init): Just because
1250 gdb_wrapper_file exists, this does not mean that the file
1251 should not be rebuilt. That is what gdb_wrapper_initialized
1253 (default_gdb_init): Reset gdb_wrapper_initialized.
1255 2002-05-23 Michael Snyder <msnyder@redhat.com>
1257 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1258 the precision of the floating point test results.
1259 * gdb.base/call-rt-st.exp: Ditto.
1261 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1262 * gdb.base/call-rt-st.exp: Ditto.
1264 2002-05-19 Michael Chastain <mec@shout.net>
1266 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1268 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
1270 * configure.in (configdirs): Add gdb.arch.
1271 * configure: Regenerate.
1273 2002-05-17 Jim Blandy <jimb@redhat.com>
1275 * gdb.base/completion.exp: Recognize the more detailed error
1276 messages produced by the macro expander's lexical analyzer.
1278 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1280 * gdb.arch/altivec-abi.c: New file.
1281 * gdb.arch/altivec-abi.exp: New file.
1282 * gdb.arch/altivec-regs.c: New file.
1283 * gdb.arch/altivec-regs.exp: New file.
1285 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
1287 * gdb.base/maint.exp (maint print type): Update for new type
1290 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1292 * gdb.arch: New directory.
1293 * gdb.arch/configure.in: New file.
1294 * gdb.arch/configure: New file.
1295 * gdb.arch/Makefile.in: New file.
1297 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
1299 * gdb.asm/asm-source.exp: Add v850 as supported target.
1300 * gdb.asm/v850.inc: New file.
1302 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
1304 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1306 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
1308 * gdb.base/break.exp: Check 'break "marker2"'.
1310 2002-05-10 Michael Snyder <msnyder@redhat.com>
1312 * gdb.base/long_long.exp: Fix typo.
1314 2002-05-10 Jim Blandy <jimb@redhat.com>
1316 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1319 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1320 Recognize more detailed error message produced by the macro
1321 expander's lexical analyzer.
1322 * lib/gdb.exp (test_print_reject): Same.
1324 2002-05-09 Mark Kettenis <kettenis@gnu.org>
1326 * gdb.c++/method.exp: Fix typo.
1328 2002-05-08 Michael Snyder <msnyder@redhat.com>
1330 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1331 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
1332 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
1333 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1334 Add iftarget clause for strongarm.
1336 2002-05-06 Michael Snyder <msnyder@redhat.com>
1338 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1339 (gdb_continue_to_end): Accept output from status wrapper.
1340 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1341 Clean up fail messages to match pass messages.
1343 Enable the "needs_status_wrapper" testsuite feature.
1344 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1345 (gdb_compile): Conditionally call gdb_wrapper_init.
1346 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1347 * gdb.c++/method.exp: Recognize output from status wrapper.
1349 2002-05-06 Ben Elliston <bje@redhat.com>
1350 From Graydon Hoare <graydon@redhat.com>
1352 * config/sid.exp: Include support for "rawsid" protocol.
1354 2002-05-03 Jim Blandy <jimb@redhat.com>
1356 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1357 * gdb.c++/hang3.C: New file.
1359 2002-05-04 Andrew Cagney <ac131313@redhat.com>
1361 * gdb.base/default.exp: Remove obsolete code.
1362 * gdb.c++/misc.exp: Ditto. Update copyright.
1363 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1364 * gdb.base/whatis.exp: Ditto. Update copyright.
1365 * gdb.base/scope.exp: Ditto. Update copyright.
1366 * gdb.base/ptype.exp: Ditto. Update copyright.
1367 * gdb.base/printcmds.exp: Ditto. Update copyright.
1368 * gdb.base/opaque.exp: Ditto. Update copyright.
1369 * gdb.base/list.exp: Ditto.
1370 * gdb.base/funcargs.exp: Ditto. Update copyright.
1371 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1372 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1373 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1374 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1375 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1376 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1378 2002-05-02 Michael Snyder <msnyder@redhat.com>
1380 * gdb.base/watchpoint.exp: Add xscale target.
1381 * gdb.base/long_long.exp: Add xscale target.
1382 * gdb.base/default.exp: Add xscale target.
1384 2002-05-01 Jim Blandy <jimb@redhat.com>
1386 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1387 gdb.c++/hang.exp: New test.
1389 2002-05-01 Fred Fish <fnf@redhat.com>
1391 * gdb.base/completion.exp: Handle completions of "./Make" for
1392 more than one completion possibility, as is the case when we
1393 build and test in the source tree.
1395 2002-04-29 Anthony Green <green@redhat.com>
1397 * gdb.java/jmisc1.exp: New file.
1398 * gdb.java/jmisc2.exp: New file.
1400 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
1402 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1404 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
1406 * gdb.base/help.exp: Change 'help status' to allow for target
1407 dependent output differences.
1409 2002-04-22 Michael Chastain <mec@shout.net>
1411 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1413 2002-04-22 Michael Chastain <mec@shout.net>
1415 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1417 2002-04-17 David S. Miller <davem@redhat.com>
1419 * gdb.asm/sparc64.inc: New file.
1420 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1422 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
1424 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1425 instruction file directly into the build tree. Clean up at end of
1428 2002-04-18 David S. Miller <davem@redhat.com>
1430 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1431 handle 64-bit platforms correctly.
1432 * gdb.base/maint.exp: Likewise.
1434 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1436 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1437 ``-fpic'' when compiling files comprising a shared library, but
1438 it does need additional linker flags in order to find shared
1439 libraries at run time.
1441 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1443 * gdb.base/cvexpr.c (use): New function.
1444 (main): Invoke use() on all global variables to prevent
1445 some linkers from deleting these otherwise unused symbols.
1447 2002-04-17 Michael Chastain <mec@shout.net>
1448 From David S. Miller <davem@redhat.com>
1450 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1451 handle 64-bit platforms correctly.
1453 2002-04-12 Michael Snyder <msnyder@redhat.com>
1454 From Jim Blandy <jimb@redhat.com>
1455 * gdb.base/foo.c (foox): Remove section attribute; the linker
1456 script can handle this instead.
1457 * gdb.base/bar.c (barx): Same.
1458 * gdb.base/baz.c (bazx): Same.
1459 * gdb.base/grbx.c (grbxx): Same.
1461 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1462 manager doesn't automatically unmap overlays unnecessarily.
1464 2002-04-10 Martin M. Hunt <hunt@redhat.com>
1466 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1467 stepping out of main.
1469 2002-04-09 Michael Chastain <mec@shout.net>
1471 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1472 scope so that the nested scope tests will make sense.
1473 * gdb.c++/local.exp: Write patterns that actually work with gcc
1474 (the HP patterns "were never known to work with gcc").
1475 Keep the old aCC patterns too.
1477 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1479 * gdb.base/attach.exp: Correct target board test.
1481 2002-04-08 Michael Chastain <mec@shout.net>
1483 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1484 in a const method. Add some xfail and fail cases for configurations
1485 that do not emit the "const ...".
1487 2002-04-07 Michael Chastain <mec@shout.net>
1489 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1490 Accept "A * const" and "const A * const" as type of "this".
1491 Fix spelling of getFunky throughout. Make messages uniform.
1493 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1495 Work around for PR gdb/285:
1496 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1498 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1500 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1501 instructions file at run time instead of configure time.
1502 Sometimes we run the test in a directory that is not the one we
1504 * gdb.asm/configure.in: Delete creation of symlink.
1505 * gdb.asm/configure: Regenerate.
1507 2002-04-05 J. Brobecker <brobecker@gnat.com>
1509 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1510 xfullpath () function.
1512 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1514 * gdb.asm/Makefile.in: Correct dependencies.
1516 * gdb.asm/powerpc.inc: New file.
1517 * gdb.asm/asm-source.exp: Add PowerPC.
1518 * gdb.asm/configure.in: Likewise.
1519 * gdb.asm/configure: Regenerated.
1521 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1523 * gdb.base/relocate.exp: New file.
1524 * gdb.base/relocate.c: New file.
1526 2002-04-04 Fred Fish <fnf@redhat.com>
1528 * gdb.base/step-test.exp: Update comment regarding stopping in
1529 memcpy/bcopy calls inserted as part of the compiler runtime.
1531 2002-04-04 Michael Snyder <msnyder@redhat.com>
1533 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1535 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
1537 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1538 (gdb_expect): Remove $notransfer hack.
1540 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
1542 * gdb.c++/classes.exp ("calling method for small class"): Match
1543 updated register output.
1545 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1548 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1549 when finished. Make gdb_file_cmd send "exec-file" when
1552 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1554 * gdb.base/attach.exp: Remove extra setup_xfail.
1556 2002-03-26 Michael Snyder <msnyder@redhat.com>
1558 * gdb.base/default.exp: Add tests for dump, append, and restore.
1559 * gdb.base/help.exp: Add tests for dump, append, and restore.
1560 * gdb.base/dump.exp: New file, test dump, append and restore.
1561 * gdb.base/dump.c: New file.
1563 2002-03-27 Michael Snyder <msnyder@redhat.com>
1565 * gdb.base/help.exp: Modify expect strings to reflect
1566 clean-ups in help messages.
1568 2002-03-26 Fred Fish <fnf@redhat.com>
1570 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1571 have debugging info for those functions and the compiler uses them
1572 internally to copy structs around.
1574 2002-03-26 Fred Fish <fnf@redhat.com>
1576 * gdb.base/list.exp: Revert the change made yesterday and add note
1577 about why we don't list the default lines for remote targets.
1579 2002-03-25 Michael Snyder <msnyder@redhat.com>
1581 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1583 2002-03-25 Fred Fish <fnf@redhat.com>
1585 * gdb.base/list.exp: This test works on remote targets so remove
1586 the short circuit for remote targets. Update copyright.
1588 2002-03-25 Fred Fish <fnf@redhat.com>
1590 * gdb.base/attach.exp: Fix logic error that was suppressing this
1591 test for all non hppa*-*-hpux* targets, instead of the hp target.
1592 Move comments closer to the suppression point. Also now need to
1593 check that we are running natively.
1595 2002-03-22 Michael Snyder <msnyder@redhat.com>
1597 * gdb.base/default.exp: Add test for gcore. Update copyright.
1598 * gdb.base/help.exp: Add test for gcore. Update copyright.
1600 2002-03-06 Fred Fish <fnf@redhat.com>
1602 * gdb.base/funcargs.c: Remove extraneous ';' character.
1603 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1605 2002-03-04 Michael Chastain <mec@shout.net>
1607 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1608 accommodate gcc v3 function signature.
1609 * gdb.mi/mi0-var-cmd-exp: Ditto.
1611 2002-02-24 Andrew Cagney <ac131313@redhat.com>
1613 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1614 ``GNU/Linux'' or ``Linux kernel''
1615 * testsuite/gdb.threads/pthreads.c: Ditto.
1617 2002-02-24 Michael Chastain <mec@shout.net>
1619 * gdb.threads/pthreads.c (thread1): Add a return statement.
1620 (thread2): Likewise.
1623 2002-02-23 Michael Chastain <mec@shout.net>
1625 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1628 2002-02-23 Michael Chastain <mec@shout.net>
1630 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1631 test "ptype bint". The test passes on all my stabs configurations.
1633 2002-02-21 Jim Blandy <jimb@redhat.com>
1635 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1636 filename at a time, and watch for the ones we want to see.
1638 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1639 types of pointers to prototyped functions.
1641 2002-02-20 Andrew Cagney <ac131313@redhat.com>
1643 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1644 signed, unsigned and straight char.
1645 (padding_char, padding_short, padding_int, padding_long,
1646 padding_long_long, padding_float, padding_double,
1647 padding_long_double): New global variables.
1648 (fill, fill_structs): New functions.
1650 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1651 for correctly sized writes. Update copyright.
1652 (get_valueof): New procedure.
1653 (get_sizeof): Call get_valueof.
1654 (check_valueof): New procedure.
1655 (check_padding): New procedure.
1657 2002-02-20 Michael Chastain <mec@shout.net>
1659 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1660 to setup_xfail. Document some of the remaining calls.
1662 2002-02-18 Michael Chastain <mec@shout.net>
1664 * gdb.c++/userdef.exp: Update copyright year.
1666 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
1668 * gdb.c++/userdef.exp: Test overloaded operators properly.
1671 2002-02-14 Michael Snyder <msnyder@redhat.com>
1673 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1675 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1677 * gdb.base/a2-run.exp: Check for a remote target properly.
1678 * gdb.base/annota1.exp: Likewise.
1679 * gdb.base/list.exp: Likewise.
1680 * gdb.base/reread.exp: Likewise.
1681 * gdb.base/scope.exp: Likewise.
1682 * gdb.base/shlib-call.exp: Likewise.
1683 * gdb.base/term.exp: Likewise.
1684 * gdb.c++/annota2.exp: Likewise.
1686 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
1688 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1690 2002-02-10 Michael Chastain <mec@shout.net>
1692 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1693 (call_after_alloca): Ditto.
1695 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1697 * gdb.base/ending-run.exp: Guard "cont" test with
1698 gdb_skip_stdio_test.
1700 2002-02-06 Jim Blandy <jimb@redhat.com>
1702 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1704 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1705 To here. Disable this test on non-HP platforms. Add big comment.
1707 2002-02-04 Michael Snyder <msnyder@redhat.com>
1709 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1710 other than d10v and m32r.
1712 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
1714 * gdb.base/default.exp: Rewrite test patterns to reduce time
1715 taken to match them.
1717 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1719 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1720 Allow a start function above main.
1721 * gdb.threads/linux-dp.exp: Fix copyright date.
1723 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1725 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1726 (check_philosopher_stack): Check for manager thread before checking
1727 for a just-starting thread.
1729 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1731 From Neil Booth <neil@daikokuya.demon.co.uk>:
1732 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1735 2002-01-21 Fred Fish <fnf@redhat.com>
1737 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1740 2002-01-21 Jim Blandy <jimb@redhat.com>
1742 * gdb.base/reread.exp: Check that GDB properly re-reads the
1743 executable file when it changes while no inferior is running.
1745 2002-01-21 Fred Fish <fnf@redhat.com>
1747 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1748 optionally accept the "shlib events" variation.
1750 2002-01-21 Jim Blandy <jimb@redhat.com>
1752 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1753 call `fflush' after every `printf', so that the output is produced
1754 at predictable points, regardless of whatever buffering does (or
1755 doesn't) take place.
1756 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1757 at different points.
1759 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1761 * gdb.c++/inherit.exp: Update copyright years.
1762 * gdb.c++/method.exp: Likewise.
1764 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1766 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1767 artificial methods/arguments.
1768 * gdb.c++/derivation.exp: Likewise.
1769 * gdb.c++/inherit.exp: Likewise.
1770 * gdb.c++/method.exp: Likewise.
1771 * gdb.c++/virtfunc.exp: Likewise.
1773 2002-01-18 Andrew Cagney <ac131313@redhat.com>
1775 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1776 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1777 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1778 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1779 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1780 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1782 2002-01-17 Jim Blandy <jimb@redhat.com>
1784 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1785 anchoring the pattern matching the entry point symbol's name.
1787 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1789 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1790 continue/quit query. Update copyright.
1792 2002-01-14 Michael Snyder <msnyder@redhat.com>
1794 * gdb.base/gcore.exp: Remove extra debugging output.
1796 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1798 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1799 for slightly dubious v2 mangled string.
1801 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1803 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1805 2002-01-10 Jason Merrill <jason@redhat.com>
1807 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
1809 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1811 * gdb.c++/derivation.exp: Likewise.
1812 * gdb.c++/templates.exp: Likewise.
1813 * gdb.c++/virtfunc.exp: Likewise.
1815 2002-01-10 Michael Snyder <msnyder@redhat.com>
1817 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
1819 2002-01-08 Michael Snyder <msnyder@redhat.com>
1821 * gdb.base/gcore.exp: New test for generate-core-file command.
1822 * gdb.base/gcore.c: Testcase for above.
1823 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1825 2002-01-08 Jason Merrill <jason@redhat.com>
1827 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1829 2002-01-07 Fred Fish <fnf@redhat.com>
1831 * gdb.c++/overload.exp: Remove unconditional xfails for:
1832 print foo_instance1.overloadargs(1)
1833 print foo_instance1.overloadargs(1, 2)
1834 print foo_instance1.overloadargs(1, 2, 3)
1835 print foo_instance1.overloadargs(1, 2, 3, 4)
1836 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1837 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1838 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1839 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1840 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1841 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1842 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1843 print foo_instance1.overload1arg()
1844 print foo_instance1.overload1arg((char)arg2)
1845 print foo_instance1.overload1arg((signed char)arg3)
1846 print foo_instance1.overload1arg((unsigned char)arg4)
1847 print foo_instance1.overload1arg((int)arg7)
1848 print foo_instance1.overload1arg((unsigned int)arg8)
1849 print foo_instance1.overload1arg((float)arg11)
1850 print foo_instance1.overload1arg((double)arg12)
1852 2002-01-07 Michael Snyder <msnyder@redhat.com>
1854 * gdb.base/huge.exp: New test. Print a very large target data object.
1855 (skip_huge_test): New test variable. Define if you want to skip this
1856 test. The test reads an 8 megabyte data object from the target, so it
1857 might be very time consuming on remote targets with a slow connection.
1858 * gdb.base/huge.c: New file. Test case for above.
1860 2002-01-07 Fred Fish <fnf@redhat.com>
1862 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1863 g_instance.bfoo, and g_instance.cfoo.
1865 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1867 * gdb.base/break.c (multi_line_if_conditional): New function.
1868 (multi_ilne_while_conditional): Likewise.
1869 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1870 IF or WHILE condition puts the breakpoint at the start of
1873 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1874 hppa*-*-hpux* expected failure.
1875 * gdb.base/structs.exp (do_function_calls): Similarly.
1877 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1880 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1883 * gdb.base/structs.exp: Replace skip for a29k with skip for
1884 gdb,cannot_call_functions.
1885 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1886 * gdb.base/callfuncs.exp: Ditto.
1887 * gdb.base/call-rt-st.exp: Ditto.
1888 * gdb.base/call-strs.exp: Ditto.
1889 * gdb.base/callfwmall.exp: Ditto.
1890 * gdb.base/scope.exp: Obsolete xfail a29k.
1891 * gdb.c++/misc.exp: Ditto.
1892 * gdb.c++/cplusfuncs.exp: Ditto.
1893 * gdb.base/ptype.exp: Ditto.
1894 * gdb.base/printcmds.exp: Ditto.
1895 * gdb.base/opaque.exp: Ditto.
1896 * gdb.base/list.exp: Ditto.
1897 * gdb.base/funcargs.exp: Ditto.
1898 * gdb.base/default.exp: Ditto.
1900 2002-01-04 Michael Snyder <msnyder@redhat.com>
1902 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
1903 * gdb.base/maint.exp: Add tests for maint info sections options.
1905 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1907 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1909 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
1911 * gdb.asm/arm.inc: New file.
1912 * gdb.asm/asm-source.exp: Add arm targets.
1913 * gdb.asm/configure.in: Ditto.
1914 * gdb.asm/configure: Recreated from configure.in.
1916 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1918 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1920 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1921 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1922 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1923 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1925 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1926 either HP's compilers or GCC.
1928 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1929 a SIGBUS or SIGSEGV.
1931 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1933 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1934 can be compiled with either HP's compiler or GCC.
1936 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1937 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1938 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1940 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1941 to match current gdb output. Update due to using auto-solib-limit
1942 for limiting instead of overloading auto-solib-add.
1943 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1946 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
1947 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1948 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1949 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1950 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1951 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1952 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1953 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1954 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1955 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1956 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1957 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1958 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
1960 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1961 a SIGTRAP to the inferior.
1963 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
1965 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1966 Substitute call to target_link by call to gdb_compile.
1968 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1970 * gdb.base/break.exp: Fix HP specific search string when testing
1971 backtracing in a called function.
1973 * gdb.base/constvars.exp: Only set lang to C++ if we're
1974 compiling the test with HP's compilers.
1975 * gdb.base/volatile.exp: Similarly.
1977 2001-12-19 Jim Blandy <jimb@redhat.com>
1979 * gdb.base/printcmds.exp: Expect the null character to be printed
1980 as '\0', and the '\013' to be printed as '\v'.
1981 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1982 * gdb.base/setvar.exp: Same.
1984 2001-12-17 Jim Blandy <jimb@redhat.com>
1986 * gdb.base/completion.exp: Rather than completing very long
1987 filenames, which can make the readline library produce output we
1988 don't recognize, cd to the directory first, and then complete
1989 using nice, short relative paths.
1991 * gdb.base/completion.exp: On some systems, there is, in fact, a
1992 variable named `b' in scope, since GDB treats all static
1993 variables as being in scope. So use `no_var_named_this'
1996 * gdb.base/corefile.exp: Recognize the message saying that GDB
1997 can't find the core file's registers as a failure.
1999 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2001 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2002 test expect string more specific.
2004 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
2006 * gdb.asm/asm-source.exp: Add support for xstormy16.
2007 * gdb.asm/configure.in: Ditto.
2008 * gdb.asm/configure: Rebuild.
2009 * gdb.asm/xstormy16.inc: New file.
2011 2001-12-10 Fred Fish <fnf@redhat.com>
2013 * gdb.base/maint.exp: Update to match changes in type dumping code.
2015 2001-12-10 Jim Blandy <jimb@redhat.com>
2017 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2018 matching the entry point symbol's name at the beginning of the
2021 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2023 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2024 gdb.c++/inherit.exp, gdb.c++/method.exp,
2025 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2026 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2027 and class layout support.
2029 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2031 * gdb.c++/classes.exp: Add test for static member function.
2032 * gdb.c++/misc.cc: Add class with static member function.
2034 2001-12-07 Jim Blandy <jimb@redhat.com>
2036 If GDB says it can't find the struct the function returned, report
2037 those tests as `unsupported'.
2038 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2039 Rewrite subsequent tests to use it.
2041 If GDB says it can't find the struct the function returned, report
2042 those tests as `unsupported'.
2043 * gdb.base/structs.exp (call_struct_func): New function.
2044 (do_function_calls): Use call_struct_func to call the functions
2047 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2048 whether functions are prototyped or not, so we can't possibly pass
2049 arguments to t_float_values2 properly.
2051 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2052 value of `timeout' for targets other than the mips*tx39-*.
2054 2001-12-06 Michael Snyder <msnyder@redhat.com>
2056 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2057 and detect whether the start symbol has a leading underscore.
2059 2001-12-04 Jim Blandy <jimb@redhat.com>
2061 * gdb.base/completion.exp: Clarify indentation.
2063 2001-12-03 Jim Blandy <jimb@redhat.com>
2065 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2066 variables on the S/390, not `.word'.
2068 2001-11-30 Jim Blandy <jimb@redhat.com>
2070 Add assembly-source tests for s390-ibm-linux.
2071 * gdb.asm/s390.inc: New file.
2072 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2073 the S/390 architecture.
2074 * gdb.asm/configure: Regenerated.
2076 2001-11-30 Michael Snyder <msnyder@redhat.com>
2078 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2079 next, info source, info sources, info line, global and static
2080 variables, and static functions.
2081 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2082 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2083 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2084 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2085 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2086 (gdbasm_leave): Restore frame pointer.
2087 (gdbasm_startup): Copy stack set-up from crt0.S.
2089 2001-11-26 Fernando Nasser <fnasser@redhat.com>
2091 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2092 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2093 to a local (non-static) variable. Copy tstruct.a to a static buffer
2094 and return a pointer to that buffer.
2095 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2097 2001-11-24 Mark Kettenis <kettenis@gnu.org>
2099 * gdb.asm/configure.in: Fix recognition of ix86 target.
2100 * gdb.asm/configure: Regenerate.
2102 2001-11-21 Michael Snyder <msnyder@redhat.com>
2104 * gdb.asm/sparc.inc: New file.
2105 * gdb.asm/asm-source.exp: Recognize sparc target.
2106 * gdb.asm/configure.in: Recognize sparc target.
2107 * gdb.asm/configure: Regenerate.
2109 2001-11-21 Michael Snyder <msnyder@redhat.com>
2111 * gdb.asm/m32r.inc: New file.
2112 * gdb.asm/asm-source.exp: Recognize m32r target.
2113 * gdb.asm/configure.in: Recognize m32r target.
2114 * gdb.asm/configure: Regenerate.
2116 2001-11-20 Michael Snyder <msnyder@redhat.com>
2118 * gdb.asm/i386.inc: New file.
2119 * gdb.asm/asm-source.exp: Recognize ix86 target.
2120 * gdb.asm/configure.in: Recognize ix86 target.
2121 * gdb.asm/configure: Regenerate.
2123 * gdb.c++/namespace.exp: Fix quotes in output messages.
2125 2001-11-14 Michael Snyder <msnyder@redhat.com>
2127 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
2128 qualifier in a type cast expression, to designate an address
2129 in the instruction space (Harvard architecture).
2131 2001-11-13 Michael Snyder <msnyder@redhat.com>
2133 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2134 Tests for expressions using 'const' and 'volatile'.
2136 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
2138 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2140 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
2142 * lib/mi-support.exp (mi_run_to_helper): Move comments
2143 outside of gdb_expect.
2145 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
2147 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2148 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2149 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2150 mi0_run_to): New functions.
2151 * gdb.mi/mi-simplerun.exp: Use them.
2152 * gdb.mi/mi0-simplerun.exp: Likewise.
2153 * gdb.mi/mi-var-cmd.exp: Likewise.
2154 * gdb.mi/mi0-var-cmd.exp: Likewise.
2156 2001-11-10 Andrew Cagney <ac131313@redhat.com>
2158 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2159 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2161 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2163 * gdb.base/restore.exp: Include $expected value in restored test
2166 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2168 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2171 2001-11-08 Michael Snyder <msnyder@redhat.com>
2173 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2174 Add pass/fail message for stop at breakpoint in call dummy function.
2176 2001-11-07 Michael Snyder <msnyder@redhat.com>
2178 * gdb.c++/templates.exp (test_template_breakpoints):
2179 If we get an overload menu, but it does not match what
2180 we expect, we still need to issue the "cancel" command.
2181 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2182 making the whitespace optional. Argument for "new" may be
2183 "unsigned" as well as "unsigned int/long".
2184 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2185 making the whitespace optional. Also replace "(void) with
2186 "((void|)), making the keyword "void" optional.
2187 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2188 making the whitespace optional. Also replace "(void) with
2189 "((void|)), making the keyword "void" optional.
2190 * gdb.base/callfuncs.c (t_float_values): This function must
2191 _not_ be prototyped, and the following function (t_float_values2)
2192 must be prototyped (if the compiler supports it), so that GDB
2193 can be tested against both cases. Usually one case involves
2194 promotion of float to double, while the other does not.
2195 * gdb.base/callfwmall.c: Ditto.
2196 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2197 includes a stack frame for "start".
2199 2001-11-05 Jim Blandy <jimb@redhat.com>
2201 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2202 pointers are 32 bits long, and that offsets of relocs are always
2203 stored in the data (REL-style), and not in the reloc entry itself
2205 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2208 2001-11-01 Michael Snyder <msnyder@redhat.com>
2210 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2211 and regular expression operators by using quoting.
2213 2001-10-31 Michael Snyder <msnyder@redhat.com>
2215 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2216 depending on what the symbol table contains.
2217 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2218 the output of the ptype command. Similarly, accept both "const &"
2221 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
2223 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2224 symbol `STORAGE' to allow to choose the storage class of
2225 the local datastructures.
2226 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2229 2001-10-30 Michael Snyder <msnyder@redhat.com>
2231 * gdb.base/jump.exp: Allow it to run for all targets.
2233 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2235 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2236 with new double_array size.
2237 (main): Change storage class of all local variables to static.
2238 Reduce size of double_array to 9.
2239 * gdb.base/call-ar-st.exp: Increase timeout value.
2240 Change expected output for double array to match new size in
2243 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2245 * gdb.base/ending-run.exp: Create identical output when passing
2246 `step to end of run' case. Add regular expression branch satisfying
2249 2001-10-28 Mark Kettenis <kettenis@gnu.org>
2251 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2252 that we catch the expected failure under Linux/x86.
2254 2001-10-29 Orjan Friberg <orjanf@axis.com>
2256 * gdb.base/setvar.exp: Escape curly braces.
2257 * gdb.stabs/weird.exp: Ditto.
2259 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
2261 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2262 * gdm.mi/mi0-hack-cli.exp: Likewise.
2264 2001-10-25 Andrew Cagney <ac131313@redhat.com>
2266 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2269 2001-10-21 Andrew Cagney <ac131313@redhat.com>
2271 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2272 checking MI enabled.
2274 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
2276 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2278 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
2280 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2281 if gdb child process crashes, just signal an error.
2283 2001-10-02 Jim Blandy <jimb@redhat.com>
2285 * lib/gdb.exp (test_xfail_format): Simplify.
2287 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2288 front of the variable name `format'. Simplify `if'.
2290 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2292 * gdb.threads/pthreads.exp: Wait for output and delay
2295 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2297 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2298 some incorrect output instead of timing out.
2299 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2301 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
2303 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2304 check to allow additional `int'.
2306 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
2308 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2309 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2311 2001-09-27 Michael Snyder <msnyder@redhat.com>
2313 * lib/gdb.exp (test_debug_format): New proc.
2314 (setup_xfail_format): Use new proc test_debug_format.
2315 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2316 proc; use new service proc test_debug_format.
2317 Replace all other "gcc_compiled" tests with this test.
2318 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2319 proc; use new service proc test_debug_format.
2320 Replace all other "gcc_compiled" tests with this test.
2322 2001-09-27 Michael Snyder <msnyder@redhat.com>
2324 * gdb.base/cvexpr.exp: New file.
2325 * gdb.base/cvexpr.c: New file
2326 Test for expressions using const and volatile keywords.
2328 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
2330 * gdb.base/constvars.exp: Check for different orders of keywords
2331 and additional "int" strings in output.
2333 2001-09-22 Andrew Cagney <ac131313@redhat.com>
2335 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2336 responses from "help maint".
2338 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
2340 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2341 to localhost:NNN instead of :NNN, in case Xvfb is listening
2344 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
2346 * gdb.base/recurse.exp: When checking leaving the watchpoint
2347 scope, recognize when gdb is in function's epilogue and pass.
2349 2001-09-18 Keith Seitz <keiths@redhat.com>
2351 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2352 support for running tests against sid targets.
2353 (gdbtk_done): Ditto.
2355 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
2357 * gdb.base/ending-run.c (main): Set stdout buffersize
2358 to the same reasonable value for any target.
2359 * gdb.base/ending-run.exp: Add a regular expression
2360 to make testsuite happy on Sanyo Stormy16 target.
2362 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
2364 * gdb.base/display.c (do_loops): Add float variable `f'.
2365 Increment f in loop.
2366 * gdb.base/display.exp: Increment timeout by 60 seconds.
2367 Change float display test to use variable `f'.
2369 2001-09-17 Jim Blandy <jimb@redhat.com>
2371 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2372 overflowing the limited breakpoint tables on some ROM monitors
2375 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
2377 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2378 the "-ac" (disable access control) flag.
2380 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
2382 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2385 2001-08-30 Keith Seitz <keiths@redhat.com>
2387 * lib/gdb.exp: Move all insight-related functionality into
2389 * lib/insight-support.exp: New file.
2391 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
2393 * config/sid.exp (sid_start): Never set sid verbosity; disable
2394 expect_background {} that consumed its stdout; tolerate </dev/null.
2395 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2397 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2399 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2400 CLI jump command to start it.
2401 (mi_run_to_main): Fail immediatly when unexpected output.
2403 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2405 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2406 beginning of function. Fix PR gdb/191.
2408 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
2410 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2411 what to force sid endianness to.
2413 2001-08-15 Keith Seitz <keiths@redhat.com>
2415 * lib/gdb.exp (gdbtk_start): Don't set environment
2416 variables for TCL_LIBRARY and friends. Insight will
2417 now figure these out for itself.
2419 2001-08-02 Michael Snyder <msnyder@redhat.com>
2421 * gdb.base/completion.exp: Remove the symbol "a64l" from
2422 the expect string; this is target-specific, and not related
2423 to what is being tested.
2425 2001-08-02 Dave Brolley <brolley@redhat.com>
2427 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2429 2001-07-25 Michael Snyder <msnyder@redhat.com>
2431 * gdb.base/consecutive.exp: New file. Test stepping over
2432 breakpoints on consecutive instructions.
2433 * gdb.base/consecutive.c: New file.
2435 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2436 curly braces in regular expressions.
2438 2001-07-25 Michael Snyder <msnyder@redhat.com>
2440 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2441 legitimate output from stepping out of main.
2443 2001-07-22 Keith Seitz <keiths@redhat.com>
2445 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2446 the empty string, do not run the tests.
2448 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2450 * gdb.base/long_long.exp: Detect size of pointer. Take into
2451 account 2-byte pointers when testing for p/a results.
2453 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2455 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2456 and defined to 1K for m68hc11.
2457 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2458 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2459 (sizeof_random_data): New variable to tell the size of the data table;
2460 don't test past this size; always run to main.
2462 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2464 * gdb.base/return2.exp: return of long long and double fails for
2465 68HC11; don't execute these tests on that platform.
2466 * gdb.base/return.exp: Return of a double fails for 68hc11.
2468 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2470 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2471 tests that print a float.
2472 * call-rt-st.exp: Likewise.
2474 2001-07-12 Mark Kettenis <kettenis@gnu.org>
2476 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2477 running this test on Linux.
2479 2001-06-24 Michael Chastain <chastain@redhat.com>
2481 * gdb.base/arithmet.exp: Remove some tests to make all test names
2484 2001-07-03 Michael Snyder <msnyder@redhat.com>
2486 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2487 the output of the ptype command.
2489 2001-07-02 Michael Snyder <msnyder@redhat.com>
2491 * gdb.base/completion.exp: Don't assume that break.c is the only
2492 source file that may contain functions named "marker".
2493 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2495 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2497 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2500 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2501 * gdb.disasm/h8300s.exp: New file.
2502 gdb.disasm/h8300s.s: Likewise.
2504 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2506 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2507 empty breakpoint tables.
2509 2001-06-25 Andrew Cagney <ac131313@redhat.com>
2511 * lib/mi-support.exp: Update args=... part of stop-reason
2512 patterns. Accept either a list or a tuple.
2514 2001-06-23 Andrew Cagney <ac131313@redhat.com>
2516 * lib/mi-support.exp: Remove local emacs variable defining
2517 change-log-default-name.
2519 2001-06-22 Michael Chastain <chastain@redhat.com>
2521 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2522 This is operationally compatible with the previous version.
2524 2001-06-13 Jim Blandy <jimb@redhat.com>
2526 * lib/gdb.exp (gdb_test): Doc fix.
2528 2001-06-10 Michael Chastain <chastain@redhat.com>
2530 * gdb.base/exprs.exp: Remove a duplicate test.
2532 2001-06-06 Jim Blandy <jimb@redhat.com>
2534 * gdb.base/return2.exp (main): Use values to test float and double
2535 returns that are not NaN's, to avoid being confused by IEEE
2538 2001-06-04 Michael Snyder <msnyder@redhat.com>
2540 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2541 non-zero if control_c fails. Terminate the test on failure,
2542 rather than wait for 12 more tests to time out.
2544 2001-06-06 Jim Blandy <jimb@redhat.com>
2546 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2547 Don't forget to match the GDB prompt.
2549 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2551 2001-06-04 Jim Blandy <jimb@redhat.com>
2553 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2556 2001-05-31 Kevin Buettner <kevinb@redhat.com>
2558 * gdb.base/annota1.exp (info break): Match four or more spaces
2561 2001-05-31 Michael Chastain <chastain@redhat.com>
2563 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2564 (dm_type_int_star): Likewise.
2565 (dm_type_long_star): Likewise.
2566 (dm_type_void_star): Likewise.
2568 2001-05-29 Kevin Buettner <kevinb@redhat.com>
2570 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2571 to a known value in order to get consistent results regardless
2572 of the setting of INPUTRC or the presence or contents of .inputrc.
2574 2001-05-24 Michael Snyder <msnyder@redhat.com>
2576 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2577 Don't require that the main thread and the manager thread are the
2580 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2581 debugging. If test fails, issue an "unsupported" not a "fail".
2583 2001-05-24 Jim Blandy <jimb@redhat.com>
2585 Don't assume that short is shorter than int.
2586 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2587 assume that shorts are smaller than ints. On a 16-bit machine,
2589 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2590 an int, is not equal to ~0 stored in an unsigned char. This tests
2591 the same thing that the previous test meant to, but works on
2592 16-bit machines, too.
2593 ("print unsigned char != (~0)"): Same test, complemented.
2595 2001-05-24 Michael Snyder <msnyder@redhat.com>
2597 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2598 test for (full_coverage == 0). This makes the test run faster,
2599 and prevents dejagnu getting out of step.
2601 2001-05-23 Kevin Buettner <kevinb@redhat.com>
2603 * gdb.base/finish.exp (finish_void): Revise pattern for
2604 stopping on the call statement to not permit stopping at
2605 the start of the instructions comprising the call sequence.
2607 2001-05-19 Michael Chastain <chastain@redhat.com>
2609 * gdb.base/callfuncs.exp: Make all test names unique.
2610 * gdb.base/commands.exp: Make all test names unique.
2611 * gdb.base/condbreak.exp: Make all test names unique.
2612 * gdb.base/dbx.exp: Make all test names unique.
2613 * gdb.base/default.exp: Make all test names unique.
2614 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2615 and TIMEOUT messages to their corresponding PASS message.
2616 * gdb.base/ending-run.exp: Make all test names unique.
2617 * gdb.base/long_long.exp: Remove duplicate test.
2619 2001-05-21 Kevin Buettner <kevinb@redhat.com>
2621 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2622 stop on the call statement as well as the statement after the
2625 2001-05-21 Michael Snyder <msnyder@redhat.com>
2627 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2629 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2631 * gdb.base/completion.exp: Revamp test. Make it execute on all
2634 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2636 * config/gdbserver.exp (gdb_load): Handle the case
2637 in which the arguments to gdbserver are given in the
2638 baseboard configuration file.
2639 Also handle the case in which the server needs to do a
2642 2001-05-07 Keith Seitz <keiths@cygnus.com>
2644 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2645 set up the display for testing.
2646 (gdbtk_start): Convert all paths to paths that tcl will like.
2647 Export target information to environment.
2648 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2650 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2651 (to_tcl_path): New proc to convert a given pathname into
2652 a path acceptible as an argument to a tcl command.
2653 (_gdbtk_export_target_info): New proc to export target info
2654 into the environment for gdbtk testing.
2655 (gdbtk_done): New proc to signal end-of-test.
2657 2001-05-06 Jim Blandy <jimb@redhat.com>
2659 * restore.c: Make the code of caller0 correspond to its comment.
2661 2001-05-03 Michael Snyder <msnyder@redhat.com>
2663 * config/sid.exp (gdb_target_sid): Check for error messages.
2664 On error or timeout, don't make expect exit (which will terminate
2665 all subsequent tests); instead just make gdb exit.
2666 (gdb_load): Check for error messages. On error or timeout,
2667 return a negative value.
2669 2001-04-24 Jim Blandy <jimb@redhat.com>
2671 * gdb.c++/templates.exp: If we see the prompt for the overload
2672 list, but we haven't recognized any of the longer patterns,
2673 arrange for this test to fail, not hang.
2675 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2678 2001-04-22 Michael Chastain <chastain@redhat.com>
2680 * gdb.c++/local.exp: Use the 'runto' library function.
2681 * gdb.c++/namespace.exp: Likewise.
2682 * gdb.c++/overload.exp: Likewise.
2684 2001-03-26 Kevin Buettner <kevinb@redhat.com>
2686 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2687 * gdb.base/step-line.exp: New file. Test step/next in presence of
2689 * gdb.base/step-line.c: New file. Test program for the above.
2690 * gdb.base/step-line.inp: New file. We pretend that this file has
2691 been transformed by some other tool into step-line.c.
2693 2001-03-21 Jim Blandy <jimb@redhat.com>
2695 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2696 unmangled operator names.
2698 2001-03-20 Jim Blandy <jimb@redhat.com>
2700 * gdb.threads/linux-dp.exp: Recognize an additional message
2701 generated by GDB when it doesn't understand how to debug threads
2702 on the target system.
2704 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2706 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2708 2001-03-12 Michael Chastain <chastain@redhat.com>
2710 * gdb.c++/derivation.exp: Use the 'runto' library function.
2712 2001-03-12 Michael Chastain <chastain@redhat.com>
2714 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2716 2001-02-24 Michael Chastain <chastain@redhat.com>
2718 * gdb.c++/ref-types.exp: Change handwritten code to library
2721 2001-03-16 Orjan Friberg <orjanf@axis.com>
2723 * gdb.base/signals.exp: Set count to 0 explicitly.
2725 2001-03-15 Mark Salter <msalter@redhat.com>
2727 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2728 (gdb_target_monitor): Add check of gdb_target_cmd return value.
2729 (gdb_load): Add support for additional target_info: gdb_download_size
2730 and gdb_load_timeout.
2732 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2734 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2735 file -- to prevent failing when the compile fails but we have no
2736 intention of running the tests anyway.
2738 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2741 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2744 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2745 * gdb.c++/namespace.exp: Ditto.
2747 2001-03-07 Orjan Friberg <orjanf@axis.com>
2749 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2750 * gdb.base/pointers.exp: Relax pattern match of decimals.
2752 2001-03-06 Kevin Buettner <kevinb@redhat.com>
2754 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2755 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2756 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2757 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2758 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2759 config/sh.exp, config/sid.exp, config/slite.exp,
2760 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2761 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2762 config/vxworks.exp, config/vxworks29k.exp,
2763 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2764 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2765 gdb.base/arithmet.exp, gdb.base/assign.exp,
2766 gdb.base/async.exp, gdb.base/attach.exp,
2767 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2768 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2769 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2770 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2771 gdb.base/commands.exp, gdb.base/completion.exp,
2772 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2773 gdb.base/constvars.exp, gdb.base/corefile.exp,
2774 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2775 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2776 gdb.base/ending-run.exp, gdb.base/environ.exp,
2777 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2778 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2779 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2780 gdb.base/funcargs.exp, gdb.base/help.exp,
2781 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2782 gdb.base/logical.exp, gdb.base/long_long.exp,
2783 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2784 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2785 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2786 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2787 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2788 gdb.base/regs.exp, gdb.base/relational.exp,
2789 gdb.base/remote.exp, gdb.base/reread.exp,
2790 gdb.base/restore.exp, gdb.base/return2.exp,
2791 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2792 gdb.base/selftest.exp, gdb.base/setshow.exp,
2793 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2794 gdb.base/sigall.exp, gdb.base/signals.exp,
2795 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2796 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2797 gdb.base/step-test.exp, gdb.base/structs.c,
2798 gdb.base/structs.exp, gdb.base/structs2.exp,
2799 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2800 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2801 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2802 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2803 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2804 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2805 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2806 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2807 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2808 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2809 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2810 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2811 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2812 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2813 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2814 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2815 gdb.trace/circ.exp, gdb.trace/collection.exp,
2816 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2817 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2818 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2819 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2820 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2821 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2822 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2825 2001-02-27 Michael Snyder <msnyder@cygnus.com>
2827 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2828 first arg is int not float.
2830 2001-02-22 Michael Snyder <msnyder@cygnus.com>
2832 * gdb.base/reread.exp: Unsupported for non-native targets;
2833 doesn't work for remote debugging.
2835 2001-02-19 Fernando Nasser <fnasser@redhat.com>
2837 From Drew Moseley <dmoseley@redhat.com>
2838 * gdb.base/ending-run.exp: Properly handle the BSP state when
2839 stepping past the end of main.
2841 2001-02-19 John Moore <jmoore@redhat.com>
2843 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2844 Converted HPUX fix for non-expected items following multiple
2845 step commands into general solution for all platforms.
2847 2001-02-18 Michael Chastain <chastain@redhat.com>
2849 * gdb.c++/classes.exp (do_tests): Change runto statements
2850 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2851 statements demangler agnostic.
2852 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2853 (gdb_virtfunc_restart): Likewise.
2855 2001-02-14 Michael Chastain <chastain@redhat.com>
2857 * gdb.c++/inherit.exp (do_tests): Change runto statements
2858 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2859 statements demangler agnostic.
2861 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2863 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2864 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2865 before calling common_routine 15 times'' tests.
2867 2001-02-11 Michael Chastain <chastain@redhat.com>
2869 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2870 Helps the test script figure out which demangler is in use.
2871 (dm_type_foo_ref): Ditto.
2872 (dm_type_int_star): Ditto.
2873 (dm_type_long_star): Ditto.
2874 (dm_type_unsigned_int): Ditto.
2875 (dm_type_void): Ditto.
2876 (dm_type_void_star): Ditto.
2877 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
2878 Probe the gdb demangler and set variables to accommodate
2879 formatting differences.
2880 (info_func_regexp): New function. Same as info_func, but
2881 matches against a regexp.
2882 (info_func): Match against a literal string.
2883 (print_addr_2): New function. Match against a literal string,
2884 which can be different from the input to gdb.
2885 (print_addr): Simply call print_addr_2 with the same argument twice.
2886 (test_lookup_operator_functions): Use demangler formatting variables.
2887 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2888 the tests in the same order as the C++ class declaration.
2889 (test_paddr_operator_functions): Ditto.
2890 (test_paddr_overloaded_functions): Ditto.
2891 (test_paddr_hairy_functions): Use demangler formatting variables.
2892 Add reference to gdb/19 for related tests.
2893 (do_tests): Call probe_demangler.
2895 2001-01-30 Kevin Buettner <kevinb@redhat.com>
2897 * gdb.c++/templates.cc (printf): Remove unused function definition.
2899 2001-01-26 Felix Lee <flee@redhat.com>
2901 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2903 2001-01-25 matthew green <mrg@redhat.com>
2905 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2907 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2909 2001-01-25 matthew green <mrg@redhat.com>
2911 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2912 Deprecate $sid_spawn_id.
2913 (sid_exit): Remove code necessary only for `spawn.'
2915 2001-01-25 matthew green <mrg@redhat.com>
2917 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2919 2001-01-28 Michael Chastain <chastain@redhat.com>
2921 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2922 to call when tests fail. It takes gdb out of the overloaded
2923 function choice menu back to the main prompt, so that the test
2924 program stays synchronized.
2925 (set_bp_overloaded): New proc to collect all the common
2926 code for setting a breakpoint on an overloaded name. Calls
2927 take_gdb_out_of_choice_menu when needed.
2928 (menu_overload1arg): New variable to collect the repeated
2929 instances of the expected menu for an overloaded name. Change
2930 the regular expression to handle changes in g++ type encoding:
2931 "void" can be either "void" or "", and "unsigned int" can be
2932 either "unsigned int" or "unsigned".
2933 (continue_to_bp_overloaded): Change regular expressions to handle
2934 changes in g++ type encoding.
2935 (no proc): Call take_gdb_out_of_choice_menu when needed.
2936 Remove redundant calls to "info break". Accept either "canceled"
2937 or "cancelled". Change regular expressions in "info break"
2938 calls to handle changes in g++ type encoding. Give all tests
2941 2001-01-17 Ben Elliston <bje@redhat.com>
2943 * config/sid.exp: New file.
2945 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2947 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2949 2000-12-21 Michael Snyder <msnyder@cygnus.com>
2951 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2952 Add a RE to accept a non-ascii char if one is ever presented.
2954 2000-12-20 Fernando Nasser <fnasser@redhat.com>
2956 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
2958 2000-12-18 Michael Snyder <msnyder@cygnus.com>
2960 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2961 in regexp. One '\' does not suffice on Linux.
2963 2000-12-09 Michael Chastain <chastain@redhat.com>
2965 * gdb.base/break.exp (test_clear_command): Use a marker function
2966 rather than 'main' for the test function. Also move this
2967 test to an execution point where the marker function names are
2968 guaranteed to be bound to functions. (Executing tests after a
2969 'finish' from main runs into name conflicts with local names
2970 in __libc_start_main).
2972 2000-12-07 Michael Snyder <msnyder@cygnus.com>
2974 * gdb.base/finish.exp: New test for gdb's "finish" command.
2975 * gdb.base/return2.exp: New test for gdb's "return" command.
2976 * gdb.base/return2.c: New source file for above.
2978 2000-12-05 Michael Snyder <msnyder@cygnus.com>
2980 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2981 * gdb.base/miscexprs.exp: Ditto.
2982 * gdb.base/pointers.exp: Ditto.
2983 * gdb.c++/derivation.exp: Ditto.
2984 * gdb.c++/local.exp: Ditto.
2985 * gdb.c++/namespace.exp: Ditto.
2986 * gdb.c++/overload.exp: Ditto.
2987 * gdb.c++/ref-types.exp: Ditto.
2989 2000-12-05 Michael Snyder <msnyder@cygnus.com>
2991 * gdb.base/constvars.exp: Test result of "up" command.
2992 * gdb.base/miscexprs.exp: Ditto.
2993 * gdb.base/pointers.exp: Ditto.
2994 * gdb.base/scope.exp: Ditto.
2995 * gdb.c++/derivation.exp: Ditto.
2996 * gdb.c++/local.exp: Ditto.
2997 * gdb.c++/namespace.exp: Ditto.
2998 * gdb.c++/overload.exp: Ditto.
2999 * gdb.c++/ref-types.exp: Ditto.
3001 2000-11-22 Michael Chastain <chastain@redhat.com>
3003 * mips_pro.exp: Accept either "middle -> top -> main" or
3004 "middle -> main" in the backtrace, because gcc can optimize
3005 tail calls to jumps. Remove setup_xfail for the hppa case.
3006 Add a comment with the original warning messages from PR 3016,
3007 which was filed in 1993, to preserve them for posterity.
3009 2000-11-17 Nick Duffek <nsd@redhat.com>
3011 * lib/gdb.exp (gdb_test): Override timeout with board info.
3013 2000-11-17 Nick Duffek <nsd@redhat.com>
3015 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3016 the second kill and detach messages.
3018 2000-11-17 Nick Duffek <nsd@redhat.com>
3020 * configure.in: Add AC_EXEEXT.
3021 * configure: Regenerate.
3022 * Makefile.in (just-check): Export EXEEXT.
3023 * lib/gdb.exp ($EXEEXT): Import from environment.
3024 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3025 expect "maint dump-me" on Cygwin.
3026 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3029 2000-11-17 Nick Duffek <nsd@redhat.com>
3031 * gdb.base/break.exp: Test backtrace and finish from called
3032 function on all platforms, not just HP-UX.
3034 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3036 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3037 code from gdb_target_monitor, so it can be used independantly
3038 for gdbserver. Also comment out an unnecessary PUTS.
3040 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3042 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3043 * gdb.base/corefile.exp: Expect the message "Program is being
3044 debugged already" when we send the "corefile" command, since
3045 the preceeding gdb_load may have connected gdb to a remote target.
3046 * gdb.base/display.exp: Disable hardware watchpoints if new
3047 board info variable "no_hardware_watchpoints" is true.
3048 Replace single-letter commands with more readable ones.
3049 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3050 if new board info variable "no_hardware_watchpoints" is true.
3051 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3052 to see if stdio (printf) testing is possible.
3053 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3054 board info variable "no_hardware_watchpoints" is true. Use new
3055 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3057 2000-11-13 Fernando Nasser <fnasser@redhat.com>
3059 From Orjan Friberg <orjanf@axis.com>:
3060 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3061 in array print pattern match.
3063 2000-11-09 Fernando Nasser <fnasser@redhat.com>
3065 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3066 spelling "cancelled" to U.S. spelling "canceled" to match changes
3068 * gdb.c++/ovldbreak.exp: Ditto.
3070 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3072 * gdb.base/callfuncs.c (main): Moved to end of file, call
3073 t_double_values to initialize the FPU before inferior calls are made.
3074 * gdb.base/callfuncs.exp: Test for register preservation after calling
3075 inferior functions. Add tests for continuining, finishing and
3076 returning from a stop in a call dummy.
3078 2000-10-24 Michael Snyder <msnyder@cygnus.com>
3080 * gdb.base/commands.exp: Break up long lines, and re-indent.
3082 2000-10-19 Michael Snyder <msnyder@cygnus.com>
3084 * config/gdbserver.exp: Rewritten from the ground up, to make it
3085 compatible with the current dejagnu tree, and to make it work with
3086 the new "gdbserver" in libremote.
3088 2000-10-16 Michael Snyder <msnyder@cygnus.com>
3090 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3091 * gdb.base/varargs.exp: Skip entire test if no printf support.
3092 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3093 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3095 2000-10-13 Michael Snyder <msnyder@cygnus.com>
3097 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3098 no floating point support.
3099 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3100 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3101 * gdb.base/call-rt-st.exp: Ditto.
3102 * gdb.base/call-strs.exp: Ditto.
3104 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3106 * gdb.base/sizeof.c: include <stdio.h>.
3108 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3109 'finish', otherwise uncaptured gdb_prompt would potentially
3110 throw remaining test points out of sync.
3112 2000-07-26 Scott Bambrough <scottb@netwinder.org>
3114 * gdb.base/recurse.exp: Run tests for all targets.
3115 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3116 gnu-oldld case on ARM.
3117 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3120 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3122 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3123 * gdb.java/configure: Rebuild.
3125 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3127 * gdb.java/jv-exp.exp: New file.
3129 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3131 * configure: Rebuilt.
3132 * configure.in (configdirs): Add gdb.java.
3133 * gdb.java/jmisc.java: New file.
3134 * gdb.java/jmisc.exp: New file.
3135 * gdb.java/Makefile.in: New file.
3136 * gdb.java/configure: Rebuilt.
3137 * gdb.java/configure.in: New file.
3138 * lib/java.exp: New file.
3140 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3142 * gdb.base/exprs.exp: Test casts to a pointer including over and
3145 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3147 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3148 and the compilers sizes.
3150 2000-07-09 Nick Duffek <nsd@redhat.com>
3152 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3153 (use_methods): New function.
3154 (main): Call use_methods().
3155 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3156 (do_tests): Call test_method_param_class.
3158 2000-07-09 Nick Duffek <nsd@redhat.com>
3160 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3162 (test_enums): New procedure. Move enum tests from end of script
3163 to here. Set breakpoint on function name instead of line number.
3164 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3165 (enums2): New marker function.
3166 (enums1): New function.
3167 (main): Call enums1(). Move enum tests to enums1().
3169 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3171 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3172 compile/link program. Update line numbers.
3173 * gdb.asm/d10v.inc: Define ``startup''.
3174 * gdb.asm/asmsrc1.s: Add definition of _start.
3176 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3178 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3180 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3182 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3183 of 'help maint print' command.
3185 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3187 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3188 they use gdb_expect_list.
3190 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3192 * gdb.base/commands.exp: Use ``set remote
3193 memory-read-packet-size'' instead of ``set endian big'' to test
3196 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
3198 * gdb.c++/templates.exp (do_tests): Make all of these work under
3199 g++, and stop skipping them.
3201 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3204 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3207 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3209 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3210 the regular expression: accept an (almost) arbitrary sequence of
3211 "frames-invalid" and "breakpoints-invalid" messages both before
3212 and after the "starting" message.
3214 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3216 * gdb.c++/local.exp: This test has never been known to work with g++.
3218 2000-05-18 Michael Snyder <msnyder@cygnus.com>
3220 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3221 Relax the regular expression a little, make it pass on Solaris 8.
3223 2000-05-12 Kevin Buettner <kevinb@redhat.com>
3225 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3226 a call, do not require that gdb stop on the line after the call.
3227 Instead, it is permissible for gdb to stop on the line of the
3230 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
3232 * gdb.base/break.exp (bp on small function, optimized file):
3233 Add a second pass pattern. The behavior differs here between stabs
3234 and dwarf for one-line functions. Stabs preserves two line symbols
3235 (one before the prologue and one after) with the same line number,
3236 but dwarf regards these as duplicates and discards one of them.
3237 Therefore the address after the prologue (where the breakpoint is)
3238 has no exactly matching line symbol, and GDB reports the breakpoint
3239 as if it were in the middle of a line rather than at the beginning.
3241 2000-05-08 Michael Snyder <msnyder@cygnus.com>
3243 * gdb.base/interrupt.exp: Make "pass" message say "send"
3244 rather than "send_gdb" (for consistancy).
3246 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3248 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3249 * gdb.c++/templates.cc: Properly check for GCC version number.
3250 * lib/compiler.cc: Likewise
3252 2000-04-28 Michael Snyder <msnyder@cygnus.com>
3254 * gdb.base/break.exp: When compiled with -O2 optimization,
3255 gdb may not stop at the first line of main, due to code motion.
3257 2000-04-26 Michael Snyder <msnyder@cygnus.com>
3259 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3260 This test depends on parsing the printf output from the target.
3261 Since the sparclet stub doesn't do stdio, this will never work.
3262 * gdb.base/call-rt-st.exp: ditto.
3263 * gdb.base/call-strs: ditto.
3265 2000-04-24 Michael Snyder <msnyder@cygnus.com>
3267 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3269 * gdb.base/ending-run.exp: After connecting to a remote target,
3270 but before running, the target will appear to be in a random
3271 location. Specify both a file and a line for breakpoints.
3272 Also, the function that calls main may be called 'init'
3273 rather than 'start'.
3275 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3277 * gdb.base/help.exp: Update output for add-symbol-file command.
3279 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
3281 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3282 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3284 2000-04-07 J.T. Conklin <jtc@redback.com>
3286 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3288 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3290 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3292 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3293 values that can be represented exactly.
3294 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3295 above change, and to not check against the directory part of the source
3297 (step into print_long_arg_list): Likewise.
3298 (print print_small_structs from print_long_arg_list): Likewise.
3299 (print print_long_arg_list): Likewise.
3301 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3303 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
3305 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3307 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3309 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
3311 * gdb.base/commands.exp (deprecated_command_test): Add test for
3312 deprecate with no arguments.
3314 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3316 * gdb.base/break.exp: Add new test for setting breakpoints on
3317 optimized code so we can test breakpoints work even when function
3318 prologues may be optimized away
3320 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3322 From David Whedon <dwhedon@gordian.com>
3323 * gdb.base/commands.exp : Added command deprecator tests.
3325 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
3327 * gdb.base/help.exp: Added test for new apropos command.
3329 2000-03-21 Kevin Buettner <kevinb@redhat.com>
3331 * gdb.base/pointers.c (usevar): New function.
3332 (main): Make sure that global variables v_int_pointer2, rptr,
3333 and y are all referenced someplace in the program by calling
3334 usevar() on them. [Some linkers delete symbols which are
3335 never referenced. The space remains, but there's no way to
3336 get a (symbolic) handle on the variable from the debugger.]
3338 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3340 * gdb.base/printcmds.c: Add typedeffed arrays.
3342 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3343 procedure to test arrays that are typedef'd.
3345 2000-03-13 James Ingham <jingham@leda.cygnus.com>
3347 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
3348 the library directories.
3350 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3352 * configure.in (configdirs): Add sub directory gdb.mi.
3353 * configure: Re-generate.
3355 * gdb.mi: New directory.
3357 2000-02-25 Scott Bambrough <scottb@netwinder.org>
3359 * gdb.base/long_long.exp: Correct test suite failure when printing
3360 a long long value as a double on ARM platforms.
3362 2000-02-16 Jim Blandy <jimb@redhat.com>
3364 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3365 default source file is set properly before running this test.
3367 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3369 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3370 gdbtk/library directory, not in gdbtcl2.
3372 2000-02-04 Jim Blandy <jimb@redhat.com>
3374 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3375 backslash from regexp pattern.
3377 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3378 procedure. Use it to run all the "continue to bp overloaded"
3379 tests. Note that this changes the names of the tests slightly.
3380 If the breakpoint hit message includes a hex PC value, because
3381 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3382 from the real source code, still consider that a pass.
3384 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3385 XFAIL here if the breakpoint message contains a hex address. Note
3386 similar change on 1999-11-02.
3388 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3390 * gdb.base/ptype.exp: Establish a default source file before
3391 calling get_debug_format.
3393 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3395 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3397 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3399 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3400 of successive stepi commands -- while in the prologue we should see
3401 the function entry bracket.
3403 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3405 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3406 reach __change_mode() when stepping through the end of main().
3408 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3410 * gdb.base/default.exp: Fix expected pattern.
3411 * gdb.base/help.exp: Same.
3413 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3415 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3416 Don't use xfail's because that affects only the following test.
3418 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3421 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3423 2000-01-07 Michael Snyder <msnyder@cygnus.com>
3425 * gdb.base/display.exp: Some yacc parsers like to say
3426 "A syntax error" rather than "A parse error". Accept both.
3428 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3430 * gdb.base/default.exp: Remove OS dependent string from "target
3432 * gdb.base/help.exp: Same for "help target remote" test.
3434 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3436 From Jim Kingdon <kingdon@redhat.com>:
3438 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3439 prompt (cleanup rather than necessity, but still might keep output
3440 from spilling to next test).
3442 2000-01-02 Fred Fish <fnf@cygnus.com>
3444 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3445 AIX, which defines them in <sys/types.h>.
3447 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
3449 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3452 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
3454 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
3456 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3457 outermost frame disallowed".
3459 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3461 * gdb.base/setvar.exp: New tests for setting the value of a struct
3462 with a constant list.
3464 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3466 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3467 require the user to type a cast before setting the value of a struct.
3469 1999-12-06 Jim Blandy <jimb@cygnus.com>
3471 * gdb.base/default.exp: Expect the new 'info float' command on
3474 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3475 LinuxThreads libraries that don't support debugging.
3477 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3479 * gdb.base/remote.c: Fill the buffer with truely random data.
3480 Change the buffer type to ``unsigned char'' to simplify size
3483 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3484 stub only handles 400-1 byte packets. Verify that the download
3487 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3489 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3490 tests, using UNRESOLVED for the untested cases. Also, does not wait
3491 for a timeout if the prompt was received before a recognizable pattern.
3493 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3495 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3497 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3499 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3502 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3504 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3506 * gdb.c++/local.exp: Be more flexible in recognizing local class
3507 name mangling. Don't allow horribly truncated method names.
3508 * gdb.c++/derivation.exp: Expect protected inheritance.
3509 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3510 * gdb.c++/virtfunc.exp: Likewise.
3511 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3512 when printing a nested enum.
3514 1999-11-22 Jim Blandy <jimb@cygnus.com>
3516 * gdb.base/step-test.exp: Properly await GDB's response to setting
3517 a breakpoint on the call to large_struct_by_value.
3519 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3520 just because we have debug info for the `start' function.
3522 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3524 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3525 "Unknown signal" messages, which indicate (on LinuxThreads) that
3526 GDB doesn't know how to debug threads on this system. This is
3527 better than hanging while philosopher 0 dumps chatter into gdb.log.
3529 1999-11-18 Tom Tromey <tromey@cygnus.com>
3531 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3533 1999-11-18 Fred Fish <fnf@cygnus.com>
3535 * gdb.base/coremaker2.c: Add sample program for generating
3536 cores that is more self contained than coremaker.c. Eventually
3537 I'll add more code to this and tie it into the testsuite.
3539 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3541 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3543 1999-11-10 Jimmy Guo <guo@cup.hp.com>
3545 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3547 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3550 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3552 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
3553 'continue with watch' test point.
3555 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3557 Merged from p2linux-990323-branch:
3559 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3561 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3563 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3564 {limit,fixed}''. Test ``set download-write-size''.
3566 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3568 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3571 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3573 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3575 1999-11-03 Mark Salter <msalter@cygnus.com>
3577 * gdb.base/break.exp: Fix "stub continue" pattern.
3579 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3581 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3583 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3585 * gdb.base/display.exp ("finish"): Add timeout clause.
3587 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3588 plain prompt clause, so this doesn't have to time out in order to
3591 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3592 breakpoint hit messages include an address.
3594 * gdb.base/display.exp: Don't forget to escape parens in regular
3595 expressions. Unix regexp notatation sucks.
3597 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3599 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3600 order for 'signalled' message.
3602 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3604 From Jimmy Guo <guo@cup.hp.com>:
3605 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3606 * gdb.base/annota1.c: Add code for tests to work with.
3608 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3610 * gdb.base/remote.exp: New test for remote downloading settings.
3611 * gdb.base/remote.c: New file with large .data.
3613 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3615 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3616 for LinuxThreads support, merged from the Code Fusion branch.
3618 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3620 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3621 containing exp_continue into a while within an expect. Don't
3622 attempt a start more than three times. Check return value from
3625 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3627 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3630 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
3632 * gdb.base/break.c (main): Added a statement that we can step
3634 * gdb.base/break.exp: Added tests for setting a breakpoint
3635 at an offset and stepping onto a breakpoint.
3637 1999-10-01 Fred Fish <fnf@cygnus.com>
3639 * gdb.base/help.exp (help add-symbol-file): Update to match current
3642 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3644 * gdb.base/break.exp: Code locations are in hex, don't forget!
3647 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3649 * condbreak.exp: Use break.c as test program.
3650 * condbreak.c: Remove, redundant with break.c.
3652 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3654 * config/monitor.exp (gdb_target_monitor): Disable X- and
3655 Z-packets if the target needs it.
3657 1999-09-13 James Ingham <jingham@leda.cygnus.com>
3659 * gdb.c++/overload.exp: Added tests for listing overloaded
3660 functions with function pointers in the arg, explicitly calling
3661 out the version you want.
3663 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3665 * long_long.exp: Add variations of test cases that work for
3666 targets with 16-bit ints and 32-bit doubles.
3668 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3670 * break.c (main): Compare a possibly-uninitialized argc with an
3671 unlikely value that fits in 16 bits.
3673 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3675 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3676 0xfeeb, don't want negative numbers if ints are 16 bits.
3678 * lib/gdb.exp (skip_cplus_tests): New proc.
3679 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3680 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3681 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3682 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3683 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3684 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3685 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3686 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3688 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3690 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3692 * gdb.base/corefile.exp (up): Allow a parameter to appear
3693 in the frame that we're going up to.
3695 From Jim Blandy <jimb@cygnus.com>:
3697 * gdb.base/default.exp (info float): Expect some output now.
3699 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3700 returning floating-point values to fail on the x86.
3701 * gdb.base/callfwmall.exp (do_function_calls): Same.
3703 * gdb.base/list.exp (test_listsize): Correct expectations for
3704 listing line 1 with listsize 2. Also, listing a single line
3705 works now, as does listing three lines. [Kevin's note: There
3706 were a number of other cases fixed too where the expectations
3709 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3711 * gdb.base/selftest.exp: Add case for when version prints as
3712 constant string instead of char pointer.
3714 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3716 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3717 stepping out of main.
3719 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3722 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3723 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3725 * gdb.c++/ovldbreak.exp: Update match string in test that
3726 includes a warning of multiple breakpoints.
3728 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3730 * gdb.base/display.exp: Improve precision of step-after-finish
3733 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3736 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3737 configs when using G++, not just hppa*.
3739 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3741 * gdb.base/async.c: New file.
3742 * gdb.base/async.exp: New file.
3744 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3746 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3749 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3751 * gdb.base/display.exp: "finish" can leave us mid-line on many
3752 targets, deal with it. Add a small constant to main, instead of
3753 1000 since main+1000 may not be a valid address in the target.
3755 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3758 * gdb.base/attach.exp: Handle another hpux11 error message variant
3759 when attaching to a process that does not exist.
3761 1999-08-19 J.T. Conklin <jtc@redback.com>
3763 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3764 characters in 'continue to 1241' test.
3766 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3768 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3769 stop in print_long_arg_list, define and use a whitespace
3770 variable in print_small_structs test, add an XFAIL for Solaris.
3771 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3772 interested enough to fix.
3774 1999-08-13 Keith Seitz <keiths@cygnus.com>
3776 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3777 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3778 proc knows about targets other than the natives.
3779 (test_assign): Use "gdb_run_cmd" to "run" the target.
3780 Check that we've actually hit the breakpoint at main.
3781 When we attempt to assign a value to a local variable, check
3782 that the variable is in the current scope, i.e., don't use
3783 a test with an empty result.
3785 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3787 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3790 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3792 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3793 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3794 gdb.compat, gdb.threads-hp.
3795 gdb.hp/configure, gdb.hp/configure.in: New files.
3796 gdb.hp/Makefile.in: Recurse into new subdirs.
3797 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3798 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3800 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3802 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3804 * gdb.base/display.exp: Help expect by putting a newline in the
3805 funky printf, remove a bogus p/a test.
3807 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3809 * gdb.base/display.exp: Make sure that when we say 'run', we are
3810 connected to the target. This is necessary when running not
3813 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3815 * gdb.base/step-test.exp: Removed some extraneous messages.
3817 * gdb.base/long_long.exp: Don't run memory examination tests
3818 on little-endian targets (they will need a different set of
3821 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3823 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3824 until somebody decides to fix GDB.
3826 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3828 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3829 matches for a couple x/2 commands.
3831 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3833 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3834 by merging in ref-types2 tests.
3835 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3837 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3838 * gdb.c++/Makefile.in: Add standard actions.
3839 (EXECUTABLES): Rename from PROGS, update list.
3840 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3842 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3844 * gdb.c++/anon-union.exp: Fix tests to match.
3845 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3846 expect matches to handle output variations.
3847 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3848 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3849 output, add HP alternatives for new and delete prints.
3850 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3851 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3852 * gdb.c++/demangle.exp: Use $style when reporting failure.
3853 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3854 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3856 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3858 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3859 * gdb.c++/method.exp: Add match alternatives.
3860 * gdb.c++/misc.cc: Add bool types.
3861 * gdb.c++/misc.exp: Add tests for bool types.
3862 * gdb.c++/overload.exp: Add xfails.
3863 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3864 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3865 add some more template parameter tests (only for HP currently).
3866 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3867 * gdb.c++/virtfunc.cc: Add return type and value for main.
3868 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3871 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3873 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3875 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3877 * gdb.base/signals.exp: Don't expect getting a backtrace from
3878 within a signal handler to fail on Linux.
3880 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3882 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3883 * lib/gdb.exp: Remove some gratuitious semicolons.
3884 (delete_breakpoints): Increase timeout.
3885 (gdb_expect): Add -notransfer option.
3886 (gdb_test): Use -notransfer option.
3887 (get_compiler_info): Add f77 case.
3888 (get_compiler): New proc, split out from gdb_preprocess, add f77
3890 (gdb_preprocess): Call get_compiler.
3892 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3893 * gdb.base/attach.exp, gdb.base/display.exp,
3894 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3895 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3896 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3897 third arg to gdb_test.
3898 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3899 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3900 HP-UX xfails, add others.
3901 * gdb.base/completion.exp: Reflect name change of self-test.
3902 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3903 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3904 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3906 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3907 useless HP-UX 10.30 references.
3908 * gdb.base/maint.exp: Loosen matches.
3909 * gdb.base/pointers.c (main): Declare more_code.
3910 * gdb.base/pointers.exp: Match on output of a `next'.
3911 * gdb.base/structs.c: Add prototypes.
3912 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3913 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3915 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3917 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3920 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3922 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3923 Fix run to main failures. Watchpoint can be hardware watchpoint.
3925 * gdb.base/annota1.exp: Clean up some more, in case printf has
3926 debug info. Deal with lack of signal hanlder info in stack.
3928 From Jim Kingdon <kingdon@redhat.com>:
3929 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3931 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3933 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3934 gdb.base/foll-vfork.exp: Don't run for crosses.
3936 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3938 * gdb.base/configure.in: Check for gdbvars.exp instead of
3940 * gdb.base/configure: Re-generate.
3942 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3944 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3945 in trying to run first and name is too long.
3947 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3948 pointers2.c and pointers2.exp, respectively.
3949 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3952 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3954 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3955 callfuncs2.c and callfuncs2.exp.
3957 * gdb.base/list.exp: Remove mistaken xfails.
3958 * gdb.base/list0.h: Add optional prototypes.
3960 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3962 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3964 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3965 * ptype.exp: Move test for get_debug_format to before its first
3968 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3970 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3971 * gdb.base/annota2.cc, annota2.exp: Move from here.
3972 * gdb.c++/annota2.cc, annota2.exp: To here.
3973 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3975 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3977 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3978 a consistent format.
3980 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3982 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3983 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3984 HP compilers, also set the globals $true and $false.
3986 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3987 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3988 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3989 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3990 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3991 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3992 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3993 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3994 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3995 whatis.c} Add C++ compatible function definitions and return
3996 types, add includes for library functions.
3997 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3998 * gdb.base/step-test.c (myglob): Rename from glob.
3999 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4000 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4001 files, move here from gdb.hp.
4002 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4003 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4004 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4005 Adjust line numbers in regexps.
4007 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4008 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4011 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4012 foll-vfork.exp: New files, move here from gdb.hp.
4013 * gdb.base/page.exp: New file, test of pagination command.
4015 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4017 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4019 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4020 gdb.base/solib.exp: Fix compiler invocation process.
4022 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4023 HP-UX 11, turn off overload resolution explicitly.
4024 * gdb.base/commands.exp: Set argument list explicitly, add
4026 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4028 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4029 expressions properly.
4030 * gdb.base/corefile.exp: Loosen the match slightly.
4031 * gdb.base/default.exp: Allow "Error accessing memory" message
4033 * gdb.base/display.exp: Skip over x/0 j if PA64.
4034 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4035 * gdb.base/interrupt.exp: Ditto.
4036 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4038 * gdb.base/list.exp: Add xfails for HP-UX.
4039 * gdb.base/long_long.exp: Refine some of the numeric matches.
4040 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4041 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4042 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4043 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4044 * gdb.base/ptype.exp: Succeed on more varieties of output.
4045 * gdb.base/scope.exp: Add xfails for HP-UX.
4046 * gdb.base/sect-cmd.exp: Add more cases.
4047 * gdb.base/setvar.exp: Add xfails for HP-UX.
4048 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4049 * gdb.base/signals.exp: Match on void symbolically.
4050 * gdb.base/step-test.exp: Add case for PA64.
4051 * gdb.base/term.exp: Add exit and restart.
4052 * gdb.base/twice.exp: Clean up after self.
4053 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4054 * gdb.base/whatis.exp: Allow more ways to pass tests.
4056 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4059 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4061 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4063 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4064 print_double_array(double_array)", "continuing to breakpoint
4065 1018", "print print_double_array(array_d)" and "continuing to
4068 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4070 * Makefile.in: Add empty html and install-html targets.
4072 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4074 * config/mt-*: Remove, these haven't been used since 1996.
4076 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4078 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4079 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4080 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4082 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4084 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4085 simpler match case for the ptype of the big class.
4087 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4089 * gdb.exp: Fix test for gdb_prompt existence.
4091 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4093 * gdb.exp (gdb_test): Add fail after calls to perror.
4095 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4097 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4099 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4101 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4103 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4105 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4106 malloc() is linked in.
4108 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4110 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4113 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4115 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4117 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4119 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4121 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4122 * gdb.base/mips_pro.exp: Likewise.
4124 1999-06-02 Keith Seitz <keiths@cygnus.com>
4126 * gdb.c++/templates.cc: Change all "new" operators to throw
4128 * gdb.c++/cplusfuncs.cc: Likewise.
4130 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4132 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4134 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4135 * gdb.base/ending-run.exp: When stepping out of main, accept a
4136 step into an arbitrary assembler file.
4138 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4140 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
4141 "breakpoint-invalid" to be printed.
4142 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
4143 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4144 * gdb.base/annota2.cc: Initialize a.x to 0.
4146 1999-05-17 Keith Seitz <keiths@cygnus.com>
4148 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4149 when "skip_float_tests" set.
4150 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4151 "print print_ten_doubles", and "step into print_long_arg_list".
4152 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4153 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4154 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4155 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4156 "skip_float_tests" is set.
4157 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4158 when "skip_float_tests" set.
4160 1999-05-06 Keith Seitz <keiths@cygnus.com>
4162 * gdb.base/annota2.cc: Include stdio.h.
4164 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4166 * gdb.base/crossload.exp: Remove, this has been disabled ever
4167 since BFD stopped including all targets, and cross-GDB gets
4168 plenty of testing anyway.
4169 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4170 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4171 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4172 * gdb.base/README: Remove, was doc for this.
4173 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4176 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4178 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4181 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4182 * gdb.base/annota2.exp: New file. More annotation tests.
4183 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4184 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4186 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
4188 * config/cfdbug.exp: New file.
4190 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4192 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4193 Marcus Daniel's and Dale Hawkins's demangler crashes.
4195 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4196 test_lucid_style_demangling, test_arm_style_demangling,
4197 test_hp_style_demangling): Try Tom Tromey's core-dumping
4198 identifier under each demangling style.
4200 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4202 * gdb.c++/demangle.exp: Include the current demangling style
4204 (current_demangling_style): New global variable.
4205 (set_demangling_style, test_demangling_core, test_demangling,
4206 test_demangling_exact): New functions.
4207 (test_gnu_style_demangling, test_lucid_style_demangling,
4208 test_arm_style_demangling, test_hp_style_demangling): Use those,
4209 instead of calling gdb_test and gdb_test_exact directly.
4210 (catch_demangling_errors): New function, which reports errors
4211 signalled by the demangling test functions in an orderly way.
4212 (do_tests): Use catch_demangling_errors.
4214 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4216 * gdb.base/signals.exp (test_handle_all_print): Use () for
4217 grouping in expressions, not {}.
4219 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4222 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4224 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4227 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4229 * gdb.stabs/weird.exp: Test for CC being defined before
4230 looking at its value.
4232 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4234 * gdb.base/call-ar-st.exp: Remove stray '#'.
4235 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4236 "short int" and "long int".
4237 * gdb.c++/overload.cc: Cast the string added in the previous
4238 change, to mollify finicky HP compiler.
4239 * gdb.hp/reg-test.exp (testfile): Fix file name.
4240 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
4242 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4243 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4244 alternate form of enum ptype.
4246 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4248 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4249 * gdb.hp/*.exp: Change all to run compiler probe only after
4250 passing skip_hp_tests, so as not to waste time on guaranteed
4253 * gdb.c++/overload.cc: Pass string instead of char addr, always
4255 * gdb.c++/templates.cc: Fix syntax error.
4257 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4259 * gdb.base/commands.exp: Add test for correct position of '>'
4260 when issuing the 'commands' command after a 'while' or 'if'
4263 1999-03-18 James Ingham <jingham@cygnus.com>
4265 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4267 * gdb.c++/method.exp: It was testing an uninitialized int on the
4268 stack and assuming it was positive.
4270 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4272 * gdb.base/step-test.exp: Catch a case where finish is broken and
4273 keep it from killing the rest of the tests.
4274 Use gdb_continue_to_end.
4276 * gdb.base/sigall.exp: use gdb_continue_to_end.
4278 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4280 * gdb.base/display.exp: use runto_main, not run.
4282 * gdb.base/default.exp: Check for the current error message in the
4283 r abbreviation test.
4284 Add strongarm to the targets that know info float.
4286 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
4287 run which doesn't work with monitors.
4289 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4291 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4293 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
4294 program. Traps the case (in Cygmon) when the program never really
4295 exits. Same as Mark's continue_to_exit, but I had put it in a lot
4296 more places, so I used my name. Sorry Mark...
4298 * config/monitor.exp (gdb_target_monitor): added another
4299 target_info parameter: remotebinarydownload. This will set the
4300 remotebinarydownload flag if this is causing some boards trouble.
4302 1999-03-18 Mark Salter <msalter@cygnus.com>
4304 * lib/gdb.exp (continue_to_exit): New function.
4306 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4307 * gdb.base/ending-run.exp: Ditto.
4308 * gdb.base/step-test.exp: Ditto.
4310 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4312 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4313 (suggested by Art Haas <ahaas@neosoft.com>).
4315 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4317 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4319 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4321 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4322 descriptions of types (short unsigned int vs unsigned short, etc).
4324 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4326 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4327 a call to strlen; sometimes we do have sources.
4329 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4331 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4332 character, so GDB won't print garbage after its end.
4334 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4335 breakpoint there instead. Sometimes GCC emits memcpy to handle
4336 the large structures being passed by value, so we step into that
4337 instead of sum_array_print, which obscures what we're really testing.
4338 * gdb.base/step-test.exp: However, we do want a test that notices
4339 the bizarre steps into memcpy, so do that here. Add check for
4340 stepping into function calls that pass large structures by value.
4341 ("Is that a noun clause, or are you just happy to see me?")
4342 Remove all references to specific line numbers.
4343 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4344 New type and function.
4345 (main): Call large_struct_by_value, passing it a large struct by value.
4346 * lib/gdb.exp (gdb_get_line_number): New function.
4348 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4351 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4353 * lib/gdb.exp: Doc fixes.
4355 1999-03-05 Nick Clifton <nickc@cygnus.com>
4357 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
4359 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4361 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4362 commands. They're not germane to this test, and they don't work
4363 that way on remote targets.
4365 1999-03-01 James Ingham <jingham@cygnus.com>
4367 * Changelog entries merged over from gdb development branch.
4369 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4371 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4372 for outputting results of test run.
4374 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
4376 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
4378 1999-02-25 Felix Lee <flee@cygnus.com>
4380 * lib/gdb.exp (debug_format): initialize
4382 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4384 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4385 * gdb.base/call-rt-st.c: Ditto.
4387 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4389 * gdb.threads/pthreads.exp (horiz): New variable.
4390 (test_startup): Fix regexps that capture thread numbers.
4392 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4394 * gdb.base/smoke.exp: Disambiguate two test case names (both
4397 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4399 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4402 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4404 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4405 actual output formatting.
4406 * gdb.base/smoke.exp: GDB removes leading 0's.
4407 * gdb.base/volatile.exp: Don't check type of remuneration;
4408 that variable is no longer defined in constvars.c.
4409 * gdb.base/step-test.c (main): Exit with explicit exit code.
4410 * gdb.base/step-test.exp: Remove two nexti checks--they are
4413 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4415 * gdb.base/help.exp ("help delete display"): Fix test to match
4418 * gdb.base/long_long.c (known_types): Initialize values to zero.
4419 * gdb.base/long_long.exp: Step one more line
4420 so 'dec' is initialized in "get to known place". GDB removes
4421 leading zeros. Explicitly ask for hex formatting. Use
4422 unique test case names.
4424 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4426 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
4428 * gdb.c++/method.exp: Add missing close brace.
4430 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4432 * gdb.base/maint.exp: Use 'set height 0' to disable page
4433 prompting, not 'set height 400'.
4435 Fix a bunch of timeouts.
4436 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4437 four separate tests, so expect doesn't take forever to match a ton
4438 of text against a regexp with lots of .* forms.
4439 ("maint print psymbols", "maint print symbols"): Make some of
4440 these greps more selective, so that expect doesn't try to wade
4441 through huge piles of output and time out.
4443 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4445 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4446 tests: one which doesn't expect shlib events to be reported, and
4447 another which does, but is XFAIL for all platforms other than
4450 * gdb.base/break.exp: Teach the test suite that the `catch
4451 fork', `catch vfork', and `catch exec' commands produce error
4452 messages on platforms that don't provide these features.
4454 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4456 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4457 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4458 (shortening names from solib_threshold.exp etc), won't run on
4459 anything but HP-UX for the foreseeable future.
4460 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4463 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4465 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4466 gdb.trace/Makefile.in (clean): Remove all test executables.
4468 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4470 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4471 successfully re-sets breakpoints in shared libraries.
4472 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4474 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4476 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4477 and compiled w/o GCC.
4479 * gdb.hp/watch-cmd.exp: ditto.
4481 * gdb.hp/watch-hp.exp: ditto.
4483 * gdb.hp/xdb1.exp: ditto.
4485 * gdb.hp/xdb2.exp: ditto.
4487 * gdb.hp/dbx.exp: ditto.
4489 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4491 * constvars.c: Remove C++-isms.
4492 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4495 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4497 The following changes are part of the HP merge.
4499 * gdb.base/break.exp: new tests to verify that catchpoints for
4500 fork, vfork, and exec don't trigger inappropriately.
4502 * gdb.base/opaque.exp: compile one file at a time, then link.
4504 * gdb.base/signals.exp: be more restrictive about which hppa
4505 systems receive a setup_xfail. new tests.
4507 * gdb.base/solib_threshold.build: new file.
4508 * gdb.base/solib_threshold.exp: new file.
4509 * gdb.base/solib_threshold.link_opts: new file.
4510 * gdb.base/solib_threshold.mk: new file.
4511 * gdb.base/gen_solib_threshold.c: new file.
4513 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4514 tests. New tests for enums inside classes.
4516 * gdb.c++/compiler.cc: indicate support of template debugging.
4518 * gdb.c++/demangle.exp: run hp style demangling tests.
4520 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4523 * gdb.c++/misc.cc: changes to support new tests.
4525 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4526 to support new tests.
4528 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4529 gcc, then skip these tests.
4531 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4533 The following files are part of the HP merge; some had longer
4534 names at HP, but have been renamed to be no more than 14
4535 characters in length.
4537 * gdb.hp/ambiguous.cc: new file.
4538 * gdb.hp/ambiguous.exp: new file.
4539 * gdb.hp/attach.exp: new file.
4540 * gdb.hp/attach2.exp: new file.
4541 * gdb.hp/classes-hp.exp: new file.
4542 * gdb.hp/ctti.exp: new file.
4543 * gdb.hp/ctti-add.cc: new file.
4544 * gdb.hp/ctti-add1.cc: new file.
4545 * gdb.hp/ctti-add2.cc: new file.
4546 * gdb.hp/ctti-add3.cc: new file.
4547 * gdb.hp/dbx.exp: new file.
4548 * gdb.hp/exception.cc: new file.
4549 * gdb.hp/exception.exp: new file.
4550 * gdb.hp/foll-exec.c: new file.
4551 * gdb.hp/foll-exec.exp: new file.
4552 * gdb.hp/foll-fork.c: new file.
4553 * gdb.hp/foll-fork.exp: new file.
4554 * gdb.hp/foll-vfork.c: new file.
4555 * gdb.hp/foll-vfork.exp: new file.
4556 * gdb.hp/inherit-hp.exp: new file.
4557 * gdb.hp/more-steps.exp: new file.
4558 * gdb.hp/namespace.cc: new file.
4559 * gdb.hp/namespace.exp: new file.
4560 * gdb.hp/optimize.exp: new file.
4561 * gdb.hp/pxdb.c: new file.
4562 * gdb.hp/pxdb.exp: new file.
4563 * gdb.hp/quicksort.exp: new file.
4564 * gdb.hp/reg-test.exp: new file.
4565 * gdb.hp/reg-test.s: new file.
4566 * gdb.hp/sized-enum.c: new file.
4567 * gdb.hp/sized-enum.exp: new file.
4568 * gdb.hp/start-stop.exp: new file.
4569 * gdb.hp/templ-hp.cc: new file.
4570 * gdb.hp/templ-hp.exp: new file.
4571 * gdb.hp/thr-lib.c: new file.
4572 * gdb.hp/thr-lib.exp: new file.
4573 * gdb.hp/thr-lib.h: new file.
4574 * gdb.hp/thr-liblib.c: new file.
4575 * gdb.hp/virtfun-hp.c: new file.
4576 * gdb.hp/virtfun-hp.exp: new file.
4577 * gdb.hp/watch-cmd.exp: new file.
4578 * gdb.hp/watch-hp.exp: new file.
4579 * gdb.hp/xdb1.exp: new file.
4580 * gdb.hp/xdb2.exp: new file.
4581 * gdb.hp/xdb3.exp: new file.
4583 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4585 The following files are part of the HP merge; some had longer
4586 names at HP, but have been renamed to be no more than 14
4587 characters in length.
4589 * gdb.base/ss.h: new file.
4590 * gdb.base/call-ar-st.c: new file.
4591 * gdb.base/call-ar-st.exp: new file.
4592 * gdb.base/call-rt-st.c: new file.
4593 * gdb.base/call-rt-st-exp: new file.
4594 * gdb.base/call-strs.exp: new file.
4595 * gdb.base/ena-dis-br.exp: new file.
4596 * gdb.base/environ.exp: new file.
4597 * gdb.base/long_long.exp: new file.
4598 * gdb.base/sect-cmd.exp: new file.
4599 * gdb.base/shlib-cl2.exp: new file.
4600 * gdb.base/smoke.exp: new file.
4601 * gdb.base/so-impl-ld.c: new file.
4602 * gdb.base/so-impl-ld.exp: new file.
4603 * gdb.base/so-indr-cl.c: new file.
4604 * gdb.base/so-indr-cl.exp: new file.
4605 * gdb.base/varargs.exp: new file.
4606 * gdb.base/volatile.exp: new file.
4607 * gdb.base/whatis-exp.exp: new file.
4608 * gdb.base/display.exp: new file.
4609 * gdb.c++/derivation.exp: new file.
4610 * gdb.c++/local.exp: new file.
4611 * gdb.c++/member-ptr.exp: new file.
4612 * gdb.c++/overload.exp: new file.
4613 * gdb.c++/ovldbreak.exp: new file.
4614 * gdb.c++/ref-types.exp: new file.
4615 * gdb.c++/ref-types2.exp: new file.
4616 * gdb.c++/userdef.exp: new file.
4618 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4620 * gdb.base/default.exp: Reflect wording change in remote.c.
4622 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
4624 * gdb.base/help.exp: Update to reflect current text.
4626 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4628 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4629 they're stack variables and contain garbage.
4630 * gdb.c++/anon-union.exp: new file.
4632 The following changes were made by David Taylor
4633 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4634 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4637 * gdb.base/bitops.exp: new file.
4638 * gdb.base/default.exp: change expected messages for catch and
4639 info catch tests to reflect HP merge changes.
4640 * gdb.base/enable-disable-break.exp
4641 * gdb.base/ending-run.c: new file.
4642 * gdb.base/long_long.c: new file.
4643 * gdb.base/maint.exp: new file.
4644 * gdb.base/pointers2.exp: new file.
4645 * gdb.base/shlib-call2.exp: new file.
4646 * gdb.base/solib.exp: new file.
4647 * gdb.base/step-test.c: new file.
4648 * gdb.c++/anon-union.cc: new file.
4649 * gdb.c++/local.cc: new file.
4650 * gdb.c++/member-pointer.cc: new file.
4651 * gdb.c++/method.cc: new file.
4652 * gdb.c++/ref-types.cc: new file.
4653 * gdb.c++/ref-types2.cc: new file.
4654 * gdb.c++/userdef.cc: new file.
4656 * gdb.base/scope.exp: compile one file at a time, then link.
4657 * gdb.base/langs.exp: ditto.
4658 * gdb.base/list.exp: ditto.
4660 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4662 The following changes were made by David Taylor
4663 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4664 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4667 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4668 skip tests. When compiling pass c++ flag to gdb_compile.
4671 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4672 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4673 (skip_hp_tests): new function.
4674 (gdb_preprocess): new function.
4676 * configure.in (hpdir): decide whether to configure gdb.hp.
4677 * configure: regenerated.
4679 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4681 (EXECUTABLES): update to reflect new additions.
4682 * gdb.base/commands.exp: update message expected.
4683 * gdb.base/default.exp: add copyright notice.
4684 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4685 * gdb.base/help.exp: update messages to reflect current text.
4686 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4687 targets for recurse tests.
4688 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4691 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4692 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4694 * gdb.c++/misc.exp: ditto.
4695 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4696 run the tests. tell gdb_compile that it's a c++ compilation.
4698 * gdb.threads/pthreads.exp: fix typo in message.
4700 * gdb.base/all-bin.exp: new file.
4701 * gdb.base/arithmet.exp: new file.
4702 * gdb.base/assign.exp: new file.
4703 * gdb.base/completion.exp: new file.
4704 * gdb.base/cond-expr.exp: new file.
4705 * gdb.base/condbreak.exp: new file.
4706 * gdb.base/define.exp: new file.
4707 * gdb.base/dollar.exp: new file.
4708 * gdb.base/environment.exp: new file.
4709 * gdb.base/eval-skip.exp: new file.
4710 * gdb.base/jump.exp: new file.
4711 * gdb.base/logical.exp: new file.
4712 * gdb.base/pointers.exp: new file.
4713 * gdb.base/relational.exp: new file.
4714 * gdb.base/section_command.exp: new file.
4715 * gdb.base/whatis-expr.exp: new file.
4717 * gdb.base/all-types.c: new file.
4718 * gdb.base/call-array-struct.c: new file.
4719 * gdb.base/call-return-struct.c: new file.
4720 * gdb.base/call-strings.c: new file.
4721 * gdb.base/callfuncs2.c: new file.
4722 * gdb.base/condbreak.c: new file.
4723 * gdb.base/constvars.c: new file.
4724 * gdb.base/display.c: new file.
4725 * gdb.base/int-type.c: new file.
4726 * gdb.base/jump.c: new file.
4727 * gdb.base/miscexprs.c: new file.
4728 * gdb.base/pointers.c: new file.
4729 * gdb.base/pointers2.c: new file.
4730 * gdb.base/shmain.c: new file.
4731 * gdb.base/shr1.c: new file.
4732 * gdb.base/shr2.c: new file.
4733 * gdb.base/solib.c: new file.
4734 * gdb.base/solib1.c: new file.
4735 * gdb.base/solib2.c: new file.
4736 * gdb.base/varargs.c: new file.
4737 * gdb.c++/derivation.cc: new file.
4738 * gdb.c++/overload.cc: new file.
4739 * gdb.c++/ovldbreak.cc: new file.
4740 * gdb.hp/attach.c: new file.
4741 * gdb.hp/attach2.c: new file.
4742 * gdb.hp/average.c: new file.
4743 * gdb.hp/compiler.c: new file.
4744 * gdb.hp/compiler.cc: new file.
4745 * gdb.hp/execd-program.c: new file.
4746 * gdb.hp/follow-exec.c: new file.
4747 * gdb.hp/follow-fork.c: new file.
4748 * gdb.hp/follow-vfork-and-exec.c: new file.
4749 * gdb.hp/misc-hp.cc: new file.
4750 * gdb.hp/more-steps.c: new file.
4751 * gdb.hp/optimize.c: new file.
4752 * gdb.hp/quicksort.c: new file.
4753 * gdb.hp/run-hp.c: new file.
4754 * gdb.hp/start-stop.c: new file.
4755 * gdb.hp/sum.c: new file.
4756 * gdb.hp/templates-hp.cc: new file.
4757 * gdb.hp/thread-local-in-lib.c: new file.
4758 * gdb.hp/thread-local-in-lib.h: new file.
4759 * gdb.hp/thread-local-in-lib.lib.c: new file.
4760 * gdb.hp/vforked-program.c: new file.
4761 * gdb.hp/virtfunc-hp.cc: new file.
4762 * gdb.hp/watchpoint-hp.c: new file.
4763 * gdb.hp/xdb.c: new file.
4764 * gdb.hp/xdb0.c: new file.
4765 * gdb.hp/xdb0.h: new file.
4766 * gdb.hp/xdb1.c: new file.
4768 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4770 The following change was made by Edith Epstein
4771 <eepstein@cygnus.com> as part of a project to merge in changes
4772 originally made by HP; HP did not create ChangeLog entries.
4774 * gdb.c++/demangle.exp: changed the expected output for some
4775 ARM-style mangling -- removed second reference to datatype.
4776 For example, maint demangle __dt__11T1__pt__2_cFv
4777 T1<char>::~T1<char>(void)
4779 maint demangle __dt__11T1__pt__2_cFv
4782 (test_hp_style_demangling): new hp specific demangling test cases.
4784 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4786 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4787 * gdb.trace/backtrace.exp: Likewise.
4788 * gdb.trace/circ.exp: Likewise.
4789 * gdb.trace/collection.exp: Likewise.
4790 * gdb.trace/deltrace.exp: Likewise.
4791 * gdb.trace/infotrace.exp: Likewise.
4792 * gdb.trace/limits.exp: Likewise.
4793 * gdb.trace/packetlen.exp: Likewise.
4794 * gdb.trace/passc-dyn.exp: Likewise.
4795 * gdb.trace/passcount.exp: Likewise.
4796 * gdb.trace/report.exp: Likewise.
4797 * gdb.trace/save-trace.exp: Likewise.
4798 * gdb.trace/tfind.exp: Likewise.
4799 * gdb.trace/tracecmd.exp: Likewise.
4800 * gdb.trace/while-dyn.exp: Likewise.
4801 * gdb.trace/while-stepping.exp: Likewise.
4803 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4805 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4807 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4810 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4813 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4815 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4816 remote dos host testing right.
4818 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4820 * gdb.base/corefile.exp: remove some xfails.
4822 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4824 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4825 have different timestamps.
4827 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4829 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4830 gdb.base/default.exp: Replace "exec" with "executable".
4832 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4834 * gdb.base/default.exp: Change else if to elseif from previous
4837 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4839 * gdb.base/default.exp: Add brace missing from previous delta.
4841 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4843 * gdb.base/default.exp: Support test for info float for all
4844 varieties of arm toolchain.
4846 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
4848 * gdb.trace/*.exp: remove "remote_download" command.
4850 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
4852 * gdb.trace/*.exp: remove -gdwarf from compile.
4854 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4856 * gdb.trace/configure.in(AC_INIT): typo
4857 * gdb.trace/configure: regenerated
4859 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
4861 * config/m68k-emc.exp: New file.
4862 * lib/<emc-support.exp trace-support.exp}: New files.
4863 * configure.in: add new test directory gdb.trace.
4864 * gdb.trace/{configure configure.in Makefile.in}: New files.
4865 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4866 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4867 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4868 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4869 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4870 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4871 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
4873 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
4875 * gdb.c++/classes.exp: Change all regular expressions to match
4876 arbitrary combinations of newline/carriage-return, so that they
4877 will work equally well on Unix and Windows.
4878 * gdb.c++/inherit.exp: ditto.
4879 * gdb.c++/virtfunc.exp: ditto.
4881 1998-08-11 Dawn Perchik <dawn@cygnus.com>
4883 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4885 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4887 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4888 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4889 to use a0-a3/d0-d3 as needed.
4891 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4893 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4894 * gdb.disasm/am33.exp: Corresponding changes.
4896 1998-07-11 Felix Lee <flee@cygnus.com>
4898 * gdb.base/callfuncs.exp: add cmp10 test.
4899 * gdb.base/callfuncs.c (cmp10): new function.
4901 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4903 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
4904 into two parts to get around a synchronization problem in expect.
4906 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4908 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4910 * configure.in: Add options for gdbtk testsuite.
4912 * configure: Regenerate.
4914 * gdb.gdbtk: New directory to hold gdbtk tests.
4916 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4918 * gdb.fortran/types.exp: Escape brackets in expect patterns
4919 for test_float_literal_types_accepted tests.
4920 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4923 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4925 * am33.exp: Just compile, do not link the testcase.
4926 * am33.s: Add ".am33" pseudoop to force am33 mode.
4928 1998-06-25 Felix Lee <flee@cygnus.com>
4930 * gdb.base/setshow.exp: make sure $pc is sane.
4932 * gdb.stabs/weird.exp: split expect patterns properly.
4934 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4936 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4937 * gdb.disasm/am33.exp: Run it.
4939 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
4941 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4942 match processing (and eliminate spurious timeouts when running).
4944 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
4946 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4947 exception test, but conditionalize it on target [mach | gnu].
4949 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
4951 * gdb.base/overlays.exp: fixup compile line for linker script.
4953 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4955 * gdb.fortran/types.exp: don't guess at float size.
4957 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4959 * gdb.base/exprs.exp: delete test that depends on int size.
4961 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4963 * config/sim.exp: Removed checks for target triplets.
4964 (gdb_target_sim): Use gdb,target_sim_options.
4966 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4968 * gdb.base/reread.exp: New file.
4969 * gdb.base/reread1.c: New file.
4970 * gdb.base/reread2.c: New file.
4972 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4974 * config/sim.exp: Use 'target sim -sparclite' when running
4977 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4979 * gdb.base/structs2.exp: New file.
4980 * gdb.base/structs2.c: New file.
4982 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4984 * gdb.asm/common.inc: New file.
4985 * gdb.asm/d10v.inc: New file.
4986 * asm-source.exp: Pass -I's to gas to find .inc files.
4987 Update line numbers in expected output.
4988 * asmsrc1.s: Rewrite.
4989 * asmsrc2.s: Rewrite.
4990 * configure.in: Create arch.inc symlink.
4991 * configure: Regenerate.
4992 * Makefile.in (distclean): Delete arch.inc.
4994 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4996 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4997 (t_enum_value2): ditto
4998 (t_enum_value3): ditto
5000 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5002 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5003 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5005 Use gdb_test instead of send_gdb/gdb_expect sequences.
5007 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5009 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5012 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5014 * gdb.base/branches.c: Code with lots of loops and
5015 subroutines. Used to test gdbs ability to single step through PC
5016 changes, especially to test mips-tdep.c:mips_next_pc
5018 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5020 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5021 more rigorous EGCS C++ error checking.
5023 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5025 * gdb.base/help.exp: Clean up `help set args' and `help show args'
5027 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
5028 function when asleep.
5029 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
5030 for i*86 Linux and SVR4 signal handling problems.
5031 Remove linux xfail for `next to handler in signals_tests_1', fixed
5032 by recent infrun.c change.
5033 Limit backtrace to 10 frames to avoid timeout problems with infinite
5035 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5038 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5040 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5041 for a newline from gdb before continuing.
5042 (default_gdb_exit): Just look for y or n.
5043 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5044 it does, fail the rests of the tests in the file.
5046 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5048 * config/cygmon.exp: New file.
5050 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5052 * gdb.base/list.exp: Fix problem with "list default lines around
5053 main" test on remote targets.
5055 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5056 run test on remote targets.
5058 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5060 * gdb.asm: New directory.
5061 * configure.in: Configure it.
5062 * configure: Regenerate.
5063 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5064 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5066 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5068 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5070 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
5072 * gdb.base/overlays (several files): Merge the two overlay
5073 managers into one. Change variables (foox, barx, bazx, grbxx)
5074 back into ints but force them to load in their proper sections.
5076 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5078 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5079 on-chip insn memory and IMAP1 to upper 128k.
5080 (D10VCopy): Handle memory regions crossing 16k boundaries.
5081 (D10VCopy): Transfer data in 32 bit chunks.
5083 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5085 * gdb.base/overlays.c (main): Exit normally when result is
5088 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5089 map. Include space for printf in .text segment.
5091 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5092 updated d10v memory VMA/LMA map.
5093 (D10VCopy): Call D10VTranslate.
5095 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5097 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5099 * gdb.base/bar.c (barx, bar): Change variable to small array so
5100 that it won't be put into the .sdata - small data -
5101 section. Update reference.
5102 * gdb.base/baz.c (bazx, baz): Ditto.
5103 * gdb.base/foo.c (foox, foo): Ditto.
5104 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5106 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5109 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
5111 * gdb.base/overlays.exp: fix up and get working again.
5112 Add tests for backtraces from an overlay function.
5114 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5116 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5117 "calling function with watchpoint enabled".
5119 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5121 * gdb.base/break.exp (test_next_with_recursion): Remove
5122 gdb_suppress_tests for d10v-*-*.
5123 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5124 pending review of whether it is useful or not.
5126 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5128 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5130 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5132 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5133 * config/dve.exp: New file to support Densan boards.
5135 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5137 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5140 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5142 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5145 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5147 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5149 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5152 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5153 target_sizeof_long and target_bigendian_p.
5154 (structs_by_value, structs_by_reference): Check values according
5155 to targets word size and endianess.
5157 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5159 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5162 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5164 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5165 Update test of set args help to match source change.
5167 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5169 * gdb.base/default.exp: Expect help system output to be in
5171 * gdb.base/help.exp: Ditto.
5173 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5175 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5176 "i*86-pc-linux-gnu*".
5177 * gdb.base/interrupt.exp: Ditto.
5178 * gdb.base/corefile.exp: Ditto.
5180 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5181 define vxworks when building the testcase.
5183 * gdb.base/ptype.exp: Fix testnames to be unique.
5184 * gdb.base/radix.exp: Ditto.
5185 * gdb.base/term.exp: Ditto.
5186 * gdb.base/whatis.exp: Ditto.
5187 * gdb.c++/classes.exp: Ditto.
5189 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5191 * gdb.base/callfuncs.exp: Fix indentation.
5193 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5194 suppress_flag has been set.
5195 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5198 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5200 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5203 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5204 set_debug_traps() and breakpoint().
5205 * gdb.c++/misc.cc (main): Ditto.
5206 * gdb.c++/templates.cc (main): Ditto.
5207 * gdb.c++/virtfunc.cc (main): Ditto.
5209 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5211 * lib/gdb.exp(gdb_step_for_stub): New function.
5212 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5213 exists, reload the executable and do a "continue" instead of
5215 (runto_main): Use gdb_step_for_stub.
5217 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5218 tests to have unique names.
5219 * gdb.base/callfuncs.exp: Ditto.
5220 * gdb.base/commands.exp: Ditto.
5221 * gdb.base/default.exp: Ditto.
5222 * gdb.base/help.exp: Ditto.
5223 * gdb.base/list.exp: Ditto.
5224 * gdb.base/opaque.exp: Ditto.
5225 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5228 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5229 * gdb.c++/cplusfuncs.cc: Ditto.
5230 * gdb.c++/virtfunc.cc: Ditto.
5232 * config/monitor.exp: Keep track of the last file we saw, rather
5233 than trying to get the info from gdb.
5235 * gdb.fortran/types.exp: Move comment to previous line.
5237 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5239 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5242 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5245 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5246 string from GDB when it connects.
5248 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5250 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5252 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5253 if we can't get a debug format from GDB (we may be testing an
5254 older GDB). Use a 10 second timeout when checking for the format.
5256 * gdb.stabs/weird.exp: Fix quoting.
5258 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5260 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5262 * config/arm-ice.exp: New file.
5264 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5266 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5267 until it has been modified to work with the new testsuite.
5269 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
5270 testcase won't compile, cause all of the testcases in the file to
5273 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5274 (gdb_clear_suppressed): New procedure.
5275 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5276 it contains a positive value.
5278 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5280 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5282 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5284 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5286 * lib/gdb.exp (setup_xfail_format): New function.
5287 (get_debug_format): New function to get debug format.
5288 (debug_format): New global variable to hold last value set
5289 by get_debug_format.
5290 * gdb.base/list.exp: Call get_debug_format and expect some
5291 tests to fail for DWARF 1 and COFF formats.
5292 * gdb.c++/ptype.exp: Ditto.
5293 * gdb.c++/classes.exp: Ditto.
5294 * gdb.c++/cplusfuncs.exp: Ditto.
5295 * gdb.c++/inherit.exp: Ditto.
5296 * gdb.c++/templates.exp: Ditto.
5297 * gdb.c++/virtfunc.exp: Ditto.
5299 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5301 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5302 host doesn't have a currently-open connection.
5304 * config/sparclet.exp: Cleanups and fixes to make it generic for
5305 any gdb stub target. Handle cases where gdb doesn't respond when
5306 interrupted in a sane fashion.
5308 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5309 same thing in a totally different way.
5311 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5313 (gdb_start): We set the global gdb_prompt variable in
5314 default_gdb_init now.
5316 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5318 * gdb.base/printcmds.exp: Fix "check for floating addition"
5319 regexp to accept results within approx +/- .01 of exact value.
5320 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5322 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5324 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5326 (gdb_expect): Add optional timeout parameter, and add timeout
5327 value to various calls.
5328 (gdb_suppress_tests): Only give one warning message per group.
5330 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5332 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5333 global variables. Handle getting a value for $timeout more
5336 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5338 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5340 (default_gdb_init): New procedure; allow gdb_init to be overridden
5341 by a target configuration file.
5342 (gdb_expect): Pass the timeout to remote_expect.
5344 * config/monitor.exp(gdb_load): Fix typo in regexp.
5346 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5348 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5350 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5352 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5353 here. Call gdb_target_exec before rebooting the target, to make
5354 sure the connection to the target is closed.
5355 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5356 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5357 Also detect "Timeout reading from remote" error.
5359 * config/gdbserver.exp: Pass the executable being loaded to
5360 gdb_target_monitor. Don't call gdb_file_cmd here; let
5361 gdb_target_monitor do it.
5363 * gdb.disasm/hppa.exp: Don't use exec_output.
5365 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5367 * gdb.base/list.exp: If we're debugging a non-native target,
5368 try to set the pc register to point to the start of the
5369 program before doing the first list command.
5371 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5372 test_calls after restarting.
5374 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5377 * gdb.base/watchpoint.exp: Fix typo.
5379 * gdb.base/setshow.exp: Check for use_gdb_stub.
5381 * gdb.base/break.exp: Fix continue until exit test for the gdb
5383 * gdb.base/langs.exp: Ditto.
5385 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5386 gdb_load_offset. If we weren't given a file to load, figure out
5387 what the current file is and use it.
5389 * config/i386-bozo.exp: New file.
5391 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5393 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5396 * config/proelf.exp: New entry.
5398 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5400 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5403 * gdb.base/watchpoint.exp: Don't run the test_stepping
5404 tests if gdb can't call functions on the target.
5406 * gdb.base/setshow.exp: Don't run the set prompt tests if
5407 the board has gdb_prompt set.
5409 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5411 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5412 * gdb.base/commands.exp: Likewise.
5413 * gdb.base/setshow.exp: Likewise.
5415 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5417 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5420 * config/i960.exp: New file.
5422 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5424 * gdb.base/funcargs.exp: Check for gdb,short_int target
5425 feature instead of looking for explicit target triplets.
5427 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
5429 * gdb.base/printcmds.exp: add a couple more tests a la
5430 "p 123DEADBEEF", to check parse_number.
5431 * top.c: change "to enable to enable" to "to enable" in a couple
5434 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5436 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5439 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5441 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5442 where the test executable is run with explicit args.
5443 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5445 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5447 * gdb.base/run.c: Use FAKEARGV to build test executable that
5448 does not require a command line arg, since most simulators
5449 don't currently support passing such an arg into the simulated
5451 * gdb.base/commands.exp: Change tests to insert the proper
5452 value as the arg to the first recursive factorial call. Change
5453 compilation line to define FAKEARGV at compile time.
5455 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5457 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5458 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5459 function with watchpoint enabled" test.
5461 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5463 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5464 Don't call gdb_test when the command doesn't return to a gdb prompt.
5466 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5467 "Tests restarted" messages.
5469 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5471 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5473 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
5475 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5476 for INFO SYMBOL; add help tests for OVERLAY commands.
5477 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5478 add tests for OVERLAY commands
5479 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5480 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5481 * gdb.base/sigall.c: add usestubs code frag
5482 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
5484 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5486 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5488 (gdb_stop_suppressing_tests): Note that tests have restarted.
5490 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5492 * config/h8300.exp: New file.
5494 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5496 * gdb.base/setshow.exp: Check for the existence of a
5497 feature, not its value.
5499 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5501 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5503 * gdb.base/scope.exp: It's now init0(), not init().
5505 * gdb.base/scope0.c: For now, change init() to be init0().
5507 * config/monitor.exp: Use gdb_serial in preference to serial
5510 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5511 and it's not already set.
5513 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5515 * gdb.base/setshow.exp: Only test the run command if the target
5516 isn't using a stub and if it supports argument passing.
5518 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5520 * config/udi.exp(gdb_start): Make sure UDICONF is set
5521 properly before starting gdb.
5523 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5525 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5526 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5527 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5529 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5531 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5532 specialized code to reboot the board, use remote_reboot instead.
5534 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5536 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5538 * config/monitor.exp: Make sure we disconnect from the target.
5539 Also, try a reboot/reload cycle instead of failing if the
5542 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5544 * gdb.base/default.exp: Don't set match_max.
5545 * gdb.base/help.exp: Ditto.
5546 * gdb.base/list.exp: Ditto.
5547 * gdb.base/signals.exp: Ditto.
5549 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5550 set, use remote_ld to download the testcase instead of
5553 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5555 * config/vr5000.exp: New file.
5557 * config/monitor.exp(gdb_target_monitor): Add pattern for
5558 "Ending remote" to detect errors in connecting.
5560 * gdb.base/setshow.exp: Add .* within auto language test.
5562 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5565 * config/monitor.exp(gdb_load): Check for a failure when loading,
5566 and reboot the board if necessary.
5568 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5569 a set of tests. Remove print.* from the patterns being checked.
5571 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5573 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5574 refer to gdb_spawn_id.
5576 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5578 * config/sparclet.exp: Ditto.
5579 * config/sparclet-old.exp: Ditto.
5580 * config/slite.exp: Ditto.
5581 * config/sim.exp: Ditto.
5582 * gdb.base/funcargs.exp: Ditto.
5584 * lib/gdb.exp:Remove references to gdb_spawn_id.
5585 (gdb_expect): Move to remote.exp.
5587 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5589 * config/monitor.exp: Detect the "Couldn't establish connection"
5592 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5594 * gdb.base/bitfields.exp: Use runto instead of explicit
5595 gdb_run_cmd/gdb_expect sequences.
5597 * gdb.base/break.exp(text_next_with_recursion): Add match for
5600 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5601 We also need to handle the "A program is being debugged already"
5602 prompt from gdb. Use gdb_test to set the baud rate.
5604 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5605 to 20000. Really. I mean it.
5607 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5609 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5610 fails. If suppress_flag is set, skip perror message about not
5611 being able to send to GDB.
5612 (send_gdb): If suppress_flag is set, don't try to send commands to
5614 (gdb_expect): If suppress_flag is set, always fail immediately.
5615 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5616 (gdb_init): Call gdb_stop_suppressing_tests.
5617 (default_gdb_exit): Ditto.
5618 (default_gdb_start): Ditto.
5620 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5621 gdb_stop_suppressing_tests as appropriate.
5622 * gdb.base/break.exp: Ditto.
5623 * gdb.base/callfuncs.exp: Ditto.
5624 * gdb.base/commands.exp: Ditto.
5625 * gdb.base/exprs.exp: Ditto.
5626 * gdb.base/funcargs.exp: Ditto.
5627 * gdb.base/list.exp: Ditto.
5628 * gdb.base/recurse.exp: Ditto.
5629 * gdb.base/scope.exp: Ditto.
5630 * gdb.base/structs.exp: Ditto.
5631 * gdb.c++/inherit.exp: Ditto.
5633 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5635 * config/vr4300.exp: New file.
5637 * gdb.*/*.exp: Call gdb_expect instead of expect.
5639 * lib/gdb.exp(gdb_expect): New function.
5641 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5643 * lib/gdb.exp(gdb_init): New function.
5645 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5646 for each individual variable set.
5648 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5651 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5653 * gdb.base/scope.exp: Use gdb_test.
5655 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5656 aborting; the testsuite driver will do that for us (see
5657 gdb_finish). Also, use gdb_test in a few more places.
5659 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5661 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5663 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5665 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5666 and "add_tests" are not at the same address.
5668 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5670 * gdb.base/ptype.exp: Use gdb_test.
5672 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5674 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5675 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5676 left in. No longer expect them to fail.
5678 * gdb.stabs/*.mt; Deleted, no longer used.
5679 * gdb.stabs/configure.in: Remove references to target makefile
5681 * gdb.stabs/configure: Rebuilt.
5683 * gdb.disasm/*.mt: Deleted, no longer used.
5684 * gdb.disasm/configure.in: Remove references to target makefile
5685 frags. Use "sh3.s" as the unique filename for this directory.
5686 * gdb.disasm/configure: Rebuilt.
5688 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5689 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5690 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5692 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5694 * config/udi.exp: Use mondfe,name instead of remote_host.
5696 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5698 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5699 a function with a watchpoint enabled on the mn10200.
5701 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5702 before trying to create it!
5704 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5706 * config/vx.exp: Use hostname instead of netport.
5708 * config/vxworks.exp: New file.
5710 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5712 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5713 gdb before assuming everything worked. Send a ^C if a timeout
5716 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5717 $gdb_spawn_id directly.
5718 (gdb_run_cmd): Try _start as well as start. Use the target feature
5719 gdb,start_symbol as the symbol to start from when jumping.
5721 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5723 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5726 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5727 it doesn't lose for 16bit integer systems.
5729 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5731 * gdb.fortran/types.exp: If the target doesn't support "double"
5732 data types, then expect "real" types to only be 4 bytes.
5734 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5735 call tests if the target doesn't support inferior function calls.
5737 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5740 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5742 * gdb.base/help.exp: Disable "help set", "help show", and
5743 "help support". Simplify regexp for "help stack".
5745 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5746 to 60 seconds. Temporarily set match_max to 15000 around the
5747 "info copying" test.
5749 * gdb.base/nodebug.exp: Don't try to do an inferior function
5750 call if the target doesn't support them.
5751 * gdb.base/printcmds.exp: Likewise.
5752 * gdb.base/setvar.exp: Likewise.
5753 * gdb.base/structs.exp: Likewise.
5754 * gdb.c++/templates.exp: Likewise.
5755 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5757 * gdb.base/recurse.exp: Enable for the mn10200.
5759 * configure.in: Do configure gdb.stabs directory for *-*-elf
5761 * configure: Rebuilt.
5763 * gdb.base/break.exp: Check for gdb,noresults before testing
5764 exit status and/or results from the target.
5765 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5766 * lib/gdb.exp: Remove old (now bogus) initialization of
5767 noinferior, noargs, noresults and nosignals.
5769 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5771 * config/sh.exp: New file.
5773 * config/slite.exp: Try to connect multiple times to the board
5774 before rebooting. Only send a "monitor run" if need_monitor_run
5777 * gdb.base/break.exp: Don't do the "stub continue" test if
5778 the target has gdb_stub set.
5780 * gdb.base/callfuncs.exp: Increase the timeout.
5782 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5783 if the target has gdb,noinferiorio set.
5785 * gdb.base/list.exp: Increase match_max to 10000 characters.
5787 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5789 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5792 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5794 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5796 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5797 trying to delete the copy of gdb. Catch the file delete so we
5798 don't die if the delete fails; also, the file should be copied to
5799 the host, not to the build.
5801 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5803 * lib/gdb.exp(gdb_test): Surround the result pattern with
5804 parenthesis in case it contains multiple regexps separated
5807 * gdb.base/watchpoint.exp: Use gdb_test.
5808 * gdb.base/default.exp: Ditto.
5810 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5812 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
5814 * gdb.base/scope.exp: Use gdb_test.
5815 * gdb.c++/classes.exp: Ditto.
5816 * gdb.c++/inherit.exp: Ditto.
5818 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5820 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5821 remote_exec instead.
5822 * gdb.base/corefile.exp: Don't be ridiculous.
5823 * gdb.base/*.c: Add missing stub invocations.
5825 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5827 * config/slite.exp: Miscellaneous fixes.
5829 * lib/gdb.exp: Fix runto.
5831 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5834 * gdb.base/watchpoint.exp: Fix regexp.
5836 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5837 close and wait commands, as the descriptor may now be
5838 invalid. Always call "remote_close host".
5840 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5842 Major rewrite for testsuite revision.
5844 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5845 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5846 instead of relying on spawn_id to always contain a valid
5848 (get_compiler_info): New procedure to build the ${binfile}.ci
5849 file, instead of replicating this in N different places.
5850 (gdb_compile): New procedure.
5852 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5853 appropriate arguments) instead of compile. Use gdb_test in a lot
5854 more places. Use send_gdb instead of send. Always run gdb_start
5855 at the start of a testcase, as this is no longer done magically.
5857 config/*-gdb.exp: Rename without the -gdb suffix.
5859 config/mips.exp: Use remote_close instead of exit_remote_shell.
5860 config/monitor.exp: Use target_info instead of looking at
5862 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5864 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5866 * gdb.c++/templates.exp (test_ptype_of_templates),
5867 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5868 Update expect patterns for destructors and assignment operators
5869 to match corresponding c-typeprint.c changes.
5870 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5871 to destructor breakpoint test, GDB should be able to set the
5872 destructor breakpoint without specifying arguments.
5874 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5876 * gdb.threads/pthreads.exp: Change result for failure to compile due
5877 to lack of pthreads runtime support from an error to simply an
5878 unsupported test, per dejagnu standards.
5880 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5882 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5883 where GDB exits to reduce pattern match time.
5884 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5886 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5888 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
5890 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5891 * gdb.base/default.exp: ditto.
5892 * gdb.base/nodebug.exp: ditto.
5893 * gdb.base/printcmds.exp: ditto.
5894 * gdb.base/ptype.exp: ditto.
5895 * gdb.base/setvar.exp: ditto.
5896 * gdb.base/structs.exp: ditto.
5897 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5899 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5901 * configure, */configure: Rebuild with autoconf 2.12.
5903 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5905 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5906 use new i*86-pc-linux*-gnu quads.
5907 * gdb.base/corefile.exp: Ditto.
5908 * gdb.base/signals.exp: Ditto.
5909 * gdb.base/sigall.exp: Ditto.
5910 * gdb.base/interrupt.exp: Ditto.
5912 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5913 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5916 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5917 linux. This allows the test case to at least compile on latest
5918 linux, but still not run due to missing the threads runtime library.
5920 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5922 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5923 directory to search gdb directory. Accept and step over conditional
5924 stack alignment code. Consume $prompt in failure cases.
5925 Reset timeout to $oldtimeout instead of some arbitrary value.
5926 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5927 timeout problems with infinite stack backtraces.
5928 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5929 Accept function parameters for linkfunc member.
5931 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5933 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5934 (CXXFLAGS): Remove, unreferenced.
5935 (B_OPTIONS): Add for -B options and add code to initialize with
5936 previous -B options and also add -B option to pick up cross compiled
5938 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5939 doing cross compiles.
5940 (target_alias): Declare global.
5941 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5942 to verify that gcc exists in build tree, and if so set CC to that
5943 gcc and to use B_OPTIONS and TARGET_INCLUDES.
5945 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5947 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5948 ptype test for anonymous union. Fixup testcase to match
5949 current gcc debug output.
5951 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5953 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5954 force argument to an unsigned long type.
5956 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5958 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5959 tests and anonymous union print/ptype tests.
5960 * gdb.base/list.exp (test_forward-search): Increase timeout by
5961 5 minutes for the "search extremely long line" case.
5962 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5963 completely optional and that the pass/fail messages use the command as
5964 the message if that third arg is a null string.
5965 (gdb_test_exact): Arrange that a null string pattern means match a
5966 null string output rather than any output, which might include random
5968 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5970 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5971 always failing and failure is now exposed by gdb.exp changes.
5973 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5975 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5976 weren't being noted.
5978 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5980 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5981 * gdb.stabs/weird.exp: Remove v_comb xfails.
5983 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
5985 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5986 list.exp scope.exp watchpoint.exp]
5987 Make all timeout error msgs explicitly say "(timeout)".
5989 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
5991 * config/monitor.exp: Increase download timeout to 1000 seconds.
5993 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
5995 * config/m32r.exp: Increase timeout to 120 seconds.
5997 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5999 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6000 and accept older ordering as obsolescent gcc or gdb.
6001 * gdb.c++/templates.exp: Ditto.
6002 * gdb.c++/virtfunc.exp: Ditto.
6004 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6006 * gdb.base/coremaker.c: Add code to mmap some data so we
6007 can check that it ends up in the core file.
6008 * gdb.base/corefile.exp: Add test to read mmapped data
6011 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
6013 * config/m32r.exp: New file.
6015 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6017 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6018 that cflags can contains -gstabs, and work correctly for other tests.
6020 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
6022 * gdb.base/setshow.exp: New file, tests show and set.
6023 * gdb.base/setshow.c: New file, tests show and set.
6024 * gdb.base/help.exp: Add test for help set|show annotate.
6025 * gdb.base/default.exp: Add test for set|show annotate.
6027 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6029 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6031 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6034 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6036 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6037 and width commands. This is done elsewhere.
6038 * (gdb_start): Don't call gdb_start_sim here. That's already
6039 done in gdb_load. This fixes lots of failures in default.exp.
6041 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6043 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6044 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6045 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6046 in the same we we treat other failures (since it may be an expected
6047 condition), rather than as an error.
6048 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6051 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6053 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6054 (distclean maintainer-clean realclean): No need to remove files
6055 twice. Nuke the duplicates.
6056 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
6057 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
6058 Remove config.h along with other config files.
6060 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6062 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6063 "p func1 ()" and note that rests of tests are skipped.
6064 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6065 setup_xfails for "print func2::coremaker_local".
6066 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6067 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6068 affected by the previous run test.
6069 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6070 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6071 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6072 "pass int powerset tuple" and "pass modeless int powerset tuple".
6073 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6074 "real write 4" and "real write 8".
6075 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6076 setup_xfails for "print vs1 after tuple assign 2",
6077 "print \$i after tuple assign 2", and
6078 "print vs2 after tuple assign 2".
6079 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6080 meaningful error message and return -1 so the caller can
6081 suppress further tests and avoid a cascade of errors.
6083 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6085 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6086 format for printing version.
6087 * gdb.base/default.exp: Ditto.
6088 * gdb.base/interrupt.exp: Fix problem with cascade of
6089 errors if child process dies while calling a function.
6091 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6093 * Makefile.in (VPATH): Add
6094 * Makefile.in (Makefile, config.status): Fix rules so things get
6095 remade when necessary.
6097 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6099 * Makefile.in (just-check): Add path to sibling expect dir
6100 to environment variable specified by RPATH_ENVVAR.
6102 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6104 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6105 (just-check): Add shared library paths for libstdc++, tk,
6106 tcl, bfd, and opcodes to the environment variable specified
6108 * configure.in: Add support to recognize --enable-shared flag
6109 and generate correct value for RPATH_ENVVAR.
6110 * configure: Regenerated with autoconf.
6112 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6114 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6115 include all osf versions.
6116 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6117 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6118 when target is linux. When failing to build pthreads test
6119 executable, give more meaningful message.
6120 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6121 arg for pthread_create.
6123 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6125 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6126 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6127 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6128 and -lpthreads (everybody else).
6129 (test_startup): Fail gracefully if threads are not supported.
6130 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6131 "p/c array_index("abcdef",2)" when not gcc compiled.
6132 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6133 "print func2::coremaker_local" when not gcc compiled.
6134 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6135 "ptype on opaque struct tagname (statically)",
6136 "ptype on opaque struct tagname (dynamically) 1", and
6137 "ptype on opaque struct tagname (dynamically) 2"
6138 for not compiled with gcc.
6139 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6140 backtrace when compiled with gcc.
6141 * lib/gdb.exp (runto_main): Return result of "runto main" rather
6142 than always return success.
6144 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6146 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6148 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6150 * gdb.base/structs.exp: Undo last change.
6152 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6154 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6155 encapsulate all the steps/nexts done during self test, starting
6156 at main, and makes them less sensitive to optimization issues.
6157 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6158 signal handler" test.
6159 * gdb.threads/pthreads.exp: Only run this for native configs.
6160 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6161 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6163 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6164 for "runto test_calls(void)" test.
6166 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6168 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6169 and don't expect address info in breakpoint confirmations.
6171 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6173 * gdb.base/list.exp (test_forward_search): Increase timeout
6174 temporarily by 60 seconds for searching extremely long line,
6175 and then reset to old value when done. Increase expect input
6178 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6180 * gdb.base/list.exp (test_forward_search): Fix to handle very
6181 long source line without overflowing expect's input buffer.
6183 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6185 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6188 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6191 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6194 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6197 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6199 * configure.in (configdirs): Add gdb.threads.
6200 * configure: Regenerated with autoconf.
6201 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6202 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6203 * gdb.threads/configure: New, generated with autoconf.
6205 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6207 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6209 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6211 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6212 each signal's status in the output of "handle all print".
6213 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6214 the \r\n sequence that immediately precedes the gdb prompt.
6215 * gdb.base/a1-selftest.exp: Save original timeout and restore
6218 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6220 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6223 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6225 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6227 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6229 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6230 timeout by 60 seconds.
6232 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6234 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6235 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6238 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6240 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6241 gdb initialization, also report how long dejagnu waited. Restore
6242 old timeout before doing error return. Temporarily increase timeout
6243 by 3 minutes to allow for slow startups over heavy NFS use.
6245 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6247 * lib/gdb.exp: Report timeout value for verbosity level 2.
6248 * config/gdbserver.exp: Ditto.
6249 * config/hppro.exp: Ditto.
6250 * config/mips-gdb.exp: Ditto.
6251 * config/monitor.exp: Ditto.
6252 * config/netware.exp: Ditto.
6253 * config/sim-gdb.exp: Ditto.
6254 * config/slite-gdb.exp: Ditto.
6255 * config/udi-gdb.exp: Ditto.
6256 * config/unix-gdb.exp: Ditto.
6257 * config/vx-gdb.exp: Ditto.
6258 * gdb.base/a1-selftest.exp: Ditto.
6259 * gdb.base/a2-run.exp: Ditto.
6260 * gdb.base/break.exp: Ditto.
6261 * gdb.base/corefile.exp: Ditto.
6262 * gdb.base/list.exp: Ditto.
6263 * gdb.base/recurse.exp: Ditto.
6264 * gdb.base/scope.exp: Ditto.
6265 * gdb.base/signals.exp: Ditto.
6267 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6269 * gdb.threads/Makefile.in (docdir): Removed.
6271 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6273 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
6274 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
6276 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
6277 autoconf 2.5 or higher.
6278 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6280 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6282 * configure: Regenerated.
6283 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6284 avoid name clashes with SunOS headers.
6286 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6288 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6290 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6292 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6293 prototype information ends up in the compiler info file.
6295 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6297 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6298 attempting to regenerate it. Eliminate use of a temporary file
6299 and just generate the info file directly. Source it immediately,
6300 for consistency of use.
6301 * gdb.base/corefile.exp: Ditto
6302 * gdb.base/exprs.exp: Ditto.
6303 * gdb.base/funcargs.exp: Ditto.
6304 * gdb.base/langs.exp: Ditto.
6305 * gdb.base/list.exp: Ditto.
6306 * gdb.base/mips_pro.exp: Ditto.
6307 * gdb.base/nodebug.exp: Ditto.
6308 * gdb.base/opaque.exp: Ditto.
6309 * gdb.base/ptype.exp: Ditto.
6310 * gdb.base/scope.exp: Ditto.
6311 * gdb.base/setvar.exp: Ditto.
6312 * gdb.base/signals.exp: Ditto.
6313 * gdb.base/whatis.exp: Ditto.
6314 * gdb.c++/templates.exp: Ditto.
6315 * gdb.c++/virtfunc.exp: Ditto.
6316 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6317 whether or not to add -lstdc++ to the compile command line args.
6319 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6321 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6322 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6323 Increase timeout, a lot of single stepping might be needed if the
6324 target has no hardware watchpoints.
6326 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6328 * gdb.base/break.exp: Ignore compiler warnings when compiling
6330 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6331 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6333 * gdb.base/exprs.exp: Add h8300 xfails.
6334 * gdb.base/funcargs.exp: Likewise.
6335 * gdb.base/nodebug.exp: Likewise.
6336 * gdb.base/printcmds.exp: Likewise.
6337 * gdb.base/ptype.exp: Likewise.
6338 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6340 * gdb.base/return.exp: Handle float/double precision problems
6342 * gdb.base/funcargs.c: Explicitly make last constant argument to
6343 call_after_alloca_subr an unsigned long type.
6344 * gdb.base/return.c: Include stdio.h.
6346 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6348 * config/abug.exp: New file for the older Motorola Bug monitor
6349 that runs on the mvme13x series VME boards.
6350 * config/monitor.exp: Use the new config array for target settings
6353 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6355 * sim-gdb.exp: Make the SH simulator allocate less space when
6358 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6360 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6363 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6365 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6366 "rs6000-*-*" for "list function in include file" when gcc compiled.
6367 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6368 for "p ctable1[120]".
6369 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6370 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6371 Remove setup_xfail for "rs6000-*-*" for
6372 "print 'scope0.c'::filelocal before run".
6373 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6374 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6375 since some compilers don't allow both options to be given
6376 on the same command line. Create object file and move it.
6378 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6380 * gdb.base/corefile.exp: Always regenerate the core file, since
6381 we always regenerate the coremaker program. Detect special case
6382 where registers cannot be read from core file.
6384 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6386 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6387 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6388 * gdb.c++/templates.exp: Only match on basename of file since
6389 some formats like xcoff don't encode directory information.
6390 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6391 and rs6000 AIX xcoff targets.
6392 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6393 * configure: Regenerate.
6394 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6395 here, rather than in distclean.
6397 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6399 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6400 defined, and use it to compile the test case with -O2. The
6401 native compilation still uses no optimization.
6402 * gdb.base/mips_pro.c: Remove inline assembly code since
6403 it is compiled PIC by default, which results in assembler
6404 warnings that make the testsuite think the compilation
6407 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6409 * gdb.c++/misc.exp: Add note to message for
6410 "print s.a for foo struct" that this is a known gcc 2.7.2
6413 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6415 * gdb.base/break.exp: Fix pattern for matching "Delete all
6416 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6417 setup_xfail for deleting all breakpoints test. Fix various
6418 timeout messages to include "(timeout)".
6419 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6420 for "p t_float_values2(3.14159,float_val2)".
6421 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6422 for "continue to call2g" when gcc compiled.
6423 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6424 "up to foo in langs.exp", "show language at foo in langs.exp",
6425 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6426 and "show language at fsub in langs.exp".
6427 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6428 "list line 1 in include file", "list message for lines past EOF",
6429 "list function in include file", "list list0.h:foo", and
6430 "list filename:function; nonexistant function".
6431 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6432 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6433 and "ptype t_char_array" to be for native cc only.
6435 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6437 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
6438 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6439 "print func2::coremaker_local", and "backtrace in corefile.exp".
6441 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6443 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6444 "bt in signals.exp". This problem only appears when running
6445 the testsuite, and then only intermittently.
6447 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6449 * gdb.base/return.exp (return_tests): Differentiate between
6450 two tests of continuing.
6452 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6454 * */Makefile.in (maintainer-clean): Remove config.log.
6455 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6456 * gdb.c++/Makefile.in (PROGS): Add inherit.
6457 (clean): Remove *.ci.
6459 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6461 * gdb.c++/misc.cc: Add test code from Mike Stump.
6462 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6464 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6466 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6467 to "alpha-*-osf2*" and add comment.
6468 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6469 setup_xfail for "step over execarg initialization" and
6470 "step over corearg initialization".
6471 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6472 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6473 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6474 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6475 "print func2::coremaker_local", and "backtrace in corefile.exp".
6476 * gdb.base/signals.exp: Build and source signals.ci.
6477 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6479 * lib/gdb.exp: Move verbose statements outside conditionals.
6481 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6483 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6484 Feb 3 procfs.c change.
6486 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6488 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6490 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6492 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6493 from dejagnu's apparent default of 10 seconds, which gives random
6494 results when running the tests over NFS on moderately loaded systems.
6495 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6497 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6499 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6500 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6503 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6505 * configure.in (CY_AC_PATH_TCLH): Remove.
6506 * configure: Regenerate.
6508 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6510 * gdb.c++/Makefile.in (clean): Add missing '{'.
6512 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6514 * lib/gdb.exp: Provide a default value for noinferior.
6516 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6519 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6521 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6522 the executable, not the .o to run the tests from.
6524 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6526 * gdb.base/break.exp: Don't test for program exit or exit status
6527 if $noresults if nonzero.
6528 * gdb.base/langs.exp: Likewise.
6529 * gdb.base/watchpoint.exp: Likewise.
6531 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6532 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6533 trying to compile the testcase.
6535 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6537 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6538 * gdb.base/signals.exp (continue to handler): Likewise.
6540 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6542 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6544 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6546 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6548 * gdb.base/corefile.exp: Recognize "not found" as failure
6549 when trying to determine if a core file was generated.
6550 If no core file was generate the first time, try again without
6551 the ulimit -c to work around braindamaged shells.
6553 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6555 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6556 [] tests with "test" and enclose string in quotes.
6557 * gdb.stabs/configure: Rebuild
6559 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6561 Changes in sync with expect:
6562 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6563 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6564 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6565 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6566 argument to AC_REQUIRE.
6567 * configure: Regenerated.
6569 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6571 * gdb.base/corefile.exp: When generating a core, discard any
6572 error messages about ulimit not found and the "core dumped"
6573 message from the shell that runs the coredumper.
6575 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6577 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6579 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6580 which sed script to run. Expect failure for v_comb test
6583 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6585 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6586 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6588 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6590 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6591 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6592 "sparc-sun-solaris*" xfails for "p v_comb".
6593 * lib/gdb.exp (default_gdb_start): Fix typo.
6594 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6595 messages to not include the full program name that caused
6596 the core dump since some systems (such as solaris) apparently
6597 truncate this path to about 80 characters.
6598 When generating a core file first try increasing the core file
6599 size limit to unlimited since some systems may default it to
6600 zero, and it is harmless to try it. Move the test for failing
6601 to generate a core file to where it will actually get executed.
6602 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6603 new gdb result from g++ debug info improvements and make old
6604 pattern obsolescent. Also account for size_t differences
6605 (may be int or long).
6606 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6607 initialization before function call is placed in the delay slot
6608 and thus appears to be skipped over by commands such as "next".
6610 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6612 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6614 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6616 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6617 input source file; fix code to compile test to deal with this
6619 * gdb.c++/*.exp: Likewise.
6621 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6623 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6624 "bt in signals.exp".
6626 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6628 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6629 "step over execarg initialization" and
6630 "step over corearg initialization".
6632 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6634 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6635 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6637 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6639 From Rob Savoye (rob@poseidon.cygnus.com)
6640 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6641 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6642 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6643 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6644 configure.in}: Major reworking for autoconfig.
6645 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6646 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6648 * config/unix-gdb.exp: Make GDB global.
6649 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6650 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6651 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6652 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6653 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6654 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6655 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6656 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6657 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6658 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6659 pr-8136.exp, result.exp, string.exp, tuples.exp},
6660 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6661 to returns as necessary, arrange for test to compile own testcase
6663 * lib/gdb.exp: Changes for testsuite to compile own test cases.
6665 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6667 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6668 clear_xfail at end of test which might not call either pass or fail.
6669 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6670 "backtrace through signal handler".
6672 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6674 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6675 continuing from a job control stop signal.
6676 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6678 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6680 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6681 * gdb.base/corefile.exp: Likewise.
6682 * gdb.base/funcargs.exp: Likewise.
6684 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6686 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6687 * config/monitor.exp: Add support for setting baud rate.
6689 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6691 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6692 i*86-*-linux* xfails for "backtrace through signal handler".
6693 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6694 "print func2::coremaker_local".
6695 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6696 alpha-dec-osf2* xfail for
6697 "delete all breakpoints when none".
6699 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6701 * gdb.base/break.exp: Change test that deletes all breakpoints
6702 when no user breakpoints are installed. A post 4.15 change
6703 causes gdb to no longer prompt in this case.
6705 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6707 * gdb.base/return.exp (return_tests): Change xfail for test
6708 "correct value returned double test" to stop xfailing at
6709 Solaris 2.5. Apparently the bug has been fixed.
6711 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6713 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6714 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6716 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6718 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6719 * gdb.disasm/hppa.s: Corresponding changes.
6721 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6723 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6725 * config/mt-hpux: Deleted.
6727 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6729 * Many files: When warning about suppressed tests due to a
6730 nonexistant test binary, avoid incrementing the warning count.
6732 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6734 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
6736 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6738 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6739 "sparc-*-solaris2*".
6741 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6743 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6744 Add global and local variables and initialize them.
6745 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6746 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6747 extracts the file name and terminating signal from the core file.
6748 * TODO: Remove note about tests for correct mapping of corefile.
6749 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6750 from optimizing it away.
6751 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6752 handles common blocks.
6754 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6756 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6757 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6759 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6761 * Makefile.in (maintainer-clean): New target, synonym for
6763 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6764 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6765 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6766 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6767 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6768 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6770 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6772 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6773 xfails when not gcc compiled for "print foo::funclocal".
6774 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6775 "print foo::funclocal at foo",
6776 "print 'scope1.c'::foo::funclocal at foo",
6777 "print foo::funclocal_bss at foo",
6778 "print 'scope1.c'::foo::funclocal_bss at foo",
6779 "print foo::funclocal_ro at foo",
6780 "print 'scope1.c'::foo::funclocal_ro at foo",
6781 "print bar::funclocal at foo" and
6782 "print 'scope1.c'::bar::funclocal at foo".
6783 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6784 gcc compiled for "print foo::funclocal at bar".
6785 Expand all messages to ensure that they identify that
6786 the test is at bar().
6787 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6789 "ptype on opaque struct pointer (statically)",
6790 "ptype on opaque struct tagname (statically)",
6791 "ptype on opaque struct pointer (dynamically) 1",
6792 "ptype on opaque struct tagname (dynamically) 1",
6793 "ptype on opaque struct pointer (dynamically) 2" and
6794 "ptype on opaque struct tagname (dynamically) 2
6795 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6801 "whatis bsslocal", and
6803 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6804 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6805 when not gcc compiled.
6806 * gdb.base/funcargs.exp (float_and_integral_args): Add
6807 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6809 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6810 "backtrace from call6a" when not gcc compiled.
6811 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6812 "backtrace from call7a" when not gcc compiled.
6813 * gdb.base/callfuncs.exp (do_function_calls):
6814 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6815 "p t_char_array_values(char_array_val2,char_array_val1)",
6816 "p t_char_array_values(char_array_val1,char_array_val2)",
6817 "p t_char_array_values("carray 1","carray 2")",
6818 "p t_char_array_values("carray 1",char_array_val2)",
6819 "p t_char_array_values(char_array_val1,"carray 2")",
6820 "p sum_args(1,{2})",
6821 "p sum_args(2,{2,3})",
6822 "p sum_args(3,{2,3,4})",
6823 "p sum_args(4,{2,3,4,5})"
6824 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6825 "backtrace in corefile.exp" when not gcc compiled.
6827 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6829 * gdb.base/signals.exp: Rewrite `handle all print' test as
6830 a procedure. Accept blanks or TABs as whitespace, increase
6831 timeout and expect input buffer size for the large output
6832 from the command. Remove "i*86-*-bsdi2.0" xfail.
6834 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6836 * gdb.base/setvar.exp: Add new testcases for truncation when
6837 assigning invalid values to bitfields.
6839 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6841 * gdb.base/callfuncs.exp (do_function_calls): Remove
6842 mips-sgi-irix* xfail for
6843 "call inferior func with struct - returns char *"
6844 and fix test so that an optional (unsigned char *) cast is
6845 accepted in the result.
6847 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6849 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6850 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6851 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6852 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6853 that accidentally got checked in.
6855 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6857 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
6858 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6860 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6861 Add mips-sgi-irix5* xfail for not gcc compiled.
6862 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6863 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6864 "p top", "whatis top", "p middle", and "whatis middle".
6865 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6866 "whatis signed char" for not gcc compiled.
6867 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6868 "set variable signed char=-1 (-1)" and
6869 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6870 * gdb.base/funcargs.exp (float_and_integral_args):
6871 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6872 Add mips-sgi-irix* xfail when not gcc compiled for
6873 "continue to call2b".
6874 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6875 "continue to call2g".
6876 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6877 "backtrace from call6a"
6878 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6879 "backtrace from call7k".
6880 Add mips-sgi-irix5* xfail when not gcc compiled for
6881 "backtrace from call7a".
6882 (localvars_after_alloca): Fix gdb_test cmds for
6883 "print * after runto ...".
6884 Remove rs6000-*-* xfails for
6885 "print i after runto localvars_after_alloca" and
6886 "print l after runto localvars_after_alloca"
6888 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6889 when not compiled with gcc, for:
6890 "print signed char == (minus)",
6891 "print signed char != (minus)",
6892 "print signed char < (minus)",
6893 "print signed char > (minus)".
6894 * gdb.base/callfuncs.exp (do_function_calls):
6895 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6896 "call inferior func with struct - returns char *".
6897 * gdb.base/return.exp (return_tests): Change xfail for
6898 "correct value returned double test" to include Solaris 2.4.
6899 * gdb.base/funcargs.exp (float_and_integral_args):
6900 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6902 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6904 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6905 enumeration bitfields if compiling with GNU C.
6906 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6909 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6911 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6912 test for PRO targets.
6914 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6915 breakpoints in the inferior at any given time by making
6916 two groups of breakpoints for call2*, call6* and call7*
6919 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6921 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6922 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6923 from optimizing it away.
6924 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6925 "call inferior func with struct".
6927 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6929 * configure.in: Only configure gdb.chill for particular targets.
6931 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6933 * gdb.base/Makefile.in: Add action to .c.o transformation
6934 rule that generates a .ci file for each .o file and remove
6935 explicit .c.o rules except for callfuncs.o.
6936 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6937 generates a .ci file for each .o file and remove explicit
6939 (clean): Remove *.tmp *.ci files.
6940 (EXECUTABLES): Remove templ-info.exp.
6941 * gdb.base/compiler.c: New file.
6942 * gdb.c++/compiler.cc: New file
6943 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6944 Change rs6000-*-* xfail for
6945 "print 'scope0.c'::filelocal_ro" and
6946 "print 'scope1.c'::filelocal" and
6947 "print 'scope1.c'::filelocal_bss" and
6948 "print 'scope1.c'::filelocal_ro" and
6949 "print 'scope1.c'::foo::funclocal" and
6950 "print 'scope1.c'::foo::funclocal_ro" and
6951 "print 'scope1.c'::bar::funclocal" and
6952 "print 'scope0.c'::filelocal_ro" and
6953 "print 'scope1.c'::filelocal at foo" and
6954 "print 'scope1.c'::filelocal_bss at foo" and
6955 "print 'scope1.c'::filelocal_ro at foo" and
6956 "print 'scope1.c'::foo::funclocal at foo" and
6957 "print 'scope1.c'::foo::funclocal_bss at foo" and
6958 "print 'scope1.c'::foo::funclocal_ro at foo" and
6959 "print 'scope1.c'::bar::funclocal at foo" and
6960 "print 'scope0.c'::filelocal_ro" and
6961 "print 'scope1.c'::filelocal" and
6962 "print 'scope1.c'::filelocal_bss" and
6963 "print 'scope1.c'::filelocal_ro" and
6964 "print 'scope1.c'::foo::funclocal" and
6965 "print 'scope1.c'::foo::funclocal_bss" and
6966 "print 'scope1.c'::foo::funclocal_ro" and
6967 "print 'scope1.c'::bar::funclocal" and
6968 "print 'scope1.c'::bar::funclocal_bss"
6969 to only be xfail'd when not compiled with gcc.
6970 Add rs6000-*-* xfail for
6971 "print 'scope0.c'::filelocal_bss before run"
6972 when compiled with gcc.
6973 (test_at_main): Add rs6000-*-* xfail for
6974 "print filelocal_ro in test_at_main"
6975 when compiled with gcc.
6976 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
6977 Add rs6000-*-aix* xfail for
6978 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6979 "ptype t_char_array", not compiled with gcc.
6980 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6981 xfail for "list foo (in include file)" when gcc compiled.
6982 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6983 (integral_args): Add rs6000-*-* xfail for
6984 "run to call0a" if not compiled with gcc.
6985 (unsigned_integral_args): Add rs6000-*-* xfail for
6986 "run to call1a" if not compiled with gcc.
6987 (float_and_integral_args): Add rs6000-*-* xfail for
6988 "run to call2a" if not compiled with gcc and for
6989 "continue to call2b" for any compiler.
6990 Add rs6000-*-* xfail to
6991 "print f1 after run to call2a" for gcc compiled.
6992 (discard_and_shuffle): Add rs6000-*-* xfail for
6994 (shuffle_round_robin): Add rs6000-*-* xfail for
6995 "backtrace from call7a" if not compiled with gcc.
6996 Add rs6000-*-* xfail for
6997 "backtrace from call7b" if compiled with gcc.
6998 (call_after_alloca): Add rs6000-*-* xfail for
6999 "print c in call_after_alloca" and
7000 "print s in call_after_alloca" and
7001 "backtrace from call_after_alloca_subr"
7002 if not compiled with gcc.
7003 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7004 "print c in localvars_in_indirect_call" and
7005 "print c in localvars_in_indirect_call" and
7006 "backtrace in indirectly called function" and
7007 "stepping into indirectly called function"
7008 if not compiled with gcc.
7009 (localvars_after_alloca): Add rs6000-*-* xfail for
7010 "print c after runto localvars_after_alloca" and
7011 "print s after runto localvars_after_alloca" and
7012 "print i after runto localvars_after_alloca" and
7013 "print l after runto localvars_after_alloca"
7015 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7016 than whatis-info.exp.
7017 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7018 than opaque-info.exp.
7019 Setup rs6000-*-* xfail for
7020 "ptype on opaque struct pointer (statically)" and
7021 "ptype on opaque struct pointer (dynamically)" when
7022 not compiled with gcc.
7023 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7024 rather than callf-info.exp.
7025 (do_function_calls): Add clear_xfail for rs6000-*-* for
7026 "p t_float_values2(3.14159,float_val2)". Seems to work
7027 fine there, both with xlc and gcc. Need to find out what
7028 it is doing right and fix other platforms.
7029 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7030 "call inferior func with struct - returns int",
7031 "call inferior func with struct - returns long",
7032 "call inferior func with struct - returns float",
7033 "call inferior func with struct - returns double",
7034 "call inferior func with struct - returns char *",
7035 but only if not gcc compiled (presumes xlc compiled).
7036 Change rs6000-*-* xfails for
7037 "call inferior func with struct - returns char" and
7038 " call inferior func with struct - returns short" to only
7039 xfail if not using gcc.
7040 (clean mostlyclean): Remove *.ci and *.tmp files.
7041 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7042 than templ-info.exp.
7043 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7044 Add rs6000-*-* xfail for "up to foo in langs.exp"
7045 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7046 when not gcc compiled.
7048 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7050 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7051 * gdb.base/corefile.exp: Likewise.
7052 * gdb.base/list.exp: Likewise.
7053 * gdb.base/scope.exp: Likewise.
7054 * gdb.base/siganls.exp: Likewise.
7056 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7058 * gdb.base/whatis.exp: Likewise.
7060 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7062 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7063 failure (opcode table has been fixed to match reality).
7065 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7067 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7068 "call inferior func with struct - returns char",
7069 "call inferior func with struct - returns short"
7071 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7072 "print 'scope0.c'::filelocal at main",
7073 "print 'scope0.c'::filelocal_bss in test_at_main",
7074 "print 'scope0.c'::filelocal at foo",
7075 "print 'scope0.c'::filelocal_bss in test_at_foo",
7076 "print 'scope0.c'::filelocal at bar",
7077 "print 'scope0.c'::filelocal_bss in test_at_bar"
7079 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7080 in source file 1". This bug seems to have been fixed with both
7081 gcc and native cc (was native assembler bug?).
7083 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7085 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7086 "backtrace through signal handler" to "i*86-*-sysv4*".
7087 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7088 continue" case. Add "known SVR4 bug" to fail message.
7089 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7090 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7091 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7092 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7093 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7094 "up to foo in langs.exp", "show language at foo in
7095 langs.exp", "up to cppsub_ in langs.exp", "show
7096 language at cppsub_ in langs.exp", "up to fsub in
7097 langs.exp", and "show language at fsub in langs.exp".
7098 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7099 "bactrace in corefile.exp".
7100 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7101 "call inferior function with struct - returns float" and
7102 "call inferior function with struct - returns double".
7104 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7106 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7107 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7108 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7109 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7111 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7113 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7114 (or overriden) "CHILL" macro rather then bare "gcc".
7115 Also look for ../../gcc/xgcc since that is what we will
7116 actually need, not "Makefile". Remove following assignment
7117 of CHILL to CHILL_FOR_TARGET because that results in
7118 recursive definition.
7120 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7122 * gdb.base/corefile.exp: Change xfail for backtrace in
7123 corefile.exp from linuxaout to all linux.
7124 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7125 cases where we miss the breakpoint at the signal handler
7126 for some reason. Setup xfail for linuxoldld/linuxaout and
7127 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7128 hitting SIGURG breakpoint.
7129 * gdb.base/signals.exp: Setup xfail for "next" acting like
7130 continue to add linuxoldld. Setup xfail for all linux for
7131 "next to handler in signals_tests_1", "backtrace in
7132 signals_tests_1", "continue to func1", "pass SIGUSR1",
7133 and continue to handler".
7135 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7137 * Update all FSF addresses except those in COPYING* files.
7139 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7141 * gdb.base/a2-run.exp: Change messages to be more explicit about
7142 the status of args, and quote binfile in results.
7144 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7146 * gdb.base/callfuncs.exp: Add tests for passing structs to
7147 inferior functions and return various types.
7148 * gdb.base/callfuncs.c: Add functions to receive a struct
7149 and return a member of the struct, in various types.
7151 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7153 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7155 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7157 * config/vxworks29k.exp: New file, sources vxworks.exp.
7159 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7161 * config/gdbremote.exp: New file. Testing framework using
7164 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7166 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7167 "call function when asleep" and "send end of file".
7168 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7169 for "backtrace in corefile.exp".
7170 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7171 for "backtrace through signal handler".
7172 * gdb.base/corefile.exp: Make sure we actually generate a core file
7173 before trying the core tests. Some systems allow the user to suppress
7174 generation of core files and default to that (linux for example).
7175 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7176 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7178 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7180 * gdb.threads: New directory with some crude multi-threaded
7181 gdb tests (step.exp and step2.exp).
7182 * config/mt-lynx (STEP_EXECUTABLE): Define.
7183 (THREADFLAGS): Define.
7185 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7187 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7189 * gdb.base/signals.exp: Disable whole file for lynx until
7192 * gdb.base/signals.exp: xfail test where "next" acts like
7193 "continue" for lynx.
7195 * gdb.base/interrupt.exp: xfail test for calling function while
7196 inferior is asleep for lynx.
7198 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7199 than one cr-lf after each command.
7201 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7203 * configure.in: Reinstate setting of stabsdirs variable, fix
7204 typo in setting up configdirs for native builds.
7206 * gdb.base/return.exp: Fix typo in return double test.
7207 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7208 compiler from optimizing them away.
7210 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7212 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7213 sequences to be echo'd by gdb when using gdb_test.
7214 * gdb.chill/chexp.exp: Likewise.
7215 * gdb.fortran/exprs.exp: Likewise
7217 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7219 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7220 after the inferior gdb has started.
7222 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7224 * gdb.base/funcargs.exp: Likewise.
7225 * gdb.base/gdbvars.exp: Likewise.
7226 * gdb.base/interrupt.exp: Likewise.
7227 * gdb.base/list.exp: Likewise.
7228 * gdb.base/watchpoint.exp: Likewise.
7229 * gdb.c++/demangle.exp: Likewise.
7230 * gdb.c++/inherit.exp: Likewise.
7231 * gdb.chill/chexp.exp: Likewise.
7232 * gdb.fortran/exprs.exp: Likewise.
7234 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7235 test if we can't handle IO to/from the inferior.
7237 * gdb.c++/misc.exp: Always check for a program already being
7238 started after sending a "run" command to gdb.
7240 * gdb.base/twice.exp: Start with a fresh gdb.
7242 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7243 only depend on gdb's expression code, not the chill runtime.
7245 * gdb.base/return.c: Put return values into variables so we
7246 can have gdb print them rather than depending on the program
7248 * gdb.base/return.exp: Corresponding changes.
7250 * lib/gdb.exp: Provide default value for noinferiorio.
7251 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7254 * gdb.base/break.exp: Always check for a program already being
7255 started after sending a "run" command to gdb.
7256 (text_next_with_recursion): Don't check the output from the
7257 program's printf statement. Instead just make sure the program
7260 * gdb.base/commands.exp: Protect tests which need arguments with
7261 $noargs conditionals.
7263 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7265 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7266 of structure member arrays to match gdb/valops.c:value_addr change.
7268 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7270 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7273 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7275 * configure.in (configdirs): Remove gdb.chill from default list
7276 of subdirs and then add it back in only if doing a native build.
7277 The current chill compiler does not yet work in any cross build.
7278 * Revert all signal changes from Jul 6.
7279 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7280 for sh-hms targets, allowing these tests to link, with no other
7281 changes. Testing is suppressed by setting "nosignals" in site.exp.
7283 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7285 * configure.in (signaldirs): Define and add to configdirs for all
7286 targets except some specific ones that are known to not support signals.
7287 Also clean up formatting.
7288 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7289 (signals, sigall): Remove rules to build.
7290 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7291 Moved to new gdb.signals directory.
7292 * gdb.signals: New test directory.
7293 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7294 signals.c signals.exp}: New or moved files.
7296 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7298 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7300 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7302 * gdb.base/return.exp: Xfail `return double' test failure
7303 on at least Solaris 2.3 and handle future/past versions on
7304 a case by case basis as appropriate. Also update message
7305 to include i*86 failures.
7307 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7309 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7311 * lib/gdb.exp: Fix comment which erroneously identified
7312 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7313 gdb_file_cmd not gdb_load).
7314 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7316 * gdb.base/setvar.exp: Make test names consistent between pass and
7317 fail cases. Use gdb_test more.
7319 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7321 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7323 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7325 * gdb.base/help.exp: Fix expected help string for `show commands'.
7327 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7329 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7331 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7334 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7336 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7337 that loop eventually terminates. Fix Connection refused logic so
7338 that testsuite will expire nicely.
7340 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7342 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7343 config/rom68k.exp: New tcl glue for the appropriate monitors.
7344 These all just end up calling monitor.exp.
7345 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7346 refused' by retrying. Cleanup some timeout issues.
7347 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7348 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7349 callers don't have to set/restore global timeout variable.
7351 * The following set of changes centralizes management of the global
7352 timeout variable. This way, it can be set in one target dependent
7353 place instead of dozens of places scattered throughout the test suite.
7354 If you need to lengthen a timeout, then you should either set timeout
7355 in one of the config/{target}.exp files, or multiply it by a factor.
7356 Setting it to an absolute value is always going to lose for some
7358 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7359 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7360 * gdb.base/funcargs.exp: Don't set timeout.
7361 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7362 * gdb.base/printcmds.exp (test_print_string_constants
7363 test_print_array_constants): Don't set timeout.
7364 * gdb.base/ptype.exp: Don't set timeout.
7365 * gdb.base/recurse.exp: Don't set timeout.
7366 * gdb.base/return.exp: Don't set timeout.
7367 * gdb.base/watchpoint.exp: Don't set timeout.
7368 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7369 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7371 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7373 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7375 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7377 * lib/gdb.exp: Disable chill tests for irix5.
7379 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7381 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7382 each test pass or fail.
7384 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7386 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7389 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7391 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7393 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7395 * config/est.exp: Fix copyright and comments. Remove dead code.
7396 Use targetname, serialport and baud variables instead of fixed
7398 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7399 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7401 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7403 * gdb.base/watchpoint.exp: Don't run
7404 test_watchpoint_triggered_in_syscall for sunos.
7406 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7408 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7409 they don't seem to exist. Do include stdio.h.
7411 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7413 * gdb.base/a1-selftest.exp: Add alpha xfail.
7415 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7417 * gdb.base/watchpoint.c (main): Prompt before calling read().
7418 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7419 Revise accordingly. Remove cruft about sending "123" several
7420 times, until it gets noticed. Clean up the "print buf[0]" stuff
7421 so that it passes or fails, and waits for prompts in the usual way.
7423 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7425 * gdb.base/recurse.exp: Fix comment.
7427 * TODO: Remove item about printing variables in nodebug.exp. Add
7428 item about enabling tests which are only run on some targets.
7430 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7431 fail, make test names unique, use new gdb_test convention
7432 regarding pattern, use gdb_test more, etc.).
7434 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7435 fail, make test names unique, etc.).
7437 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7439 * gdb.base/nodebug.c: Change return type of top and middle to
7441 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7442 are fixed by the recent mdebugread.c changes. Allow `short ()'
7443 as type for top and middle.
7445 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7447 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7448 nearly as I can tell, the whole thing was an accident in Stu's
7449 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7450 to replace a send/expect pair with gdb_test, but ended up only
7451 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7452 of 30 Mar 1995 took care of it, but left this vestigial comment
7453 which I am now nuking.
7455 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7457 * gdb.base/break.exp: Look for different line number for
7458 breakpoint at main depending on usestubs.
7460 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7462 * gdb.base/list.exp: Adjust some alternate expect patterns to
7463 match recent list0.c change. Add alternate expect pattern for
7464 output from `list default lines around main' for optimizing
7467 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7469 * lib/gdb.exp: If nosignals is not set, set it to 0.
7471 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7473 * config/slite-gdb.exp: Responds to load symbol table prompt.
7474 * gdb.base/break.exp: Adjust line number, fix rerun.
7475 * gdb.base/langs0.c: Add #ifdef usestubs.
7477 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7479 * gdb.base/list.exp: Adjust line contents after adding new lines in
7480 list0.c. Also fix a syntax error.
7482 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7483 * gdb.base/break.exp: ditto.
7484 * gdb.base/list.exp: ditto.
7485 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7486 * gdb.base/run.c: ditto.
7487 * gdb.base/list0.c: ditto.
7488 * gdb.base/funcargs.c: ditto.
7490 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7492 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7493 $targetname, $serialport and $baud instead of hardwired variables.
7494 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7495 target doesn't support signals.
7497 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7499 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7501 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7503 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7504 Don't rely on the value of an auto variable before it has been
7505 initialized. Use gdb_test more.
7507 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7509 * lib/gdb.exp (default_gdb_version): A version number must start
7510 with a digit, but other than that contains all characters up to
7511 the first whitespace character.
7513 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7515 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7517 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7519 * gdb.c++/*.exp: Warn if executable does not exist. The original
7520 reason for skipping the warning was that configure.in sometimes
7521 intentionally skipped building the executables but the tcl code
7522 had no way of knowing. That (a) was always bogus with respect to
7523 error handling, (b) is no longer true (right now there is no way
7526 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7528 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7530 * gdb.base/list.exp: Add expect patterns for output from
7531 SunPRO compiled executables.
7532 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7535 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7537 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7538 number (we are already testing that the correct source line text
7541 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7542 that is what is intended, but something needed to be done to get
7543 sunos4 native working again.
7545 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7547 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7548 apparently went with a (very) old xfail.
7550 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7552 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7553 runto_main is a proc in gdb.exp that will do 'step' for target use
7555 * gdb.base/exprs.exp: ditto.
7556 * gdb.base/interrupt.exp: ditto.
7557 * gdb.base/opaque.exp: ditto.
7558 * gdb.base/printcmds.exp: ditto.
7559 * gdb.base/ptype.exp: ditto.
7560 * gdb.base/scope.exp: ditto.
7561 * gdb.base/setvar.exp: ditto.
7562 * gdb.base/signals.exp: ditto.
7563 * gdb.base/twice.exp: ditto.
7564 * gdb.c++/classes.exp: ditto.
7565 * gdb.c++/inherit.exp: ditto.
7566 * gdb.c++/templates.exp: ditto.
7567 * gdb.base/break.exp: no run and hit main for stubs. Change line
7568 numbers for breakpoints and info breakpoint.
7569 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7571 * gdb.base/callfuncs.c: ditto.
7572 * gdb.base/exprs: ditto.
7573 * gdb.base/interrupt.c: ditto.
7574 * gdb.base/opaque0.c: ditto.
7575 * gdb.base/printcmds.c: ditto.
7576 * gdb.base/ptype.c: ditto.
7577 * gdb.base/scope0.c: ditto.
7578 * gdb.base/setvar.c: ditto.
7579 * gdb.base/signals.c: ditto.
7580 * gdb.base/twice.c: ditto.
7581 * gdb.c++/misc.cc: ditto.
7582 * gdb.c++/templates.cc: ditto.
7584 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7586 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7588 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7589 somewhere between `read' and `main.c'. I'm pretty sure the
7590 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7591 and it isn't particularly useful.
7593 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7595 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7597 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7599 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7601 * config/mt-slite: add LIBS and -nostdlib.
7602 * config/slite-gdb.exp: add this new file to support sparclite target.
7604 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7606 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7608 * gdb.base/a2-run.exp: Change argument to istarget from
7609 "*-*-vxworks" to "*-*-vxworks*".
7610 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7612 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7614 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7615 will not runto main but do a 'step' to step out of breakpoint().
7616 * config/mt-slite: add -Dusestubs.
7618 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7620 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7623 * gdb.base/signals.exp: Add test for "handle all print".
7624 * TODO: Remove "handle all print". Also remove item about
7625 checking copyright date (I don't like the idea of a spurious FAIL
7626 based on when we run the tests).
7628 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7629 for SunOS4 (reason for failure not investigated). Remove
7630 redundant test for $binfile.
7632 * gdb.base/nodebug.c (array_index): Call malloc.
7634 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7636 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7638 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7639 conventions and slightly simplify the matching regexp.
7641 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7643 * gdb.base/break.exp: Update gdb_test invocation to use new
7646 * lib/gdb.exp: If noargs is not set, set it to 0.
7648 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7651 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7653 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7655 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7656 one argument of type "<non-float parameter>".
7658 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7660 * config/rom68k.exp: New file to support Motorola IDP board.
7661 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7662 * gdb.base/break.c: Change things around so that this program
7663 doesn't depend upon args. This is necessary to make remote
7664 targets work (in general, they can't take args).
7665 * gdb.base/break.exp: Don't try to send args to program. Don't
7666 expect output. Also, replace lots of code with gdb_test.
7668 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7670 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7671 printing of '\'' (which is what the comment says we are testing,
7672 even though we were not), not '''.
7673 (test_integer_literals_rejected): Test that printing ''' is an error.
7675 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7676 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7677 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7678 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7679 Use gdb_test not test_print_accept.
7680 * lib/gdb.exp: Remove test_print_accept.
7682 * gdb.base/signals.exp (signal_tests_1): Make pass message
7683 consistent with fail message.
7685 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7686 unsigned char; the bug (PR 1821) is fixed.
7688 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7690 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7691 successful tests--makes xfailing them work right.
7693 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7695 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7696 only \r\n, not .*. The test can pass .* as the last thing in
7697 $pattern if that is what it wants. In addition to providing this
7698 flexibility, this change should speed up pattern matching in cases
7699 where the pattern already ended with .* (there were a number of
7700 them). This change also helps catch bad patterns--in the old
7701 scheme the typo "char \*" instead of "char \\*" would pass. Now
7703 * Many .exp files: Update callers.
7705 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7706 clearer and does not spuriously match multiple ('s. Likewise for
7709 * gdb.base/nodebug.exp: Test ability to call a function and pass
7710 it a string (even with no debugging info).
7712 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7713 "p '\'", which is the same as "p ''" once tcl gets done with
7714 quoting, to "p '\\'", which I suspect is what is intended (one
7715 backslash gets sent to GDB).
7717 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7719 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7721 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7722 1817) was fixed literally years ago.
7724 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7726 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7727 test, it causes stepping out of call_after_alloca_subr with
7728 optimizing compilers.
7729 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7732 * gdb.c++/templates.exp: Source templ-info.exp only if
7733 the templates executable exists.
7735 * gdb.c++/misc.cc (class Contains_static_instance,
7736 class Contains_nested_static_instance),
7737 gdb.c++/classes.exp (test_static_members): Test printing of
7738 a class that contains a static instance of the class.
7740 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7742 * gdb.base/langs2.c (cppsub_): Don't prototype.
7743 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7746 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7748 * lib/gdb.exp (skip_chill_tests): New procedure.
7750 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7752 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7754 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7755 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7757 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7759 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7761 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7762 disassemble 8, not 16, instructions for part 4.
7764 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7765 support the latter anymore.
7767 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7769 * gdb.base/callfuncs.c: Control use of prototypes based on
7770 NO_PROTOTYPES, not __STDC__.
7771 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7772 t_float_values2 tests if prototypes in use.
7774 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7775 t_double_values): When checking differences against DELTA, check
7776 that difference is within the range (-DELTA,DELTA), not just
7779 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7781 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7782 'file' command firts, then 'target', then 'load', this is due to gdb
7784 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7786 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7788 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7789 FP load/store variants.
7790 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7792 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7794 * gdb.base/term.exp: Do not give a warning if not native, it is
7795 not an abnormal condition.
7797 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7799 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7802 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7804 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7805 are getting the version number.
7807 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7808 if not native, it is not an abnormal condition.
7810 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7812 * lib/gdb.exp: Just use "file exists", rather than undocumented
7813 dejagnu procedure "findfile".
7815 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7817 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7818 (LDFLAGS): Set to -Xlinker -Ur.
7820 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7821 Removed, these values are set by lib/gdb.exp.
7823 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7825 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7827 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7828 of replicating gdb startup code.
7830 * config/mt-vxworks (LDFLAGS): Set to -r.
7831 (CFLAGS_FOR_TARGET): Removed.
7833 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7834 (gdb) and gdb for vxworks uses (vxgdb).
7836 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7837 executable is not in the tree and host != target, use sed and
7838 program_transform_name to determine the gdb name used by the
7841 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7842 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7844 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7846 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7847 floats, chars, and shorts where there are ANSI-style function
7850 * gdb.base/langs.exp, gdb.base/langs*: New test.
7851 * gdb.base/Makefile.in: Build it.
7852 * TODO: Remove item about checking that C names don't get C++
7853 demangling applied; this test tests it.
7855 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7857 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7858 went with the const70 xfail. The xfail went away a year ago.
7860 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7862 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7865 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7867 * gdb.base/a1-selftest.exp: Don't run on hp300.
7869 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7871 * Makefile.in (site.exp): Set host_alias and target_alias as well
7872 as host_triplet and target_triplet.
7874 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7876 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7878 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7879 places as other ecoff systems).
7881 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7884 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7886 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7888 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7889 variable and "variable" in addition to "data variable".
7890 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7892 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7894 * gdb.base/list1.c (long_line): Add additional statement at start
7896 * gdb.base/list.exp (test_forward_search): Update line number to
7897 reflect new statement.
7899 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7901 * gdb.base/signals.exp: Reinitialize searched source directories
7902 after gdb_start call.
7904 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7906 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7907 * gdb.stabs/Makefile.in: Likewise.
7909 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7910 change. Instead split the tests into smaller pieces.
7911 * gdb.disasm/hppa.s: Corresponding changes.
7913 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7915 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7916 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7918 * gdb.base/funcargs.exp: Modify many tests so that every test
7919 either passes or fails. Make some test names unique.
7921 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7923 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7924 Call stty to set interrupt character.
7926 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7927 for HP assembler versus GNU assembler based on actual behavior of
7928 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7930 * TODO: Suggest a few more stepping tests.
7932 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7934 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7935 restart GDB for h8300 after a continue.
7936 (return): Add pattern to match a29k-udi behavior.
7937 * gdb.base/nodebug.exp: Remove obsolete comment.
7938 * gdb.base/regs.exp: New file, testing of register displays.
7939 * gdb.base/return.exp: Fix typo in reference to $objdir.
7940 * gdb.base/whatis.exp: Always start with a fresh GDB.
7942 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7944 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7945 higher, these tests generate a lot of output.
7947 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7949 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7950 code following the catch silently ignored some errors; without the
7951 catch they should be thrown like any other tcl error. Also, the
7952 catch used "" instead of {} which meant all the callers who wanted
7953 to include one of the characters "[]$ had to quote it an extra time.
7954 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7955 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7956 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7957 Remove extra quoting.
7959 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7961 * gdb.base/commands.exp: Make test names unique; every test either
7962 passes or fails. Update some comments.
7964 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7966 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7968 The following fixes a FAIL caused by the fact that the alpha stabs
7969 configuration didn't use the ".if alpha" code in weird.def.
7970 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7971 bit pointer, so the 32 bit version works even on the alpha.
7972 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7973 Remove the stuff which allowed us to have separate versions for
7974 alpha and everything else.
7976 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7977 regexp which "info func operator\[\](" is supposed to match. Fix
7978 string to send to GDB. Note that GDB still doesn't work right. Add a
7979 new test for "info func .perator\[\](" which GDB does handle correctly.
7981 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7983 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7985 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7986 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7987 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7988 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7989 it makes the tests harder to understand and confuses test-o-matic.
7990 The preferred style is that each test provides a PASS or a FAIL,
7991 and has a unique message (e.g. "continue #54" not just "continue")
7992 which is the same for the pass and the fail.
7993 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7994 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7996 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7997 prt_accept which was basically the same thing. Likewise for
7998 test_print_reject and prt_reject.
7999 * lib/gdb.exp (test_print_reject): Add some more error message
8000 patterns to match from the former printcmds.exp (prt_reject).
8001 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8002 One defect of the passcount stuff is that some of it failed to
8003 report XPASS where appropriate.
8004 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8005 stuff before and after arg in expected pattern.
8006 (test_paddr_operator_functions): Re-do test without print_addr_of;
8007 this is the only test which seems to want extra stuff there.
8009 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8011 * gdb.base/nodebug.exp: Update new tests to reflect improved
8012 wording of gdb output.
8014 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8015 and "ptype" work on variables in files compiled without -g.
8016 Replaces commented out "maint print msymbol" tests.
8018 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8020 * gdb.base/setvar.c (dummy): Call malloc.
8022 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8023 losing with the irix4 sed.
8025 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8028 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8030 * TODO: Remove items about corefile.exp testing new exec-file and
8031 backtrace; both are now done. Add items about printing enums.
8033 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8035 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8036 "get signal $thissig" test fails.
8038 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8040 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8042 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8043 compiler warning with dec alpha compiler.
8045 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8046 extra \n from gdb_test call (this explains why the prompt test
8047 that I removed yesterday was there).
8048 (user_defined_command_test): Remove extra \n and prompt test.
8050 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8051 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8053 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8054 Also remove alpha workaround, which turns out to be because
8057 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8059 * gdb.base/help.exp: Don't test "help show".
8061 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8063 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8064 "set print address" is on.
8065 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8066 pass prompt to gdb_test; gdb_test already looks for the prompt.
8068 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8070 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8071 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8072 was to make sure that gdb can read a core file. But (a) the "read
8073 the corefile" part didn't make it to a1-selftest.exp, we just
8074 delete the corefile after creating it, and (b) we test reading
8075 corefiles in corefile.exp anyway. Also, this test left around a
8076 xgdb process on Solaris.
8078 * gdb.base/corefile.exp: Also test backtrace.
8080 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8082 * gdb.base/commands.exp: Test a simple user defined command with
8083 arguments and if/while statements; verify the full user command is
8084 printed by "show user".
8086 * gdb.base/commands.exp: Test if/while commands as part of a
8087 breakpoint command list; verify they appear in breakpoint
8090 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8092 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8093 than by dividing by zero.
8095 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8097 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8098 performing an inferior call with watchpoints enabled.
8099 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8102 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8104 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8107 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8108 Add additional pattern for when "int operator int(void);" appears
8109 in a different order.
8111 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8113 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8115 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8116 and "signal" with ".*".
8118 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8120 * TODO: Add note about "handle all nostop".
8122 * gdb.base/{sigall.c, sigall.exp}: New test.
8123 * gdb.base/Makefile.in: Add it.
8125 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8127 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8128 when invoking GDB, suppresses any windowing interface.
8130 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8132 * config/sim-gdb: New file, simulator testing support.
8134 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8136 * gdb.base/interrupt.exp: Test calling func1 twice.
8138 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8140 * gdb.base/list.exp (test_forward_search): Set timeout higher
8141 when we'll be getting lots of output from gdb.
8143 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8144 "init_malloc" to after the expect statement. Run it if that
8145 regexp is taken, but also for two others which happen if source
8148 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8150 * gdb.base/printcmds.exp: New test, for printing register before
8153 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8155 * gdb.base/list.exp: Correct some alternate expect patterns
8156 to reflect changes in list1.c.
8158 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8160 * TODO: Add item regarding large frames.
8162 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8164 * TODO: Remove item about enabling return.exp; it
8165 is enabled. Suggest a few more "return" tests.
8167 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8169 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8172 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8174 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8175 and pr-5646.o, so "make" is the same as "make all", not "make
8178 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8180 * gdb.base/list.exp: Adjust expectations to reflect changes in
8182 (test_forward_search): New test proc.
8183 * gdb.base/list1.c (long_line): New function, has long source line.
8185 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8187 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8188 additional line of code that was added.
8190 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8192 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8193 tests so as not to overflow expect's input buffers.
8194 * gdb.disasm/hppa.exp: Corresponding changes.
8196 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8198 Beginnings of template debugging tests.
8199 * gdb.c++/templ-info.cc: New file to test for template
8200 debugging capability of the compiler.
8201 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8203 * gdb.c++/templates.cc: Add explicit template instantiations
8204 to enable compiling with -fno-implicit-templates. Add destructor
8205 and 'value' method to T5 class for template tests.
8206 * gdb.c++/templates.exp: Add testcases for printing of template
8207 types, setting breakpoints on template methods and calling a
8210 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8212 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8213 branch target since some assemblers (gas-2.5) may emit a
8214 relocation for the branch instead of resolving it in the
8217 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8219 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8220 through signal handler.
8222 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8224 * configure.in (*-*-netware): Use config/mt-netware.
8226 * config/mt-netware: New file.
8227 * config/mt-i386-netware: Removed, separate configs for different
8228 netware architectures are no longer needed now that we have
8231 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8233 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8234 by the recent changes to use ANSI C arithmetic conversions.
8236 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8238 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8239 bug involving using inferior_pid to figure out whether to select a
8242 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8244 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8245 match the current disassembler output.
8247 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8249 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8250 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8251 types, expect "int" as type of integer values (for now).
8253 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8255 * gdb.base/commands.exp: New tests for if/while commands.
8257 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8259 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8260 by .*, since hex values have different syntax in Chill mode.
8262 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8264 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8265 linefeed from expect pattern for repeated types with indices > 9.
8267 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8269 First part of Fortran test suite.
8270 * gdb.fortran: New directory.
8271 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8273 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8275 * gdb.base/default.exp: Update expect pattern for load command
8278 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8280 * configure.in: Change i386 to i[345]86.
8281 * gdb.base/configure.in: Likewise.
8282 * gdb.c++/configure.in: Likewise.
8283 * gdb.chill/configure.in: Likewise.
8285 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8287 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8288 patterns, since that is not a valid context for comments.
8290 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8292 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8293 repeated types and repeated types with indices > 9.
8295 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8297 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8298 2417; old bug has been fixed.
8300 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8302 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8303 send the newline ourselves instead of assuming gdb_test will do
8304 so when passed an empty input string.
8306 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8309 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8311 * lib/gdb.exp (gdb_test): Don't send anything if the first
8312 argument is an empty string. This makes cases where we want to
8313 match output that is already in expect's buffers (for example,
8314 matching a breakpoint after gdb_run_cmd has been called) work
8317 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8319 * config/netware.exp: New file.
8321 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8323 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8324 the -B and -L prefixes so we can find the debugging stub.
8326 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8327 there and we are using the gcc from the tree.
8329 * gdb.base/types.c: Removed.
8331 * gdb.base/configure.in: Look for makefile fragments in ../config.
8332 Recognize i386-*-netware.
8333 * gdb.c++/configure.in: Likewise.
8335 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8337 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8338 the correct TCL syntax.
8340 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8342 * gdb.base/opaque.exp: use runto instead of messing around with
8343 breakpoints. Simplify by using gdb_test.
8345 * gdb.base/bitfields.exp: restart between tests on netware targets
8346 because breakpoints aren't relocated after target death. Run
8347 processes to completion.
8349 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8351 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8353 * Makefile.in: Remove extra tabs that confuse some versions
8354 of "make". Use the newly built gdb to test with by default,
8355 rather than the first one in the tester's search path.
8357 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8359 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8361 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8364 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8366 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8368 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8370 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8371 * gdb.base/funcargs.exp: Likewise.
8373 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8374 * gdb.base/funcargs.exp: Likewise.
8376 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8379 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8381 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8382 return,signals,twice}.exp: Handle non-existant binaries
8385 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8386 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8387 might testing a cross development system.
8389 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8391 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8392 runtest script is relative to ${srcdir}, not ${rootdir}.
8394 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8396 * gdb.base/signals.exp: Allow for optionality of breakpoint
8399 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8401 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8403 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8405 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8406 for size_t definition.
8407 * gdb.c++/templates.cc: Likewise
8409 * config/mt-i386-netware: New file.
8411 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8414 * gdb.base/Makefile.in: Added support for systems that name core
8415 files by appending "core" to the program name.
8416 * gdb.base/a1-selftest.exp: Likewise.
8418 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8420 * gdb.base/return.exp: Add comment and message for `return double'
8421 test failure on Sparc Solaris.
8423 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8425 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8427 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8429 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8430 from optimizing them away.
8431 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8432 patterns to include default constructors and assignment operators,
8433 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8434 character in the output of the virtual base pointer.
8436 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8438 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8439 expression match in print_addr_of to avoid unintented matches.
8440 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8441 versions up to 2.5.8.
8443 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8445 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8446 included file to run under newer versions of expect.
8447 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8448 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8449 Remove xfail for the virtual table of BDDHookV.
8451 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8453 * lib/gdb.exp (string_to_regexp): Set a default result.
8454 (default_gdb_start): Fix misleading message.
8456 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8458 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8459 Remove all CC, etc definitions.
8460 * config/mt-hpux: New file.
8461 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8462 (CFLAGS, LDFLAGS): Define.
8463 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8465 * Makefile.in (site.exp): Don't insert host_os, etc.
8466 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8467 (distclean): Check existence of subdir.
8468 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8469 * gdb.base/Makefile.in: General cleanup and simplification.
8470 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8471 to build executables. Use default rule to build .o files.
8472 (EXPECT, RUNTEST, CC): Fix relative pathname.
8473 (site.exp): Don't insert host_os, etc.
8474 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8475 and/or SIGUSR1 defined.
8476 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8477 * gdb.c++/Makefile.in: General cleanup and simplification.
8478 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8480 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8482 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8484 * gdb.base/recurse.exp: Misc changes to get tests running again
8485 after Kung's changes to the watchpoint code.
8486 * gdb.base/watchpoint.exp: Likewise.
8488 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8490 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8492 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8494 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8495 * lib/gdb.exp (default_gdb_start): Define.
8496 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8497 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8498 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8499 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8500 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8501 Don't call gdb_target_udi in between tests.
8503 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8505 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8506 (which was basically just a local version of the same thing). In
8507 addition to avoiding duplication, gdb_test_exact is faster.
8508 * lib/gdb.exp (gdb_test_exact): Fix typo.
8510 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8511 don't give an error.
8513 * gdb.base/term.exp: Call delete_breakpoints before starting.
8515 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8518 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8520 Reorganization of the GDB Test Suite.
8522 * gdb.base: New directory, contains all the basic tests.
8523 * gdb.c++: New directory, tests specific to C++.
8524 * gdb.chill: New directory, tests specific to Chill.
8525 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8526 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8527 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8528 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8529 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8531 * */gdbme.*: Rename to match appropriate expect scripts.
8532 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8533 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8534 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8535 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8536 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8537 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8538 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8539 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8540 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8541 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8542 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8543 gdb.c++/virtfunc.cc: New names of C++ files.
8544 * gdb.chill/chillvars.ch: New name of Chill file.
8545 * gdb.base/configure.in, gdb.c++/configure.in,
8546 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8547 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8548 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8549 * configure.in (configdirs): Update to reflect directory changes.
8550 (target_abbrev): No longer define for any configuration.
8551 * Makefile.in: Cosmetic improvements to header comments.
8553 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8555 Various changes to gdb.t31:
8557 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8558 * gdbme.ch: Make all key-words and predefineds be upper-case.
8559 * chillvars.exp: Expect key-words and predefinds in upper-case.
8561 * chillvars.exp: Use gdb_test_exact many places.
8562 Change expected output for arrays (which now includes index labels).
8564 * pr-5020.exp, gdme.ch (module PR_5020):
8565 New test, for PR-5020.
8567 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8569 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8570 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8572 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8574 * Makefile.in: Fix bit-rot in definitions of CHILL,
8575 CHILL_FOR_TARGET and Chill_LIB.
8576 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8577 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8578 CHILL, and CHILL_LIB.
8580 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8582 * Revert the previous changes. Please see Rob's directory
8583 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8585 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8587 * Makefile.in, configure.in, config/mips-gdb.exp,
8588 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8589 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8590 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8591 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8592 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8593 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8594 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8595 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8596 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8597 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8598 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8599 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8600 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8601 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8602 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8605 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8607 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8608 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8609 Rob's new testing fragments.
8611 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8613 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8614 lib/gdb.exp: Replace error proc calls with perror.
8616 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8618 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8619 version also, match on casted version strings, and match on
8620 gdb startup case where the line numbers might be messed up.
8622 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8624 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8625 (CFLAGS): Delete it from here.
8627 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8629 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8631 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8633 * Makefile.in (RUNTEST): Default to just "runtest".
8635 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8637 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8638 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8639 the code has been restructured.
8641 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8643 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8644 \n, not just one of each.
8646 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8647 /bin/cc gives a warning if you do.
8649 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8651 * gdb.t24/demangle.exp: change expect pattern of
8652 __t10ListS_link1ZUiRCUiPT0
8654 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8656 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8657 on local variables in recursive functions.
8659 * gdb.t07/Makefile.in: Build the new test.
8661 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8663 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8664 directly. Instead compare the return values from actual calls.
8666 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8668 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8670 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8672 * From Peter Schauer with minor modifications.
8673 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8674 stops in mid-line in the caller. Add xfail for returning a float
8675 value on X86 targets.
8677 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8679 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8680 to avoid expect lossage.
8681 (fmem_LRbug_tests): Likewise.
8682 * gdb.disasm/hppa.s: Corresponding changes.
8684 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8685 conditions to work with latest dejagnu/expect.
8687 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8688 expected to fail on the PA.
8689 (backtrace in call with trampolines): Explicitly require main
8690 to be frame #1 (no trampolines should show up in backtrace).
8692 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8694 * gdb.t06/break.exp: Likewise.
8695 * gdb.t07/watchpoint.exp: Likewise.
8696 * gdb.t13/bitfields.exp: Likewise.
8697 * gdb.t15/{funcargs,return}.exp: Likewise.
8698 * gdb.stabs/weird.exp: Likewise.
8699 * config/{mips,udi}-gdb.exp: Likewise.
8701 * hppa.sed: Enclose comments within a sed command to avoid
8702 losing with the old OSF1 sed.
8704 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8706 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8708 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8709 * gdb.t15/funcargs.exp: Conditionally step again to really
8710 finish from marker_call_with_trampolines. Handle the case where
8711 the first step from within call_with_trampolines already steps
8713 * gdb.t15/gdbme.c: Add comment to closing brace of
8714 call_with_trampolines for funcargs.exp.
8716 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8718 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8721 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8723 * gdb.t07/gdbme.c: More code for watchpoint testing.
8725 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8726 "Hardware watchpoint" throughout file.
8727 (test_watchpoint_triggered_in_syscall): New test.
8728 (test_complex_watchpoint): New test.
8730 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8732 * gdbme.c (call_with_trampolines): New function to try and step
8733 into. Tests trampoline problems on the PA.
8735 * funcargs.exp (localvars_in_indirect_call): No longer expect
8736 stepping into indirect call to fail on PAs.
8737 (test_stepping_over_trampolines): New test.
8739 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8741 * TODO: Add suggestions for static member function tests, and
8744 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8746 * TODO: Add suggestions for "p/a" tests.
8748 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8749 (default_gdb_exit): Replace all the hair with sending "quit" to
8750 the process with a simple close.
8752 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8754 * TODO: Add suggestions for shared library tests.
8756 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8758 * TODO: Add suggestions for x/s tests.
8760 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8762 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8763 "enable once", and "enable breakpoints once" with ".*".
8765 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8767 * TODO: Add suggestions about structure passing tests.
8769 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8771 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8772 the primary1 test, use work around if __GNUC__ < 2.
8773 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8774 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8775 Test for bad output rather than waiting for timeout. Issue
8776 second continue only if first continue failed.
8778 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8780 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8781 operator[] test with gdb_test because the old code didn't seem to
8782 be getting the quoting right with the new dejagnu.
8784 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8786 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8788 * Makefile.in: Use a fresh expect if there is one, use runtest
8789 from the src tree if there is one.
8791 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8793 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8794 next over recursive call. Revise the tests from that point on
8795 (which had been skipped) to match GDB's actual (correct) output.
8797 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8798 with next over a breakpoint whose condition is false.
8800 * gdb.t00/help.exp: Comment out "help set print" tests just like
8801 (and for same reason as) "help set" test.
8803 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8805 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8806 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8808 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8810 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8811 necessary gdb_target_udi.
8813 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8815 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8816 1838 and 2417; they are fixed.
8818 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8819 gdb.t03/ptype.exp (ptype structure, ptype union):
8820 Remove xfails; the test is looser than when the xfails were added.
8822 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8823 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8825 * gdb.t01/run.exp: Only run shell test if isnative.
8827 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8828 since "run" automatically loads if necessary. Call gdb_target_udi
8829 after the "file" since "file" kills any execution target.
8831 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8832 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8833 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8836 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8838 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8840 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8842 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8844 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8845 properly quoting regexps. This makes the second argument to
8846 demangle a fixed string, which matches the callers, instead of a
8847 shell-style pattern which is what the previous implementation
8848 used. Update some of the callers.
8850 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8852 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8853 (comib_nullified_tests): Fix typo.
8854 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8855 strings. No longer expected to fail.
8857 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8858 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8859 strings. No longer expected to fail.
8861 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8862 string. No longer expected to fail.
8864 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8866 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8867 No longer expected to fail.
8869 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8870 string. No longer expected to fail.
8872 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8874 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8875 only in the names (I probably got most of them). I was even
8876 generous with some which differed in underscores in names, and
8877 probably missed a few, and I *still* was able to remove almost a
8878 third of the file with almost no impact on testsuite coverage.
8880 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8882 * gdb.t00/default.exp: Match udi_attach error message as well as
8883 the one from child_attach.
8885 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8887 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8889 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8890 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8892 * Move test with enums and partial symbols back to
8893 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8894 Reverts the change of 26 May 93. Per today's change to
8895 stabs.texinfo, the behavior that weird.exp was expecting was
8896 unreasonable; what is important is that the compiler+gdb get
8897 things right, which happens with a recent gcc. Also fix the test
8898 to deal with native compilers which put out the stab gdb can't
8901 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8903 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8904 in the names. The main thing these accomplish is to slow things down.
8905 Many more such duplicates surely remain.
8907 * gdb.t00/help.exp: Comment out "help support" test just like
8908 (and for same reason as) "help set" test.
8910 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8912 * gdb.t06/break.exp: Remove setup_xfails for
8913 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8914 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8915 about known bug in gcc to include up through 2.5.8.
8916 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8918 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8919 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8920 with latest gcc and gdb.
8921 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8924 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8926 * configure.in (hppa*-*-*): Also configure and build stabs-only
8929 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8931 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8932 * gdb.t10/configure.in (hppa*-*-*): Use it.
8934 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8936 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8938 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8940 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8941 versions prior to 1.13.5.
8943 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8945 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8946 the prompt is at the start of a line.
8948 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8950 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8951 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8952 in the copr tests now.
8953 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8954 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8957 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8959 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8960 gdb.t31/chillvars.exp, lib/gdb.exp:
8961 Tweak to run under either version of expect.
8962 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8963 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8964 * gdb.t11/list.exp: Remove extraneous whitespace.
8966 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8968 * gdb.t16/printcmds.exp (test_print_strings): Accept
8969 "(unsigned char *) " before the string.
8971 * TODO: Add notes about printing of fancy types and GDB expressions.
8973 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8975 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8976 * gdb.t06/configure.in: Don't try to compile signals test program
8977 if doing mips-idt-ecoff.
8979 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8981 * Most .exp files: Tweak to run under either version of expect.
8983 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8985 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8986 xfails; I'm not sure why they are failing, but not because of PR 1806.
8988 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8990 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8991 defined in lib/gdb.exp.
8993 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8995 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8996 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8997 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8998 have to be typeless.
9000 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9002 * TODO: Add suggestion for copyright year test.
9004 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9006 * configure.in (*-*-lynxos*): Add stabs tests.
9008 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9010 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9011 so insert a tab before any assembler directive in column zero.
9013 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9015 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9017 (fpu_short_memory_tests): Likewise.
9019 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9021 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9022 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9023 .stabs directives in comments.
9025 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9027 * TODO: New file, describing tests we could write.
9028 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9030 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9032 * gdb.t06/signals.exp: Add kludge to force re-sync.
9034 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9035 to xgdb instead of gdb, get out of gdb.
9037 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9039 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9042 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9044 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9045 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9046 * gdb.stabs/hppa.sed: New sed script for the PA.
9048 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9050 * gdb.stabs: Re-write weird.def and configuration to use sed
9051 instead of cpp. sed is portable and POSIX; cpp is neither.
9053 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9055 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9057 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9059 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9061 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9063 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9065 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9066 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9068 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9070 * lib/gdb.exp: Comment out code which depends on non-existent
9071 `transform' procedure.
9073 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9075 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9076 * lib/gdb.exp: Transform tool name.
9077 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9078 1.1's new error handling system.
9080 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9082 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9084 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9086 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9087 They made pattern matching so slow that timeouts happened on
9088 heavily loaded systems. Now any output from "show print" which
9089 gets us back to the GDB prompt is a PASS.
9091 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9093 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9095 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9097 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9099 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9100 It is not from PR 3220.
9102 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9104 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9105 just started failing because they depended on the order the
9106 subcommands are presented, or exact docstring text. This kind of
9107 test is a pain and has minimal benefit.
9109 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9111 * gdb.t09/corefile.exp: At end of test, use "core" command with
9114 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9116 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9117 17}/Makefile.in: Make it possible to run the testsuite with Sun
9118 make and CC = cross gcc by adding explicit build rules for .o
9121 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9123 * gdb.t15/funcargs.exp: Don't put comments on same line as
9124 setup_xfail (@#$*%& tcl braindamage!).
9126 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9128 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9130 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9132 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9133 * gdb.t20/inherit.exp: remove three dumplicate entries.
9135 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9137 * gdb.t06/break.exp: For "next over recursive call", fail on any
9138 incorrect output, not just on "factorial (value=2)".
9140 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9142 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9143 working now. Add an xfail if accesing a bss variable causes
9144 a memory error if the target is not yet run.
9146 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9148 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9149 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9150 name of __st* demangling (2 strings). Did Kung really get the
9151 more than 95 others right without testing them?
9153 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9155 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9157 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9159 * configure.in (configdirs): Add gdb.disasm
9160 * gdb.disasm: New directory for GDB disassembler tests.
9161 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9163 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9165 * gdb.t00/help.exp: Don't test "help set".
9167 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9168 from within expect statements. None of these happen anymore and
9169 they cause regressions to be silently unnoticed.
9171 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9172 messages) about known failures with gcc cygnus-2.4.5-930417.
9174 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9175 comp-info.exp so it gets built if it doesn't exist.
9177 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9178 it is no longer used.
9179 * gdb.t13/comp-info.c: Removed.
9181 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9183 * gdb.t06/signals.exp: Add xfail for sun3.
9185 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9187 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9188 relevant because ^C doesn't get sent but failure can be reproduced
9191 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9193 * gdb.stabs/alpha.mt: New configuration file for alpha.
9194 * gdb.stabs/configure.in: Use it.
9195 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9196 sharing with alpha.mt, redefine long to word via preprocessor.
9197 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9199 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9201 * gdb.t00/teststrategy.exp: Change expect string so that we
9202 consume the `(xgdb)' from the command echo and from the gdb prompt.
9203 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9204 gdb currently compares all values as long, so this failure probably
9205 applies to any configuration where LONGEST is bigger than a target int.
9206 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9208 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9209 to handle opaque pointers, gcc is.
9210 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9211 as first argument. Include <sys/types.h> and change all operator
9212 new definitions to use size_t.
9213 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9214 now that we use size_t.
9216 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9218 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9219 a long or float array cast all array members to the same type.
9220 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9222 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9224 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9226 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9228 * gdb.t24 (demangle.exp): Constructors of templates have names like
9229 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9230 section 14.6 of the ARM.
9232 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9233 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9234 accomplish little and slow down the testsuite.
9236 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9237 Accept spaces various places.
9239 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9241 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9242 with watchpoint enabled.
9244 * Makefile.in: Remove definition of CC and remove the second
9245 definition of CXX (the "CXX = gcc" one remains). These definitions
9246 were causing backquotes to be expanded within backquotes, which
9249 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9251 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9253 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9255 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9256 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9257 by mips cc and contains no stabs entries.
9259 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9261 * config/vx-gdb.exp: Use fake device to load files rather than
9263 * lib/gdb.exp: New proc to do "file" command.
9264 * config/unix-gdb.exp: Use new "file" proc.
9266 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9268 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9269 Rework board rebooting slightly.
9270 (gdb_exit): Don't exit from the remote shell; there isn't one.
9271 * gdb.stabs/weird.exp: If a program is being debugged already,
9273 * gdb.t04/setvar.exp: Stop and restart gdb.
9274 * gdb.t05/expr.exp: Likewise.
9275 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9276 restart gdb and reload the program.
9277 * gdb.t08/opaque.exp: Likewise.
9278 * gdb.t12/scope.exp: Likewise.
9279 * gdb.t13/bitfields.exp: Likewise.
9280 * gdb.t15/funcargs.exp: Likewise.
9281 * gdb.t20/classes.exp: Likewise.
9282 * gdb.t03/ptype.exp: Increase timeout.
9283 * gdb.t16/printcmds.exp (test_print_string_constants,
9284 test_print_array_constants): Likewise.
9285 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9286 * gdb.t20/classes.exp (do_tests): Likewise.
9287 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9289 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9291 * gdb.stabs: Renamed *wierd* to *weird*.
9293 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9295 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9296 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9298 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9300 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9301 (do_tests): Remove xfail for whatis on one_var and two_var.
9303 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9305 * Makefile.in: Made cross building work better by adding
9306 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9308 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9310 * gdb.t15/{return.c,return.exp,Makefile.in}:
9311 New test, currently commented out.
9313 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9315 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9316 still running and removes the leftover named socket so GDb can do
9319 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9321 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9323 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9324 cross testing works better with "make check"
9325 * config/unix-gdb: Use default procedures for exit and version.
9326 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9327 with the newest VxWorks.
9329 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9331 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9334 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9335 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9337 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9339 * config/unix-gdb.exp: Remove this version of gdb_exit
9340 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9341 Rob says he'll look at it when he gets back to testing boards.
9343 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9345 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9346 an expected fail for certain ptype commands.
9348 * gdb.t20/classes.exp: Update expected results of "ptype class
9349 Base1" to account for the constructor that now appears in the type.
9351 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9353 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9354 disappeared from list.
9355 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9356 "alldone" proc with call to cleanup and exit.
9357 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9358 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9359 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9360 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9361 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9362 "alldone" proc with simple returns that suppress remaining
9363 tests. The alldone proc went away many months ago.
9365 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9367 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9369 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9371 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9373 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9374 as vax gdb will display them.
9376 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9378 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9381 * scope.exp: Change "bad value for localval" messages so each one
9384 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9385 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9387 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9389 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9391 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9392 doesn't exist (due to optimization).
9394 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9396 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9397 contains \r because the filename is long.
9399 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9400 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9402 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9404 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9405 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9407 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9409 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9411 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9413 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9415 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
9416 to match does not match the passing case but still matches the
9419 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9421 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9423 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9425 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9426 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9427 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9428 Remove various versions of gdb_exit.
9429 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9431 * config/unix-gdb.exp: gdb_exit remains here, and should override
9432 the generic version, since it's doing a lot of wierd stuff that
9433 the other versions aren't. FIXME, fold it in, or abandon this
9436 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9438 * gdb.t24/demangle.exp: Add tests for PR 3220.
9440 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9442 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9444 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9446 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9447 "i386-*-*". Works for i486 as well.
9449 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9450 bug, and expand domain of xfail to all SVR4 systems, since the
9451 actual problem is likely to be in generic SVR4 /proc support.
9453 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9455 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9457 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9459 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9460 xfails for other systems. Match a missing 'Continuing.' as an
9461 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9463 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9464 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9465 Only issue warning for missing executables if -all option is used.
9467 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9468 file if -all option is used. It's like an unpredictable XFAIL.
9470 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9472 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9473 for dynamically linked binaries.
9475 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9477 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9479 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9480 to state that this is a known bug in old versions of g++.
9482 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9484 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9485 while waiting for `Continuing'.
9487 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9489 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9490 in text, data, and bss.
9491 * gdb.t10/nodebug.c: Add local and global test variables for
9492 initialized and uninitialized data.
9494 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9496 * config/unix-gdb.exp (gdb_exit): Add "wait".
9498 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9500 * gdb.t06/signals.exp: xfail the continue from the handler for all
9503 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9504 function with watchpoints enabled, the i386 call dummy starts with
9507 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9508 386 bsd names its corefiles.
9510 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9512 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9513 compilers don't grok it.
9514 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9515 with small octal ints rather than character constants, which
9516 are signed and might not fit if first promoted to int.
9518 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9520 * gdb.t09/Makefile.in (clean): Remove corefile.
9522 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9524 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9526 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9527 and Jim Kingdon (kingdon@cygnus.com)
9529 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9530 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9531 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9533 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9535 * gdb.t17/interrupt.exp: Add xfail for hppa.
9537 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9539 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9540 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9541 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9542 to determine signed-ness of bitfields and use the result to setup
9544 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9545 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9546 call line is reached if necessary.
9548 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9550 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9552 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9554 * gdb.t06/break.exp: Also test `clear' command.
9556 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9558 * gdb.t00/teststrategy.exp: Remove extra quote.
9560 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9561 watchpoint enabled to be for all non-68k machines.
9563 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9565 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9567 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9568 targets use aout.mt instead of ecoff.mt as gas understands
9569 standard aout format.
9571 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9573 * lib/gdb.exp (runto): Don't insist that function we are running to
9574 was compiled with -g.
9576 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9578 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9579 to get back into the read system call.
9580 Accept leading newline in case where we woke it up.
9582 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9584 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9585 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9586 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9587 enable ecoff configuration.
9589 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9591 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9593 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9595 * gdb.t16/printcmds.exp: Add another printf test.
9597 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9599 * configure.in: If configured -with-stabs on any target, add
9600 stabsdirs to configdirs.
9602 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9604 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9605 fun" so pattern does not match the command itself.
9607 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9609 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9611 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9613 * gdb.t17/interrupt.exp: Test for more things.
9615 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9617 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9618 compiler arranges the code and line numbers.
9620 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9622 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9624 * gdb.t00/help.exp: Increase expect input buffer size.
9626 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9628 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9630 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9632 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9634 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9635 [0-9]*, not just [0-9].
9637 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9639 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9641 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9643 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9645 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9647 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9649 * gdb.t06/signals.c: Add xfails for sun3.
9651 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9653 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9654 test_stepping tests.
9656 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9658 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9660 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9662 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9663 rather than actually putting it through cpp twice.
9665 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9667 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9669 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9672 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9674 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9676 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9677 C++ features prints as "struct", make it a pass, not an xfail.
9679 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9681 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9682 Don't require VA to print as "class" rather than "struct".
9684 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9686 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9688 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9690 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9692 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9694 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9697 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9699 * gdb.t16/printcmds.exp: Add printf tests.
9701 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9703 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9705 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9707 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9708 pass counts, to counteract any existing or future setup_xfails.
9710 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9712 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9713 {BEGIN,END}_COMMON for common block instead of STAB.
9714 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9716 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9717 intp_var should be N_GSYM not N_LSYM.
9718 wierd-aout.S: Use a label for the value of the N_SO.
9719 wierd.def: Remove all backslashes.
9720 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9722 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9724 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9725 get the expected next to inheritance3.
9727 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9729 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9730 now that gcc-2.4 gets it right.
9732 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9734 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9736 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9737 generating comp-info.exp which works for cross-compilation.
9739 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9741 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9744 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9746 * gdb.t01/run.exp: Start with a fresh gdb.
9747 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9750 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9752 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9753 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9754 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9755 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9758 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9760 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9761 test cases from bug reports.
9763 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9765 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9766 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9767 avoid spurious xfails.
9768 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9769 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9770 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9772 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9774 * gdb.t00/teststrategy.exp: Rework to provide more useful
9775 description of each test, fix problem with systems that define
9776 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9777 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9778 results for "next over recursive call" so timeouts aren't taken
9781 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9783 * gdb.t12/scope.exp: Test printing of variables before run.
9785 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9786 printed in wrong order due to sorting.
9788 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9790 * gdb.t00/teststrategy.exp: Fix expected results for printing
9791 user entered string constant. Is array of char, prints with no
9794 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9796 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9797 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9798 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9799 of struct of char arrays.
9800 * gdb.t00/radix.exp: New tests for radix commands.
9802 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9804 * gdb.t16/printcmd.exp: Print a variable before running program
9805 (with xfail for AIX).
9807 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9809 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9811 * gdb.t16/printcmd.exp: Don't print variables before running program.
9813 * gdb.t06/break.exp: Don't require envp argument to main.
9815 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9817 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9818 Add xfails for rs6000.
9820 * gdb.t02/whatis.exp: Change other tests not to re-test something
9823 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9824 each type used has a variable of that type.
9826 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9828 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9830 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9832 * configure.in: change srctrigger to be a file, not a directory
9834 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9836 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9838 * gdb.t11/list.exp: Fixed a couple of typos.
9840 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9842 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9843 is fixed and PR is closed.
9844 * gdb.t16 (gdbme.c): Add simple test string variable.
9845 * gdb.t16 (printcmds.exp): Add tests with simple test string
9846 variable, primarily for boundaries on "set print elements".
9848 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9850 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9851 Make leading 0's optional and don't expect a tab in the middle
9854 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9856 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9857 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9858 don't end command passed to gdb_test with newline.
9860 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9861 signed keyword away, don't expect signed bitfields to be signed.
9863 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9864 printing with only as many 1's as are in the field as well as printing
9865 with 32 1's (see comment).
9867 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9869 * gdb.t00/default.exp: Start with a fresh gdb.
9870 * configure.in (configdirs): Remove gdb.t31 until the chill
9871 compiler works again. It no longer is able to find chillrt0
9872 since it isn't in libchill.a anymore.
9873 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9874 wierd.o, make more modular.
9875 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9876 spurious newlines that caused problems.
9878 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9880 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9881 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9882 gdb.stabs/wierd.{exp,def}: Many new tests.
9884 * gdb.t00/default.exp: update info line for new message.
9886 * gdb.t02/{whatis.exp,gdbme.c}:
9887 Test that "char *" doesn't print as "caddr_t".
9889 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9891 * gdb.t00/help.exp: Use .* in place of some help messages which
9893 gdb.t00/default.exp: Update "info frame" test for new message.
9894 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9897 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9899 * gdb.t03/{gdbme.c,ptype.exp}:
9900 Add tests for typedef'd struct and union without tags.
9901 Also check "whatis" on a variable of a typedef'd enum without a tag.
9903 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9904 PRMS 1823; the bug still exists but isn't reproduced by this test
9905 anymore), and remove rs6000 XFAIL (the bug is fixed).
9907 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9908 duplicated from whatis.exp. For those that are left, accept
9909 "long", "long int", or "int" for long variables (whatis.exp already
9910 has an XFAIL for "int", so no need to fail it here).
9912 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9913 Deal with GCC's names for types now that GDB uses the compiler's names.
9915 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9916 setup_xfail's for sunos4. If we #defined the signed keyword away,
9917 don't expect GDB to know that char it is signed.
9919 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9921 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9923 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9924 should work on any system, regardless of debugging format.
9925 * gdb.t21/demangle.exp: Move to gdb.t24.
9926 * gdb.t24/demangle.exp: Move from gdb.t21.
9927 * gdb.t24/{Makefile.in, configure.in}: New files.
9929 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9931 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9932 * gdb.stabs: New directory.
9934 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9936 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9937 not just "Quit anyway?".
9939 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9941 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9942 that all setup_xfails are immediately followed by clear_xfails.
9944 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9946 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9947 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9948 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9949 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9950 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9951 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9952 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9953 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9954 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9955 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9956 gdb.t31/chillvars.exp, lib/gdb.exp:
9957 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9958 bug-gdb@prep.ai.mit.edu.
9960 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9962 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9963 with 0.0, not integer 0.
9965 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9967 * gdb.t06/break.exp: Update for "Kill the program" message change.
9969 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9971 * Makefile.in (GDBFLAGS): Set to -nx.
9972 * Makefile.in (site.exp): Use GDBFLAGS.
9974 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9976 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9978 (check): depend on just-check.
9979 (just-check): added so that tests can be run without a noop
9982 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9984 Switch to using configure's configdirs.
9985 * Makefile.in (Makefile): add configure.in dependency.
9986 (SUBDIRS): removed redundant assignment.
9987 * configure.in: switch subdirs assignment to configdirs.
9988 * gdb.t*/configure.in: new files.
9990 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9992 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9995 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9997 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9998 in explicit rules. Apparently this is not supported by some makes.
10000 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10002 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10004 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10006 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10009 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10011 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10013 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10015 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10016 watchpoint problem that is now fixed.
10017 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10018 uninitialized convenience variables.
10019 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10022 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10024 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10025 which causes expect to get out of sync with gdb on long output
10027 * gdb.t09/corefile.exp: Make expected pattern for core file
10028 failing signal and frame output format less sun specific.
10030 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10032 * gdb.t31/chillvars.exp: Add and remove initial dummy
10033 breakpoint, so that symbol table is forced in.
10034 (Needed at least on Sunos4, though it seems not SVR4.)
10035 * gdb.t31/chillvars.exp: Update for changed output format.
10037 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10039 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10041 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10043 * Makefile.in: Added --srcdir when invoking runtest, removed the
10044 need for a local config file. (optional now)
10046 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10048 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10049 failure count used to force early termination. Add some more
10050 expected failures for gnu style demangling.
10052 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10054 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10055 pmi variable from gdb.t20/gdbme to get optimized away.
10056 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10057 Check for written corefile upon timeout _and_ eof.
10059 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10061 * config/unix-gdb.exp: Add missing return 0.
10063 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10065 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10068 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10070 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10073 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10075 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10076 time as i860 support works.
10078 * gdb.t15/funcargs.exp: Fix expected outputs to include
10079 "backtrace 100\r" rather than just "backtrace\r", to match last
10082 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10084 * config/udi-gdb.exp (gdb_exit): Remove close command.
10085 (gdb_target_udi): New procedure to set the UDI target.
10086 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10087 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10088 Added waits for prompts after several question responses. Added
10089 some more responses used by a29k-amd-udi-gdb.
10090 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10091 pass different arguments, restart UDI connection after program
10093 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10094 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10095 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10096 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10097 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10098 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10099 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10100 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10101 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10102 after program completion.
10103 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10104 compiled with a SELECT_VECS setting.
10105 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10106 infinite recursion.
10108 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10109 Added checks for COFF results, and made them expected failures for
10110 all targets. It would be better to make them expected failures
10111 for COFF targets only.
10113 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10115 * Makefile.in: add null dvi target, don't bother to recurse
10116 through test directories for info and install-info; rename
10117 $(datadir) to be dejagnu instead of deja-gnu
10119 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10121 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10122 compiler to coredump.
10123 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10126 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10128 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10130 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10133 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10135 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10136 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10137 which in a shell. Deletes xgdb when done.
10138 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10139 Tests the return from the "set height" or "set width" commands.
10140 Added a few return codes where needed.
10142 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10144 * Makefile.in (SUBDIRS): Add gdb.t17.
10145 * configure.in (subdirs): Add gdb.t17.
10146 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10147 files to test gdb's calling of functions in the inferior with
10148 the correct arguments and gdb's ability to retrieve any
10151 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10153 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10154 may be called after gdb goes away. Previous versions of expect
10155 needed these to avoid file descriptor leaks, but they cause
10156 errors with the current revision of expect.
10157 * gdb.t00/gdbvars.exp: Use -re on expected output after
10158 setting sevenbit-strings.
10159 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10160 to set sevenbit-strings consistent across tests.
10161 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10162 set sevenbit-strings consistent across tests.
10164 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10166 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10167 expected output to match current "expect" expectations.
10169 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10171 * gdb.t00/default.exp: Change expected output for default "source"
10172 command, to match new gdb behavior which requires a filename to
10175 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10177 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10178 expected fail for i486-*-* that misses the marker2 function.
10179 * gdb.t10/crossload.exp (bfddefault): Allow successful
10180 recognition of a format to pass even if no symbols are found.
10181 Explicitly catch failures where the format is not recognized
10182 or is ambiguous, and add the reason to the fail message.
10183 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10184 the cause is and invalid target and add reason to failure message.
10185 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10186 elf32-i386, elf32-sparc, and elf32-i860.
10187 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10188 Set up expected failure for 'filename'::variable scope resolution,
10189 which is now apparently broken on all targets.
10190 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10191 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10192 gdb.t23/templates.exp: Change failure for missing binfile into
10194 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10197 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10199 * gdb.t00/default.exp: Add expected output for default "source"
10200 command, to match new gdb behavior.
10201 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10203 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10205 * config/*-gdb.exp: returns an error, rather than exiting on
10208 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10210 * gdb.t03/gdbme.c: Add pointer to struct variable.
10211 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10212 referencing struct members.
10214 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10216 * configure.in (mips-idt-ecoff): New target.
10217 * config/mips-gdb.exp: New file for remote board using MIPS remote
10218 debugging protocol.
10220 * Redid configuration scheme. Removed gdb.t*/configure.in.
10221 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10222 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10223 distclean targets. Built executables via .o files. Adjusted
10224 tests to account for source files in $(srcdir) rather than
10226 * lib/gdb.exp (runto): Don't expect () after the function name,
10227 because it may have arguments.
10229 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10231 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10232 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10233 expected failures for mips-idt-* and mips-sgi-*.
10234 * gdb.t00/default.exp (attach): Kill process if requested.
10235 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10236 that does not read core files.
10237 * gdb.t01/run.exp: Removed checks for exit status code.
10238 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10240 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10241 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10242 appropriate, rather than doing it by hand.
10243 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10245 * gdb.t10/crossload.exp: Kill existing program if needed.
10246 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10247 appropriate, rather than doing it by hand. Always increase
10248 timeout for this test, not just for VxWorks.
10250 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10252 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10253 of Chill STRUCT types and STRUCT values.
10254 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10256 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
10257 struct2): New struct definitions and initializations to test
10258 simple Chill STRUCT types.
10260 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10262 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10263 the null byte at the end of strings.
10264 * gdb.t00/default.exp: Make show version insensitive to copyright
10266 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10267 to avoid dependencies on target char signedness.
10268 * gdb.t16/printcmds.exp: Update expected results for explicitly
10270 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10272 * gdb.t21/demangle.exp: Add many more patterns for template
10273 demangling, most of them being expected failures.
10274 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10275 string we are matching for, to match on the whole string.
10276 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10277 and fix a whole bunch that had incorrect expected output but were
10278 passing anyway because of the bug in "proc demangle".
10279 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10281 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10283 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10285 * gdb/testsuite: made modifications to testcases, etc., to allow
10286 them to work properly given the reorganization of deja-gnu and the
10287 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10289 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10291 * gdb/testsuite: Initial creation of gdb/testsuite.
10292 Migrated dejagnu testcases and support files for testing nm to
10293 gdb/testsuite from deja-gnu. These files were moved "as is"
10294 with no modifications. This migration is part of a major overhaul
10295 of dejagnu. The modifications to these testcases, etc., which
10296 will allow them to work with the new version of dejagnu will be
10297 made in a future update.
10300 mode: indented-text
10303 version-control: never