1 2003-06-30 David Carlton <carlton@kealia.com>
3 * gdb.c++/maint.exp (test_invalid_name): New.
4 (test_first_component): Add tests for invalid names.
6 2003-06-29 Michael Chastain <mec@shout.net>
8 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
9 output of '<VTT for class>' for virtual base classes.
11 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13 * gdb.base/completion.exp: Tab-complete "complet" instead of
15 * gdb.base/complex.exp, gdb.base/complex.c: New files.
17 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
19 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20 * gdb.base/volatile.exp: Likewise.
22 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
24 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
27 2003-06-28 Michael Chastain <mec@shout.net>
28 Daniel Jacobowitz <drow@mvista.com>
30 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
31 initial line count of 'captured_main' from 26 to 32.
32 (test_with_self): Allow xmalloc call to be interleaved with the
35 2003-06-24 Joel Brobecker <brobecker@gnat.com>
37 * gdb.base/bang.exp: New testcase.
39 2003-06-23 Joel Brobecker <brobecker@gnat.com>
41 * gdb.base/langs.exp: Add some tests for the "minimal" language
44 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
46 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
49 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
51 * gdb.base/relocate.exp: Test add-symbol-file with a variable
54 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
56 * gdb.c++/pr-1210.cc: New file.
57 * gdb.c++/pr-1210.exp: New file.
59 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
61 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
64 2003-06-15 Mark Kettenis <kettenis@gnu.org>
66 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
67 on *-*-*bsd* instead of *-*-freebsd*.
69 2003-06-14 Andrew Cagney <cagney@redhat.com>
71 * gdb.base/store.exp: Test longest and doublest. Test all
72 parameters. Weaken return statement match.
73 * gdb.base/store.c: Add longest and doublest - aka long long and
74 long double functions. Put all parameters into local register
75 variables. Use negative values.
77 2003-06-14 Andrew Cagney <cagney@redhat.com>
79 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
80 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
82 * gdb.base/fileio.exp: Disable target when nointerrupts and
83 noinferiorio, instead of limiting it to remote. Use remote_exec
86 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
88 * gdb.base/float.exp: Add ia64 support.
90 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
92 * gdb.base/fileio.exp: Run only on remote targets.
94 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
96 * gdb.base/fileio.c: New file, testing File-I/O.
97 * gdb.base/fileio.exp: Ditto.
99 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
101 * gdb.base/shreloc.exp: New file, check symbol values obtained from
102 shared objects after relocation at load time (gdb PR/1132).
103 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
104 as above, part of the shared object relocation test.
106 2003-06-08 Mark Kettenis <kettenis@gnu.org>
108 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
109 fully filled history list.
110 * gdb.base/gdb_history: New file.
112 * gdb.base/signals.exp: XFAIL "continue to func1" on
115 * gdb.base/attach.exp: When trying to attach to a nonexistent
116 process, make it possible to specify the PID based on the target,
117 and do so for *-*-freebsd*.
119 2003-06-02 Richard Henderson <rth@redhat.com>
121 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
123 2003-06-02 Richard Henderson <rth@redhat.com>
125 * gdb.base/selftest.exp: Next over lim_at_start initialization.
127 2003-06-02 Richard Henderson <rth@redhat.com>
129 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
131 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
133 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
136 2003-06-01 Mark Kettenis <kettenis@gnu.org>
138 * gdb.asm/asm-source.exp: Check for memory read errors in
139 disassembler test on *BSD too.
141 2003-06-01 Richard Henderson <rth@redhat.com>
143 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
145 (gdbasm_call): Lose ldgp.
146 (gdbasm_startup): Add frame information.
147 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
149 2003-05-31 Mark Kettenis <kettenis@gnu.org>
151 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
154 2003-05-30 Mark Kettenis <kettenis@gnu.org>
156 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
159 2003-05-29 Richard Henderson <rth@redhat.com>
161 * gdb.asm/alpha.inc: New file.
162 * gdb.asm/asm-source.exp: Use it.
164 2003-05-29 Jim Blandy <jimb@redhat.com>
166 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
169 2003-05-22 Jim Blandy <jimb@redhat.com>
171 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
174 2003-05-20 David Carlton <carlton@math.stanford.edu>
176 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
179 2003-05-19 David Carlton <carlton@bactrian.org>
181 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
182 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
184 2003-05-19 David Carlton <carlton@bactrian.org>
186 * gdb.c++/namespace.exp: Add namespace scope and anonymous
189 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
190 (main): Call C::D::marker2.
191 * gdb.c++/namespace1.cc: New file.
193 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
195 Roland McGrath <roland@redhat.com>
196 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
197 there is no manager thread.
199 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
201 * gdb.threads/schedlock.exp: Remove assumption that all threads
202 will run in a particular small time slice. Also ensure we break
203 in one of the child threads rather than the main thread.
205 2003-05-07 Jim Blandy <jimb@redhat.com>
207 Add support for assembly source testing on the s390x.
208 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
210 * gdb.asm/s390x.inc: New file.
212 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
213 succession of 'if' statements.
215 2003-05-05 Andrew Cagney <cagney@redhat.com>
217 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
219 2003-05-05 Andrew Cagney <cagney@redhat.com>
221 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
222 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
224 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
226 * gdb.base/charset.exp: Update based on new behavior of set/show
229 2003-05-01 Andrew Cagney <cagney@redhat.com>
231 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
232 variable do not give memory errors.
234 2003-04-30 Adam Fedor <fedor@gnu.org>
236 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
237 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
238 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
239 gdb.objc/basicclass.m: : New files
241 * lib/gdb.exp (gdb_compile_objc): New procedure.
243 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
245 * gdb.base/signals.exp: Make backtrace tests more specific.
247 2003-04-23 David Carlton <carlton@bactrian.org>
249 * gdb.c++/maint.exp (test_first_component): Add tests for
250 'operator' in more locations.
252 2003-04-16 Kevin Buettner <kevinb@redhat.com>
254 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
256 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
258 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
259 func marke' instead. Update test name.
261 2003-04-15 David Carlton <carlton@math.stanford.edu>
263 * gdb.c++/maint.exp: New file.
265 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
267 * gdb.threads/schedlock.c: Change type of thread function argument
268 to long, to avoid warnings on 64-bit platforms.
270 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
272 * gdb.base/attach.exp: Add new message from ptrace in case of
273 attaching to nonexistent process.
275 2003-04-11 Jim Blandy <jimb@redhat.com>
277 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
278 gdb.c++/userdef.cc: Place comments on the lines to which the
279 marker function might return.
280 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
281 gdb.c++/userdef.exp: Look for those comments to check that we've
282 returned to the right place, instead of checking line numbers.
284 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
286 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
287 match on sourcefile name, instead of directory name.
289 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
291 * gdb.base/completion.exp: Use string_to_regexp to match the
292 working directory name.
294 2003-04-09 Jim Blandy <jimb@redhat.com>
296 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
297 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
298 after an inferior function call, report the failure, but allow the
301 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
303 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
306 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
308 * gdb.base/break.exp: Revert last patch.
310 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
312 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
315 2003-04-02 Andrew Cagney <cagney@redhat.com>
317 * gdb.base/callfuncs.exp: Make "print add" messages unique.
318 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
319 matching directories by the name breakpoint.
320 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
321 Make "continue to marker1" consistent.
322 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
324 * lib/gdb.exp: Put "the program is no longer running", and "the
325 program exited" in parenthesis.
326 * lib/mi-support.exp: Ditto.
328 2003-04-02 Bob Rossi <bob_rossi@cox.net>
330 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
332 2003-03-29 Andrew Cagney <cagney@redhat.com>
334 * gdb.base/sizeof.c (main): Print the value of '\377'.
335 * gdb.base/sizeof.exp: Check the sign of '\377'.
337 2003-03-27 Michael Chastain <mec@shout.net>
339 * gdb.base/gdb1090.exp: New file.
340 * gdb.base/gdb1090.cc: New file.
342 2003-03-27 J. Brobecker <brobecker@gnat.com>
344 * gdb.gdb/observer.exp: New regression test.
346 2003-03-27 Michael Chastain <mec@shout.net>
348 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
349 * gdb.base/ptype.exp: Likewise.
351 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
353 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
355 2003-03-26 Michael Chastain <mec@shout.net>
357 * gdb.base/ptype.exp: Actually use some typedef'd types.
359 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
361 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
362 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
364 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
366 * gdb.base/default.exp: Fix regular expression.
368 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
370 * gdb.base/args.exp: Fix regular expression.
372 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
374 * gdb.base/help.exp: Allow Win32 child process.
376 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
378 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
379 when stepping out of main().
381 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
383 * gdb.base/default.exp: Check for win32 specific message when calling
384 "run" without executable.
386 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
388 * gdb.base/args.exp: Expect .exe in output.
390 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
392 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
395 2003-03-17 Andrew Cagney <cagney@redhat.com>
397 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
399 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
400 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
402 2003-03-17 David Carlton <carlton@math.stanford.edu>
404 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
405 test, for PR breakpoints/38.
406 Call test_watchpoint_and_breakpoint.
407 * gdb.base/watchpoint.c (func3): New function.
410 2003-03-04 David Carlton <carlton@math.stanford.edu>
412 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
413 Garply<Garply<char> >:: garply".
414 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
415 with respect to PR c++/1111; note also PR c++/1113.
416 (test_template_breakpoints): KFAIL "constructor breakpoint" with
417 respect to PR c++/1062.
418 KFAIL "destructor breakpoint" with respect to PR c++/1112.
420 2003-03-03 David Carlton <carlton@math.stanford.edu>
422 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
423 with respect to PR c++/57.
424 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
426 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
427 respect to PR c++/57.
429 2003-03-03 David Carlton <carlton@math.stanford.edu>
431 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
432 respect to PR c++/33 into FAILs.
434 2003-03-03 Michael Chastain <mec@shout.net>
436 * configure.in: Update copyright years.
438 2003-03-03 Michael Chastain <mec@shout.net>
440 * Makefile.in: Update copyright years.
442 2003-02-28 David Carlton <carlton@math.stanford.edu>
444 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
445 print class instead of struct and/or superfluous protection
446 specifiers, as long as the resulting output is equivalent to the
448 Delete FIXME from end of messages on tests that don't need
451 2003-02-28 David Carlton <carlton@math.stanford.edu>
453 * gdb.c++/templates.exp (do_tests): Allow const in the two
454 Foo<volatile char *>::foo tests.
456 2003-02-27 Michael Snyder <msnyder@redhat.com>
458 * gdb.base/restore.c (main): Return zero, so exit code
461 2003-02-26 David Carlton <carlton@math.stanford.edu>
463 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
464 char *>::foo" test with respect to PR c++/33. Create a new test
465 which is identical to that one except that it doesn't put the
466 space between the "char" and the "*"; KFAIL it, too.
468 2003-02-26 David Carlton <carlton@math.stanford.edu>
470 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
471 template types into either PASSes or KFAILs (corresponding to PR
472 c++/57). Tweak indentation. Update copyright.
474 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
476 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
478 2003-02-13 Michael Chastain <mec@shout.net>
480 * gdb.base/exprs.exp: Remove i960 remnants.
481 * gdb.base/funcargs.exp: Likewise.
482 * gdb.base/list.exp: Likewise.
483 * gdb.base/ptype.exp: Likewise.
485 2003-02-14 David Carlton <carlton@math.stanford.edu>
487 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
488 pEe->D::vg()" from XFAIL to KFAIL.
490 2003-02-13 Jason Molenda (jmolenda@apple.com)
492 * gdb.base/maint.exp: Update maint print statistics regexp to include
495 2003-02-13 Michael Chastain <mec@shout.net>
497 * gdb.c++/inherit.exp: Remove call to get_debug_format.
499 2003-02-12 Michael Chastain <mec@shout.net>
501 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
502 * gdb.c++/inherit.exp: Likewise.
503 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
504 * gdb.c++/templates.exp: Likewise.
505 * gdb.c++/virtfunc.exp: Likewise.
507 2003-02-06 Jason Molenda (jason-cl@molenda.com)
509 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
510 why the code is written that way.
512 2003-02-05 Michael Chastain <mec@shout.net>
514 * gdb.base/dump.exp: Add missing copyright line.
516 2003-02-05 Jason Molenda (jason-cl@molenda.com)
518 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
519 at the beginning so the breakpoint doesn't get set on the loop.
521 2003-02-05 Michael Chastain <mec@shout.net>
523 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
524 output for configurations with gcc 2.95.3.
526 2003-02-05 Keith Seitz <keiths@redhat.com>
527 Andrew Cagney <ac131313@redhat.com>
529 * gdb.mi/mi-cli.exp: New file.
531 2003-02-04 Michael Chastain <mec@shout.net>
533 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
534 Call perror and then continue.
536 2003-02-03 Michael Chastain <mec@shout.net>
538 * gdb.c++/pr-1023.cc: New file.
539 * gdb.c++/pr-1023.exp: New file.
541 2003-02-05 Jim Blandy <jimb@redhat.com>
543 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
544 it's local to foobar. Check for it there, and check that it's not
546 * gdb.c++/local.cc (marker2): New function.
547 (foobar): Call marker1.
548 (main): Call marker2 instead of marker1.
550 2003-02-04 Andrew Cagney <ac131313@redhat.com>
552 * gdb.disasm/mn10200.exp: Obsolete file.
553 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
554 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
555 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
557 2003-02-04 David Carlton <carlton@math.stanford.edu>
559 * gdb.c++/overload.exp: Test intToChar(1).
560 * gdb.c++/overload.cc (intToChar): New.
561 (main): Call intToChar.
563 2003-02-03 David Carlton <carlton@math.stanford.edu>
565 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
567 KFAIL some of the continue_to_bp_overloaded calls, according to
570 2003-02-01 Michael Chastain <mec@shout.net>
572 * gdb.base/advance.c (marker1): New marker function.
573 * gdb.base/advance.exp: When the 'advance' command lands on the
574 return breakpoint, it can legitimately stop on either the
575 current line or the next line. Accommodate both outcomes.
576 * gdb.base/until.exp: Likewise.
578 2003-02-02 Andrew Cagney <ac131313@redhat.com>
580 2002-11-10 Jason Molenda (jason-cl@molenda.com):
581 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
582 now a list, not a tuple.
583 * gdb.mi/mi-var-display.exp: Ditto.
584 * gdb.mi/gdb792.exp: Ditto.
586 2003-02-01 Andrew Cagney <ac131313@redhat.com>
588 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
589 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
591 * gdb.mi/mi-syn-frame.c: Part of same.
593 2003-02-01 Mark Kettenis <kettenis@gnu.org>
595 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
596 gdb.mi/mi1-pthreads.exp: Return instead of calling
597 gdb_suppress_entire_file.
599 2003-02-01 Mark Salter <msalter@redhat.com>
601 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
603 2003-01-31 Mark Salter <msalter@redhat.com>
605 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
608 2003-01-30 Michael Chastain <mec@shout.net>
610 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
611 This was a workaround for a UTF-8 bug in readline 4.3. The bug
612 has been fixed in gdb/readline on 2003-01-09.
614 2003-01-29 Michael Snyder <msnyder@redhat.com>
616 * gdb.base/maint.exp: Allow for leading underscore in symbol.
617 * gdb.base/display.exp: Allow for leading underscore in symbol.
618 * gdb.base/args.exp: Skip if target does not support args passing.
620 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
622 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
623 gdb_test. Accept a list of expect arguments as the third
627 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
629 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
630 allow for different test tree configurations. Update some
631 tescases accordingly.
632 * gdb.arch/altivec-regs.exp: Ditto.
633 * gdb.asm/asm-source.exp: Ditto.
634 * gdb.base/advance.exp: Ditto.
635 * gdb.base/display.exp: Ditto.
636 * gdb.base/long_long.exp: Ditto.
637 * gdb.base/mips_pro.exp: Ditto.
638 * gdb.base/overlays.exp: Ditto.
639 * gdb.base/relocate.exp: Ditto.
640 * gdb.base/setshow.exp: Ditto.
641 * gdb.base/step-line.exp: Ditto.
642 * gdb.base/step-test.exp: Ditto.
643 * gdb.base/until.exp: Ditto.
644 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
646 2003-01-17 David Carlton <carlton@math.stanford.edu>
648 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
649 corresponding to PR c++/945.
652 2003-01-17 David Carlton <carlton@math.stanford.edu>
654 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
655 corresponding to PR c++/68.
657 2003-01-17 David Carlton <carlton@math.stanford.edu>
659 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
660 (test_paddr_hairy_functions): Call print_addr_2_kfail for
661 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
663 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
665 * gdb.base/break.exp: Fix change of default location, because of
666 removal of until tests.
667 * gdb.base/help.exp: Update test for new 'until' help message.
668 Add test for help on 'advance'.
669 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
671 2003-01-15 Mark Kettenis <kettenis@gnu.org>
673 * gdb.base/default.exp: Adapt "info float" test for recent changes
674 to that command. Add test for "info vector".
675 * gdb.base/float.exp: New file. Add test for "info float" that
676 resembles the old test in gdb.base/default.exp.
678 2003-01-15 David Carlton <carlton@math.stanford.edu>
680 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
682 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
684 * gdb.base/break.exp: Move the tests of until command from here...
685 * gdb.base/until.exp: ... to here. New file. Add other tests.
686 * gdb.base/advance.c: New file.
687 * gdb.base/advance.exp: New file.
689 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
691 * gdb.base/args.c: New file.
692 * gdb.base/args.exp: New file.
694 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
696 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
698 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
700 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
702 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
704 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
707 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
709 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
711 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
713 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
715 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
717 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
719 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
720 * gdb.mi/mi1-console.exp: Likewise.
722 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
724 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
725 * gdb.mi/mi1-console.exp: Likewise.
727 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
729 * gdb.c++/overload.exp: Remove some fixed XFAILs.
731 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
733 * gdb.base/detach.exp: New test.
735 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
737 * Makefile.in (ALL_SUBDIRS): New variable.
738 (subdirs, clean, distclean): Use it.
739 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
740 regenerating Makefile, since it is generated from the top level.
741 * gdb.asm/Makefile.in: Likewise.
742 * gdb.base/Makefile.in: Likewise.
743 * gdb.c++/Makefile.in: Likewise.
744 * gdb.disasm/Makefile.in: Likewise.
745 * gdb.java/Makefile.in: Likewise.
746 * gdb.mi/Makefile.in: Likewise.
747 * gdb.threads/Makefile.in: Likewise.
748 * gdb.trace/Makefile.in: Likewise.
750 2003-01-09 David Carlton <carlton@math.stanford.edu>
752 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
753 Add copyright year 2003.
755 2003-01-06 Michael Chastain <mec@shout.net>
757 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
758 When selecting a thread, 'line' and 'file' are optional.
759 * gdb.mi/mi1-pthreads.exp: Likewise.
761 2003-01-06 Andreas Schwab <schwab@suse.de>
763 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
766 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
769 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
770 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
772 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
773 instead of calling gdb_suppress_entire_file.
774 * gdb.threads/print-threads.exp: Likewise.
775 * gdb.threads/schedlock.exp: Likewise.
777 * gdb.threads/killed.exp: Return instead of calling
778 gdb_suppress_entire_file.
779 * gdb.threads/linux-dp.exp: Likewise.
780 * gdb.threads/pthreads.exp: Likewise.
782 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
784 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
786 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
787 * gdb.base/whatis.exp: Always allow (void) after function names.
789 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
791 * gdb.c++/casts.exp: Correct regexp.
793 2003-01-04 Mark Kettenis <kettenis@gnu.org>
795 * configure.in: Call AC_CONFIG_HEADER. Don't call
796 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
797 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
798 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
799 aforementioned directories in the AC_OUPUT call.
800 * config.hin: New file.
801 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
802 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
803 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
804 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
805 pass -I$objdir instead of -I$objdir/$subdir in compilation.
806 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
807 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
808 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
809 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
810 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
811 gdb.threads/configure.in, gdb.threads/configure,
812 gdb.threads/config.in, gdb.trace/configure.in,
813 gdb.trace/configure: Removed.
815 2003-01-03 Michael Chastain <mec@shout.net>
817 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
818 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
820 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
822 * gdb.base/store.exp: Fix regular expressions.
824 2002-12-28 Mark Kettenis <kettenis@gnu.org>
826 * configure.in: Rewrite.
827 * configure: Regenerated.
829 2003-01-03 David Carlton <carlton@math.stanford.edu>
831 * gdb.base/psymtab.exp: New file.
832 * gdb.base/psymtab1.c: Ditto.
833 * gdb.base/psymtab2.c: Ditto.
835 2002-12-23 Adam Fedor <fedor@gnu.org>
837 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
839 2002-12-23 David Carlton <carlton@math.stanford.edu>
841 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
842 and current_directory initialization.
844 2002-12-22 Jim Blandy <jimb@redhat.com>
846 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
847 rather than as part of the output file name.
849 * gdb.base/attach.exp: There's no need to copy the test program to
850 /tmp; that was only ever necessary on HP/UX, and this test is
851 entirely disabled there anyway.
853 2002-12-21 Jim Blandy <jimb@redhat.com>
855 * gdb.c++/psmang.exp: Doc fix.
857 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
860 2002-12-20 David Carlton <carlton@math.stanford.edu>
862 * gdb.c++/annota2.exp: KFAIL annotate-quit.
864 2002-12-18 Michael Chastain <mec@shout.net>
866 * gdb.c++/annota2.exp: Add copyright year 2002.
868 2002-12-17 David Carlton <carlton@math.stanford.edu>
870 * gdb.c++/try_catch.cc: Add marker comments.
871 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
872 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
873 * gdb.c++/m-static.cc: Ditto.
874 * gdb.c++/m-static1.cc: Ditto.
875 * gdb.c++/try_catch.cc: Ditto.
877 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
879 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
880 to see whether we are using the new -environment-directory
881 command which resets via -r or the old version of the command
882 which may prompt the user. Part of fix for gdb/741.
884 2002-12-13 Andrew Cagney <ac131313@redhat.com>
886 * gdb.fortran/types.exp: Update obsolete comment.
887 * gdb.fortran/exprs.exp: Ditto.
888 * lib/gdb.exp: Delete obsolete code.
889 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
890 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
891 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
892 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
893 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
894 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
895 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
896 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
897 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
898 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
899 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
900 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
901 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
902 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
903 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
904 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
905 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
906 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
907 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
908 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
909 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
910 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
911 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
912 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
913 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
914 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
915 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
916 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
917 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
918 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
919 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
920 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
921 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
922 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
923 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
924 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
925 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
927 2002-12-11 David Carlton <carlton@math.stanford.edu>
929 * gdb.c++/m-data.exp: Add test for members that shadow global
930 variables: see PR gdb/804.
931 * gdb.c++/m-data.cc: Ditto.
933 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
935 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
937 2002-12-06 David Carlton <carlton@math.stanford.edu>
939 * gdb.base/store.c: Don't declare functions static.
941 2002-12-04 Andrew Cagney <ac131313@redhat.com>
943 * gdb.base/store.exp, gdb.base/store.c: New files.
945 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
947 * gdb.base/selftest.exp: Update for current gdb.
949 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
951 * gdb.base/maint.exp: Only dump symbols from one source file
954 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
956 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
959 2002-11-25 Jim Blandy <jimb@redhat.com>
961 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
962 function appearing in error message.
964 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
966 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
968 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
970 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
971 for mi1 and current mi is in correct format. New mi startup message
972 should be in mi console format. This is part of fix for PR gdb/604.
974 2002-09-18 Fernando Nasser <fnasser@redhat.com>
976 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
977 which explicitly prints the zero offset as "+0".
979 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
981 * gdb.threads/schedlock.c (args): Make unsigned.
983 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
985 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
986 numbers. Allow "foo2|selected stack frame".
987 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
988 * gdb.asm/asmsrc2.s: Likewise.
989 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
991 * gdb.asm/mips.inc: New file.
993 2002-10-18 Adam Fedor <fedor@gnu.org>
995 * gdb.base/default.exp: Update expected output to include 'ObjC'.
996 * gdb.base/help.exp: Likewise.
998 2002-10-17 Kevin Buettner <kevinb@redhat.com>
1000 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1001 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1003 2002-10-02 Jim Blandy <jimb@redhat.com>
1005 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1007 2002-10-01 Andrew Cagney <ac131313@redhat.com>
1009 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1010 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1011 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1012 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1013 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1014 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1015 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1017 2002-09-29 Andrew Cagney <ac131313@redhat.com>
1019 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1020 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1021 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1022 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1023 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1024 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1025 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1027 2002-09-27 Kevin Buettner <kevinb@redhat.com>
1029 * gdb.base/annota1.exp (info break): Make directory components of
1030 path optional since not all compilers emit this debug information.
1032 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1033 step ends up stepping out of the function instead of stopping on
1036 2002-09-26 Keith Seitz <keiths@redhat.com>
1038 * lib/insight-support.exp (gdbtk_start): Figure out where
1039 the insight executable is based on where gdb is. Use this
1040 executable to start insight instead of gdb.
1042 2002-09-25 Andrew Cagney <cagney@redhat.com>
1044 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1046 2002-09-24 Andrew Cagney <ac131313@redhat.com>
1048 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1049 test_isolated_complaints.
1050 (test_empty_complaint): New function.
1051 (test_empty_complaints): New function. Check no output when no
1054 2002-09-19 Jim Blandy <jimb@redhat.com>
1056 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1058 2002-09-19 Andrew Cagney <ac131313@redhat.com>
1060 * gdb.gdb/complaints.exp: New file.
1062 2002-09-18 Andrew Cagney <ac131313@redhat.com>
1064 * gdb.base/maint.exp: Check `help maint internal-warning'.
1066 2002-09-18 David Carlton <carlton@math.stanford.edu>
1068 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1069 numbers, and replace them by a single breakpoint after the
1070 constructors are all finished.
1072 * gdb.c++/m-static.cc: Add test 4.
1073 * gdb.c++/m-static.h: New file.
1074 * gdb.c++/m-static1.cc: New file.
1076 * gdb.c++/printmethod.exp: New file.
1077 * gdb.c++/printmethod.cc: New file.
1079 * gdb.c++/pr-574.exp: New file.
1080 * gdb.c++/pr-574.cc: New file.
1082 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1084 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1085 embedded targets which never actually exit.
1087 2002-09-18 Fernando Nasser <fnasser@redhat.com>
1089 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1090 "don't step after run" as unresolved or unsupported, instead of xfail.
1092 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1094 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1095 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1096 Add newline to expected string in "step out of main (status wrapper)"
1099 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1101 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1102 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1104 2002-09-17 Tom Tromey <tromey@redhat.com>
1106 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1107 \000, not \0, in double-quoted string.
1109 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
1111 * gdb.base/command.exp: Don't expect a "Program exited normally"
1112 string after running the commands execution on breakpoint tests.
1114 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
1116 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1118 2002-09-12 Joel Brobecker <brobecker@gnat.com>
1120 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1122 2002-09-10 Keith Seitz <keiths@redhat.com>
1124 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1126 (mi_run_to_main): Use mi_runto.
1127 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1129 2002-09-10 Keith Seitz <keiths@redhat.com>
1131 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1132 regexp for stopping at main. Could have multiple event notifications.
1133 Don't assume that main was declared with no parameters.
1134 (mi_next): Use mi_step_to.
1135 (mi_step): Use mi_next_to.
1137 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
1139 * gdb.base/default.exp: Fix expected string in `info float' test.
1141 2002-09-09 Ben Elliston <bje@redhat.com>
1143 * config/mips.exp: Update comments.
1144 * config/mips-idt.exp: Likewise.
1145 * config/nind.exp: Likewise.
1146 * config/slite.exp: Likewise.
1147 * config/sparclet.exp: Likewise.
1148 * config/udi.exp: Likewise.
1149 * config/vx.exp: Likewise.
1150 * config/vxworks29k.exp: Likewise.
1152 2002-09-05 Jim Blandy <jimb@redhat.com>
1154 * gdb.threads/killed.exp: Fix test failure message.
1156 2002-09-04 Keith Seitz <keiths@redhat.com>
1158 * lib/mi-support.exp: Update copyright.
1159 (mi_gdb_test): Increase the priority of the expected pattern
1160 so that it matches gdb_test.
1162 2002-09-03 Keith Seitz <keiths@redhat.com>
1164 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1165 Use integer comparison instead of string comparison for testing
1166 whether binary was built.
1168 2002-09-03 Jim Blandy <jimb@redhat.com>
1170 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1172 2002-08-29 Jim Blandy <jimb@redhat.com>
1174 * gdb.threads/pthreads.exp: Move the portable thread compilation
1175 code into a function in lib/gdb.exp, and call that from here.
1176 * lib/gdb.exp (gdb_compile_pthreads): New function.
1178 2002-08-29 Keith Seitz <keiths@redhat.com>
1180 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1181 expect_out so that callers can get at it.
1183 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
1185 * gdb.threads/print-threads.c: New file.
1186 * gdb.threads/print-threads.exp: New file.
1187 * gdb.threads/schedlock.c: New file.
1188 * gdb.threads/schedlock.exp: New file.
1190 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
1192 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1195 2002-08-17 Mark Kettenis <kettenis@gnu.org>
1197 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1198 targets. The problem should be fixed now.
1200 2002-08-15 Mark Kettenis <kettenis@gnu.org>
1202 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1203 2002-07-24 change that removes final dots from error messages.
1205 2002-08-13 Tom Tromey <tromey@redhat.com>
1207 * gdb.base/readline.exp: New file.
1209 2002-08-01 Andrew Cagney <ac131313@redhat.com>
1211 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1214 2002-08-01 Andrew Cagney <cagney@redhat.com>
1216 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1217 CHILL_FOR_TARGET and CHILL_LIB.
1218 * configure.in (configdirs): Remove gdb.chill.
1219 * configure: Regenerate.
1220 * lib/gdb.exp: Obsolete references to chill.
1221 * gdb.fortran/types.exp: Ditto.
1222 * gdb.fortran/exprs.exp: Ditto.
1224 2002-07-30 Kevin Buettner <kevinb@redhat.com>
1226 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1227 set Irix-specific compile and link flags.
1229 2002-07-29 Kevin Buettner <kevinb@redhat.com>
1231 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1232 source files. The ``-o'' option doesn't work with the ``-E'' option
1233 when using the Irix compiler.
1235 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
1237 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1238 Improve support for reusing an exec file. Copy exec file
1239 to target, and run gdbserver on the target instead of on the host.
1241 2002-07-18 Jim Blandy <jimb@redhat.com>
1243 * gdb.base/ending-run.exp: Don't expect to see the program end in
1244 some orderly fashion when we're running on a real stand-alone
1247 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1248 targets that don't support interrupts.
1250 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1252 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1254 Move comments in expect statements to inside the actions, so that they
1255 don't get matched against.
1257 2002-07-10 Mark Kettenis <kettenis@gnu.org>
1259 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1260 function when asleep" test.
1262 2002-07-10 Andrew Cagney <ac131313@redhat.com>
1264 * gdb.base/page.exp: Rewrite to handle problems with very long
1265 `info set' output. Update copyright.
1267 2002-06-26 Andrew Cagney <ac131313@redhat.com>
1269 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1271 * gdb.hp/configure: Regenerate.
1272 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1273 * gdb.hp/gdb.threads-hp/configure: Delete file.
1274 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1276 2002-06-22 Andrew Cagney <ac131313@redhat.com>
1278 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1279 setlocale, bindtextdomain and textdomain.
1281 2002-06-11 Jim Blandy <jimb@redhat.com>
1283 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1284 preprocessor macro information is present.
1286 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1289 2002-06-06 Michael Snyder <msnyder@redhat.com>
1291 * gdb.base/overlays.exp: Record addresses of overlay
1292 functions in TCL variables rather than in GDB variables,
1293 to avoid having GDB convert them to pointers (with loss
1296 * gdb.base/d10v.ld: Merge in several years worth of
1297 default linker script changes.
1298 * gdb.base/long_long.exp: Add check for sizeof (long double).
1300 2002-06-06 Michal Ludvig <mludvig@suse.cz>
1302 * gdb.asm/asm-source.exp: Add x86-64 target.
1303 * gdb.asm/x86_64.inc: New.
1305 2002-05-30 Michael Chastain <mec@shout.net>
1307 From Benjamin Kosnik <bkoz@redhat.com>:
1308 * gdb.c++/m-static.cc: New file.
1309 * gdb.c++/m-static.exp: New file.
1311 2002-05-28 Michael Snyder <msnyder@redhat.com>
1313 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1316 2002-05-27 Michael Chastain <mec@shout.net>
1318 From Benjamin Kosnik <bkoz@redhat.com>:
1319 * gdb.c++/m-data.cc: New file.
1320 * gdb.c++/m-data.exp: New file.
1322 2002-05-27 Michael Chastain <mec@shout.net>
1324 From Benjamin Kosnik <bkoz@redhat.com>:
1325 * gdb.c++/try_catch.cc: New file.
1326 * gdb.c++/try_catch.exp: New file.
1328 2002-05-27 Michael Chastain <mec@shout.net>
1330 * gdb.c++/local.exp: Accept more nested types in output.
1332 2002-05-26 Michael Chastain <mec@shout.net>
1334 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1336 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1338 * lib/gdb.exp (gdb_wrapper_init): Just because
1339 gdb_wrapper_file exists, this does not mean that the file
1340 should not be rebuilt. That is what gdb_wrapper_initialized
1342 (default_gdb_init): Reset gdb_wrapper_initialized.
1344 2002-05-23 Michael Snyder <msnyder@redhat.com>
1346 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1347 the precision of the floating point test results.
1348 * gdb.base/call-rt-st.exp: Ditto.
1350 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1351 * gdb.base/call-rt-st.exp: Ditto.
1353 2002-05-19 Michael Chastain <mec@shout.net>
1355 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1357 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
1359 * configure.in (configdirs): Add gdb.arch.
1360 * configure: Regenerate.
1362 2002-05-17 Jim Blandy <jimb@redhat.com>
1364 * gdb.base/completion.exp: Recognize the more detailed error
1365 messages produced by the macro expander's lexical analyzer.
1367 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1369 * gdb.arch/altivec-abi.c: New file.
1370 * gdb.arch/altivec-abi.exp: New file.
1371 * gdb.arch/altivec-regs.c: New file.
1372 * gdb.arch/altivec-regs.exp: New file.
1374 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
1376 * gdb.base/maint.exp (maint print type): Update for new type
1379 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1381 * gdb.arch: New directory.
1382 * gdb.arch/configure.in: New file.
1383 * gdb.arch/configure: New file.
1384 * gdb.arch/Makefile.in: New file.
1386 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
1388 * gdb.asm/asm-source.exp: Add v850 as supported target.
1389 * gdb.asm/v850.inc: New file.
1391 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
1393 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1395 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
1397 * gdb.base/break.exp: Check 'break "marker2"'.
1399 2002-05-10 Michael Snyder <msnyder@redhat.com>
1401 * gdb.base/long_long.exp: Fix typo.
1403 2002-05-10 Jim Blandy <jimb@redhat.com>
1405 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1408 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1409 Recognize more detailed error message produced by the macro
1410 expander's lexical analyzer.
1411 * lib/gdb.exp (test_print_reject): Same.
1413 2002-05-09 Mark Kettenis <kettenis@gnu.org>
1415 * gdb.c++/method.exp: Fix typo.
1417 2002-05-08 Michael Snyder <msnyder@redhat.com>
1419 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1420 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
1421 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
1422 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1423 Add iftarget clause for strongarm.
1425 2002-05-06 Michael Snyder <msnyder@redhat.com>
1427 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1428 (gdb_continue_to_end): Accept output from status wrapper.
1429 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1430 Clean up fail messages to match pass messages.
1432 Enable the "needs_status_wrapper" testsuite feature.
1433 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1434 (gdb_compile): Conditionally call gdb_wrapper_init.
1435 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1436 * gdb.c++/method.exp: Recognize output from status wrapper.
1438 2002-05-06 Ben Elliston <bje@redhat.com>
1439 From Graydon Hoare <graydon@redhat.com>
1441 * config/sid.exp: Include support for "rawsid" protocol.
1443 2002-05-03 Jim Blandy <jimb@redhat.com>
1445 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1446 * gdb.c++/hang3.C: New file.
1448 2002-05-04 Andrew Cagney <ac131313@redhat.com>
1450 * gdb.base/default.exp: Remove obsolete code.
1451 * gdb.c++/misc.exp: Ditto. Update copyright.
1452 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1453 * gdb.base/whatis.exp: Ditto. Update copyright.
1454 * gdb.base/scope.exp: Ditto. Update copyright.
1455 * gdb.base/ptype.exp: Ditto. Update copyright.
1456 * gdb.base/printcmds.exp: Ditto. Update copyright.
1457 * gdb.base/opaque.exp: Ditto. Update copyright.
1458 * gdb.base/list.exp: Ditto.
1459 * gdb.base/funcargs.exp: Ditto. Update copyright.
1460 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1461 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1462 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1463 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1464 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1465 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1467 2002-05-02 Michael Snyder <msnyder@redhat.com>
1469 * gdb.base/watchpoint.exp: Add xscale target.
1470 * gdb.base/long_long.exp: Add xscale target.
1471 * gdb.base/default.exp: Add xscale target.
1473 2002-05-01 Jim Blandy <jimb@redhat.com>
1475 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1476 gdb.c++/hang.exp: New test.
1478 2002-05-01 Fred Fish <fnf@redhat.com>
1480 * gdb.base/completion.exp: Handle completions of "./Make" for
1481 more than one completion possibility, as is the case when we
1482 build and test in the source tree.
1484 2002-04-29 Anthony Green <green@redhat.com>
1486 * gdb.java/jmisc1.exp: New file.
1487 * gdb.java/jmisc2.exp: New file.
1489 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
1491 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1493 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
1495 * gdb.base/help.exp: Change 'help status' to allow for target
1496 dependent output differences.
1498 2002-04-22 Michael Chastain <mec@shout.net>
1500 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1502 2002-04-22 Michael Chastain <mec@shout.net>
1504 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1506 2002-04-17 David S. Miller <davem@redhat.com>
1508 * gdb.asm/sparc64.inc: New file.
1509 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1511 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
1513 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1514 instruction file directly into the build tree. Clean up at end of
1517 2002-04-18 David S. Miller <davem@redhat.com>
1519 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1520 handle 64-bit platforms correctly.
1521 * gdb.base/maint.exp: Likewise.
1523 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1525 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1526 ``-fpic'' when compiling files comprising a shared library, but
1527 it does need additional linker flags in order to find shared
1528 libraries at run time.
1530 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1532 * gdb.base/cvexpr.c (use): New function.
1533 (main): Invoke use() on all global variables to prevent
1534 some linkers from deleting these otherwise unused symbols.
1536 2002-04-17 Michael Chastain <mec@shout.net>
1537 From David S. Miller <davem@redhat.com>
1539 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1540 handle 64-bit platforms correctly.
1542 2002-04-12 Michael Snyder <msnyder@redhat.com>
1543 From Jim Blandy <jimb@redhat.com>
1544 * gdb.base/foo.c (foox): Remove section attribute; the linker
1545 script can handle this instead.
1546 * gdb.base/bar.c (barx): Same.
1547 * gdb.base/baz.c (bazx): Same.
1548 * gdb.base/grbx.c (grbxx): Same.
1550 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1551 manager doesn't automatically unmap overlays unnecessarily.
1553 2002-04-10 Martin M. Hunt <hunt@redhat.com>
1555 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1556 stepping out of main.
1558 2002-04-09 Michael Chastain <mec@shout.net>
1560 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1561 scope so that the nested scope tests will make sense.
1562 * gdb.c++/local.exp: Write patterns that actually work with gcc
1563 (the HP patterns "were never known to work with gcc").
1564 Keep the old aCC patterns too.
1566 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1568 * gdb.base/attach.exp: Correct target board test.
1570 2002-04-08 Michael Chastain <mec@shout.net>
1572 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1573 in a const method. Add some xfail and fail cases for configurations
1574 that do not emit the "const ...".
1576 2002-04-07 Michael Chastain <mec@shout.net>
1578 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1579 Accept "A * const" and "const A * const" as type of "this".
1580 Fix spelling of getFunky throughout. Make messages uniform.
1582 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1584 Work around for PR gdb/285:
1585 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1587 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1589 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1590 instructions file at run time instead of configure time.
1591 Sometimes we run the test in a directory that is not the one we
1593 * gdb.asm/configure.in: Delete creation of symlink.
1594 * gdb.asm/configure: Regenerate.
1596 2002-04-05 J. Brobecker <brobecker@gnat.com>
1598 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1599 xfullpath () function.
1601 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1603 * gdb.asm/Makefile.in: Correct dependencies.
1605 * gdb.asm/powerpc.inc: New file.
1606 * gdb.asm/asm-source.exp: Add PowerPC.
1607 * gdb.asm/configure.in: Likewise.
1608 * gdb.asm/configure: Regenerated.
1610 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1612 * gdb.base/relocate.exp: New file.
1613 * gdb.base/relocate.c: New file.
1615 2002-04-04 Fred Fish <fnf@redhat.com>
1617 * gdb.base/step-test.exp: Update comment regarding stopping in
1618 memcpy/bcopy calls inserted as part of the compiler runtime.
1620 2002-04-04 Michael Snyder <msnyder@redhat.com>
1622 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1624 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
1626 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1627 (gdb_expect): Remove $notransfer hack.
1629 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
1631 * gdb.c++/classes.exp ("calling method for small class"): Match
1632 updated register output.
1634 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1637 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1638 when finished. Make gdb_file_cmd send "exec-file" when
1641 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1643 * gdb.base/attach.exp: Remove extra setup_xfail.
1645 2002-03-26 Michael Snyder <msnyder@redhat.com>
1647 * gdb.base/default.exp: Add tests for dump, append, and restore.
1648 * gdb.base/help.exp: Add tests for dump, append, and restore.
1649 * gdb.base/dump.exp: New file, test dump, append and restore.
1650 * gdb.base/dump.c: New file.
1652 2002-03-27 Michael Snyder <msnyder@redhat.com>
1654 * gdb.base/help.exp: Modify expect strings to reflect
1655 clean-ups in help messages.
1657 2002-03-26 Fred Fish <fnf@redhat.com>
1659 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1660 have debugging info for those functions and the compiler uses them
1661 internally to copy structs around.
1663 2002-03-26 Fred Fish <fnf@redhat.com>
1665 * gdb.base/list.exp: Revert the change made yesterday and add note
1666 about why we don't list the default lines for remote targets.
1668 2002-03-25 Michael Snyder <msnyder@redhat.com>
1670 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1672 2002-03-25 Fred Fish <fnf@redhat.com>
1674 * gdb.base/list.exp: This test works on remote targets so remove
1675 the short circuit for remote targets. Update copyright.
1677 2002-03-25 Fred Fish <fnf@redhat.com>
1679 * gdb.base/attach.exp: Fix logic error that was suppressing this
1680 test for all non hppa*-*-hpux* targets, instead of the hp target.
1681 Move comments closer to the suppression point. Also now need to
1682 check that we are running natively.
1684 2002-03-22 Michael Snyder <msnyder@redhat.com>
1686 * gdb.base/default.exp: Add test for gcore. Update copyright.
1687 * gdb.base/help.exp: Add test for gcore. Update copyright.
1689 2002-03-06 Fred Fish <fnf@redhat.com>
1691 * gdb.base/funcargs.c: Remove extraneous ';' character.
1692 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1694 2002-03-04 Michael Chastain <mec@shout.net>
1696 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1697 accommodate gcc v3 function signature.
1698 * gdb.mi/mi0-var-cmd-exp: Ditto.
1700 2002-02-24 Andrew Cagney <ac131313@redhat.com>
1702 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1703 ``GNU/Linux'' or ``Linux kernel''
1704 * testsuite/gdb.threads/pthreads.c: Ditto.
1706 2002-02-24 Michael Chastain <mec@shout.net>
1708 * gdb.threads/pthreads.c (thread1): Add a return statement.
1709 (thread2): Likewise.
1712 2002-02-23 Michael Chastain <mec@shout.net>
1714 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1717 2002-02-23 Michael Chastain <mec@shout.net>
1719 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1720 test "ptype bint". The test passes on all my stabs configurations.
1722 2002-02-21 Jim Blandy <jimb@redhat.com>
1724 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1725 filename at a time, and watch for the ones we want to see.
1727 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1728 types of pointers to prototyped functions.
1730 2002-02-20 Andrew Cagney <ac131313@redhat.com>
1732 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1733 signed, unsigned and straight char.
1734 (padding_char, padding_short, padding_int, padding_long,
1735 padding_long_long, padding_float, padding_double,
1736 padding_long_double): New global variables.
1737 (fill, fill_structs): New functions.
1739 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1740 for correctly sized writes. Update copyright.
1741 (get_valueof): New procedure.
1742 (get_sizeof): Call get_valueof.
1743 (check_valueof): New procedure.
1744 (check_padding): New procedure.
1746 2002-02-20 Michael Chastain <mec@shout.net>
1748 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1749 to setup_xfail. Document some of the remaining calls.
1751 2002-02-18 Michael Chastain <mec@shout.net>
1753 * gdb.c++/userdef.exp: Update copyright year.
1755 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
1757 * gdb.c++/userdef.exp: Test overloaded operators properly.
1760 2002-02-14 Michael Snyder <msnyder@redhat.com>
1762 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1764 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1766 * gdb.base/a2-run.exp: Check for a remote target properly.
1767 * gdb.base/annota1.exp: Likewise.
1768 * gdb.base/list.exp: Likewise.
1769 * gdb.base/reread.exp: Likewise.
1770 * gdb.base/scope.exp: Likewise.
1771 * gdb.base/shlib-call.exp: Likewise.
1772 * gdb.base/term.exp: Likewise.
1773 * gdb.c++/annota2.exp: Likewise.
1775 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
1777 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1779 2002-02-10 Michael Chastain <mec@shout.net>
1781 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1782 (call_after_alloca): Ditto.
1784 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1786 * gdb.base/ending-run.exp: Guard "cont" test with
1787 gdb_skip_stdio_test.
1789 2002-02-06 Jim Blandy <jimb@redhat.com>
1791 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1793 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1794 To here. Disable this test on non-HP platforms. Add big comment.
1796 2002-02-04 Michael Snyder <msnyder@redhat.com>
1798 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1799 other than d10v and m32r.
1801 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
1803 * gdb.base/default.exp: Rewrite test patterns to reduce time
1804 taken to match them.
1806 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1808 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1809 Allow a start function above main.
1810 * gdb.threads/linux-dp.exp: Fix copyright date.
1812 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1814 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1815 (check_philosopher_stack): Check for manager thread before checking
1816 for a just-starting thread.
1818 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1820 From Neil Booth <neil@daikokuya.demon.co.uk>:
1821 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1824 2002-01-21 Fred Fish <fnf@redhat.com>
1826 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1829 2002-01-21 Jim Blandy <jimb@redhat.com>
1831 * gdb.base/reread.exp: Check that GDB properly re-reads the
1832 executable file when it changes while no inferior is running.
1834 2002-01-21 Fred Fish <fnf@redhat.com>
1836 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1837 optionally accept the "shlib events" variation.
1839 2002-01-21 Jim Blandy <jimb@redhat.com>
1841 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1842 call `fflush' after every `printf', so that the output is produced
1843 at predictable points, regardless of whatever buffering does (or
1844 doesn't) take place.
1845 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1846 at different points.
1848 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1850 * gdb.c++/inherit.exp: Update copyright years.
1851 * gdb.c++/method.exp: Likewise.
1853 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1855 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1856 artificial methods/arguments.
1857 * gdb.c++/derivation.exp: Likewise.
1858 * gdb.c++/inherit.exp: Likewise.
1859 * gdb.c++/method.exp: Likewise.
1860 * gdb.c++/virtfunc.exp: Likewise.
1862 2002-01-18 Andrew Cagney <ac131313@redhat.com>
1864 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1865 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1866 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1867 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1868 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1869 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1871 2002-01-17 Jim Blandy <jimb@redhat.com>
1873 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1874 anchoring the pattern matching the entry point symbol's name.
1876 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1878 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1879 continue/quit query. Update copyright.
1881 2002-01-14 Michael Snyder <msnyder@redhat.com>
1883 * gdb.base/gcore.exp: Remove extra debugging output.
1885 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1887 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1888 for slightly dubious v2 mangled string.
1890 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1892 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1894 2002-01-10 Jason Merrill <jason@redhat.com>
1896 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
1898 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1900 * gdb.c++/derivation.exp: Likewise.
1901 * gdb.c++/templates.exp: Likewise.
1902 * gdb.c++/virtfunc.exp: Likewise.
1904 2002-01-10 Michael Snyder <msnyder@redhat.com>
1906 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
1908 2002-01-08 Michael Snyder <msnyder@redhat.com>
1910 * gdb.base/gcore.exp: New test for generate-core-file command.
1911 * gdb.base/gcore.c: Testcase for above.
1912 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1914 2002-01-08 Jason Merrill <jason@redhat.com>
1916 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1918 2002-01-07 Fred Fish <fnf@redhat.com>
1920 * gdb.c++/overload.exp: Remove unconditional xfails for:
1921 print foo_instance1.overloadargs(1)
1922 print foo_instance1.overloadargs(1, 2)
1923 print foo_instance1.overloadargs(1, 2, 3)
1924 print foo_instance1.overloadargs(1, 2, 3, 4)
1925 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1926 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1927 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1928 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1929 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1930 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1931 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1932 print foo_instance1.overload1arg()
1933 print foo_instance1.overload1arg((char)arg2)
1934 print foo_instance1.overload1arg((signed char)arg3)
1935 print foo_instance1.overload1arg((unsigned char)arg4)
1936 print foo_instance1.overload1arg((int)arg7)
1937 print foo_instance1.overload1arg((unsigned int)arg8)
1938 print foo_instance1.overload1arg((float)arg11)
1939 print foo_instance1.overload1arg((double)arg12)
1941 2002-01-07 Michael Snyder <msnyder@redhat.com>
1943 * gdb.base/huge.exp: New test. Print a very large target data object.
1944 (skip_huge_test): New test variable. Define if you want to skip this
1945 test. The test reads an 8 megabyte data object from the target, so it
1946 might be very time consuming on remote targets with a slow connection.
1947 * gdb.base/huge.c: New file. Test case for above.
1949 2002-01-07 Fred Fish <fnf@redhat.com>
1951 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1952 g_instance.bfoo, and g_instance.cfoo.
1954 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1956 * gdb.base/break.c (multi_line_if_conditional): New function.
1957 (multi_ilne_while_conditional): Likewise.
1958 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1959 IF or WHILE condition puts the breakpoint at the start of
1962 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1963 hppa*-*-hpux* expected failure.
1964 * gdb.base/structs.exp (do_function_calls): Similarly.
1966 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1969 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1972 * gdb.base/structs.exp: Replace skip for a29k with skip for
1973 gdb,cannot_call_functions.
1974 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1975 * gdb.base/callfuncs.exp: Ditto.
1976 * gdb.base/call-rt-st.exp: Ditto.
1977 * gdb.base/call-strs.exp: Ditto.
1978 * gdb.base/callfwmall.exp: Ditto.
1979 * gdb.base/scope.exp: Obsolete xfail a29k.
1980 * gdb.c++/misc.exp: Ditto.
1981 * gdb.c++/cplusfuncs.exp: Ditto.
1982 * gdb.base/ptype.exp: Ditto.
1983 * gdb.base/printcmds.exp: Ditto.
1984 * gdb.base/opaque.exp: Ditto.
1985 * gdb.base/list.exp: Ditto.
1986 * gdb.base/funcargs.exp: Ditto.
1987 * gdb.base/default.exp: Ditto.
1989 2002-01-04 Michael Snyder <msnyder@redhat.com>
1991 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
1992 * gdb.base/maint.exp: Add tests for maint info sections options.
1994 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1996 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1998 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
2000 * gdb.asm/arm.inc: New file.
2001 * gdb.asm/asm-source.exp: Add arm targets.
2002 * gdb.asm/configure.in: Ditto.
2003 * gdb.asm/configure: Recreated from configure.in.
2005 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2007 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2009 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2010 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2011 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2012 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2014 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2015 either HP's compilers or GCC.
2017 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2018 a SIGBUS or SIGSEGV.
2020 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2022 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2023 can be compiled with either HP's compiler or GCC.
2025 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2026 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2027 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2029 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2030 to match current gdb output. Update due to using auto-solib-limit
2031 for limiting instead of overloading auto-solib-add.
2032 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2035 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
2036 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2037 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2038 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2039 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2040 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2041 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2042 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2043 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2044 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2045 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2046 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2047 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
2049 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2050 a SIGTRAP to the inferior.
2052 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
2054 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2055 Substitute call to target_link by call to gdb_compile.
2057 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2059 * gdb.base/break.exp: Fix HP specific search string when testing
2060 backtracing in a called function.
2062 * gdb.base/constvars.exp: Only set lang to C++ if we're
2063 compiling the test with HP's compilers.
2064 * gdb.base/volatile.exp: Similarly.
2066 2001-12-19 Jim Blandy <jimb@redhat.com>
2068 * gdb.base/printcmds.exp: Expect the null character to be printed
2069 as '\0', and the '\013' to be printed as '\v'.
2070 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2071 * gdb.base/setvar.exp: Same.
2073 2001-12-17 Jim Blandy <jimb@redhat.com>
2075 * gdb.base/completion.exp: Rather than completing very long
2076 filenames, which can make the readline library produce output we
2077 don't recognize, cd to the directory first, and then complete
2078 using nice, short relative paths.
2080 * gdb.base/completion.exp: On some systems, there is, in fact, a
2081 variable named `b' in scope, since GDB treats all static
2082 variables as being in scope. So use `no_var_named_this'
2085 * gdb.base/corefile.exp: Recognize the message saying that GDB
2086 can't find the core file's registers as a failure.
2088 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2090 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2091 test expect string more specific.
2093 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
2095 * gdb.asm/asm-source.exp: Add support for xstormy16.
2096 * gdb.asm/configure.in: Ditto.
2097 * gdb.asm/configure: Rebuild.
2098 * gdb.asm/xstormy16.inc: New file.
2100 2001-12-10 Fred Fish <fnf@redhat.com>
2102 * gdb.base/maint.exp: Update to match changes in type dumping code.
2104 2001-12-10 Jim Blandy <jimb@redhat.com>
2106 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2107 matching the entry point symbol's name at the beginning of the
2110 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2112 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2113 gdb.c++/inherit.exp, gdb.c++/method.exp,
2114 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2115 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2116 and class layout support.
2118 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2120 * gdb.c++/classes.exp: Add test for static member function.
2121 * gdb.c++/misc.cc: Add class with static member function.
2123 2001-12-07 Jim Blandy <jimb@redhat.com>
2125 If GDB says it can't find the struct the function returned, report
2126 those tests as `unsupported'.
2127 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2128 Rewrite subsequent tests to use it.
2130 If GDB says it can't find the struct the function returned, report
2131 those tests as `unsupported'.
2132 * gdb.base/structs.exp (call_struct_func): New function.
2133 (do_function_calls): Use call_struct_func to call the functions
2136 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2137 whether functions are prototyped or not, so we can't possibly pass
2138 arguments to t_float_values2 properly.
2140 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2141 value of `timeout' for targets other than the mips*tx39-*.
2143 2001-12-06 Michael Snyder <msnyder@redhat.com>
2145 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2146 and detect whether the start symbol has a leading underscore.
2148 2001-12-04 Jim Blandy <jimb@redhat.com>
2150 * gdb.base/completion.exp: Clarify indentation.
2152 2001-12-03 Jim Blandy <jimb@redhat.com>
2154 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2155 variables on the S/390, not `.word'.
2157 2001-11-30 Jim Blandy <jimb@redhat.com>
2159 Add assembly-source tests for s390-ibm-linux.
2160 * gdb.asm/s390.inc: New file.
2161 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2162 the S/390 architecture.
2163 * gdb.asm/configure: Regenerated.
2165 2001-11-30 Michael Snyder <msnyder@redhat.com>
2167 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2168 next, info source, info sources, info line, global and static
2169 variables, and static functions.
2170 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2171 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2172 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2173 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2174 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2175 (gdbasm_leave): Restore frame pointer.
2176 (gdbasm_startup): Copy stack set-up from crt0.S.
2178 2001-11-26 Fernando Nasser <fnasser@redhat.com>
2180 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2181 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2182 to a local (non-static) variable. Copy tstruct.a to a static buffer
2183 and return a pointer to that buffer.
2184 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2186 2001-11-24 Mark Kettenis <kettenis@gnu.org>
2188 * gdb.asm/configure.in: Fix recognition of ix86 target.
2189 * gdb.asm/configure: Regenerate.
2191 2001-11-21 Michael Snyder <msnyder@redhat.com>
2193 * gdb.asm/sparc.inc: New file.
2194 * gdb.asm/asm-source.exp: Recognize sparc target.
2195 * gdb.asm/configure.in: Recognize sparc target.
2196 * gdb.asm/configure: Regenerate.
2198 2001-11-21 Michael Snyder <msnyder@redhat.com>
2200 * gdb.asm/m32r.inc: New file.
2201 * gdb.asm/asm-source.exp: Recognize m32r target.
2202 * gdb.asm/configure.in: Recognize m32r target.
2203 * gdb.asm/configure: Regenerate.
2205 2001-11-20 Michael Snyder <msnyder@redhat.com>
2207 * gdb.asm/i386.inc: New file.
2208 * gdb.asm/asm-source.exp: Recognize ix86 target.
2209 * gdb.asm/configure.in: Recognize ix86 target.
2210 * gdb.asm/configure: Regenerate.
2212 * gdb.c++/namespace.exp: Fix quotes in output messages.
2214 2001-11-14 Michael Snyder <msnyder@redhat.com>
2216 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
2217 qualifier in a type cast expression, to designate an address
2218 in the instruction space (Harvard architecture).
2220 2001-11-13 Michael Snyder <msnyder@redhat.com>
2222 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2223 Tests for expressions using 'const' and 'volatile'.
2225 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
2227 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2229 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
2231 * lib/mi-support.exp (mi_run_to_helper): Move comments
2232 outside of gdb_expect.
2234 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
2236 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2237 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2238 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2239 mi0_run_to): New functions.
2240 * gdb.mi/mi-simplerun.exp: Use them.
2241 * gdb.mi/mi0-simplerun.exp: Likewise.
2242 * gdb.mi/mi-var-cmd.exp: Likewise.
2243 * gdb.mi/mi0-var-cmd.exp: Likewise.
2245 2001-11-10 Andrew Cagney <ac131313@redhat.com>
2247 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2248 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2250 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2252 * gdb.base/restore.exp: Include $expected value in restored test
2255 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2257 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2260 2001-11-08 Michael Snyder <msnyder@redhat.com>
2262 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2263 Add pass/fail message for stop at breakpoint in call dummy function.
2265 2001-11-07 Michael Snyder <msnyder@redhat.com>
2267 * gdb.c++/templates.exp (test_template_breakpoints):
2268 If we get an overload menu, but it does not match what
2269 we expect, we still need to issue the "cancel" command.
2270 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2271 making the whitespace optional. Argument for "new" may be
2272 "unsigned" as well as "unsigned int/long".
2273 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2274 making the whitespace optional. Also replace "(void) with
2275 "((void|)), making the keyword "void" optional.
2276 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2277 making the whitespace optional. Also replace "(void) with
2278 "((void|)), making the keyword "void" optional.
2279 * gdb.base/callfuncs.c (t_float_values): This function must
2280 _not_ be prototyped, and the following function (t_float_values2)
2281 must be prototyped (if the compiler supports it), so that GDB
2282 can be tested against both cases. Usually one case involves
2283 promotion of float to double, while the other does not.
2284 * gdb.base/callfwmall.c: Ditto.
2285 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2286 includes a stack frame for "start".
2288 2001-11-05 Jim Blandy <jimb@redhat.com>
2290 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2291 pointers are 32 bits long, and that offsets of relocs are always
2292 stored in the data (REL-style), and not in the reloc entry itself
2294 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2297 2001-11-01 Michael Snyder <msnyder@redhat.com>
2299 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2300 and regular expression operators by using quoting.
2302 2001-10-31 Michael Snyder <msnyder@redhat.com>
2304 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2305 depending on what the symbol table contains.
2306 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2307 the output of the ptype command. Similarly, accept both "const &"
2310 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
2312 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2313 symbol `STORAGE' to allow to choose the storage class of
2314 the local datastructures.
2315 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2318 2001-10-30 Michael Snyder <msnyder@redhat.com>
2320 * gdb.base/jump.exp: Allow it to run for all targets.
2322 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2324 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2325 with new double_array size.
2326 (main): Change storage class of all local variables to static.
2327 Reduce size of double_array to 9.
2328 * gdb.base/call-ar-st.exp: Increase timeout value.
2329 Change expected output for double array to match new size in
2332 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2334 * gdb.base/ending-run.exp: Create identical output when passing
2335 `step to end of run' case. Add regular expression branch satisfying
2338 2001-10-28 Mark Kettenis <kettenis@gnu.org>
2340 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2341 that we catch the expected failure under Linux/x86.
2343 2001-10-29 Orjan Friberg <orjanf@axis.com>
2345 * gdb.base/setvar.exp: Escape curly braces.
2346 * gdb.stabs/weird.exp: Ditto.
2348 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
2350 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2351 * gdm.mi/mi0-hack-cli.exp: Likewise.
2353 2001-10-25 Andrew Cagney <ac131313@redhat.com>
2355 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2358 2001-10-21 Andrew Cagney <ac131313@redhat.com>
2360 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2361 checking MI enabled.
2363 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
2365 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2367 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
2369 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2370 if gdb child process crashes, just signal an error.
2372 2001-10-02 Jim Blandy <jimb@redhat.com>
2374 * lib/gdb.exp (test_xfail_format): Simplify.
2376 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2377 front of the variable name `format'. Simplify `if'.
2379 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2381 * gdb.threads/pthreads.exp: Wait for output and delay
2384 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2386 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2387 some incorrect output instead of timing out.
2388 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2390 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
2392 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2393 check to allow additional `int'.
2395 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
2397 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2398 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2400 2001-09-27 Michael Snyder <msnyder@redhat.com>
2402 * lib/gdb.exp (test_debug_format): New proc.
2403 (setup_xfail_format): Use new proc test_debug_format.
2404 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2405 proc; use new service proc test_debug_format.
2406 Replace all other "gcc_compiled" tests with this test.
2407 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2408 proc; use new service proc test_debug_format.
2409 Replace all other "gcc_compiled" tests with this test.
2411 2001-09-27 Michael Snyder <msnyder@redhat.com>
2413 * gdb.base/cvexpr.exp: New file.
2414 * gdb.base/cvexpr.c: New file
2415 Test for expressions using const and volatile keywords.
2417 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
2419 * gdb.base/constvars.exp: Check for different orders of keywords
2420 and additional "int" strings in output.
2422 2001-09-22 Andrew Cagney <ac131313@redhat.com>
2424 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2425 responses from "help maint".
2427 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
2429 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2430 to localhost:NNN instead of :NNN, in case Xvfb is listening
2433 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
2435 * gdb.base/recurse.exp: When checking leaving the watchpoint
2436 scope, recognize when gdb is in function's epilogue and pass.
2438 2001-09-18 Keith Seitz <keiths@redhat.com>
2440 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2441 support for running tests against sid targets.
2442 (gdbtk_done): Ditto.
2444 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
2446 * gdb.base/ending-run.c (main): Set stdout buffersize
2447 to the same reasonable value for any target.
2448 * gdb.base/ending-run.exp: Add a regular expression
2449 to make testsuite happy on Sanyo Stormy16 target.
2451 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
2453 * gdb.base/display.c (do_loops): Add float variable `f'.
2454 Increment f in loop.
2455 * gdb.base/display.exp: Increment timeout by 60 seconds.
2456 Change float display test to use variable `f'.
2458 2001-09-17 Jim Blandy <jimb@redhat.com>
2460 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2461 overflowing the limited breakpoint tables on some ROM monitors
2464 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
2466 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2467 the "-ac" (disable access control) flag.
2469 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
2471 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2474 2001-08-30 Keith Seitz <keiths@redhat.com>
2476 * lib/gdb.exp: Move all insight-related functionality into
2478 * lib/insight-support.exp: New file.
2480 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
2482 * config/sid.exp (sid_start): Never set sid verbosity; disable
2483 expect_background {} that consumed its stdout; tolerate </dev/null.
2484 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2486 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2488 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2489 CLI jump command to start it.
2490 (mi_run_to_main): Fail immediatly when unexpected output.
2492 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2494 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2495 beginning of function. Fix PR gdb/191.
2497 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
2499 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2500 what to force sid endianness to.
2502 2001-08-15 Keith Seitz <keiths@redhat.com>
2504 * lib/gdb.exp (gdbtk_start): Don't set environment
2505 variables for TCL_LIBRARY and friends. Insight will
2506 now figure these out for itself.
2508 2001-08-02 Michael Snyder <msnyder@redhat.com>
2510 * gdb.base/completion.exp: Remove the symbol "a64l" from
2511 the expect string; this is target-specific, and not related
2512 to what is being tested.
2514 2001-08-02 Dave Brolley <brolley@redhat.com>
2516 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2518 2001-07-25 Michael Snyder <msnyder@redhat.com>
2520 * gdb.base/consecutive.exp: New file. Test stepping over
2521 breakpoints on consecutive instructions.
2522 * gdb.base/consecutive.c: New file.
2524 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2525 curly braces in regular expressions.
2527 2001-07-25 Michael Snyder <msnyder@redhat.com>
2529 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2530 legitimate output from stepping out of main.
2532 2001-07-22 Keith Seitz <keiths@redhat.com>
2534 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2535 the empty string, do not run the tests.
2537 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2539 * gdb.base/long_long.exp: Detect size of pointer. Take into
2540 account 2-byte pointers when testing for p/a results.
2542 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2544 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2545 and defined to 1K for m68hc11.
2546 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2547 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2548 (sizeof_random_data): New variable to tell the size of the data table;
2549 don't test past this size; always run to main.
2551 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2553 * gdb.base/return2.exp: return of long long and double fails for
2554 68HC11; don't execute these tests on that platform.
2555 * gdb.base/return.exp: Return of a double fails for 68hc11.
2557 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2559 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2560 tests that print a float.
2561 * call-rt-st.exp: Likewise.
2563 2001-07-12 Mark Kettenis <kettenis@gnu.org>
2565 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2566 running this test on Linux.
2568 2001-06-24 Michael Chastain <chastain@redhat.com>
2570 * gdb.base/arithmet.exp: Remove some tests to make all test names
2573 2001-07-03 Michael Snyder <msnyder@redhat.com>
2575 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2576 the output of the ptype command.
2578 2001-07-02 Michael Snyder <msnyder@redhat.com>
2580 * gdb.base/completion.exp: Don't assume that break.c is the only
2581 source file that may contain functions named "marker".
2582 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2584 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2586 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2589 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2590 * gdb.disasm/h8300s.exp: New file.
2591 gdb.disasm/h8300s.s: Likewise.
2593 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2595 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2596 empty breakpoint tables.
2598 2001-06-25 Andrew Cagney <ac131313@redhat.com>
2600 * lib/mi-support.exp: Update args=... part of stop-reason
2601 patterns. Accept either a list or a tuple.
2603 2001-06-23 Andrew Cagney <ac131313@redhat.com>
2605 * lib/mi-support.exp: Remove local emacs variable defining
2606 change-log-default-name.
2608 2001-06-22 Michael Chastain <chastain@redhat.com>
2610 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2611 This is operationally compatible with the previous version.
2613 2001-06-13 Jim Blandy <jimb@redhat.com>
2615 * lib/gdb.exp (gdb_test): Doc fix.
2617 2001-06-10 Michael Chastain <chastain@redhat.com>
2619 * gdb.base/exprs.exp: Remove a duplicate test.
2621 2001-06-06 Jim Blandy <jimb@redhat.com>
2623 * gdb.base/return2.exp (main): Use values to test float and double
2624 returns that are not NaN's, to avoid being confused by IEEE
2627 2001-06-04 Michael Snyder <msnyder@redhat.com>
2629 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2630 non-zero if control_c fails. Terminate the test on failure,
2631 rather than wait for 12 more tests to time out.
2633 2001-06-06 Jim Blandy <jimb@redhat.com>
2635 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2636 Don't forget to match the GDB prompt.
2638 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2640 2001-06-04 Jim Blandy <jimb@redhat.com>
2642 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2645 2001-05-31 Kevin Buettner <kevinb@redhat.com>
2647 * gdb.base/annota1.exp (info break): Match four or more spaces
2650 2001-05-31 Michael Chastain <chastain@redhat.com>
2652 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2653 (dm_type_int_star): Likewise.
2654 (dm_type_long_star): Likewise.
2655 (dm_type_void_star): Likewise.
2657 2001-05-29 Kevin Buettner <kevinb@redhat.com>
2659 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2660 to a known value in order to get consistent results regardless
2661 of the setting of INPUTRC or the presence or contents of .inputrc.
2663 2001-05-24 Michael Snyder <msnyder@redhat.com>
2665 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2666 Don't require that the main thread and the manager thread are the
2669 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2670 debugging. If test fails, issue an "unsupported" not a "fail".
2672 2001-05-24 Jim Blandy <jimb@redhat.com>
2674 Don't assume that short is shorter than int.
2675 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2676 assume that shorts are smaller than ints. On a 16-bit machine,
2678 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2679 an int, is not equal to ~0 stored in an unsigned char. This tests
2680 the same thing that the previous test meant to, but works on
2681 16-bit machines, too.
2682 ("print unsigned char != (~0)"): Same test, complemented.
2684 2001-05-24 Michael Snyder <msnyder@redhat.com>
2686 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2687 test for (full_coverage == 0). This makes the test run faster,
2688 and prevents dejagnu getting out of step.
2690 2001-05-23 Kevin Buettner <kevinb@redhat.com>
2692 * gdb.base/finish.exp (finish_void): Revise pattern for
2693 stopping on the call statement to not permit stopping at
2694 the start of the instructions comprising the call sequence.
2696 2001-05-19 Michael Chastain <chastain@redhat.com>
2698 * gdb.base/callfuncs.exp: Make all test names unique.
2699 * gdb.base/commands.exp: Make all test names unique.
2700 * gdb.base/condbreak.exp: Make all test names unique.
2701 * gdb.base/dbx.exp: Make all test names unique.
2702 * gdb.base/default.exp: Make all test names unique.
2703 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2704 and TIMEOUT messages to their corresponding PASS message.
2705 * gdb.base/ending-run.exp: Make all test names unique.
2706 * gdb.base/long_long.exp: Remove duplicate test.
2708 2001-05-21 Kevin Buettner <kevinb@redhat.com>
2710 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2711 stop on the call statement as well as the statement after the
2714 2001-05-21 Michael Snyder <msnyder@redhat.com>
2716 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2718 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2720 * gdb.base/completion.exp: Revamp test. Make it execute on all
2723 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2725 * config/gdbserver.exp (gdb_load): Handle the case
2726 in which the arguments to gdbserver are given in the
2727 baseboard configuration file.
2728 Also handle the case in which the server needs to do a
2731 2001-05-07 Keith Seitz <keiths@cygnus.com>
2733 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2734 set up the display for testing.
2735 (gdbtk_start): Convert all paths to paths that tcl will like.
2736 Export target information to environment.
2737 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2739 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2740 (to_tcl_path): New proc to convert a given pathname into
2741 a path acceptible as an argument to a tcl command.
2742 (_gdbtk_export_target_info): New proc to export target info
2743 into the environment for gdbtk testing.
2744 (gdbtk_done): New proc to signal end-of-test.
2746 2001-05-06 Jim Blandy <jimb@redhat.com>
2748 * restore.c: Make the code of caller0 correspond to its comment.
2750 2001-05-03 Michael Snyder <msnyder@redhat.com>
2752 * config/sid.exp (gdb_target_sid): Check for error messages.
2753 On error or timeout, don't make expect exit (which will terminate
2754 all subsequent tests); instead just make gdb exit.
2755 (gdb_load): Check for error messages. On error or timeout,
2756 return a negative value.
2758 2001-04-24 Jim Blandy <jimb@redhat.com>
2760 * gdb.c++/templates.exp: If we see the prompt for the overload
2761 list, but we haven't recognized any of the longer patterns,
2762 arrange for this test to fail, not hang.
2764 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2767 2001-04-22 Michael Chastain <chastain@redhat.com>
2769 * gdb.c++/local.exp: Use the 'runto' library function.
2770 * gdb.c++/namespace.exp: Likewise.
2771 * gdb.c++/overload.exp: Likewise.
2773 2001-03-26 Kevin Buettner <kevinb@redhat.com>
2775 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2776 * gdb.base/step-line.exp: New file. Test step/next in presence of
2778 * gdb.base/step-line.c: New file. Test program for the above.
2779 * gdb.base/step-line.inp: New file. We pretend that this file has
2780 been transformed by some other tool into step-line.c.
2782 2001-03-21 Jim Blandy <jimb@redhat.com>
2784 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2785 unmangled operator names.
2787 2001-03-20 Jim Blandy <jimb@redhat.com>
2789 * gdb.threads/linux-dp.exp: Recognize an additional message
2790 generated by GDB when it doesn't understand how to debug threads
2791 on the target system.
2793 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2795 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2797 2001-03-12 Michael Chastain <chastain@redhat.com>
2799 * gdb.c++/derivation.exp: Use the 'runto' library function.
2801 2001-03-12 Michael Chastain <chastain@redhat.com>
2803 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2805 2001-02-24 Michael Chastain <chastain@redhat.com>
2807 * gdb.c++/ref-types.exp: Change handwritten code to library
2810 2001-03-16 Orjan Friberg <orjanf@axis.com>
2812 * gdb.base/signals.exp: Set count to 0 explicitly.
2814 2001-03-15 Mark Salter <msalter@redhat.com>
2816 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2817 (gdb_target_monitor): Add check of gdb_target_cmd return value.
2818 (gdb_load): Add support for additional target_info: gdb_download_size
2819 and gdb_load_timeout.
2821 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2823 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2824 file -- to prevent failing when the compile fails but we have no
2825 intention of running the tests anyway.
2827 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2830 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2833 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2834 * gdb.c++/namespace.exp: Ditto.
2836 2001-03-07 Orjan Friberg <orjanf@axis.com>
2838 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2839 * gdb.base/pointers.exp: Relax pattern match of decimals.
2841 2001-03-06 Kevin Buettner <kevinb@redhat.com>
2843 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2844 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2845 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2846 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2847 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2848 config/sh.exp, config/sid.exp, config/slite.exp,
2849 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2850 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2851 config/vxworks.exp, config/vxworks29k.exp,
2852 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2853 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2854 gdb.base/arithmet.exp, gdb.base/assign.exp,
2855 gdb.base/async.exp, gdb.base/attach.exp,
2856 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2857 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2858 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2859 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2860 gdb.base/commands.exp, gdb.base/completion.exp,
2861 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2862 gdb.base/constvars.exp, gdb.base/corefile.exp,
2863 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2864 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2865 gdb.base/ending-run.exp, gdb.base/environ.exp,
2866 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2867 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2868 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2869 gdb.base/funcargs.exp, gdb.base/help.exp,
2870 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2871 gdb.base/logical.exp, gdb.base/long_long.exp,
2872 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2873 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2874 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2875 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2876 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2877 gdb.base/regs.exp, gdb.base/relational.exp,
2878 gdb.base/remote.exp, gdb.base/reread.exp,
2879 gdb.base/restore.exp, gdb.base/return2.exp,
2880 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2881 gdb.base/selftest.exp, gdb.base/setshow.exp,
2882 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2883 gdb.base/sigall.exp, gdb.base/signals.exp,
2884 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2885 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2886 gdb.base/step-test.exp, gdb.base/structs.c,
2887 gdb.base/structs.exp, gdb.base/structs2.exp,
2888 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2889 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2890 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2891 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2892 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2893 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2894 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2895 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2896 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2897 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2898 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2899 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2900 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2901 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2902 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2903 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2904 gdb.trace/circ.exp, gdb.trace/collection.exp,
2905 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2906 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2907 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2908 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2909 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2910 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2911 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2914 2001-02-27 Michael Snyder <msnyder@cygnus.com>
2916 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2917 first arg is int not float.
2919 2001-02-22 Michael Snyder <msnyder@cygnus.com>
2921 * gdb.base/reread.exp: Unsupported for non-native targets;
2922 doesn't work for remote debugging.
2924 2001-02-19 Fernando Nasser <fnasser@redhat.com>
2926 From Drew Moseley <dmoseley@redhat.com>
2927 * gdb.base/ending-run.exp: Properly handle the BSP state when
2928 stepping past the end of main.
2930 2001-02-19 John Moore <jmoore@redhat.com>
2932 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2933 Converted HPUX fix for non-expected items following multiple
2934 step commands into general solution for all platforms.
2936 2001-02-18 Michael Chastain <chastain@redhat.com>
2938 * gdb.c++/classes.exp (do_tests): Change runto statements
2939 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2940 statements demangler agnostic.
2941 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2942 (gdb_virtfunc_restart): Likewise.
2944 2001-02-14 Michael Chastain <chastain@redhat.com>
2946 * gdb.c++/inherit.exp (do_tests): Change runto statements
2947 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2948 statements demangler agnostic.
2950 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2952 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2953 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2954 before calling common_routine 15 times'' tests.
2956 2001-02-11 Michael Chastain <chastain@redhat.com>
2958 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2959 Helps the test script figure out which demangler is in use.
2960 (dm_type_foo_ref): Ditto.
2961 (dm_type_int_star): Ditto.
2962 (dm_type_long_star): Ditto.
2963 (dm_type_unsigned_int): Ditto.
2964 (dm_type_void): Ditto.
2965 (dm_type_void_star): Ditto.
2966 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
2967 Probe the gdb demangler and set variables to accommodate
2968 formatting differences.
2969 (info_func_regexp): New function. Same as info_func, but
2970 matches against a regexp.
2971 (info_func): Match against a literal string.
2972 (print_addr_2): New function. Match against a literal string,
2973 which can be different from the input to gdb.
2974 (print_addr): Simply call print_addr_2 with the same argument twice.
2975 (test_lookup_operator_functions): Use demangler formatting variables.
2976 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2977 the tests in the same order as the C++ class declaration.
2978 (test_paddr_operator_functions): Ditto.
2979 (test_paddr_overloaded_functions): Ditto.
2980 (test_paddr_hairy_functions): Use demangler formatting variables.
2981 Add reference to gdb/19 for related tests.
2982 (do_tests): Call probe_demangler.
2984 2001-01-30 Kevin Buettner <kevinb@redhat.com>
2986 * gdb.c++/templates.cc (printf): Remove unused function definition.
2988 2001-01-26 Felix Lee <flee@redhat.com>
2990 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2992 2001-01-25 matthew green <mrg@redhat.com>
2994 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2996 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2998 2001-01-25 matthew green <mrg@redhat.com>
3000 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3001 Deprecate $sid_spawn_id.
3002 (sid_exit): Remove code necessary only for `spawn.'
3004 2001-01-25 matthew green <mrg@redhat.com>
3006 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3008 2001-01-28 Michael Chastain <chastain@redhat.com>
3010 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3011 to call when tests fail. It takes gdb out of the overloaded
3012 function choice menu back to the main prompt, so that the test
3013 program stays synchronized.
3014 (set_bp_overloaded): New proc to collect all the common
3015 code for setting a breakpoint on an overloaded name. Calls
3016 take_gdb_out_of_choice_menu when needed.
3017 (menu_overload1arg): New variable to collect the repeated
3018 instances of the expected menu for an overloaded name. Change
3019 the regular expression to handle changes in g++ type encoding:
3020 "void" can be either "void" or "", and "unsigned int" can be
3021 either "unsigned int" or "unsigned".
3022 (continue_to_bp_overloaded): Change regular expressions to handle
3023 changes in g++ type encoding.
3024 (no proc): Call take_gdb_out_of_choice_menu when needed.
3025 Remove redundant calls to "info break". Accept either "canceled"
3026 or "cancelled". Change regular expressions in "info break"
3027 calls to handle changes in g++ type encoding. Give all tests
3030 2001-01-17 Ben Elliston <bje@redhat.com>
3032 * config/sid.exp: New file.
3034 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3036 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3038 2000-12-21 Michael Snyder <msnyder@cygnus.com>
3040 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3041 Add a RE to accept a non-ascii char if one is ever presented.
3043 2000-12-20 Fernando Nasser <fnasser@redhat.com>
3045 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
3047 2000-12-18 Michael Snyder <msnyder@cygnus.com>
3049 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3050 in regexp. One '\' does not suffice on Linux.
3052 2000-12-09 Michael Chastain <chastain@redhat.com>
3054 * gdb.base/break.exp (test_clear_command): Use a marker function
3055 rather than 'main' for the test function. Also move this
3056 test to an execution point where the marker function names are
3057 guaranteed to be bound to functions. (Executing tests after a
3058 'finish' from main runs into name conflicts with local names
3059 in __libc_start_main).
3061 2000-12-07 Michael Snyder <msnyder@cygnus.com>
3063 * gdb.base/finish.exp: New test for gdb's "finish" command.
3064 * gdb.base/return2.exp: New test for gdb's "return" command.
3065 * gdb.base/return2.c: New source file for above.
3067 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3069 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3070 * gdb.base/miscexprs.exp: Ditto.
3071 * gdb.base/pointers.exp: Ditto.
3072 * gdb.c++/derivation.exp: Ditto.
3073 * gdb.c++/local.exp: Ditto.
3074 * gdb.c++/namespace.exp: Ditto.
3075 * gdb.c++/overload.exp: Ditto.
3076 * gdb.c++/ref-types.exp: Ditto.
3078 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3080 * gdb.base/constvars.exp: Test result of "up" command.
3081 * gdb.base/miscexprs.exp: Ditto.
3082 * gdb.base/pointers.exp: Ditto.
3083 * gdb.base/scope.exp: Ditto.
3084 * gdb.c++/derivation.exp: Ditto.
3085 * gdb.c++/local.exp: Ditto.
3086 * gdb.c++/namespace.exp: Ditto.
3087 * gdb.c++/overload.exp: Ditto.
3088 * gdb.c++/ref-types.exp: Ditto.
3090 2000-11-22 Michael Chastain <chastain@redhat.com>
3092 * mips_pro.exp: Accept either "middle -> top -> main" or
3093 "middle -> main" in the backtrace, because gcc can optimize
3094 tail calls to jumps. Remove setup_xfail for the hppa case.
3095 Add a comment with the original warning messages from PR 3016,
3096 which was filed in 1993, to preserve them for posterity.
3098 2000-11-17 Nick Duffek <nsd@redhat.com>
3100 * lib/gdb.exp (gdb_test): Override timeout with board info.
3102 2000-11-17 Nick Duffek <nsd@redhat.com>
3104 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3105 the second kill and detach messages.
3107 2000-11-17 Nick Duffek <nsd@redhat.com>
3109 * configure.in: Add AC_EXEEXT.
3110 * configure: Regenerate.
3111 * Makefile.in (just-check): Export EXEEXT.
3112 * lib/gdb.exp ($EXEEXT): Import from environment.
3113 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3114 expect "maint dump-me" on Cygwin.
3115 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3118 2000-11-17 Nick Duffek <nsd@redhat.com>
3120 * gdb.base/break.exp: Test backtrace and finish from called
3121 function on all platforms, not just HP-UX.
3123 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3125 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3126 code from gdb_target_monitor, so it can be used independantly
3127 for gdbserver. Also comment out an unnecessary PUTS.
3129 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3131 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3132 * gdb.base/corefile.exp: Expect the message "Program is being
3133 debugged already" when we send the "corefile" command, since
3134 the preceeding gdb_load may have connected gdb to a remote target.
3135 * gdb.base/display.exp: Disable hardware watchpoints if new
3136 board info variable "no_hardware_watchpoints" is true.
3137 Replace single-letter commands with more readable ones.
3138 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3139 if new board info variable "no_hardware_watchpoints" is true.
3140 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3141 to see if stdio (printf) testing is possible.
3142 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3143 board info variable "no_hardware_watchpoints" is true. Use new
3144 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3146 2000-11-13 Fernando Nasser <fnasser@redhat.com>
3148 From Orjan Friberg <orjanf@axis.com>:
3149 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3150 in array print pattern match.
3152 2000-11-09 Fernando Nasser <fnasser@redhat.com>
3154 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3155 spelling "cancelled" to U.S. spelling "canceled" to match changes
3157 * gdb.c++/ovldbreak.exp: Ditto.
3159 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3161 * gdb.base/callfuncs.c (main): Moved to end of file, call
3162 t_double_values to initialize the FPU before inferior calls are made.
3163 * gdb.base/callfuncs.exp: Test for register preservation after calling
3164 inferior functions. Add tests for continuining, finishing and
3165 returning from a stop in a call dummy.
3167 2000-10-24 Michael Snyder <msnyder@cygnus.com>
3169 * gdb.base/commands.exp: Break up long lines, and re-indent.
3171 2000-10-19 Michael Snyder <msnyder@cygnus.com>
3173 * config/gdbserver.exp: Rewritten from the ground up, to make it
3174 compatible with the current dejagnu tree, and to make it work with
3175 the new "gdbserver" in libremote.
3177 2000-10-16 Michael Snyder <msnyder@cygnus.com>
3179 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3180 * gdb.base/varargs.exp: Skip entire test if no printf support.
3181 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3182 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3184 2000-10-13 Michael Snyder <msnyder@cygnus.com>
3186 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3187 no floating point support.
3188 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3189 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3190 * gdb.base/call-rt-st.exp: Ditto.
3191 * gdb.base/call-strs.exp: Ditto.
3193 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3195 * gdb.base/sizeof.c: include <stdio.h>.
3197 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3198 'finish', otherwise uncaptured gdb_prompt would potentially
3199 throw remaining test points out of sync.
3201 2000-07-26 Scott Bambrough <scottb@netwinder.org>
3203 * gdb.base/recurse.exp: Run tests for all targets.
3204 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3205 gnu-oldld case on ARM.
3206 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3209 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3211 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3212 * gdb.java/configure: Rebuild.
3214 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3216 * gdb.java/jv-exp.exp: New file.
3218 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3220 * configure: Rebuilt.
3221 * configure.in (configdirs): Add gdb.java.
3222 * gdb.java/jmisc.java: New file.
3223 * gdb.java/jmisc.exp: New file.
3224 * gdb.java/Makefile.in: New file.
3225 * gdb.java/configure: Rebuilt.
3226 * gdb.java/configure.in: New file.
3227 * lib/java.exp: New file.
3229 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3231 * gdb.base/exprs.exp: Test casts to a pointer including over and
3234 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3236 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3237 and the compilers sizes.
3239 2000-07-09 Nick Duffek <nsd@redhat.com>
3241 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3242 (use_methods): New function.
3243 (main): Call use_methods().
3244 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3245 (do_tests): Call test_method_param_class.
3247 2000-07-09 Nick Duffek <nsd@redhat.com>
3249 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3251 (test_enums): New procedure. Move enum tests from end of script
3252 to here. Set breakpoint on function name instead of line number.
3253 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3254 (enums2): New marker function.
3255 (enums1): New function.
3256 (main): Call enums1(). Move enum tests to enums1().
3258 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3260 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3261 compile/link program. Update line numbers.
3262 * gdb.asm/d10v.inc: Define ``startup''.
3263 * gdb.asm/asmsrc1.s: Add definition of _start.
3265 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3267 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3269 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3271 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3272 of 'help maint print' command.
3274 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3276 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3277 they use gdb_expect_list.
3279 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3281 * gdb.base/commands.exp: Use ``set remote
3282 memory-read-packet-size'' instead of ``set endian big'' to test
3285 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
3287 * gdb.c++/templates.exp (do_tests): Make all of these work under
3288 g++, and stop skipping them.
3290 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3293 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3296 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3298 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3299 the regular expression: accept an (almost) arbitrary sequence of
3300 "frames-invalid" and "breakpoints-invalid" messages both before
3301 and after the "starting" message.
3303 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3305 * gdb.c++/local.exp: This test has never been known to work with g++.
3307 2000-05-18 Michael Snyder <msnyder@cygnus.com>
3309 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3310 Relax the regular expression a little, make it pass on Solaris 8.
3312 2000-05-12 Kevin Buettner <kevinb@redhat.com>
3314 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3315 a call, do not require that gdb stop on the line after the call.
3316 Instead, it is permissible for gdb to stop on the line of the
3319 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
3321 * gdb.base/break.exp (bp on small function, optimized file):
3322 Add a second pass pattern. The behavior differs here between stabs
3323 and dwarf for one-line functions. Stabs preserves two line symbols
3324 (one before the prologue and one after) with the same line number,
3325 but dwarf regards these as duplicates and discards one of them.
3326 Therefore the address after the prologue (where the breakpoint is)
3327 has no exactly matching line symbol, and GDB reports the breakpoint
3328 as if it were in the middle of a line rather than at the beginning.
3330 2000-05-08 Michael Snyder <msnyder@cygnus.com>
3332 * gdb.base/interrupt.exp: Make "pass" message say "send"
3333 rather than "send_gdb" (for consistancy).
3335 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3337 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3338 * gdb.c++/templates.cc: Properly check for GCC version number.
3339 * lib/compiler.cc: Likewise
3341 2000-04-28 Michael Snyder <msnyder@cygnus.com>
3343 * gdb.base/break.exp: When compiled with -O2 optimization,
3344 gdb may not stop at the first line of main, due to code motion.
3346 2000-04-26 Michael Snyder <msnyder@cygnus.com>
3348 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3349 This test depends on parsing the printf output from the target.
3350 Since the sparclet stub doesn't do stdio, this will never work.
3351 * gdb.base/call-rt-st.exp: ditto.
3352 * gdb.base/call-strs: ditto.
3354 2000-04-24 Michael Snyder <msnyder@cygnus.com>
3356 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3358 * gdb.base/ending-run.exp: After connecting to a remote target,
3359 but before running, the target will appear to be in a random
3360 location. Specify both a file and a line for breakpoints.
3361 Also, the function that calls main may be called 'init'
3362 rather than 'start'.
3364 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3366 * gdb.base/help.exp: Update output for add-symbol-file command.
3368 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
3370 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3371 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3373 2000-04-07 J.T. Conklin <jtc@redback.com>
3375 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3377 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3379 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3381 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3382 values that can be represented exactly.
3383 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3384 above change, and to not check against the directory part of the source
3386 (step into print_long_arg_list): Likewise.
3387 (print print_small_structs from print_long_arg_list): Likewise.
3388 (print print_long_arg_list): Likewise.
3390 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3392 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
3394 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3396 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3398 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
3400 * gdb.base/commands.exp (deprecated_command_test): Add test for
3401 deprecate with no arguments.
3403 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3405 * gdb.base/break.exp: Add new test for setting breakpoints on
3406 optimized code so we can test breakpoints work even when function
3407 prologues may be optimized away
3409 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3411 From David Whedon <dwhedon@gordian.com>
3412 * gdb.base/commands.exp : Added command deprecator tests.
3414 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
3416 * gdb.base/help.exp: Added test for new apropos command.
3418 2000-03-21 Kevin Buettner <kevinb@redhat.com>
3420 * gdb.base/pointers.c (usevar): New function.
3421 (main): Make sure that global variables v_int_pointer2, rptr,
3422 and y are all referenced someplace in the program by calling
3423 usevar() on them. [Some linkers delete symbols which are
3424 never referenced. The space remains, but there's no way to
3425 get a (symbolic) handle on the variable from the debugger.]
3427 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3429 * gdb.base/printcmds.c: Add typedeffed arrays.
3431 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3432 procedure to test arrays that are typedef'd.
3434 2000-03-13 James Ingham <jingham@leda.cygnus.com>
3436 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
3437 the library directories.
3439 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3441 * configure.in (configdirs): Add sub directory gdb.mi.
3442 * configure: Re-generate.
3444 * gdb.mi: New directory.
3446 2000-02-25 Scott Bambrough <scottb@netwinder.org>
3448 * gdb.base/long_long.exp: Correct test suite failure when printing
3449 a long long value as a double on ARM platforms.
3451 2000-02-16 Jim Blandy <jimb@redhat.com>
3453 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3454 default source file is set properly before running this test.
3456 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3458 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3459 gdbtk/library directory, not in gdbtcl2.
3461 2000-02-04 Jim Blandy <jimb@redhat.com>
3463 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3464 backslash from regexp pattern.
3466 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3467 procedure. Use it to run all the "continue to bp overloaded"
3468 tests. Note that this changes the names of the tests slightly.
3469 If the breakpoint hit message includes a hex PC value, because
3470 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3471 from the real source code, still consider that a pass.
3473 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3474 XFAIL here if the breakpoint message contains a hex address. Note
3475 similar change on 1999-11-02.
3477 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3479 * gdb.base/ptype.exp: Establish a default source file before
3480 calling get_debug_format.
3482 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3484 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3486 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3488 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3489 of successive stepi commands -- while in the prologue we should see
3490 the function entry bracket.
3492 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3494 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3495 reach __change_mode() when stepping through the end of main().
3497 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3499 * gdb.base/default.exp: Fix expected pattern.
3500 * gdb.base/help.exp: Same.
3502 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3504 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3505 Don't use xfail's because that affects only the following test.
3507 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3510 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3512 2000-01-07 Michael Snyder <msnyder@cygnus.com>
3514 * gdb.base/display.exp: Some yacc parsers like to say
3515 "A syntax error" rather than "A parse error". Accept both.
3517 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3519 * gdb.base/default.exp: Remove OS dependent string from "target
3521 * gdb.base/help.exp: Same for "help target remote" test.
3523 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3525 From Jim Kingdon <kingdon@redhat.com>:
3527 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3528 prompt (cleanup rather than necessity, but still might keep output
3529 from spilling to next test).
3531 2000-01-02 Fred Fish <fnf@cygnus.com>
3533 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3534 AIX, which defines them in <sys/types.h>.
3536 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
3538 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3541 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
3543 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
3545 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3546 outermost frame disallowed".
3548 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3550 * gdb.base/setvar.exp: New tests for setting the value of a struct
3551 with a constant list.
3553 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3555 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3556 require the user to type a cast before setting the value of a struct.
3558 1999-12-06 Jim Blandy <jimb@cygnus.com>
3560 * gdb.base/default.exp: Expect the new 'info float' command on
3563 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3564 LinuxThreads libraries that don't support debugging.
3566 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3568 * gdb.base/remote.c: Fill the buffer with truely random data.
3569 Change the buffer type to ``unsigned char'' to simplify size
3572 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3573 stub only handles 400-1 byte packets. Verify that the download
3576 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3578 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3579 tests, using UNRESOLVED for the untested cases. Also, does not wait
3580 for a timeout if the prompt was received before a recognizable pattern.
3582 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3584 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3586 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3588 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3591 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3593 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3595 * gdb.c++/local.exp: Be more flexible in recognizing local class
3596 name mangling. Don't allow horribly truncated method names.
3597 * gdb.c++/derivation.exp: Expect protected inheritance.
3598 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3599 * gdb.c++/virtfunc.exp: Likewise.
3600 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3601 when printing a nested enum.
3603 1999-11-22 Jim Blandy <jimb@cygnus.com>
3605 * gdb.base/step-test.exp: Properly await GDB's response to setting
3606 a breakpoint on the call to large_struct_by_value.
3608 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3609 just because we have debug info for the `start' function.
3611 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3613 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3614 "Unknown signal" messages, which indicate (on LinuxThreads) that
3615 GDB doesn't know how to debug threads on this system. This is
3616 better than hanging while philosopher 0 dumps chatter into gdb.log.
3618 1999-11-18 Tom Tromey <tromey@cygnus.com>
3620 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3622 1999-11-18 Fred Fish <fnf@cygnus.com>
3624 * gdb.base/coremaker2.c: Add sample program for generating
3625 cores that is more self contained than coremaker.c. Eventually
3626 I'll add more code to this and tie it into the testsuite.
3628 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3630 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3632 1999-11-10 Jimmy Guo <guo@cup.hp.com>
3634 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3636 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3639 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3641 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
3642 'continue with watch' test point.
3644 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3646 Merged from p2linux-990323-branch:
3648 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3650 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3652 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3653 {limit,fixed}''. Test ``set download-write-size''.
3655 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3657 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3660 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3662 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3664 1999-11-03 Mark Salter <msalter@cygnus.com>
3666 * gdb.base/break.exp: Fix "stub continue" pattern.
3668 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3670 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3672 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3674 * gdb.base/display.exp ("finish"): Add timeout clause.
3676 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3677 plain prompt clause, so this doesn't have to time out in order to
3680 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3681 breakpoint hit messages include an address.
3683 * gdb.base/display.exp: Don't forget to escape parens in regular
3684 expressions. Unix regexp notatation sucks.
3686 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3688 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3689 order for 'signalled' message.
3691 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3693 From Jimmy Guo <guo@cup.hp.com>:
3694 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3695 * gdb.base/annota1.c: Add code for tests to work with.
3697 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3699 * gdb.base/remote.exp: New test for remote downloading settings.
3700 * gdb.base/remote.c: New file with large .data.
3702 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3704 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3705 for LinuxThreads support, merged from the Code Fusion branch.
3707 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3709 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3710 containing exp_continue into a while within an expect. Don't
3711 attempt a start more than three times. Check return value from
3714 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3716 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3719 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
3721 * gdb.base/break.c (main): Added a statement that we can step
3723 * gdb.base/break.exp: Added tests for setting a breakpoint
3724 at an offset and stepping onto a breakpoint.
3726 1999-10-01 Fred Fish <fnf@cygnus.com>
3728 * gdb.base/help.exp (help add-symbol-file): Update to match current
3731 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3733 * gdb.base/break.exp: Code locations are in hex, don't forget!
3736 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3738 * condbreak.exp: Use break.c as test program.
3739 * condbreak.c: Remove, redundant with break.c.
3741 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3743 * config/monitor.exp (gdb_target_monitor): Disable X- and
3744 Z-packets if the target needs it.
3746 1999-09-13 James Ingham <jingham@leda.cygnus.com>
3748 * gdb.c++/overload.exp: Added tests for listing overloaded
3749 functions with function pointers in the arg, explicitly calling
3750 out the version you want.
3752 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3754 * long_long.exp: Add variations of test cases that work for
3755 targets with 16-bit ints and 32-bit doubles.
3757 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3759 * break.c (main): Compare a possibly-uninitialized argc with an
3760 unlikely value that fits in 16 bits.
3762 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3764 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3765 0xfeeb, don't want negative numbers if ints are 16 bits.
3767 * lib/gdb.exp (skip_cplus_tests): New proc.
3768 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3769 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3770 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3771 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3772 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3773 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3774 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3775 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3777 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3779 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3781 * gdb.base/corefile.exp (up): Allow a parameter to appear
3782 in the frame that we're going up to.
3784 From Jim Blandy <jimb@cygnus.com>:
3786 * gdb.base/default.exp (info float): Expect some output now.
3788 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3789 returning floating-point values to fail on the x86.
3790 * gdb.base/callfwmall.exp (do_function_calls): Same.
3792 * gdb.base/list.exp (test_listsize): Correct expectations for
3793 listing line 1 with listsize 2. Also, listing a single line
3794 works now, as does listing three lines. [Kevin's note: There
3795 were a number of other cases fixed too where the expectations
3798 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3800 * gdb.base/selftest.exp: Add case for when version prints as
3801 constant string instead of char pointer.
3803 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3805 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3806 stepping out of main.
3808 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3811 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3812 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3814 * gdb.c++/ovldbreak.exp: Update match string in test that
3815 includes a warning of multiple breakpoints.
3817 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3819 * gdb.base/display.exp: Improve precision of step-after-finish
3822 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3825 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3826 configs when using G++, not just hppa*.
3828 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3830 * gdb.base/async.c: New file.
3831 * gdb.base/async.exp: New file.
3833 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3835 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3838 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3840 * gdb.base/display.exp: "finish" can leave us mid-line on many
3841 targets, deal with it. Add a small constant to main, instead of
3842 1000 since main+1000 may not be a valid address in the target.
3844 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3847 * gdb.base/attach.exp: Handle another hpux11 error message variant
3848 when attaching to a process that does not exist.
3850 1999-08-19 J.T. Conklin <jtc@redback.com>
3852 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3853 characters in 'continue to 1241' test.
3855 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3857 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3858 stop in print_long_arg_list, define and use a whitespace
3859 variable in print_small_structs test, add an XFAIL for Solaris.
3860 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3861 interested enough to fix.
3863 1999-08-13 Keith Seitz <keiths@cygnus.com>
3865 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3866 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3867 proc knows about targets other than the natives.
3868 (test_assign): Use "gdb_run_cmd" to "run" the target.
3869 Check that we've actually hit the breakpoint at main.
3870 When we attempt to assign a value to a local variable, check
3871 that the variable is in the current scope, i.e., don't use
3872 a test with an empty result.
3874 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3876 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3879 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3881 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3882 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3883 gdb.compat, gdb.threads-hp.
3884 gdb.hp/configure, gdb.hp/configure.in: New files.
3885 gdb.hp/Makefile.in: Recurse into new subdirs.
3886 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3887 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3889 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3891 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3893 * gdb.base/display.exp: Help expect by putting a newline in the
3894 funky printf, remove a bogus p/a test.
3896 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3898 * gdb.base/display.exp: Make sure that when we say 'run', we are
3899 connected to the target. This is necessary when running not
3902 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3904 * gdb.base/step-test.exp: Removed some extraneous messages.
3906 * gdb.base/long_long.exp: Don't run memory examination tests
3907 on little-endian targets (they will need a different set of
3910 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3912 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3913 until somebody decides to fix GDB.
3915 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3917 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3918 matches for a couple x/2 commands.
3920 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3922 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3923 by merging in ref-types2 tests.
3924 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3926 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3927 * gdb.c++/Makefile.in: Add standard actions.
3928 (EXECUTABLES): Rename from PROGS, update list.
3929 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3931 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3933 * gdb.c++/anon-union.exp: Fix tests to match.
3934 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3935 expect matches to handle output variations.
3936 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3937 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3938 output, add HP alternatives for new and delete prints.
3939 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3940 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3941 * gdb.c++/demangle.exp: Use $style when reporting failure.
3942 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3943 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3945 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3947 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3948 * gdb.c++/method.exp: Add match alternatives.
3949 * gdb.c++/misc.cc: Add bool types.
3950 * gdb.c++/misc.exp: Add tests for bool types.
3951 * gdb.c++/overload.exp: Add xfails.
3952 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3953 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3954 add some more template parameter tests (only for HP currently).
3955 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3956 * gdb.c++/virtfunc.cc: Add return type and value for main.
3957 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3960 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3962 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3964 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3966 * gdb.base/signals.exp: Don't expect getting a backtrace from
3967 within a signal handler to fail on Linux.
3969 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3971 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3972 * lib/gdb.exp: Remove some gratuitious semicolons.
3973 (delete_breakpoints): Increase timeout.
3974 (gdb_expect): Add -notransfer option.
3975 (gdb_test): Use -notransfer option.
3976 (get_compiler_info): Add f77 case.
3977 (get_compiler): New proc, split out from gdb_preprocess, add f77
3979 (gdb_preprocess): Call get_compiler.
3981 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3982 * gdb.base/attach.exp, gdb.base/display.exp,
3983 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3984 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3985 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3986 third arg to gdb_test.
3987 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3988 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3989 HP-UX xfails, add others.
3990 * gdb.base/completion.exp: Reflect name change of self-test.
3991 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3992 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3993 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3995 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3996 useless HP-UX 10.30 references.
3997 * gdb.base/maint.exp: Loosen matches.
3998 * gdb.base/pointers.c (main): Declare more_code.
3999 * gdb.base/pointers.exp: Match on output of a `next'.
4000 * gdb.base/structs.c: Add prototypes.
4001 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4002 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4004 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4006 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4009 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4011 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4012 Fix run to main failures. Watchpoint can be hardware watchpoint.
4014 * gdb.base/annota1.exp: Clean up some more, in case printf has
4015 debug info. Deal with lack of signal hanlder info in stack.
4017 From Jim Kingdon <kingdon@redhat.com>:
4018 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4020 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4022 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4023 gdb.base/foll-vfork.exp: Don't run for crosses.
4025 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4027 * gdb.base/configure.in: Check for gdbvars.exp instead of
4029 * gdb.base/configure: Re-generate.
4031 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4033 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4034 in trying to run first and name is too long.
4036 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4037 pointers2.c and pointers2.exp, respectively.
4038 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4041 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4043 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4044 callfuncs2.c and callfuncs2.exp.
4046 * gdb.base/list.exp: Remove mistaken xfails.
4047 * gdb.base/list0.h: Add optional prototypes.
4049 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4051 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4053 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4054 * ptype.exp: Move test for get_debug_format to before its first
4057 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4059 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4060 * gdb.base/annota2.cc, annota2.exp: Move from here.
4061 * gdb.c++/annota2.cc, annota2.exp: To here.
4062 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4064 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4066 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4067 a consistent format.
4069 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4071 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4072 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4073 HP compilers, also set the globals $true and $false.
4075 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4076 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4077 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4078 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4079 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4080 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4081 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4082 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4083 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4084 whatis.c} Add C++ compatible function definitions and return
4085 types, add includes for library functions.
4086 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4087 * gdb.base/step-test.c (myglob): Rename from glob.
4088 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4089 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4090 files, move here from gdb.hp.
4091 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4092 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4093 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4094 Adjust line numbers in regexps.
4096 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4097 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4100 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4101 foll-vfork.exp: New files, move here from gdb.hp.
4102 * gdb.base/page.exp: New file, test of pagination command.
4104 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4106 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4108 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4109 gdb.base/solib.exp: Fix compiler invocation process.
4111 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4112 HP-UX 11, turn off overload resolution explicitly.
4113 * gdb.base/commands.exp: Set argument list explicitly, add
4115 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4117 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4118 expressions properly.
4119 * gdb.base/corefile.exp: Loosen the match slightly.
4120 * gdb.base/default.exp: Allow "Error accessing memory" message
4122 * gdb.base/display.exp: Skip over x/0 j if PA64.
4123 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4124 * gdb.base/interrupt.exp: Ditto.
4125 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4127 * gdb.base/list.exp: Add xfails for HP-UX.
4128 * gdb.base/long_long.exp: Refine some of the numeric matches.
4129 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4130 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4131 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4132 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4133 * gdb.base/ptype.exp: Succeed on more varieties of output.
4134 * gdb.base/scope.exp: Add xfails for HP-UX.
4135 * gdb.base/sect-cmd.exp: Add more cases.
4136 * gdb.base/setvar.exp: Add xfails for HP-UX.
4137 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4138 * gdb.base/signals.exp: Match on void symbolically.
4139 * gdb.base/step-test.exp: Add case for PA64.
4140 * gdb.base/term.exp: Add exit and restart.
4141 * gdb.base/twice.exp: Clean up after self.
4142 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4143 * gdb.base/whatis.exp: Allow more ways to pass tests.
4145 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4148 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4150 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4152 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4153 print_double_array(double_array)", "continuing to breakpoint
4154 1018", "print print_double_array(array_d)" and "continuing to
4157 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4159 * Makefile.in: Add empty html and install-html targets.
4161 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4163 * config/mt-*: Remove, these haven't been used since 1996.
4165 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4167 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4168 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4169 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4171 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4173 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4174 simpler match case for the ptype of the big class.
4176 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4178 * gdb.exp: Fix test for gdb_prompt existence.
4180 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4182 * gdb.exp (gdb_test): Add fail after calls to perror.
4184 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4186 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4188 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4190 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4192 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4194 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4195 malloc() is linked in.
4197 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4199 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4202 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4204 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4206 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4208 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4210 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4211 * gdb.base/mips_pro.exp: Likewise.
4213 1999-06-02 Keith Seitz <keiths@cygnus.com>
4215 * gdb.c++/templates.cc: Change all "new" operators to throw
4217 * gdb.c++/cplusfuncs.cc: Likewise.
4219 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4221 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4223 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4224 * gdb.base/ending-run.exp: When stepping out of main, accept a
4225 step into an arbitrary assembler file.
4227 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4229 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
4230 "breakpoint-invalid" to be printed.
4231 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
4232 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4233 * gdb.base/annota2.cc: Initialize a.x to 0.
4235 1999-05-17 Keith Seitz <keiths@cygnus.com>
4237 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4238 when "skip_float_tests" set.
4239 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4240 "print print_ten_doubles", and "step into print_long_arg_list".
4241 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4242 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4243 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4244 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4245 "skip_float_tests" is set.
4246 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4247 when "skip_float_tests" set.
4249 1999-05-06 Keith Seitz <keiths@cygnus.com>
4251 * gdb.base/annota2.cc: Include stdio.h.
4253 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4255 * gdb.base/crossload.exp: Remove, this has been disabled ever
4256 since BFD stopped including all targets, and cross-GDB gets
4257 plenty of testing anyway.
4258 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4259 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4260 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4261 * gdb.base/README: Remove, was doc for this.
4262 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4265 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4267 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4270 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4271 * gdb.base/annota2.exp: New file. More annotation tests.
4272 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4273 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4275 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
4277 * config/cfdbug.exp: New file.
4279 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4281 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4282 Marcus Daniel's and Dale Hawkins's demangler crashes.
4284 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4285 test_lucid_style_demangling, test_arm_style_demangling,
4286 test_hp_style_demangling): Try Tom Tromey's core-dumping
4287 identifier under each demangling style.
4289 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4291 * gdb.c++/demangle.exp: Include the current demangling style
4293 (current_demangling_style): New global variable.
4294 (set_demangling_style, test_demangling_core, test_demangling,
4295 test_demangling_exact): New functions.
4296 (test_gnu_style_demangling, test_lucid_style_demangling,
4297 test_arm_style_demangling, test_hp_style_demangling): Use those,
4298 instead of calling gdb_test and gdb_test_exact directly.
4299 (catch_demangling_errors): New function, which reports errors
4300 signalled by the demangling test functions in an orderly way.
4301 (do_tests): Use catch_demangling_errors.
4303 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4305 * gdb.base/signals.exp (test_handle_all_print): Use () for
4306 grouping in expressions, not {}.
4308 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4311 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4313 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4316 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4318 * gdb.stabs/weird.exp: Test for CC being defined before
4319 looking at its value.
4321 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4323 * gdb.base/call-ar-st.exp: Remove stray '#'.
4324 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4325 "short int" and "long int".
4326 * gdb.c++/overload.cc: Cast the string added in the previous
4327 change, to mollify finicky HP compiler.
4328 * gdb.hp/reg-test.exp (testfile): Fix file name.
4329 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
4331 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4332 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4333 alternate form of enum ptype.
4335 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4337 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4338 * gdb.hp/*.exp: Change all to run compiler probe only after
4339 passing skip_hp_tests, so as not to waste time on guaranteed
4342 * gdb.c++/overload.cc: Pass string instead of char addr, always
4344 * gdb.c++/templates.cc: Fix syntax error.
4346 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4348 * gdb.base/commands.exp: Add test for correct position of '>'
4349 when issuing the 'commands' command after a 'while' or 'if'
4352 1999-03-18 James Ingham <jingham@cygnus.com>
4354 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4356 * gdb.c++/method.exp: It was testing an uninitialized int on the
4357 stack and assuming it was positive.
4359 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4361 * gdb.base/step-test.exp: Catch a case where finish is broken and
4362 keep it from killing the rest of the tests.
4363 Use gdb_continue_to_end.
4365 * gdb.base/sigall.exp: use gdb_continue_to_end.
4367 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4369 * gdb.base/display.exp: use runto_main, not run.
4371 * gdb.base/default.exp: Check for the current error message in the
4372 r abbreviation test.
4373 Add strongarm to the targets that know info float.
4375 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
4376 run which doesn't work with monitors.
4378 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4380 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4382 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
4383 program. Traps the case (in Cygmon) when the program never really
4384 exits. Same as Mark's continue_to_exit, but I had put it in a lot
4385 more places, so I used my name. Sorry Mark...
4387 * config/monitor.exp (gdb_target_monitor): added another
4388 target_info parameter: remotebinarydownload. This will set the
4389 remotebinarydownload flag if this is causing some boards trouble.
4391 1999-03-18 Mark Salter <msalter@cygnus.com>
4393 * lib/gdb.exp (continue_to_exit): New function.
4395 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4396 * gdb.base/ending-run.exp: Ditto.
4397 * gdb.base/step-test.exp: Ditto.
4399 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4401 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4402 (suggested by Art Haas <ahaas@neosoft.com>).
4404 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4406 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4408 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4410 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4411 descriptions of types (short unsigned int vs unsigned short, etc).
4413 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4415 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4416 a call to strlen; sometimes we do have sources.
4418 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4420 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4421 character, so GDB won't print garbage after its end.
4423 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4424 breakpoint there instead. Sometimes GCC emits memcpy to handle
4425 the large structures being passed by value, so we step into that
4426 instead of sum_array_print, which obscures what we're really testing.
4427 * gdb.base/step-test.exp: However, we do want a test that notices
4428 the bizarre steps into memcpy, so do that here. Add check for
4429 stepping into function calls that pass large structures by value.
4430 ("Is that a noun clause, or are you just happy to see me?")
4431 Remove all references to specific line numbers.
4432 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4433 New type and function.
4434 (main): Call large_struct_by_value, passing it a large struct by value.
4435 * lib/gdb.exp (gdb_get_line_number): New function.
4437 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4440 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4442 * lib/gdb.exp: Doc fixes.
4444 1999-03-05 Nick Clifton <nickc@cygnus.com>
4446 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
4448 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4450 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4451 commands. They're not germane to this test, and they don't work
4452 that way on remote targets.
4454 1999-03-01 James Ingham <jingham@cygnus.com>
4456 * Changelog entries merged over from gdb development branch.
4458 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4460 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4461 for outputting results of test run.
4463 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
4465 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
4467 1999-02-25 Felix Lee <flee@cygnus.com>
4469 * lib/gdb.exp (debug_format): initialize
4471 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4473 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4474 * gdb.base/call-rt-st.c: Ditto.
4476 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4478 * gdb.threads/pthreads.exp (horiz): New variable.
4479 (test_startup): Fix regexps that capture thread numbers.
4481 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4483 * gdb.base/smoke.exp: Disambiguate two test case names (both
4486 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4488 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4491 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4493 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4494 actual output formatting.
4495 * gdb.base/smoke.exp: GDB removes leading 0's.
4496 * gdb.base/volatile.exp: Don't check type of remuneration;
4497 that variable is no longer defined in constvars.c.
4498 * gdb.base/step-test.c (main): Exit with explicit exit code.
4499 * gdb.base/step-test.exp: Remove two nexti checks--they are
4502 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4504 * gdb.base/help.exp ("help delete display"): Fix test to match
4507 * gdb.base/long_long.c (known_types): Initialize values to zero.
4508 * gdb.base/long_long.exp: Step one more line
4509 so 'dec' is initialized in "get to known place". GDB removes
4510 leading zeros. Explicitly ask for hex formatting. Use
4511 unique test case names.
4513 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4515 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
4517 * gdb.c++/method.exp: Add missing close brace.
4519 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4521 * gdb.base/maint.exp: Use 'set height 0' to disable page
4522 prompting, not 'set height 400'.
4524 Fix a bunch of timeouts.
4525 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4526 four separate tests, so expect doesn't take forever to match a ton
4527 of text against a regexp with lots of .* forms.
4528 ("maint print psymbols", "maint print symbols"): Make some of
4529 these greps more selective, so that expect doesn't try to wade
4530 through huge piles of output and time out.
4532 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4534 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4535 tests: one which doesn't expect shlib events to be reported, and
4536 another which does, but is XFAIL for all platforms other than
4539 * gdb.base/break.exp: Teach the test suite that the `catch
4540 fork', `catch vfork', and `catch exec' commands produce error
4541 messages on platforms that don't provide these features.
4543 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4545 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4546 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4547 (shortening names from solib_threshold.exp etc), won't run on
4548 anything but HP-UX for the foreseeable future.
4549 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4552 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4554 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4555 gdb.trace/Makefile.in (clean): Remove all test executables.
4557 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4559 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4560 successfully re-sets breakpoints in shared libraries.
4561 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4563 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4565 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4566 and compiled w/o GCC.
4568 * gdb.hp/watch-cmd.exp: ditto.
4570 * gdb.hp/watch-hp.exp: ditto.
4572 * gdb.hp/xdb1.exp: ditto.
4574 * gdb.hp/xdb2.exp: ditto.
4576 * gdb.hp/dbx.exp: ditto.
4578 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4580 * constvars.c: Remove C++-isms.
4581 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4584 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4586 The following changes are part of the HP merge.
4588 * gdb.base/break.exp: new tests to verify that catchpoints for
4589 fork, vfork, and exec don't trigger inappropriately.
4591 * gdb.base/opaque.exp: compile one file at a time, then link.
4593 * gdb.base/signals.exp: be more restrictive about which hppa
4594 systems receive a setup_xfail. new tests.
4596 * gdb.base/solib_threshold.build: new file.
4597 * gdb.base/solib_threshold.exp: new file.
4598 * gdb.base/solib_threshold.link_opts: new file.
4599 * gdb.base/solib_threshold.mk: new file.
4600 * gdb.base/gen_solib_threshold.c: new file.
4602 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4603 tests. New tests for enums inside classes.
4605 * gdb.c++/compiler.cc: indicate support of template debugging.
4607 * gdb.c++/demangle.exp: run hp style demangling tests.
4609 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4612 * gdb.c++/misc.cc: changes to support new tests.
4614 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4615 to support new tests.
4617 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4618 gcc, then skip these tests.
4620 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4622 The following files are part of the HP merge; some had longer
4623 names at HP, but have been renamed to be no more than 14
4624 characters in length.
4626 * gdb.hp/ambiguous.cc: new file.
4627 * gdb.hp/ambiguous.exp: new file.
4628 * gdb.hp/attach.exp: new file.
4629 * gdb.hp/attach2.exp: new file.
4630 * gdb.hp/classes-hp.exp: new file.
4631 * gdb.hp/ctti.exp: new file.
4632 * gdb.hp/ctti-add.cc: new file.
4633 * gdb.hp/ctti-add1.cc: new file.
4634 * gdb.hp/ctti-add2.cc: new file.
4635 * gdb.hp/ctti-add3.cc: new file.
4636 * gdb.hp/dbx.exp: new file.
4637 * gdb.hp/exception.cc: new file.
4638 * gdb.hp/exception.exp: new file.
4639 * gdb.hp/foll-exec.c: new file.
4640 * gdb.hp/foll-exec.exp: new file.
4641 * gdb.hp/foll-fork.c: new file.
4642 * gdb.hp/foll-fork.exp: new file.
4643 * gdb.hp/foll-vfork.c: new file.
4644 * gdb.hp/foll-vfork.exp: new file.
4645 * gdb.hp/inherit-hp.exp: new file.
4646 * gdb.hp/more-steps.exp: new file.
4647 * gdb.hp/namespace.cc: new file.
4648 * gdb.hp/namespace.exp: new file.
4649 * gdb.hp/optimize.exp: new file.
4650 * gdb.hp/pxdb.c: new file.
4651 * gdb.hp/pxdb.exp: new file.
4652 * gdb.hp/quicksort.exp: new file.
4653 * gdb.hp/reg-test.exp: new file.
4654 * gdb.hp/reg-test.s: new file.
4655 * gdb.hp/sized-enum.c: new file.
4656 * gdb.hp/sized-enum.exp: new file.
4657 * gdb.hp/start-stop.exp: new file.
4658 * gdb.hp/templ-hp.cc: new file.
4659 * gdb.hp/templ-hp.exp: new file.
4660 * gdb.hp/thr-lib.c: new file.
4661 * gdb.hp/thr-lib.exp: new file.
4662 * gdb.hp/thr-lib.h: new file.
4663 * gdb.hp/thr-liblib.c: new file.
4664 * gdb.hp/virtfun-hp.c: new file.
4665 * gdb.hp/virtfun-hp.exp: new file.
4666 * gdb.hp/watch-cmd.exp: new file.
4667 * gdb.hp/watch-hp.exp: new file.
4668 * gdb.hp/xdb1.exp: new file.
4669 * gdb.hp/xdb2.exp: new file.
4670 * gdb.hp/xdb3.exp: new file.
4672 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4674 The following files are part of the HP merge; some had longer
4675 names at HP, but have been renamed to be no more than 14
4676 characters in length.
4678 * gdb.base/ss.h: new file.
4679 * gdb.base/call-ar-st.c: new file.
4680 * gdb.base/call-ar-st.exp: new file.
4681 * gdb.base/call-rt-st.c: new file.
4682 * gdb.base/call-rt-st-exp: new file.
4683 * gdb.base/call-strs.exp: new file.
4684 * gdb.base/ena-dis-br.exp: new file.
4685 * gdb.base/environ.exp: new file.
4686 * gdb.base/long_long.exp: new file.
4687 * gdb.base/sect-cmd.exp: new file.
4688 * gdb.base/shlib-cl2.exp: new file.
4689 * gdb.base/smoke.exp: new file.
4690 * gdb.base/so-impl-ld.c: new file.
4691 * gdb.base/so-impl-ld.exp: new file.
4692 * gdb.base/so-indr-cl.c: new file.
4693 * gdb.base/so-indr-cl.exp: new file.
4694 * gdb.base/varargs.exp: new file.
4695 * gdb.base/volatile.exp: new file.
4696 * gdb.base/whatis-exp.exp: new file.
4697 * gdb.base/display.exp: new file.
4698 * gdb.c++/derivation.exp: new file.
4699 * gdb.c++/local.exp: new file.
4700 * gdb.c++/member-ptr.exp: new file.
4701 * gdb.c++/overload.exp: new file.
4702 * gdb.c++/ovldbreak.exp: new file.
4703 * gdb.c++/ref-types.exp: new file.
4704 * gdb.c++/ref-types2.exp: new file.
4705 * gdb.c++/userdef.exp: new file.
4707 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4709 * gdb.base/default.exp: Reflect wording change in remote.c.
4711 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
4713 * gdb.base/help.exp: Update to reflect current text.
4715 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4717 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4718 they're stack variables and contain garbage.
4719 * gdb.c++/anon-union.exp: new file.
4721 The following changes were made by David Taylor
4722 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4723 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4726 * gdb.base/bitops.exp: new file.
4727 * gdb.base/default.exp: change expected messages for catch and
4728 info catch tests to reflect HP merge changes.
4729 * gdb.base/enable-disable-break.exp
4730 * gdb.base/ending-run.c: new file.
4731 * gdb.base/long_long.c: new file.
4732 * gdb.base/maint.exp: new file.
4733 * gdb.base/pointers2.exp: new file.
4734 * gdb.base/shlib-call2.exp: new file.
4735 * gdb.base/solib.exp: new file.
4736 * gdb.base/step-test.c: new file.
4737 * gdb.c++/anon-union.cc: new file.
4738 * gdb.c++/local.cc: new file.
4739 * gdb.c++/member-pointer.cc: new file.
4740 * gdb.c++/method.cc: new file.
4741 * gdb.c++/ref-types.cc: new file.
4742 * gdb.c++/ref-types2.cc: new file.
4743 * gdb.c++/userdef.cc: new file.
4745 * gdb.base/scope.exp: compile one file at a time, then link.
4746 * gdb.base/langs.exp: ditto.
4747 * gdb.base/list.exp: ditto.
4749 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4751 The following changes were made by David Taylor
4752 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4753 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4756 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4757 skip tests. When compiling pass c++ flag to gdb_compile.
4760 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4761 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4762 (skip_hp_tests): new function.
4763 (gdb_preprocess): new function.
4765 * configure.in (hpdir): decide whether to configure gdb.hp.
4766 * configure: regenerated.
4768 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4770 (EXECUTABLES): update to reflect new additions.
4771 * gdb.base/commands.exp: update message expected.
4772 * gdb.base/default.exp: add copyright notice.
4773 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4774 * gdb.base/help.exp: update messages to reflect current text.
4775 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4776 targets for recurse tests.
4777 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4780 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4781 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4783 * gdb.c++/misc.exp: ditto.
4784 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4785 run the tests. tell gdb_compile that it's a c++ compilation.
4787 * gdb.threads/pthreads.exp: fix typo in message.
4789 * gdb.base/all-bin.exp: new file.
4790 * gdb.base/arithmet.exp: new file.
4791 * gdb.base/assign.exp: new file.
4792 * gdb.base/completion.exp: new file.
4793 * gdb.base/cond-expr.exp: new file.
4794 * gdb.base/condbreak.exp: new file.
4795 * gdb.base/define.exp: new file.
4796 * gdb.base/dollar.exp: new file.
4797 * gdb.base/environment.exp: new file.
4798 * gdb.base/eval-skip.exp: new file.
4799 * gdb.base/jump.exp: new file.
4800 * gdb.base/logical.exp: new file.
4801 * gdb.base/pointers.exp: new file.
4802 * gdb.base/relational.exp: new file.
4803 * gdb.base/section_command.exp: new file.
4804 * gdb.base/whatis-expr.exp: new file.
4806 * gdb.base/all-types.c: new file.
4807 * gdb.base/call-array-struct.c: new file.
4808 * gdb.base/call-return-struct.c: new file.
4809 * gdb.base/call-strings.c: new file.
4810 * gdb.base/callfuncs2.c: new file.
4811 * gdb.base/condbreak.c: new file.
4812 * gdb.base/constvars.c: new file.
4813 * gdb.base/display.c: new file.
4814 * gdb.base/int-type.c: new file.
4815 * gdb.base/jump.c: new file.
4816 * gdb.base/miscexprs.c: new file.
4817 * gdb.base/pointers.c: new file.
4818 * gdb.base/pointers2.c: new file.
4819 * gdb.base/shmain.c: new file.
4820 * gdb.base/shr1.c: new file.
4821 * gdb.base/shr2.c: new file.
4822 * gdb.base/solib.c: new file.
4823 * gdb.base/solib1.c: new file.
4824 * gdb.base/solib2.c: new file.
4825 * gdb.base/varargs.c: new file.
4826 * gdb.c++/derivation.cc: new file.
4827 * gdb.c++/overload.cc: new file.
4828 * gdb.c++/ovldbreak.cc: new file.
4829 * gdb.hp/attach.c: new file.
4830 * gdb.hp/attach2.c: new file.
4831 * gdb.hp/average.c: new file.
4832 * gdb.hp/compiler.c: new file.
4833 * gdb.hp/compiler.cc: new file.
4834 * gdb.hp/execd-program.c: new file.
4835 * gdb.hp/follow-exec.c: new file.
4836 * gdb.hp/follow-fork.c: new file.
4837 * gdb.hp/follow-vfork-and-exec.c: new file.
4838 * gdb.hp/misc-hp.cc: new file.
4839 * gdb.hp/more-steps.c: new file.
4840 * gdb.hp/optimize.c: new file.
4841 * gdb.hp/quicksort.c: new file.
4842 * gdb.hp/run-hp.c: new file.
4843 * gdb.hp/start-stop.c: new file.
4844 * gdb.hp/sum.c: new file.
4845 * gdb.hp/templates-hp.cc: new file.
4846 * gdb.hp/thread-local-in-lib.c: new file.
4847 * gdb.hp/thread-local-in-lib.h: new file.
4848 * gdb.hp/thread-local-in-lib.lib.c: new file.
4849 * gdb.hp/vforked-program.c: new file.
4850 * gdb.hp/virtfunc-hp.cc: new file.
4851 * gdb.hp/watchpoint-hp.c: new file.
4852 * gdb.hp/xdb.c: new file.
4853 * gdb.hp/xdb0.c: new file.
4854 * gdb.hp/xdb0.h: new file.
4855 * gdb.hp/xdb1.c: new file.
4857 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4859 The following change was made by Edith Epstein
4860 <eepstein@cygnus.com> as part of a project to merge in changes
4861 originally made by HP; HP did not create ChangeLog entries.
4863 * gdb.c++/demangle.exp: changed the expected output for some
4864 ARM-style mangling -- removed second reference to datatype.
4865 For example, maint demangle __dt__11T1__pt__2_cFv
4866 T1<char>::~T1<char>(void)
4868 maint demangle __dt__11T1__pt__2_cFv
4871 (test_hp_style_demangling): new hp specific demangling test cases.
4873 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4875 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4876 * gdb.trace/backtrace.exp: Likewise.
4877 * gdb.trace/circ.exp: Likewise.
4878 * gdb.trace/collection.exp: Likewise.
4879 * gdb.trace/deltrace.exp: Likewise.
4880 * gdb.trace/infotrace.exp: Likewise.
4881 * gdb.trace/limits.exp: Likewise.
4882 * gdb.trace/packetlen.exp: Likewise.
4883 * gdb.trace/passc-dyn.exp: Likewise.
4884 * gdb.trace/passcount.exp: Likewise.
4885 * gdb.trace/report.exp: Likewise.
4886 * gdb.trace/save-trace.exp: Likewise.
4887 * gdb.trace/tfind.exp: Likewise.
4888 * gdb.trace/tracecmd.exp: Likewise.
4889 * gdb.trace/while-dyn.exp: Likewise.
4890 * gdb.trace/while-stepping.exp: Likewise.
4892 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4894 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4896 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4899 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4902 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4904 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4905 remote dos host testing right.
4907 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4909 * gdb.base/corefile.exp: remove some xfails.
4911 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4913 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4914 have different timestamps.
4916 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4918 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4919 gdb.base/default.exp: Replace "exec" with "executable".
4921 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4923 * gdb.base/default.exp: Change else if to elseif from previous
4926 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4928 * gdb.base/default.exp: Add brace missing from previous delta.
4930 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4932 * gdb.base/default.exp: Support test for info float for all
4933 varieties of arm toolchain.
4935 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
4937 * gdb.trace/*.exp: remove "remote_download" command.
4939 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
4941 * gdb.trace/*.exp: remove -gdwarf from compile.
4943 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4945 * gdb.trace/configure.in(AC_INIT): typo
4946 * gdb.trace/configure: regenerated
4948 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
4950 * config/m68k-emc.exp: New file.
4951 * lib/<emc-support.exp trace-support.exp}: New files.
4952 * configure.in: add new test directory gdb.trace.
4953 * gdb.trace/{configure configure.in Makefile.in}: New files.
4954 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4955 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4956 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4957 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4958 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4959 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4960 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
4962 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
4964 * gdb.c++/classes.exp: Change all regular expressions to match
4965 arbitrary combinations of newline/carriage-return, so that they
4966 will work equally well on Unix and Windows.
4967 * gdb.c++/inherit.exp: ditto.
4968 * gdb.c++/virtfunc.exp: ditto.
4970 1998-08-11 Dawn Perchik <dawn@cygnus.com>
4972 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4974 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4976 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4977 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4978 to use a0-a3/d0-d3 as needed.
4980 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4982 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4983 * gdb.disasm/am33.exp: Corresponding changes.
4985 1998-07-11 Felix Lee <flee@cygnus.com>
4987 * gdb.base/callfuncs.exp: add cmp10 test.
4988 * gdb.base/callfuncs.c (cmp10): new function.
4990 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4992 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
4993 into two parts to get around a synchronization problem in expect.
4995 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4997 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4999 * configure.in: Add options for gdbtk testsuite.
5001 * configure: Regenerate.
5003 * gdb.gdbtk: New directory to hold gdbtk tests.
5005 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5007 * gdb.fortran/types.exp: Escape brackets in expect patterns
5008 for test_float_literal_types_accepted tests.
5009 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5012 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5014 * am33.exp: Just compile, do not link the testcase.
5015 * am33.s: Add ".am33" pseudoop to force am33 mode.
5017 1998-06-25 Felix Lee <flee@cygnus.com>
5019 * gdb.base/setshow.exp: make sure $pc is sane.
5021 * gdb.stabs/weird.exp: split expect patterns properly.
5023 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5025 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5026 * gdb.disasm/am33.exp: Run it.
5028 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
5030 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5031 match processing (and eliminate spurious timeouts when running).
5033 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
5035 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5036 exception test, but conditionalize it on target [mach | gnu].
5038 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
5040 * gdb.base/overlays.exp: fixup compile line for linker script.
5042 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5044 * gdb.fortran/types.exp: don't guess at float size.
5046 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5048 * gdb.base/exprs.exp: delete test that depends on int size.
5050 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5052 * config/sim.exp: Removed checks for target triplets.
5053 (gdb_target_sim): Use gdb,target_sim_options.
5055 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5057 * gdb.base/reread.exp: New file.
5058 * gdb.base/reread1.c: New file.
5059 * gdb.base/reread2.c: New file.
5061 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5063 * config/sim.exp: Use 'target sim -sparclite' when running
5066 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5068 * gdb.base/structs2.exp: New file.
5069 * gdb.base/structs2.c: New file.
5071 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5073 * gdb.asm/common.inc: New file.
5074 * gdb.asm/d10v.inc: New file.
5075 * asm-source.exp: Pass -I's to gas to find .inc files.
5076 Update line numbers in expected output.
5077 * asmsrc1.s: Rewrite.
5078 * asmsrc2.s: Rewrite.
5079 * configure.in: Create arch.inc symlink.
5080 * configure: Regenerate.
5081 * Makefile.in (distclean): Delete arch.inc.
5083 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5085 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5086 (t_enum_value2): ditto
5087 (t_enum_value3): ditto
5089 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5091 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5092 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5094 Use gdb_test instead of send_gdb/gdb_expect sequences.
5096 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5098 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5101 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5103 * gdb.base/branches.c: Code with lots of loops and
5104 subroutines. Used to test gdbs ability to single step through PC
5105 changes, especially to test mips-tdep.c:mips_next_pc
5107 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5109 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5110 more rigorous EGCS C++ error checking.
5112 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5114 * gdb.base/help.exp: Clean up `help set args' and `help show args'
5116 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
5117 function when asleep.
5118 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
5119 for i*86 Linux and SVR4 signal handling problems.
5120 Remove linux xfail for `next to handler in signals_tests_1', fixed
5121 by recent infrun.c change.
5122 Limit backtrace to 10 frames to avoid timeout problems with infinite
5124 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5127 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5129 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5130 for a newline from gdb before continuing.
5131 (default_gdb_exit): Just look for y or n.
5132 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5133 it does, fail the rests of the tests in the file.
5135 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5137 * config/cygmon.exp: New file.
5139 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5141 * gdb.base/list.exp: Fix problem with "list default lines around
5142 main" test on remote targets.
5144 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5145 run test on remote targets.
5147 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5149 * gdb.asm: New directory.
5150 * configure.in: Configure it.
5151 * configure: Regenerate.
5152 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5153 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5155 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5157 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5159 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
5161 * gdb.base/overlays (several files): Merge the two overlay
5162 managers into one. Change variables (foox, barx, bazx, grbxx)
5163 back into ints but force them to load in their proper sections.
5165 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5167 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5168 on-chip insn memory and IMAP1 to upper 128k.
5169 (D10VCopy): Handle memory regions crossing 16k boundaries.
5170 (D10VCopy): Transfer data in 32 bit chunks.
5172 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5174 * gdb.base/overlays.c (main): Exit normally when result is
5177 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5178 map. Include space for printf in .text segment.
5180 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5181 updated d10v memory VMA/LMA map.
5182 (D10VCopy): Call D10VTranslate.
5184 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5186 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5188 * gdb.base/bar.c (barx, bar): Change variable to small array so
5189 that it won't be put into the .sdata - small data -
5190 section. Update reference.
5191 * gdb.base/baz.c (bazx, baz): Ditto.
5192 * gdb.base/foo.c (foox, foo): Ditto.
5193 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5195 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5198 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
5200 * gdb.base/overlays.exp: fix up and get working again.
5201 Add tests for backtraces from an overlay function.
5203 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5205 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5206 "calling function with watchpoint enabled".
5208 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5210 * gdb.base/break.exp (test_next_with_recursion): Remove
5211 gdb_suppress_tests for d10v-*-*.
5212 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5213 pending review of whether it is useful or not.
5215 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5217 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5219 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5221 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5222 * config/dve.exp: New file to support Densan boards.
5224 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5226 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5229 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5231 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5234 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5236 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5238 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5241 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5242 target_sizeof_long and target_bigendian_p.
5243 (structs_by_value, structs_by_reference): Check values according
5244 to targets word size and endianess.
5246 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5248 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5251 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5253 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5254 Update test of set args help to match source change.
5256 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5258 * gdb.base/default.exp: Expect help system output to be in
5260 * gdb.base/help.exp: Ditto.
5262 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5264 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5265 "i*86-pc-linux-gnu*".
5266 * gdb.base/interrupt.exp: Ditto.
5267 * gdb.base/corefile.exp: Ditto.
5269 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5270 define vxworks when building the testcase.
5272 * gdb.base/ptype.exp: Fix testnames to be unique.
5273 * gdb.base/radix.exp: Ditto.
5274 * gdb.base/term.exp: Ditto.
5275 * gdb.base/whatis.exp: Ditto.
5276 * gdb.c++/classes.exp: Ditto.
5278 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5280 * gdb.base/callfuncs.exp: Fix indentation.
5282 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5283 suppress_flag has been set.
5284 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5287 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5289 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5292 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5293 set_debug_traps() and breakpoint().
5294 * gdb.c++/misc.cc (main): Ditto.
5295 * gdb.c++/templates.cc (main): Ditto.
5296 * gdb.c++/virtfunc.cc (main): Ditto.
5298 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5300 * lib/gdb.exp(gdb_step_for_stub): New function.
5301 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5302 exists, reload the executable and do a "continue" instead of
5304 (runto_main): Use gdb_step_for_stub.
5306 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5307 tests to have unique names.
5308 * gdb.base/callfuncs.exp: Ditto.
5309 * gdb.base/commands.exp: Ditto.
5310 * gdb.base/default.exp: Ditto.
5311 * gdb.base/help.exp: Ditto.
5312 * gdb.base/list.exp: Ditto.
5313 * gdb.base/opaque.exp: Ditto.
5314 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5317 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5318 * gdb.c++/cplusfuncs.cc: Ditto.
5319 * gdb.c++/virtfunc.cc: Ditto.
5321 * config/monitor.exp: Keep track of the last file we saw, rather
5322 than trying to get the info from gdb.
5324 * gdb.fortran/types.exp: Move comment to previous line.
5326 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5328 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5331 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5334 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5335 string from GDB when it connects.
5337 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5339 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5341 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5342 if we can't get a debug format from GDB (we may be testing an
5343 older GDB). Use a 10 second timeout when checking for the format.
5345 * gdb.stabs/weird.exp: Fix quoting.
5347 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5349 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5351 * config/arm-ice.exp: New file.
5353 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5355 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5356 until it has been modified to work with the new testsuite.
5358 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
5359 testcase won't compile, cause all of the testcases in the file to
5362 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5363 (gdb_clear_suppressed): New procedure.
5364 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5365 it contains a positive value.
5367 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5369 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5371 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5373 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5375 * lib/gdb.exp (setup_xfail_format): New function.
5376 (get_debug_format): New function to get debug format.
5377 (debug_format): New global variable to hold last value set
5378 by get_debug_format.
5379 * gdb.base/list.exp: Call get_debug_format and expect some
5380 tests to fail for DWARF 1 and COFF formats.
5381 * gdb.c++/ptype.exp: Ditto.
5382 * gdb.c++/classes.exp: Ditto.
5383 * gdb.c++/cplusfuncs.exp: Ditto.
5384 * gdb.c++/inherit.exp: Ditto.
5385 * gdb.c++/templates.exp: Ditto.
5386 * gdb.c++/virtfunc.exp: Ditto.
5388 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5390 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5391 host doesn't have a currently-open connection.
5393 * config/sparclet.exp: Cleanups and fixes to make it generic for
5394 any gdb stub target. Handle cases where gdb doesn't respond when
5395 interrupted in a sane fashion.
5397 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5398 same thing in a totally different way.
5400 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5402 (gdb_start): We set the global gdb_prompt variable in
5403 default_gdb_init now.
5405 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5407 * gdb.base/printcmds.exp: Fix "check for floating addition"
5408 regexp to accept results within approx +/- .01 of exact value.
5409 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5411 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5413 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5415 (gdb_expect): Add optional timeout parameter, and add timeout
5416 value to various calls.
5417 (gdb_suppress_tests): Only give one warning message per group.
5419 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5421 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5422 global variables. Handle getting a value for $timeout more
5425 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5427 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5429 (default_gdb_init): New procedure; allow gdb_init to be overridden
5430 by a target configuration file.
5431 (gdb_expect): Pass the timeout to remote_expect.
5433 * config/monitor.exp(gdb_load): Fix typo in regexp.
5435 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5437 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5439 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5441 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5442 here. Call gdb_target_exec before rebooting the target, to make
5443 sure the connection to the target is closed.
5444 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5445 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5446 Also detect "Timeout reading from remote" error.
5448 * config/gdbserver.exp: Pass the executable being loaded to
5449 gdb_target_monitor. Don't call gdb_file_cmd here; let
5450 gdb_target_monitor do it.
5452 * gdb.disasm/hppa.exp: Don't use exec_output.
5454 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5456 * gdb.base/list.exp: If we're debugging a non-native target,
5457 try to set the pc register to point to the start of the
5458 program before doing the first list command.
5460 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5461 test_calls after restarting.
5463 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5466 * gdb.base/watchpoint.exp: Fix typo.
5468 * gdb.base/setshow.exp: Check for use_gdb_stub.
5470 * gdb.base/break.exp: Fix continue until exit test for the gdb
5472 * gdb.base/langs.exp: Ditto.
5474 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5475 gdb_load_offset. If we weren't given a file to load, figure out
5476 what the current file is and use it.
5478 * config/i386-bozo.exp: New file.
5480 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5482 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5485 * config/proelf.exp: New entry.
5487 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5489 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5492 * gdb.base/watchpoint.exp: Don't run the test_stepping
5493 tests if gdb can't call functions on the target.
5495 * gdb.base/setshow.exp: Don't run the set prompt tests if
5496 the board has gdb_prompt set.
5498 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5500 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5501 * gdb.base/commands.exp: Likewise.
5502 * gdb.base/setshow.exp: Likewise.
5504 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5506 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5509 * config/i960.exp: New file.
5511 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5513 * gdb.base/funcargs.exp: Check for gdb,short_int target
5514 feature instead of looking for explicit target triplets.
5516 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
5518 * gdb.base/printcmds.exp: add a couple more tests a la
5519 "p 123DEADBEEF", to check parse_number.
5520 * top.c: change "to enable to enable" to "to enable" in a couple
5523 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5525 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5528 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5530 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5531 where the test executable is run with explicit args.
5532 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5534 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5536 * gdb.base/run.c: Use FAKEARGV to build test executable that
5537 does not require a command line arg, since most simulators
5538 don't currently support passing such an arg into the simulated
5540 * gdb.base/commands.exp: Change tests to insert the proper
5541 value as the arg to the first recursive factorial call. Change
5542 compilation line to define FAKEARGV at compile time.
5544 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5546 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5547 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5548 function with watchpoint enabled" test.
5550 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5552 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5553 Don't call gdb_test when the command doesn't return to a gdb prompt.
5555 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5556 "Tests restarted" messages.
5558 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5560 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5562 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
5564 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5565 for INFO SYMBOL; add help tests for OVERLAY commands.
5566 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5567 add tests for OVERLAY commands
5568 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5569 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5570 * gdb.base/sigall.c: add usestubs code frag
5571 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
5573 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5575 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5577 (gdb_stop_suppressing_tests): Note that tests have restarted.
5579 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5581 * config/h8300.exp: New file.
5583 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5585 * gdb.base/setshow.exp: Check for the existence of a
5586 feature, not its value.
5588 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5590 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5592 * gdb.base/scope.exp: It's now init0(), not init().
5594 * gdb.base/scope0.c: For now, change init() to be init0().
5596 * config/monitor.exp: Use gdb_serial in preference to serial
5599 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5600 and it's not already set.
5602 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5604 * gdb.base/setshow.exp: Only test the run command if the target
5605 isn't using a stub and if it supports argument passing.
5607 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5609 * config/udi.exp(gdb_start): Make sure UDICONF is set
5610 properly before starting gdb.
5612 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5614 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5615 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5616 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5618 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5620 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5621 specialized code to reboot the board, use remote_reboot instead.
5623 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5625 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5627 * config/monitor.exp: Make sure we disconnect from the target.
5628 Also, try a reboot/reload cycle instead of failing if the
5631 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5633 * gdb.base/default.exp: Don't set match_max.
5634 * gdb.base/help.exp: Ditto.
5635 * gdb.base/list.exp: Ditto.
5636 * gdb.base/signals.exp: Ditto.
5638 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5639 set, use remote_ld to download the testcase instead of
5642 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5644 * config/vr5000.exp: New file.
5646 * config/monitor.exp(gdb_target_monitor): Add pattern for
5647 "Ending remote" to detect errors in connecting.
5649 * gdb.base/setshow.exp: Add .* within auto language test.
5651 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5654 * config/monitor.exp(gdb_load): Check for a failure when loading,
5655 and reboot the board if necessary.
5657 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5658 a set of tests. Remove print.* from the patterns being checked.
5660 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5662 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5663 refer to gdb_spawn_id.
5665 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5667 * config/sparclet.exp: Ditto.
5668 * config/sparclet-old.exp: Ditto.
5669 * config/slite.exp: Ditto.
5670 * config/sim.exp: Ditto.
5671 * gdb.base/funcargs.exp: Ditto.
5673 * lib/gdb.exp:Remove references to gdb_spawn_id.
5674 (gdb_expect): Move to remote.exp.
5676 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5678 * config/monitor.exp: Detect the "Couldn't establish connection"
5681 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5683 * gdb.base/bitfields.exp: Use runto instead of explicit
5684 gdb_run_cmd/gdb_expect sequences.
5686 * gdb.base/break.exp(text_next_with_recursion): Add match for
5689 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5690 We also need to handle the "A program is being debugged already"
5691 prompt from gdb. Use gdb_test to set the baud rate.
5693 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5694 to 20000. Really. I mean it.
5696 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5698 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5699 fails. If suppress_flag is set, skip perror message about not
5700 being able to send to GDB.
5701 (send_gdb): If suppress_flag is set, don't try to send commands to
5703 (gdb_expect): If suppress_flag is set, always fail immediately.
5704 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5705 (gdb_init): Call gdb_stop_suppressing_tests.
5706 (default_gdb_exit): Ditto.
5707 (default_gdb_start): Ditto.
5709 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5710 gdb_stop_suppressing_tests as appropriate.
5711 * gdb.base/break.exp: Ditto.
5712 * gdb.base/callfuncs.exp: Ditto.
5713 * gdb.base/commands.exp: Ditto.
5714 * gdb.base/exprs.exp: Ditto.
5715 * gdb.base/funcargs.exp: Ditto.
5716 * gdb.base/list.exp: Ditto.
5717 * gdb.base/recurse.exp: Ditto.
5718 * gdb.base/scope.exp: Ditto.
5719 * gdb.base/structs.exp: Ditto.
5720 * gdb.c++/inherit.exp: Ditto.
5722 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5724 * config/vr4300.exp: New file.
5726 * gdb.*/*.exp: Call gdb_expect instead of expect.
5728 * lib/gdb.exp(gdb_expect): New function.
5730 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5732 * lib/gdb.exp(gdb_init): New function.
5734 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5735 for each individual variable set.
5737 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5740 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5742 * gdb.base/scope.exp: Use gdb_test.
5744 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5745 aborting; the testsuite driver will do that for us (see
5746 gdb_finish). Also, use gdb_test in a few more places.
5748 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5750 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5752 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5754 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5755 and "add_tests" are not at the same address.
5757 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5759 * gdb.base/ptype.exp: Use gdb_test.
5761 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5763 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5764 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5765 left in. No longer expect them to fail.
5767 * gdb.stabs/*.mt; Deleted, no longer used.
5768 * gdb.stabs/configure.in: Remove references to target makefile
5770 * gdb.stabs/configure: Rebuilt.
5772 * gdb.disasm/*.mt: Deleted, no longer used.
5773 * gdb.disasm/configure.in: Remove references to target makefile
5774 frags. Use "sh3.s" as the unique filename for this directory.
5775 * gdb.disasm/configure: Rebuilt.
5777 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5778 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5779 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5781 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5783 * config/udi.exp: Use mondfe,name instead of remote_host.
5785 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5787 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5788 a function with a watchpoint enabled on the mn10200.
5790 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5791 before trying to create it!
5793 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5795 * config/vx.exp: Use hostname instead of netport.
5797 * config/vxworks.exp: New file.
5799 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5801 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5802 gdb before assuming everything worked. Send a ^C if a timeout
5805 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5806 $gdb_spawn_id directly.
5807 (gdb_run_cmd): Try _start as well as start. Use the target feature
5808 gdb,start_symbol as the symbol to start from when jumping.
5810 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5812 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5815 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5816 it doesn't lose for 16bit integer systems.
5818 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5820 * gdb.fortran/types.exp: If the target doesn't support "double"
5821 data types, then expect "real" types to only be 4 bytes.
5823 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5824 call tests if the target doesn't support inferior function calls.
5826 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5829 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5831 * gdb.base/help.exp: Disable "help set", "help show", and
5832 "help support". Simplify regexp for "help stack".
5834 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5835 to 60 seconds. Temporarily set match_max to 15000 around the
5836 "info copying" test.
5838 * gdb.base/nodebug.exp: Don't try to do an inferior function
5839 call if the target doesn't support them.
5840 * gdb.base/printcmds.exp: Likewise.
5841 * gdb.base/setvar.exp: Likewise.
5842 * gdb.base/structs.exp: Likewise.
5843 * gdb.c++/templates.exp: Likewise.
5844 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5846 * gdb.base/recurse.exp: Enable for the mn10200.
5848 * configure.in: Do configure gdb.stabs directory for *-*-elf
5850 * configure: Rebuilt.
5852 * gdb.base/break.exp: Check for gdb,noresults before testing
5853 exit status and/or results from the target.
5854 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5855 * lib/gdb.exp: Remove old (now bogus) initialization of
5856 noinferior, noargs, noresults and nosignals.
5858 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5860 * config/sh.exp: New file.
5862 * config/slite.exp: Try to connect multiple times to the board
5863 before rebooting. Only send a "monitor run" if need_monitor_run
5866 * gdb.base/break.exp: Don't do the "stub continue" test if
5867 the target has gdb_stub set.
5869 * gdb.base/callfuncs.exp: Increase the timeout.
5871 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5872 if the target has gdb,noinferiorio set.
5874 * gdb.base/list.exp: Increase match_max to 10000 characters.
5876 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5878 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5881 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5883 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5885 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5886 trying to delete the copy of gdb. Catch the file delete so we
5887 don't die if the delete fails; also, the file should be copied to
5888 the host, not to the build.
5890 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5892 * lib/gdb.exp(gdb_test): Surround the result pattern with
5893 parenthesis in case it contains multiple regexps separated
5896 * gdb.base/watchpoint.exp: Use gdb_test.
5897 * gdb.base/default.exp: Ditto.
5899 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5901 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
5903 * gdb.base/scope.exp: Use gdb_test.
5904 * gdb.c++/classes.exp: Ditto.
5905 * gdb.c++/inherit.exp: Ditto.
5907 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5909 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5910 remote_exec instead.
5911 * gdb.base/corefile.exp: Don't be ridiculous.
5912 * gdb.base/*.c: Add missing stub invocations.
5914 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5916 * config/slite.exp: Miscellaneous fixes.
5918 * lib/gdb.exp: Fix runto.
5920 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5923 * gdb.base/watchpoint.exp: Fix regexp.
5925 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5926 close and wait commands, as the descriptor may now be
5927 invalid. Always call "remote_close host".
5929 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5931 Major rewrite for testsuite revision.
5933 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5934 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5935 instead of relying on spawn_id to always contain a valid
5937 (get_compiler_info): New procedure to build the ${binfile}.ci
5938 file, instead of replicating this in N different places.
5939 (gdb_compile): New procedure.
5941 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5942 appropriate arguments) instead of compile. Use gdb_test in a lot
5943 more places. Use send_gdb instead of send. Always run gdb_start
5944 at the start of a testcase, as this is no longer done magically.
5946 config/*-gdb.exp: Rename without the -gdb suffix.
5948 config/mips.exp: Use remote_close instead of exit_remote_shell.
5949 config/monitor.exp: Use target_info instead of looking at
5951 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5953 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5955 * gdb.c++/templates.exp (test_ptype_of_templates),
5956 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5957 Update expect patterns for destructors and assignment operators
5958 to match corresponding c-typeprint.c changes.
5959 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5960 to destructor breakpoint test, GDB should be able to set the
5961 destructor breakpoint without specifying arguments.
5963 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5965 * gdb.threads/pthreads.exp: Change result for failure to compile due
5966 to lack of pthreads runtime support from an error to simply an
5967 unsupported test, per dejagnu standards.
5969 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5971 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5972 where GDB exits to reduce pattern match time.
5973 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5975 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5977 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
5979 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5980 * gdb.base/default.exp: ditto.
5981 * gdb.base/nodebug.exp: ditto.
5982 * gdb.base/printcmds.exp: ditto.
5983 * gdb.base/ptype.exp: ditto.
5984 * gdb.base/setvar.exp: ditto.
5985 * gdb.base/structs.exp: ditto.
5986 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5988 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5990 * configure, */configure: Rebuild with autoconf 2.12.
5992 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5994 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5995 use new i*86-pc-linux*-gnu quads.
5996 * gdb.base/corefile.exp: Ditto.
5997 * gdb.base/signals.exp: Ditto.
5998 * gdb.base/sigall.exp: Ditto.
5999 * gdb.base/interrupt.exp: Ditto.
6001 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6002 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6005 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6006 linux. This allows the test case to at least compile on latest
6007 linux, but still not run due to missing the threads runtime library.
6009 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6011 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6012 directory to search gdb directory. Accept and step over conditional
6013 stack alignment code. Consume $prompt in failure cases.
6014 Reset timeout to $oldtimeout instead of some arbitrary value.
6015 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6016 timeout problems with infinite stack backtraces.
6017 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6018 Accept function parameters for linkfunc member.
6020 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6022 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6023 (CXXFLAGS): Remove, unreferenced.
6024 (B_OPTIONS): Add for -B options and add code to initialize with
6025 previous -B options and also add -B option to pick up cross compiled
6027 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6028 doing cross compiles.
6029 (target_alias): Declare global.
6030 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6031 to verify that gcc exists in build tree, and if so set CC to that
6032 gcc and to use B_OPTIONS and TARGET_INCLUDES.
6034 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6036 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6037 ptype test for anonymous union. Fixup testcase to match
6038 current gcc debug output.
6040 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6042 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6043 force argument to an unsigned long type.
6045 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6047 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6048 tests and anonymous union print/ptype tests.
6049 * gdb.base/list.exp (test_forward-search): Increase timeout by
6050 5 minutes for the "search extremely long line" case.
6051 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6052 completely optional and that the pass/fail messages use the command as
6053 the message if that third arg is a null string.
6054 (gdb_test_exact): Arrange that a null string pattern means match a
6055 null string output rather than any output, which might include random
6057 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6059 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6060 always failing and failure is now exposed by gdb.exp changes.
6062 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6064 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6065 weren't being noted.
6067 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6069 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6070 * gdb.stabs/weird.exp: Remove v_comb xfails.
6072 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
6074 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6075 list.exp scope.exp watchpoint.exp]
6076 Make all timeout error msgs explicitly say "(timeout)".
6078 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
6080 * config/monitor.exp: Increase download timeout to 1000 seconds.
6082 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
6084 * config/m32r.exp: Increase timeout to 120 seconds.
6086 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6088 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6089 and accept older ordering as obsolescent gcc or gdb.
6090 * gdb.c++/templates.exp: Ditto.
6091 * gdb.c++/virtfunc.exp: Ditto.
6093 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6095 * gdb.base/coremaker.c: Add code to mmap some data so we
6096 can check that it ends up in the core file.
6097 * gdb.base/corefile.exp: Add test to read mmapped data
6100 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
6102 * config/m32r.exp: New file.
6104 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6106 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6107 that cflags can contains -gstabs, and work correctly for other tests.
6109 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
6111 * gdb.base/setshow.exp: New file, tests show and set.
6112 * gdb.base/setshow.c: New file, tests show and set.
6113 * gdb.base/help.exp: Add test for help set|show annotate.
6114 * gdb.base/default.exp: Add test for set|show annotate.
6116 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6118 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6120 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6123 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6125 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6126 and width commands. This is done elsewhere.
6127 * (gdb_start): Don't call gdb_start_sim here. That's already
6128 done in gdb_load. This fixes lots of failures in default.exp.
6130 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6132 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6133 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6134 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6135 in the same we we treat other failures (since it may be an expected
6136 condition), rather than as an error.
6137 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6140 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6142 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6143 (distclean maintainer-clean realclean): No need to remove files
6144 twice. Nuke the duplicates.
6145 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
6146 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
6147 Remove config.h along with other config files.
6149 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6151 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6152 "p func1 ()" and note that rests of tests are skipped.
6153 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6154 setup_xfails for "print func2::coremaker_local".
6155 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6156 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6157 affected by the previous run test.
6158 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6159 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6160 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6161 "pass int powerset tuple" and "pass modeless int powerset tuple".
6162 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6163 "real write 4" and "real write 8".
6164 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6165 setup_xfails for "print vs1 after tuple assign 2",
6166 "print \$i after tuple assign 2", and
6167 "print vs2 after tuple assign 2".
6168 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6169 meaningful error message and return -1 so the caller can
6170 suppress further tests and avoid a cascade of errors.
6172 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6174 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6175 format for printing version.
6176 * gdb.base/default.exp: Ditto.
6177 * gdb.base/interrupt.exp: Fix problem with cascade of
6178 errors if child process dies while calling a function.
6180 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6182 * Makefile.in (VPATH): Add
6183 * Makefile.in (Makefile, config.status): Fix rules so things get
6184 remade when necessary.
6186 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6188 * Makefile.in (just-check): Add path to sibling expect dir
6189 to environment variable specified by RPATH_ENVVAR.
6191 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6193 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6194 (just-check): Add shared library paths for libstdc++, tk,
6195 tcl, bfd, and opcodes to the environment variable specified
6197 * configure.in: Add support to recognize --enable-shared flag
6198 and generate correct value for RPATH_ENVVAR.
6199 * configure: Regenerated with autoconf.
6201 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6203 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6204 include all osf versions.
6205 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6206 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6207 when target is linux. When failing to build pthreads test
6208 executable, give more meaningful message.
6209 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6210 arg for pthread_create.
6212 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6214 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6215 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6216 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6217 and -lpthreads (everybody else).
6218 (test_startup): Fail gracefully if threads are not supported.
6219 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6220 "p/c array_index("abcdef",2)" when not gcc compiled.
6221 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6222 "print func2::coremaker_local" when not gcc compiled.
6223 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6224 "ptype on opaque struct tagname (statically)",
6225 "ptype on opaque struct tagname (dynamically) 1", and
6226 "ptype on opaque struct tagname (dynamically) 2"
6227 for not compiled with gcc.
6228 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6229 backtrace when compiled with gcc.
6230 * lib/gdb.exp (runto_main): Return result of "runto main" rather
6231 than always return success.
6233 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6235 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6237 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6239 * gdb.base/structs.exp: Undo last change.
6241 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6243 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6244 encapsulate all the steps/nexts done during self test, starting
6245 at main, and makes them less sensitive to optimization issues.
6246 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6247 signal handler" test.
6248 * gdb.threads/pthreads.exp: Only run this for native configs.
6249 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6250 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6252 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6253 for "runto test_calls(void)" test.
6255 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6257 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6258 and don't expect address info in breakpoint confirmations.
6260 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6262 * gdb.base/list.exp (test_forward_search): Increase timeout
6263 temporarily by 60 seconds for searching extremely long line,
6264 and then reset to old value when done. Increase expect input
6267 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6269 * gdb.base/list.exp (test_forward_search): Fix to handle very
6270 long source line without overflowing expect's input buffer.
6272 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6274 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6277 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6280 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6283 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6286 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6288 * configure.in (configdirs): Add gdb.threads.
6289 * configure: Regenerated with autoconf.
6290 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6291 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6292 * gdb.threads/configure: New, generated with autoconf.
6294 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6296 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6298 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6300 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6301 each signal's status in the output of "handle all print".
6302 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6303 the \r\n sequence that immediately precedes the gdb prompt.
6304 * gdb.base/a1-selftest.exp: Save original timeout and restore
6307 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6309 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6312 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6314 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6316 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6318 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6319 timeout by 60 seconds.
6321 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6323 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6324 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6327 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6329 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6330 gdb initialization, also report how long dejagnu waited. Restore
6331 old timeout before doing error return. Temporarily increase timeout
6332 by 3 minutes to allow for slow startups over heavy NFS use.
6334 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6336 * lib/gdb.exp: Report timeout value for verbosity level 2.
6337 * config/gdbserver.exp: Ditto.
6338 * config/hppro.exp: Ditto.
6339 * config/mips-gdb.exp: Ditto.
6340 * config/monitor.exp: Ditto.
6341 * config/netware.exp: Ditto.
6342 * config/sim-gdb.exp: Ditto.
6343 * config/slite-gdb.exp: Ditto.
6344 * config/udi-gdb.exp: Ditto.
6345 * config/unix-gdb.exp: Ditto.
6346 * config/vx-gdb.exp: Ditto.
6347 * gdb.base/a1-selftest.exp: Ditto.
6348 * gdb.base/a2-run.exp: Ditto.
6349 * gdb.base/break.exp: Ditto.
6350 * gdb.base/corefile.exp: Ditto.
6351 * gdb.base/list.exp: Ditto.
6352 * gdb.base/recurse.exp: Ditto.
6353 * gdb.base/scope.exp: Ditto.
6354 * gdb.base/signals.exp: Ditto.
6356 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6358 * gdb.threads/Makefile.in (docdir): Removed.
6360 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6362 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
6363 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
6365 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
6366 autoconf 2.5 or higher.
6367 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6369 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6371 * configure: Regenerated.
6372 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6373 avoid name clashes with SunOS headers.
6375 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6377 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6379 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6381 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6382 prototype information ends up in the compiler info file.
6384 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6386 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6387 attempting to regenerate it. Eliminate use of a temporary file
6388 and just generate the info file directly. Source it immediately,
6389 for consistency of use.
6390 * gdb.base/corefile.exp: Ditto
6391 * gdb.base/exprs.exp: Ditto.
6392 * gdb.base/funcargs.exp: Ditto.
6393 * gdb.base/langs.exp: Ditto.
6394 * gdb.base/list.exp: Ditto.
6395 * gdb.base/mips_pro.exp: Ditto.
6396 * gdb.base/nodebug.exp: Ditto.
6397 * gdb.base/opaque.exp: Ditto.
6398 * gdb.base/ptype.exp: Ditto.
6399 * gdb.base/scope.exp: Ditto.
6400 * gdb.base/setvar.exp: Ditto.
6401 * gdb.base/signals.exp: Ditto.
6402 * gdb.base/whatis.exp: Ditto.
6403 * gdb.c++/templates.exp: Ditto.
6404 * gdb.c++/virtfunc.exp: Ditto.
6405 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6406 whether or not to add -lstdc++ to the compile command line args.
6408 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6410 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6411 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6412 Increase timeout, a lot of single stepping might be needed if the
6413 target has no hardware watchpoints.
6415 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6417 * gdb.base/break.exp: Ignore compiler warnings when compiling
6419 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6420 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6422 * gdb.base/exprs.exp: Add h8300 xfails.
6423 * gdb.base/funcargs.exp: Likewise.
6424 * gdb.base/nodebug.exp: Likewise.
6425 * gdb.base/printcmds.exp: Likewise.
6426 * gdb.base/ptype.exp: Likewise.
6427 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6429 * gdb.base/return.exp: Handle float/double precision problems
6431 * gdb.base/funcargs.c: Explicitly make last constant argument to
6432 call_after_alloca_subr an unsigned long type.
6433 * gdb.base/return.c: Include stdio.h.
6435 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6437 * config/abug.exp: New file for the older Motorola Bug monitor
6438 that runs on the mvme13x series VME boards.
6439 * config/monitor.exp: Use the new config array for target settings
6442 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6444 * sim-gdb.exp: Make the SH simulator allocate less space when
6447 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6449 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6452 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6454 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6455 "rs6000-*-*" for "list function in include file" when gcc compiled.
6456 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6457 for "p ctable1[120]".
6458 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6459 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6460 Remove setup_xfail for "rs6000-*-*" for
6461 "print 'scope0.c'::filelocal before run".
6462 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6463 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6464 since some compilers don't allow both options to be given
6465 on the same command line. Create object file and move it.
6467 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6469 * gdb.base/corefile.exp: Always regenerate the core file, since
6470 we always regenerate the coremaker program. Detect special case
6471 where registers cannot be read from core file.
6473 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6475 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6476 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6477 * gdb.c++/templates.exp: Only match on basename of file since
6478 some formats like xcoff don't encode directory information.
6479 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6480 and rs6000 AIX xcoff targets.
6481 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6482 * configure: Regenerate.
6483 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6484 here, rather than in distclean.
6486 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6488 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6489 defined, and use it to compile the test case with -O2. The
6490 native compilation still uses no optimization.
6491 * gdb.base/mips_pro.c: Remove inline assembly code since
6492 it is compiled PIC by default, which results in assembler
6493 warnings that make the testsuite think the compilation
6496 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6498 * gdb.c++/misc.exp: Add note to message for
6499 "print s.a for foo struct" that this is a known gcc 2.7.2
6502 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6504 * gdb.base/break.exp: Fix pattern for matching "Delete all
6505 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6506 setup_xfail for deleting all breakpoints test. Fix various
6507 timeout messages to include "(timeout)".
6508 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6509 for "p t_float_values2(3.14159,float_val2)".
6510 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6511 for "continue to call2g" when gcc compiled.
6512 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6513 "up to foo in langs.exp", "show language at foo in langs.exp",
6514 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6515 and "show language at fsub in langs.exp".
6516 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6517 "list line 1 in include file", "list message for lines past EOF",
6518 "list function in include file", "list list0.h:foo", and
6519 "list filename:function; nonexistant function".
6520 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6521 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6522 and "ptype t_char_array" to be for native cc only.
6524 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6526 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
6527 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6528 "print func2::coremaker_local", and "backtrace in corefile.exp".
6530 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6532 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6533 "bt in signals.exp". This problem only appears when running
6534 the testsuite, and then only intermittently.
6536 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6538 * gdb.base/return.exp (return_tests): Differentiate between
6539 two tests of continuing.
6541 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6543 * */Makefile.in (maintainer-clean): Remove config.log.
6544 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6545 * gdb.c++/Makefile.in (PROGS): Add inherit.
6546 (clean): Remove *.ci.
6548 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6550 * gdb.c++/misc.cc: Add test code from Mike Stump.
6551 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6553 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6555 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6556 to "alpha-*-osf2*" and add comment.
6557 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6558 setup_xfail for "step over execarg initialization" and
6559 "step over corearg initialization".
6560 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6561 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6562 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6563 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6564 "print func2::coremaker_local", and "backtrace in corefile.exp".
6565 * gdb.base/signals.exp: Build and source signals.ci.
6566 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6568 * lib/gdb.exp: Move verbose statements outside conditionals.
6570 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6572 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6573 Feb 3 procfs.c change.
6575 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6577 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6579 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6581 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6582 from dejagnu's apparent default of 10 seconds, which gives random
6583 results when running the tests over NFS on moderately loaded systems.
6584 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6586 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6588 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6589 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6592 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6594 * configure.in (CY_AC_PATH_TCLH): Remove.
6595 * configure: Regenerate.
6597 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6599 * gdb.c++/Makefile.in (clean): Add missing '{'.
6601 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6603 * lib/gdb.exp: Provide a default value for noinferior.
6605 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6608 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6610 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6611 the executable, not the .o to run the tests from.
6613 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6615 * gdb.base/break.exp: Don't test for program exit or exit status
6616 if $noresults if nonzero.
6617 * gdb.base/langs.exp: Likewise.
6618 * gdb.base/watchpoint.exp: Likewise.
6620 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6621 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6622 trying to compile the testcase.
6624 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6626 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6627 * gdb.base/signals.exp (continue to handler): Likewise.
6629 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6631 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6633 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6635 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6637 * gdb.base/corefile.exp: Recognize "not found" as failure
6638 when trying to determine if a core file was generated.
6639 If no core file was generate the first time, try again without
6640 the ulimit -c to work around braindamaged shells.
6642 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6644 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6645 [] tests with "test" and enclose string in quotes.
6646 * gdb.stabs/configure: Rebuild
6648 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6650 Changes in sync with expect:
6651 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6652 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6653 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6654 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6655 argument to AC_REQUIRE.
6656 * configure: Regenerated.
6658 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6660 * gdb.base/corefile.exp: When generating a core, discard any
6661 error messages about ulimit not found and the "core dumped"
6662 message from the shell that runs the coredumper.
6664 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6666 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6668 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6669 which sed script to run. Expect failure for v_comb test
6672 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6674 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6675 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6677 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6679 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6680 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6681 "sparc-sun-solaris*" xfails for "p v_comb".
6682 * lib/gdb.exp (default_gdb_start): Fix typo.
6683 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6684 messages to not include the full program name that caused
6685 the core dump since some systems (such as solaris) apparently
6686 truncate this path to about 80 characters.
6687 When generating a core file first try increasing the core file
6688 size limit to unlimited since some systems may default it to
6689 zero, and it is harmless to try it. Move the test for failing
6690 to generate a core file to where it will actually get executed.
6691 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6692 new gdb result from g++ debug info improvements and make old
6693 pattern obsolescent. Also account for size_t differences
6694 (may be int or long).
6695 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6696 initialization before function call is placed in the delay slot
6697 and thus appears to be skipped over by commands such as "next".
6699 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6701 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6703 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6705 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6706 input source file; fix code to compile test to deal with this
6708 * gdb.c++/*.exp: Likewise.
6710 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6712 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6713 "bt in signals.exp".
6715 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6717 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6718 "step over execarg initialization" and
6719 "step over corearg initialization".
6721 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6723 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6724 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6726 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6728 From Rob Savoye (rob@poseidon.cygnus.com)
6729 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6730 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6731 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6732 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6733 configure.in}: Major reworking for autoconfig.
6734 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6735 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6737 * config/unix-gdb.exp: Make GDB global.
6738 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6739 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6740 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6741 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6742 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6743 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6744 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6745 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6746 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6747 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6748 pr-8136.exp, result.exp, string.exp, tuples.exp},
6749 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6750 to returns as necessary, arrange for test to compile own testcase
6752 * lib/gdb.exp: Changes for testsuite to compile own test cases.
6754 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6756 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6757 clear_xfail at end of test which might not call either pass or fail.
6758 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6759 "backtrace through signal handler".
6761 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6763 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6764 continuing from a job control stop signal.
6765 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6767 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6769 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6770 * gdb.base/corefile.exp: Likewise.
6771 * gdb.base/funcargs.exp: Likewise.
6773 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6775 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6776 * config/monitor.exp: Add support for setting baud rate.
6778 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6780 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6781 i*86-*-linux* xfails for "backtrace through signal handler".
6782 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6783 "print func2::coremaker_local".
6784 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6785 alpha-dec-osf2* xfail for
6786 "delete all breakpoints when none".
6788 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6790 * gdb.base/break.exp: Change test that deletes all breakpoints
6791 when no user breakpoints are installed. A post 4.15 change
6792 causes gdb to no longer prompt in this case.
6794 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6796 * gdb.base/return.exp (return_tests): Change xfail for test
6797 "correct value returned double test" to stop xfailing at
6798 Solaris 2.5. Apparently the bug has been fixed.
6800 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6802 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6803 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6805 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6807 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6808 * gdb.disasm/hppa.s: Corresponding changes.
6810 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6812 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6814 * config/mt-hpux: Deleted.
6816 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6818 * Many files: When warning about suppressed tests due to a
6819 nonexistant test binary, avoid incrementing the warning count.
6821 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6823 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
6825 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6827 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6828 "sparc-*-solaris2*".
6830 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6832 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6833 Add global and local variables and initialize them.
6834 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6835 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6836 extracts the file name and terminating signal from the core file.
6837 * TODO: Remove note about tests for correct mapping of corefile.
6838 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6839 from optimizing it away.
6840 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6841 handles common blocks.
6843 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6845 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6846 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6848 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6850 * Makefile.in (maintainer-clean): New target, synonym for
6852 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6853 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6854 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6855 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6856 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6857 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6859 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6861 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6862 xfails when not gcc compiled for "print foo::funclocal".
6863 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6864 "print foo::funclocal at foo",
6865 "print 'scope1.c'::foo::funclocal at foo",
6866 "print foo::funclocal_bss at foo",
6867 "print 'scope1.c'::foo::funclocal_bss at foo",
6868 "print foo::funclocal_ro at foo",
6869 "print 'scope1.c'::foo::funclocal_ro at foo",
6870 "print bar::funclocal at foo" and
6871 "print 'scope1.c'::bar::funclocal at foo".
6872 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6873 gcc compiled for "print foo::funclocal at bar".
6874 Expand all messages to ensure that they identify that
6875 the test is at bar().
6876 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6878 "ptype on opaque struct pointer (statically)",
6879 "ptype on opaque struct tagname (statically)",
6880 "ptype on opaque struct pointer (dynamically) 1",
6881 "ptype on opaque struct tagname (dynamically) 1",
6882 "ptype on opaque struct pointer (dynamically) 2" and
6883 "ptype on opaque struct tagname (dynamically) 2
6884 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6890 "whatis bsslocal", and
6892 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6893 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6894 when not gcc compiled.
6895 * gdb.base/funcargs.exp (float_and_integral_args): Add
6896 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6898 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6899 "backtrace from call6a" when not gcc compiled.
6900 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6901 "backtrace from call7a" when not gcc compiled.
6902 * gdb.base/callfuncs.exp (do_function_calls):
6903 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6904 "p t_char_array_values(char_array_val2,char_array_val1)",
6905 "p t_char_array_values(char_array_val1,char_array_val2)",
6906 "p t_char_array_values("carray 1","carray 2")",
6907 "p t_char_array_values("carray 1",char_array_val2)",
6908 "p t_char_array_values(char_array_val1,"carray 2")",
6909 "p sum_args(1,{2})",
6910 "p sum_args(2,{2,3})",
6911 "p sum_args(3,{2,3,4})",
6912 "p sum_args(4,{2,3,4,5})"
6913 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6914 "backtrace in corefile.exp" when not gcc compiled.
6916 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6918 * gdb.base/signals.exp: Rewrite `handle all print' test as
6919 a procedure. Accept blanks or TABs as whitespace, increase
6920 timeout and expect input buffer size for the large output
6921 from the command. Remove "i*86-*-bsdi2.0" xfail.
6923 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6925 * gdb.base/setvar.exp: Add new testcases for truncation when
6926 assigning invalid values to bitfields.
6928 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6930 * gdb.base/callfuncs.exp (do_function_calls): Remove
6931 mips-sgi-irix* xfail for
6932 "call inferior func with struct - returns char *"
6933 and fix test so that an optional (unsigned char *) cast is
6934 accepted in the result.
6936 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6938 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6939 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6940 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6941 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6942 that accidentally got checked in.
6944 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6946 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
6947 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6949 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6950 Add mips-sgi-irix5* xfail for not gcc compiled.
6951 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6952 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6953 "p top", "whatis top", "p middle", and "whatis middle".
6954 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6955 "whatis signed char" for not gcc compiled.
6956 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6957 "set variable signed char=-1 (-1)" and
6958 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6959 * gdb.base/funcargs.exp (float_and_integral_args):
6960 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6961 Add mips-sgi-irix* xfail when not gcc compiled for
6962 "continue to call2b".
6963 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6964 "continue to call2g".
6965 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6966 "backtrace from call6a"
6967 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6968 "backtrace from call7k".
6969 Add mips-sgi-irix5* xfail when not gcc compiled for
6970 "backtrace from call7a".
6971 (localvars_after_alloca): Fix gdb_test cmds for
6972 "print * after runto ...".
6973 Remove rs6000-*-* xfails for
6974 "print i after runto localvars_after_alloca" and
6975 "print l after runto localvars_after_alloca"
6977 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6978 when not compiled with gcc, for:
6979 "print signed char == (minus)",
6980 "print signed char != (minus)",
6981 "print signed char < (minus)",
6982 "print signed char > (minus)".
6983 * gdb.base/callfuncs.exp (do_function_calls):
6984 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6985 "call inferior func with struct - returns char *".
6986 * gdb.base/return.exp (return_tests): Change xfail for
6987 "correct value returned double test" to include Solaris 2.4.
6988 * gdb.base/funcargs.exp (float_and_integral_args):
6989 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6991 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6993 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6994 enumeration bitfields if compiling with GNU C.
6995 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6998 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7000 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7001 test for PRO targets.
7003 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7004 breakpoints in the inferior at any given time by making
7005 two groups of breakpoints for call2*, call6* and call7*
7008 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7010 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7011 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7012 from optimizing it away.
7013 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7014 "call inferior func with struct".
7016 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7018 * configure.in: Only configure gdb.chill for particular targets.
7020 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7022 * gdb.base/Makefile.in: Add action to .c.o transformation
7023 rule that generates a .ci file for each .o file and remove
7024 explicit .c.o rules except for callfuncs.o.
7025 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7026 generates a .ci file for each .o file and remove explicit
7028 (clean): Remove *.tmp *.ci files.
7029 (EXECUTABLES): Remove templ-info.exp.
7030 * gdb.base/compiler.c: New file.
7031 * gdb.c++/compiler.cc: New file
7032 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7033 Change rs6000-*-* xfail for
7034 "print 'scope0.c'::filelocal_ro" and
7035 "print 'scope1.c'::filelocal" and
7036 "print 'scope1.c'::filelocal_bss" and
7037 "print 'scope1.c'::filelocal_ro" and
7038 "print 'scope1.c'::foo::funclocal" and
7039 "print 'scope1.c'::foo::funclocal_ro" and
7040 "print 'scope1.c'::bar::funclocal" and
7041 "print 'scope0.c'::filelocal_ro" and
7042 "print 'scope1.c'::filelocal at foo" and
7043 "print 'scope1.c'::filelocal_bss at foo" and
7044 "print 'scope1.c'::filelocal_ro at foo" and
7045 "print 'scope1.c'::foo::funclocal at foo" and
7046 "print 'scope1.c'::foo::funclocal_bss at foo" and
7047 "print 'scope1.c'::foo::funclocal_ro at foo" and
7048 "print 'scope1.c'::bar::funclocal at foo" and
7049 "print 'scope0.c'::filelocal_ro" and
7050 "print 'scope1.c'::filelocal" and
7051 "print 'scope1.c'::filelocal_bss" and
7052 "print 'scope1.c'::filelocal_ro" and
7053 "print 'scope1.c'::foo::funclocal" and
7054 "print 'scope1.c'::foo::funclocal_bss" and
7055 "print 'scope1.c'::foo::funclocal_ro" and
7056 "print 'scope1.c'::bar::funclocal" and
7057 "print 'scope1.c'::bar::funclocal_bss"
7058 to only be xfail'd when not compiled with gcc.
7059 Add rs6000-*-* xfail for
7060 "print 'scope0.c'::filelocal_bss before run"
7061 when compiled with gcc.
7062 (test_at_main): Add rs6000-*-* xfail for
7063 "print filelocal_ro in test_at_main"
7064 when compiled with gcc.
7065 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
7066 Add rs6000-*-aix* xfail for
7067 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7068 "ptype t_char_array", not compiled with gcc.
7069 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7070 xfail for "list foo (in include file)" when gcc compiled.
7071 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7072 (integral_args): Add rs6000-*-* xfail for
7073 "run to call0a" if not compiled with gcc.
7074 (unsigned_integral_args): Add rs6000-*-* xfail for
7075 "run to call1a" if not compiled with gcc.
7076 (float_and_integral_args): Add rs6000-*-* xfail for
7077 "run to call2a" if not compiled with gcc and for
7078 "continue to call2b" for any compiler.
7079 Add rs6000-*-* xfail to
7080 "print f1 after run to call2a" for gcc compiled.
7081 (discard_and_shuffle): Add rs6000-*-* xfail for
7083 (shuffle_round_robin): Add rs6000-*-* xfail for
7084 "backtrace from call7a" if not compiled with gcc.
7085 Add rs6000-*-* xfail for
7086 "backtrace from call7b" if compiled with gcc.
7087 (call_after_alloca): Add rs6000-*-* xfail for
7088 "print c in call_after_alloca" and
7089 "print s in call_after_alloca" and
7090 "backtrace from call_after_alloca_subr"
7091 if not compiled with gcc.
7092 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7093 "print c in localvars_in_indirect_call" and
7094 "print c in localvars_in_indirect_call" and
7095 "backtrace in indirectly called function" and
7096 "stepping into indirectly called function"
7097 if not compiled with gcc.
7098 (localvars_after_alloca): Add rs6000-*-* xfail for
7099 "print c after runto localvars_after_alloca" and
7100 "print s after runto localvars_after_alloca" and
7101 "print i after runto localvars_after_alloca" and
7102 "print l after runto localvars_after_alloca"
7104 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7105 than whatis-info.exp.
7106 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7107 than opaque-info.exp.
7108 Setup rs6000-*-* xfail for
7109 "ptype on opaque struct pointer (statically)" and
7110 "ptype on opaque struct pointer (dynamically)" when
7111 not compiled with gcc.
7112 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7113 rather than callf-info.exp.
7114 (do_function_calls): Add clear_xfail for rs6000-*-* for
7115 "p t_float_values2(3.14159,float_val2)". Seems to work
7116 fine there, both with xlc and gcc. Need to find out what
7117 it is doing right and fix other platforms.
7118 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7119 "call inferior func with struct - returns int",
7120 "call inferior func with struct - returns long",
7121 "call inferior func with struct - returns float",
7122 "call inferior func with struct - returns double",
7123 "call inferior func with struct - returns char *",
7124 but only if not gcc compiled (presumes xlc compiled).
7125 Change rs6000-*-* xfails for
7126 "call inferior func with struct - returns char" and
7127 " call inferior func with struct - returns short" to only
7128 xfail if not using gcc.
7129 (clean mostlyclean): Remove *.ci and *.tmp files.
7130 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7131 than templ-info.exp.
7132 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7133 Add rs6000-*-* xfail for "up to foo in langs.exp"
7134 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7135 when not gcc compiled.
7137 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7139 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7140 * gdb.base/corefile.exp: Likewise.
7141 * gdb.base/list.exp: Likewise.
7142 * gdb.base/scope.exp: Likewise.
7143 * gdb.base/siganls.exp: Likewise.
7145 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7147 * gdb.base/whatis.exp: Likewise.
7149 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7151 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7152 failure (opcode table has been fixed to match reality).
7154 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7156 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7157 "call inferior func with struct - returns char",
7158 "call inferior func with struct - returns short"
7160 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7161 "print 'scope0.c'::filelocal at main",
7162 "print 'scope0.c'::filelocal_bss in test_at_main",
7163 "print 'scope0.c'::filelocal at foo",
7164 "print 'scope0.c'::filelocal_bss in test_at_foo",
7165 "print 'scope0.c'::filelocal at bar",
7166 "print 'scope0.c'::filelocal_bss in test_at_bar"
7168 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7169 in source file 1". This bug seems to have been fixed with both
7170 gcc and native cc (was native assembler bug?).
7172 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7174 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7175 "backtrace through signal handler" to "i*86-*-sysv4*".
7176 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7177 continue" case. Add "known SVR4 bug" to fail message.
7178 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7179 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7180 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7181 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7182 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7183 "up to foo in langs.exp", "show language at foo in
7184 langs.exp", "up to cppsub_ in langs.exp", "show
7185 language at cppsub_ in langs.exp", "up to fsub in
7186 langs.exp", and "show language at fsub in langs.exp".
7187 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7188 "bactrace in corefile.exp".
7189 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7190 "call inferior function with struct - returns float" and
7191 "call inferior function with struct - returns double".
7193 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7195 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7196 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7197 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7198 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7200 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7202 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7203 (or overriden) "CHILL" macro rather then bare "gcc".
7204 Also look for ../../gcc/xgcc since that is what we will
7205 actually need, not "Makefile". Remove following assignment
7206 of CHILL to CHILL_FOR_TARGET because that results in
7207 recursive definition.
7209 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7211 * gdb.base/corefile.exp: Change xfail for backtrace in
7212 corefile.exp from linuxaout to all linux.
7213 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7214 cases where we miss the breakpoint at the signal handler
7215 for some reason. Setup xfail for linuxoldld/linuxaout and
7216 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7217 hitting SIGURG breakpoint.
7218 * gdb.base/signals.exp: Setup xfail for "next" acting like
7219 continue to add linuxoldld. Setup xfail for all linux for
7220 "next to handler in signals_tests_1", "backtrace in
7221 signals_tests_1", "continue to func1", "pass SIGUSR1",
7222 and continue to handler".
7224 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7226 * Update all FSF addresses except those in COPYING* files.
7228 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7230 * gdb.base/a2-run.exp: Change messages to be more explicit about
7231 the status of args, and quote binfile in results.
7233 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7235 * gdb.base/callfuncs.exp: Add tests for passing structs to
7236 inferior functions and return various types.
7237 * gdb.base/callfuncs.c: Add functions to receive a struct
7238 and return a member of the struct, in various types.
7240 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7242 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7244 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7246 * config/vxworks29k.exp: New file, sources vxworks.exp.
7248 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7250 * config/gdbremote.exp: New file. Testing framework using
7253 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7255 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7256 "call function when asleep" and "send end of file".
7257 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7258 for "backtrace in corefile.exp".
7259 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7260 for "backtrace through signal handler".
7261 * gdb.base/corefile.exp: Make sure we actually generate a core file
7262 before trying the core tests. Some systems allow the user to suppress
7263 generation of core files and default to that (linux for example).
7264 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7265 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7267 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7269 * gdb.threads: New directory with some crude multi-threaded
7270 gdb tests (step.exp and step2.exp).
7271 * config/mt-lynx (STEP_EXECUTABLE): Define.
7272 (THREADFLAGS): Define.
7274 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7276 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7278 * gdb.base/signals.exp: Disable whole file for lynx until
7281 * gdb.base/signals.exp: xfail test where "next" acts like
7282 "continue" for lynx.
7284 * gdb.base/interrupt.exp: xfail test for calling function while
7285 inferior is asleep for lynx.
7287 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7288 than one cr-lf after each command.
7290 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7292 * configure.in: Reinstate setting of stabsdirs variable, fix
7293 typo in setting up configdirs for native builds.
7295 * gdb.base/return.exp: Fix typo in return double test.
7296 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7297 compiler from optimizing them away.
7299 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7301 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7302 sequences to be echo'd by gdb when using gdb_test.
7303 * gdb.chill/chexp.exp: Likewise.
7304 * gdb.fortran/exprs.exp: Likewise
7306 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7308 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7309 after the inferior gdb has started.
7311 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7313 * gdb.base/funcargs.exp: Likewise.
7314 * gdb.base/gdbvars.exp: Likewise.
7315 * gdb.base/interrupt.exp: Likewise.
7316 * gdb.base/list.exp: Likewise.
7317 * gdb.base/watchpoint.exp: Likewise.
7318 * gdb.c++/demangle.exp: Likewise.
7319 * gdb.c++/inherit.exp: Likewise.
7320 * gdb.chill/chexp.exp: Likewise.
7321 * gdb.fortran/exprs.exp: Likewise.
7323 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7324 test if we can't handle IO to/from the inferior.
7326 * gdb.c++/misc.exp: Always check for a program already being
7327 started after sending a "run" command to gdb.
7329 * gdb.base/twice.exp: Start with a fresh gdb.
7331 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7332 only depend on gdb's expression code, not the chill runtime.
7334 * gdb.base/return.c: Put return values into variables so we
7335 can have gdb print them rather than depending on the program
7337 * gdb.base/return.exp: Corresponding changes.
7339 * lib/gdb.exp: Provide default value for noinferiorio.
7340 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7343 * gdb.base/break.exp: Always check for a program already being
7344 started after sending a "run" command to gdb.
7345 (text_next_with_recursion): Don't check the output from the
7346 program's printf statement. Instead just make sure the program
7349 * gdb.base/commands.exp: Protect tests which need arguments with
7350 $noargs conditionals.
7352 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7354 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7355 of structure member arrays to match gdb/valops.c:value_addr change.
7357 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7359 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7362 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7364 * configure.in (configdirs): Remove gdb.chill from default list
7365 of subdirs and then add it back in only if doing a native build.
7366 The current chill compiler does not yet work in any cross build.
7367 * Revert all signal changes from Jul 6.
7368 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7369 for sh-hms targets, allowing these tests to link, with no other
7370 changes. Testing is suppressed by setting "nosignals" in site.exp.
7372 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7374 * configure.in (signaldirs): Define and add to configdirs for all
7375 targets except some specific ones that are known to not support signals.
7376 Also clean up formatting.
7377 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7378 (signals, sigall): Remove rules to build.
7379 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7380 Moved to new gdb.signals directory.
7381 * gdb.signals: New test directory.
7382 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7383 signals.c signals.exp}: New or moved files.
7385 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7387 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7389 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7391 * gdb.base/return.exp: Xfail `return double' test failure
7392 on at least Solaris 2.3 and handle future/past versions on
7393 a case by case basis as appropriate. Also update message
7394 to include i*86 failures.
7396 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7398 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7400 * lib/gdb.exp: Fix comment which erroneously identified
7401 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7402 gdb_file_cmd not gdb_load).
7403 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7405 * gdb.base/setvar.exp: Make test names consistent between pass and
7406 fail cases. Use gdb_test more.
7408 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7410 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7412 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7414 * gdb.base/help.exp: Fix expected help string for `show commands'.
7416 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7418 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7420 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7423 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7425 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7426 that loop eventually terminates. Fix Connection refused logic so
7427 that testsuite will expire nicely.
7429 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7431 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7432 config/rom68k.exp: New tcl glue for the appropriate monitors.
7433 These all just end up calling monitor.exp.
7434 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7435 refused' by retrying. Cleanup some timeout issues.
7436 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7437 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7438 callers don't have to set/restore global timeout variable.
7440 * The following set of changes centralizes management of the global
7441 timeout variable. This way, it can be set in one target dependent
7442 place instead of dozens of places scattered throughout the test suite.
7443 If you need to lengthen a timeout, then you should either set timeout
7444 in one of the config/{target}.exp files, or multiply it by a factor.
7445 Setting it to an absolute value is always going to lose for some
7447 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7448 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7449 * gdb.base/funcargs.exp: Don't set timeout.
7450 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7451 * gdb.base/printcmds.exp (test_print_string_constants
7452 test_print_array_constants): Don't set timeout.
7453 * gdb.base/ptype.exp: Don't set timeout.
7454 * gdb.base/recurse.exp: Don't set timeout.
7455 * gdb.base/return.exp: Don't set timeout.
7456 * gdb.base/watchpoint.exp: Don't set timeout.
7457 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7458 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7460 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7462 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7464 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7466 * lib/gdb.exp: Disable chill tests for irix5.
7468 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7470 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7471 each test pass or fail.
7473 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7475 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7478 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7480 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7482 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7484 * config/est.exp: Fix copyright and comments. Remove dead code.
7485 Use targetname, serialport and baud variables instead of fixed
7487 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7488 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7490 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7492 * gdb.base/watchpoint.exp: Don't run
7493 test_watchpoint_triggered_in_syscall for sunos.
7495 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7497 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7498 they don't seem to exist. Do include stdio.h.
7500 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7502 * gdb.base/a1-selftest.exp: Add alpha xfail.
7504 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7506 * gdb.base/watchpoint.c (main): Prompt before calling read().
7507 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7508 Revise accordingly. Remove cruft about sending "123" several
7509 times, until it gets noticed. Clean up the "print buf[0]" stuff
7510 so that it passes or fails, and waits for prompts in the usual way.
7512 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7514 * gdb.base/recurse.exp: Fix comment.
7516 * TODO: Remove item about printing variables in nodebug.exp. Add
7517 item about enabling tests which are only run on some targets.
7519 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7520 fail, make test names unique, use new gdb_test convention
7521 regarding pattern, use gdb_test more, etc.).
7523 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7524 fail, make test names unique, etc.).
7526 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7528 * gdb.base/nodebug.c: Change return type of top and middle to
7530 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7531 are fixed by the recent mdebugread.c changes. Allow `short ()'
7532 as type for top and middle.
7534 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7536 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7537 nearly as I can tell, the whole thing was an accident in Stu's
7538 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7539 to replace a send/expect pair with gdb_test, but ended up only
7540 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7541 of 30 Mar 1995 took care of it, but left this vestigial comment
7542 which I am now nuking.
7544 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7546 * gdb.base/break.exp: Look for different line number for
7547 breakpoint at main depending on usestubs.
7549 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7551 * gdb.base/list.exp: Adjust some alternate expect patterns to
7552 match recent list0.c change. Add alternate expect pattern for
7553 output from `list default lines around main' for optimizing
7556 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7558 * lib/gdb.exp: If nosignals is not set, set it to 0.
7560 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7562 * config/slite-gdb.exp: Responds to load symbol table prompt.
7563 * gdb.base/break.exp: Adjust line number, fix rerun.
7564 * gdb.base/langs0.c: Add #ifdef usestubs.
7566 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7568 * gdb.base/list.exp: Adjust line contents after adding new lines in
7569 list0.c. Also fix a syntax error.
7571 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7572 * gdb.base/break.exp: ditto.
7573 * gdb.base/list.exp: ditto.
7574 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7575 * gdb.base/run.c: ditto.
7576 * gdb.base/list0.c: ditto.
7577 * gdb.base/funcargs.c: ditto.
7579 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7581 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7582 $targetname, $serialport and $baud instead of hardwired variables.
7583 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7584 target doesn't support signals.
7586 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7588 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7590 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7592 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7593 Don't rely on the value of an auto variable before it has been
7594 initialized. Use gdb_test more.
7596 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7598 * lib/gdb.exp (default_gdb_version): A version number must start
7599 with a digit, but other than that contains all characters up to
7600 the first whitespace character.
7602 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7604 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7606 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7608 * gdb.c++/*.exp: Warn if executable does not exist. The original
7609 reason for skipping the warning was that configure.in sometimes
7610 intentionally skipped building the executables but the tcl code
7611 had no way of knowing. That (a) was always bogus with respect to
7612 error handling, (b) is no longer true (right now there is no way
7615 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7617 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7619 * gdb.base/list.exp: Add expect patterns for output from
7620 SunPRO compiled executables.
7621 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7624 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7626 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7627 number (we are already testing that the correct source line text
7630 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7631 that is what is intended, but something needed to be done to get
7632 sunos4 native working again.
7634 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7636 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7637 apparently went with a (very) old xfail.
7639 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7641 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7642 runto_main is a proc in gdb.exp that will do 'step' for target use
7644 * gdb.base/exprs.exp: ditto.
7645 * gdb.base/interrupt.exp: ditto.
7646 * gdb.base/opaque.exp: ditto.
7647 * gdb.base/printcmds.exp: ditto.
7648 * gdb.base/ptype.exp: ditto.
7649 * gdb.base/scope.exp: ditto.
7650 * gdb.base/setvar.exp: ditto.
7651 * gdb.base/signals.exp: ditto.
7652 * gdb.base/twice.exp: ditto.
7653 * gdb.c++/classes.exp: ditto.
7654 * gdb.c++/inherit.exp: ditto.
7655 * gdb.c++/templates.exp: ditto.
7656 * gdb.base/break.exp: no run and hit main for stubs. Change line
7657 numbers for breakpoints and info breakpoint.
7658 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7660 * gdb.base/callfuncs.c: ditto.
7661 * gdb.base/exprs: ditto.
7662 * gdb.base/interrupt.c: ditto.
7663 * gdb.base/opaque0.c: ditto.
7664 * gdb.base/printcmds.c: ditto.
7665 * gdb.base/ptype.c: ditto.
7666 * gdb.base/scope0.c: ditto.
7667 * gdb.base/setvar.c: ditto.
7668 * gdb.base/signals.c: ditto.
7669 * gdb.base/twice.c: ditto.
7670 * gdb.c++/misc.cc: ditto.
7671 * gdb.c++/templates.cc: ditto.
7673 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7675 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7677 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7678 somewhere between `read' and `main.c'. I'm pretty sure the
7679 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7680 and it isn't particularly useful.
7682 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7684 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7686 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7688 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7690 * config/mt-slite: add LIBS and -nostdlib.
7691 * config/slite-gdb.exp: add this new file to support sparclite target.
7693 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7695 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7697 * gdb.base/a2-run.exp: Change argument to istarget from
7698 "*-*-vxworks" to "*-*-vxworks*".
7699 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7701 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7703 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7704 will not runto main but do a 'step' to step out of breakpoint().
7705 * config/mt-slite: add -Dusestubs.
7707 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7709 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7712 * gdb.base/signals.exp: Add test for "handle all print".
7713 * TODO: Remove "handle all print". Also remove item about
7714 checking copyright date (I don't like the idea of a spurious FAIL
7715 based on when we run the tests).
7717 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7718 for SunOS4 (reason for failure not investigated). Remove
7719 redundant test for $binfile.
7721 * gdb.base/nodebug.c (array_index): Call malloc.
7723 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7725 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7727 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7728 conventions and slightly simplify the matching regexp.
7730 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7732 * gdb.base/break.exp: Update gdb_test invocation to use new
7735 * lib/gdb.exp: If noargs is not set, set it to 0.
7737 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7740 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7742 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7744 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7745 one argument of type "<non-float parameter>".
7747 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7749 * config/rom68k.exp: New file to support Motorola IDP board.
7750 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7751 * gdb.base/break.c: Change things around so that this program
7752 doesn't depend upon args. This is necessary to make remote
7753 targets work (in general, they can't take args).
7754 * gdb.base/break.exp: Don't try to send args to program. Don't
7755 expect output. Also, replace lots of code with gdb_test.
7757 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7759 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7760 printing of '\'' (which is what the comment says we are testing,
7761 even though we were not), not '''.
7762 (test_integer_literals_rejected): Test that printing ''' is an error.
7764 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7765 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7766 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7767 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7768 Use gdb_test not test_print_accept.
7769 * lib/gdb.exp: Remove test_print_accept.
7771 * gdb.base/signals.exp (signal_tests_1): Make pass message
7772 consistent with fail message.
7774 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7775 unsigned char; the bug (PR 1821) is fixed.
7777 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7779 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7780 successful tests--makes xfailing them work right.
7782 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7784 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7785 only \r\n, not .*. The test can pass .* as the last thing in
7786 $pattern if that is what it wants. In addition to providing this
7787 flexibility, this change should speed up pattern matching in cases
7788 where the pattern already ended with .* (there were a number of
7789 them). This change also helps catch bad patterns--in the old
7790 scheme the typo "char \*" instead of "char \\*" would pass. Now
7792 * Many .exp files: Update callers.
7794 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7795 clearer and does not spuriously match multiple ('s. Likewise for
7798 * gdb.base/nodebug.exp: Test ability to call a function and pass
7799 it a string (even with no debugging info).
7801 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7802 "p '\'", which is the same as "p ''" once tcl gets done with
7803 quoting, to "p '\\'", which I suspect is what is intended (one
7804 backslash gets sent to GDB).
7806 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7808 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7810 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7811 1817) was fixed literally years ago.
7813 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7815 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7816 test, it causes stepping out of call_after_alloca_subr with
7817 optimizing compilers.
7818 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7821 * gdb.c++/templates.exp: Source templ-info.exp only if
7822 the templates executable exists.
7824 * gdb.c++/misc.cc (class Contains_static_instance,
7825 class Contains_nested_static_instance),
7826 gdb.c++/classes.exp (test_static_members): Test printing of
7827 a class that contains a static instance of the class.
7829 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7831 * gdb.base/langs2.c (cppsub_): Don't prototype.
7832 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7835 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7837 * lib/gdb.exp (skip_chill_tests): New procedure.
7839 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7841 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7843 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7844 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7846 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7848 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7850 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7851 disassemble 8, not 16, instructions for part 4.
7853 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7854 support the latter anymore.
7856 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7858 * gdb.base/callfuncs.c: Control use of prototypes based on
7859 NO_PROTOTYPES, not __STDC__.
7860 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7861 t_float_values2 tests if prototypes in use.
7863 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7864 t_double_values): When checking differences against DELTA, check
7865 that difference is within the range (-DELTA,DELTA), not just
7868 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7870 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7871 'file' command firts, then 'target', then 'load', this is due to gdb
7873 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7875 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7877 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7878 FP load/store variants.
7879 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7881 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7883 * gdb.base/term.exp: Do not give a warning if not native, it is
7884 not an abnormal condition.
7886 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7888 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7891 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7893 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7894 are getting the version number.
7896 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7897 if not native, it is not an abnormal condition.
7899 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7901 * lib/gdb.exp: Just use "file exists", rather than undocumented
7902 dejagnu procedure "findfile".
7904 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7906 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7907 (LDFLAGS): Set to -Xlinker -Ur.
7909 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7910 Removed, these values are set by lib/gdb.exp.
7912 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7914 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7916 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7917 of replicating gdb startup code.
7919 * config/mt-vxworks (LDFLAGS): Set to -r.
7920 (CFLAGS_FOR_TARGET): Removed.
7922 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7923 (gdb) and gdb for vxworks uses (vxgdb).
7925 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7926 executable is not in the tree and host != target, use sed and
7927 program_transform_name to determine the gdb name used by the
7930 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7931 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7933 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7935 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7936 floats, chars, and shorts where there are ANSI-style function
7939 * gdb.base/langs.exp, gdb.base/langs*: New test.
7940 * gdb.base/Makefile.in: Build it.
7941 * TODO: Remove item about checking that C names don't get C++
7942 demangling applied; this test tests it.
7944 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7946 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7947 went with the const70 xfail. The xfail went away a year ago.
7949 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7951 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7954 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7956 * gdb.base/a1-selftest.exp: Don't run on hp300.
7958 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7960 * Makefile.in (site.exp): Set host_alias and target_alias as well
7961 as host_triplet and target_triplet.
7963 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7965 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7967 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7968 places as other ecoff systems).
7970 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7973 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7975 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7977 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7978 variable and "variable" in addition to "data variable".
7979 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7981 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7983 * gdb.base/list1.c (long_line): Add additional statement at start
7985 * gdb.base/list.exp (test_forward_search): Update line number to
7986 reflect new statement.
7988 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7990 * gdb.base/signals.exp: Reinitialize searched source directories
7991 after gdb_start call.
7993 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7995 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7996 * gdb.stabs/Makefile.in: Likewise.
7998 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7999 change. Instead split the tests into smaller pieces.
8000 * gdb.disasm/hppa.s: Corresponding changes.
8002 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8004 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8005 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8007 * gdb.base/funcargs.exp: Modify many tests so that every test
8008 either passes or fails. Make some test names unique.
8010 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8012 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8013 Call stty to set interrupt character.
8015 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8016 for HP assembler versus GNU assembler based on actual behavior of
8017 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8019 * TODO: Suggest a few more stepping tests.
8021 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8023 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8024 restart GDB for h8300 after a continue.
8025 (return): Add pattern to match a29k-udi behavior.
8026 * gdb.base/nodebug.exp: Remove obsolete comment.
8027 * gdb.base/regs.exp: New file, testing of register displays.
8028 * gdb.base/return.exp: Fix typo in reference to $objdir.
8029 * gdb.base/whatis.exp: Always start with a fresh GDB.
8031 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8033 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8034 higher, these tests generate a lot of output.
8036 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8038 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8039 code following the catch silently ignored some errors; without the
8040 catch they should be thrown like any other tcl error. Also, the
8041 catch used "" instead of {} which meant all the callers who wanted
8042 to include one of the characters "[]$ had to quote it an extra time.
8043 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8044 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8045 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8046 Remove extra quoting.
8048 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8050 * gdb.base/commands.exp: Make test names unique; every test either
8051 passes or fails. Update some comments.
8053 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8055 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8057 The following fixes a FAIL caused by the fact that the alpha stabs
8058 configuration didn't use the ".if alpha" code in weird.def.
8059 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8060 bit pointer, so the 32 bit version works even on the alpha.
8061 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8062 Remove the stuff which allowed us to have separate versions for
8063 alpha and everything else.
8065 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8066 regexp which "info func operator\[\](" is supposed to match. Fix
8067 string to send to GDB. Note that GDB still doesn't work right. Add a
8068 new test for "info func .perator\[\](" which GDB does handle correctly.
8070 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8072 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8074 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8075 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8076 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8077 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8078 it makes the tests harder to understand and confuses test-o-matic.
8079 The preferred style is that each test provides a PASS or a FAIL,
8080 and has a unique message (e.g. "continue #54" not just "continue")
8081 which is the same for the pass and the fail.
8082 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8083 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8085 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8086 prt_accept which was basically the same thing. Likewise for
8087 test_print_reject and prt_reject.
8088 * lib/gdb.exp (test_print_reject): Add some more error message
8089 patterns to match from the former printcmds.exp (prt_reject).
8090 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8091 One defect of the passcount stuff is that some of it failed to
8092 report XPASS where appropriate.
8093 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8094 stuff before and after arg in expected pattern.
8095 (test_paddr_operator_functions): Re-do test without print_addr_of;
8096 this is the only test which seems to want extra stuff there.
8098 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8100 * gdb.base/nodebug.exp: Update new tests to reflect improved
8101 wording of gdb output.
8103 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8104 and "ptype" work on variables in files compiled without -g.
8105 Replaces commented out "maint print msymbol" tests.
8107 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8109 * gdb.base/setvar.c (dummy): Call malloc.
8111 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8112 losing with the irix4 sed.
8114 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8117 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8119 * TODO: Remove items about corefile.exp testing new exec-file and
8120 backtrace; both are now done. Add items about printing enums.
8122 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8124 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8125 "get signal $thissig" test fails.
8127 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8129 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8131 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8132 compiler warning with dec alpha compiler.
8134 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8135 extra \n from gdb_test call (this explains why the prompt test
8136 that I removed yesterday was there).
8137 (user_defined_command_test): Remove extra \n and prompt test.
8139 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8140 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8142 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8143 Also remove alpha workaround, which turns out to be because
8146 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8148 * gdb.base/help.exp: Don't test "help show".
8150 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8152 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8153 "set print address" is on.
8154 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8155 pass prompt to gdb_test; gdb_test already looks for the prompt.
8157 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8159 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8160 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8161 was to make sure that gdb can read a core file. But (a) the "read
8162 the corefile" part didn't make it to a1-selftest.exp, we just
8163 delete the corefile after creating it, and (b) we test reading
8164 corefiles in corefile.exp anyway. Also, this test left around a
8165 xgdb process on Solaris.
8167 * gdb.base/corefile.exp: Also test backtrace.
8169 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8171 * gdb.base/commands.exp: Test a simple user defined command with
8172 arguments and if/while statements; verify the full user command is
8173 printed by "show user".
8175 * gdb.base/commands.exp: Test if/while commands as part of a
8176 breakpoint command list; verify they appear in breakpoint
8179 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8181 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8182 than by dividing by zero.
8184 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8186 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8187 performing an inferior call with watchpoints enabled.
8188 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8191 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8193 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8196 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8197 Add additional pattern for when "int operator int(void);" appears
8198 in a different order.
8200 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8202 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8204 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8205 and "signal" with ".*".
8207 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8209 * TODO: Add note about "handle all nostop".
8211 * gdb.base/{sigall.c, sigall.exp}: New test.
8212 * gdb.base/Makefile.in: Add it.
8214 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8216 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8217 when invoking GDB, suppresses any windowing interface.
8219 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8221 * config/sim-gdb: New file, simulator testing support.
8223 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8225 * gdb.base/interrupt.exp: Test calling func1 twice.
8227 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8229 * gdb.base/list.exp (test_forward_search): Set timeout higher
8230 when we'll be getting lots of output from gdb.
8232 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8233 "init_malloc" to after the expect statement. Run it if that
8234 regexp is taken, but also for two others which happen if source
8237 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8239 * gdb.base/printcmds.exp: New test, for printing register before
8242 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8244 * gdb.base/list.exp: Correct some alternate expect patterns
8245 to reflect changes in list1.c.
8247 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8249 * TODO: Add item regarding large frames.
8251 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8253 * TODO: Remove item about enabling return.exp; it
8254 is enabled. Suggest a few more "return" tests.
8256 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8258 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8261 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8263 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8264 and pr-5646.o, so "make" is the same as "make all", not "make
8267 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8269 * gdb.base/list.exp: Adjust expectations to reflect changes in
8271 (test_forward_search): New test proc.
8272 * gdb.base/list1.c (long_line): New function, has long source line.
8274 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8276 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8277 additional line of code that was added.
8279 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8281 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8282 tests so as not to overflow expect's input buffers.
8283 * gdb.disasm/hppa.exp: Corresponding changes.
8285 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8287 Beginnings of template debugging tests.
8288 * gdb.c++/templ-info.cc: New file to test for template
8289 debugging capability of the compiler.
8290 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8292 * gdb.c++/templates.cc: Add explicit template instantiations
8293 to enable compiling with -fno-implicit-templates. Add destructor
8294 and 'value' method to T5 class for template tests.
8295 * gdb.c++/templates.exp: Add testcases for printing of template
8296 types, setting breakpoints on template methods and calling a
8299 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8301 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8302 branch target since some assemblers (gas-2.5) may emit a
8303 relocation for the branch instead of resolving it in the
8306 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8308 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8309 through signal handler.
8311 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8313 * configure.in (*-*-netware): Use config/mt-netware.
8315 * config/mt-netware: New file.
8316 * config/mt-i386-netware: Removed, separate configs for different
8317 netware architectures are no longer needed now that we have
8320 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8322 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8323 by the recent changes to use ANSI C arithmetic conversions.
8325 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8327 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8328 bug involving using inferior_pid to figure out whether to select a
8331 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8333 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8334 match the current disassembler output.
8336 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8338 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8339 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8340 types, expect "int" as type of integer values (for now).
8342 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8344 * gdb.base/commands.exp: New tests for if/while commands.
8346 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8348 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8349 by .*, since hex values have different syntax in Chill mode.
8351 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8353 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8354 linefeed from expect pattern for repeated types with indices > 9.
8356 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8358 First part of Fortran test suite.
8359 * gdb.fortran: New directory.
8360 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8362 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8364 * gdb.base/default.exp: Update expect pattern for load command
8367 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8369 * configure.in: Change i386 to i[345]86.
8370 * gdb.base/configure.in: Likewise.
8371 * gdb.c++/configure.in: Likewise.
8372 * gdb.chill/configure.in: Likewise.
8374 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8376 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8377 patterns, since that is not a valid context for comments.
8379 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8381 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8382 repeated types and repeated types with indices > 9.
8384 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8386 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8387 2417; old bug has been fixed.
8389 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8391 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8392 send the newline ourselves instead of assuming gdb_test will do
8393 so when passed an empty input string.
8395 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8398 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8400 * lib/gdb.exp (gdb_test): Don't send anything if the first
8401 argument is an empty string. This makes cases where we want to
8402 match output that is already in expect's buffers (for example,
8403 matching a breakpoint after gdb_run_cmd has been called) work
8406 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8408 * config/netware.exp: New file.
8410 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8412 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8413 the -B and -L prefixes so we can find the debugging stub.
8415 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8416 there and we are using the gcc from the tree.
8418 * gdb.base/types.c: Removed.
8420 * gdb.base/configure.in: Look for makefile fragments in ../config.
8421 Recognize i386-*-netware.
8422 * gdb.c++/configure.in: Likewise.
8424 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8426 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8427 the correct TCL syntax.
8429 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8431 * gdb.base/opaque.exp: use runto instead of messing around with
8432 breakpoints. Simplify by using gdb_test.
8434 * gdb.base/bitfields.exp: restart between tests on netware targets
8435 because breakpoints aren't relocated after target death. Run
8436 processes to completion.
8438 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8440 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8442 * Makefile.in: Remove extra tabs that confuse some versions
8443 of "make". Use the newly built gdb to test with by default,
8444 rather than the first one in the tester's search path.
8446 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8448 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8450 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8453 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8455 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8457 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8459 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8460 * gdb.base/funcargs.exp: Likewise.
8462 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8463 * gdb.base/funcargs.exp: Likewise.
8465 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8468 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8470 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8471 return,signals,twice}.exp: Handle non-existant binaries
8474 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8475 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8476 might testing a cross development system.
8478 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8480 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8481 runtest script is relative to ${srcdir}, not ${rootdir}.
8483 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8485 * gdb.base/signals.exp: Allow for optionality of breakpoint
8488 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8490 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8492 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8494 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8495 for size_t definition.
8496 * gdb.c++/templates.cc: Likewise
8498 * config/mt-i386-netware: New file.
8500 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8503 * gdb.base/Makefile.in: Added support for systems that name core
8504 files by appending "core" to the program name.
8505 * gdb.base/a1-selftest.exp: Likewise.
8507 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8509 * gdb.base/return.exp: Add comment and message for `return double'
8510 test failure on Sparc Solaris.
8512 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8514 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8516 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8518 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8519 from optimizing them away.
8520 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8521 patterns to include default constructors and assignment operators,
8522 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8523 character in the output of the virtual base pointer.
8525 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8527 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8528 expression match in print_addr_of to avoid unintented matches.
8529 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8530 versions up to 2.5.8.
8532 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8534 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8535 included file to run under newer versions of expect.
8536 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8537 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8538 Remove xfail for the virtual table of BDDHookV.
8540 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8542 * lib/gdb.exp (string_to_regexp): Set a default result.
8543 (default_gdb_start): Fix misleading message.
8545 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8547 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8548 Remove all CC, etc definitions.
8549 * config/mt-hpux: New file.
8550 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8551 (CFLAGS, LDFLAGS): Define.
8552 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8554 * Makefile.in (site.exp): Don't insert host_os, etc.
8555 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8556 (distclean): Check existence of subdir.
8557 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8558 * gdb.base/Makefile.in: General cleanup and simplification.
8559 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8560 to build executables. Use default rule to build .o files.
8561 (EXPECT, RUNTEST, CC): Fix relative pathname.
8562 (site.exp): Don't insert host_os, etc.
8563 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8564 and/or SIGUSR1 defined.
8565 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8566 * gdb.c++/Makefile.in: General cleanup and simplification.
8567 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8569 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8571 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8573 * gdb.base/recurse.exp: Misc changes to get tests running again
8574 after Kung's changes to the watchpoint code.
8575 * gdb.base/watchpoint.exp: Likewise.
8577 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8579 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8581 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8583 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8584 * lib/gdb.exp (default_gdb_start): Define.
8585 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8586 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8587 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8588 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8589 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8590 Don't call gdb_target_udi in between tests.
8592 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8594 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8595 (which was basically just a local version of the same thing). In
8596 addition to avoiding duplication, gdb_test_exact is faster.
8597 * lib/gdb.exp (gdb_test_exact): Fix typo.
8599 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8600 don't give an error.
8602 * gdb.base/term.exp: Call delete_breakpoints before starting.
8604 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8607 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8609 Reorganization of the GDB Test Suite.
8611 * gdb.base: New directory, contains all the basic tests.
8612 * gdb.c++: New directory, tests specific to C++.
8613 * gdb.chill: New directory, tests specific to Chill.
8614 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8615 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8616 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8617 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8618 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8620 * */gdbme.*: Rename to match appropriate expect scripts.
8621 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8622 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8623 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8624 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8625 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8626 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8627 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8628 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8629 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8630 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8631 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8632 gdb.c++/virtfunc.cc: New names of C++ files.
8633 * gdb.chill/chillvars.ch: New name of Chill file.
8634 * gdb.base/configure.in, gdb.c++/configure.in,
8635 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8636 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8637 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8638 * configure.in (configdirs): Update to reflect directory changes.
8639 (target_abbrev): No longer define for any configuration.
8640 * Makefile.in: Cosmetic improvements to header comments.
8642 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8644 Various changes to gdb.t31:
8646 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8647 * gdbme.ch: Make all key-words and predefineds be upper-case.
8648 * chillvars.exp: Expect key-words and predefinds in upper-case.
8650 * chillvars.exp: Use gdb_test_exact many places.
8651 Change expected output for arrays (which now includes index labels).
8653 * pr-5020.exp, gdme.ch (module PR_5020):
8654 New test, for PR-5020.
8656 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8658 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8659 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8661 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8663 * Makefile.in: Fix bit-rot in definitions of CHILL,
8664 CHILL_FOR_TARGET and Chill_LIB.
8665 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8666 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8667 CHILL, and CHILL_LIB.
8669 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8671 * Revert the previous changes. Please see Rob's directory
8672 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8674 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8676 * Makefile.in, configure.in, config/mips-gdb.exp,
8677 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8678 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8679 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8680 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8681 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8682 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8683 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8684 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8685 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8686 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8687 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8688 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8689 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8690 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8691 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8694 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8696 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8697 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8698 Rob's new testing fragments.
8700 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8702 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8703 lib/gdb.exp: Replace error proc calls with perror.
8705 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8707 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8708 version also, match on casted version strings, and match on
8709 gdb startup case where the line numbers might be messed up.
8711 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8713 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8714 (CFLAGS): Delete it from here.
8716 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8718 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8720 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8722 * Makefile.in (RUNTEST): Default to just "runtest".
8724 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8726 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8727 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8728 the code has been restructured.
8730 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8732 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8733 \n, not just one of each.
8735 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8736 /bin/cc gives a warning if you do.
8738 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8740 * gdb.t24/demangle.exp: change expect pattern of
8741 __t10ListS_link1ZUiRCUiPT0
8743 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8745 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8746 on local variables in recursive functions.
8748 * gdb.t07/Makefile.in: Build the new test.
8750 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8752 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8753 directly. Instead compare the return values from actual calls.
8755 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8757 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8759 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8761 * From Peter Schauer with minor modifications.
8762 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8763 stops in mid-line in the caller. Add xfail for returning a float
8764 value on X86 targets.
8766 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8768 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8769 to avoid expect lossage.
8770 (fmem_LRbug_tests): Likewise.
8771 * gdb.disasm/hppa.s: Corresponding changes.
8773 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8774 conditions to work with latest dejagnu/expect.
8776 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8777 expected to fail on the PA.
8778 (backtrace in call with trampolines): Explicitly require main
8779 to be frame #1 (no trampolines should show up in backtrace).
8781 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8783 * gdb.t06/break.exp: Likewise.
8784 * gdb.t07/watchpoint.exp: Likewise.
8785 * gdb.t13/bitfields.exp: Likewise.
8786 * gdb.t15/{funcargs,return}.exp: Likewise.
8787 * gdb.stabs/weird.exp: Likewise.
8788 * config/{mips,udi}-gdb.exp: Likewise.
8790 * hppa.sed: Enclose comments within a sed command to avoid
8791 losing with the old OSF1 sed.
8793 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8795 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8797 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8798 * gdb.t15/funcargs.exp: Conditionally step again to really
8799 finish from marker_call_with_trampolines. Handle the case where
8800 the first step from within call_with_trampolines already steps
8802 * gdb.t15/gdbme.c: Add comment to closing brace of
8803 call_with_trampolines for funcargs.exp.
8805 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8807 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8810 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8812 * gdb.t07/gdbme.c: More code for watchpoint testing.
8814 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8815 "Hardware watchpoint" throughout file.
8816 (test_watchpoint_triggered_in_syscall): New test.
8817 (test_complex_watchpoint): New test.
8819 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8821 * gdbme.c (call_with_trampolines): New function to try and step
8822 into. Tests trampoline problems on the PA.
8824 * funcargs.exp (localvars_in_indirect_call): No longer expect
8825 stepping into indirect call to fail on PAs.
8826 (test_stepping_over_trampolines): New test.
8828 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8830 * TODO: Add suggestions for static member function tests, and
8833 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8835 * TODO: Add suggestions for "p/a" tests.
8837 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8838 (default_gdb_exit): Replace all the hair with sending "quit" to
8839 the process with a simple close.
8841 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8843 * TODO: Add suggestions for shared library tests.
8845 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8847 * TODO: Add suggestions for x/s tests.
8849 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8851 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8852 "enable once", and "enable breakpoints once" with ".*".
8854 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8856 * TODO: Add suggestions about structure passing tests.
8858 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8860 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8861 the primary1 test, use work around if __GNUC__ < 2.
8862 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8863 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8864 Test for bad output rather than waiting for timeout. Issue
8865 second continue only if first continue failed.
8867 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8869 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8870 operator[] test with gdb_test because the old code didn't seem to
8871 be getting the quoting right with the new dejagnu.
8873 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8875 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8877 * Makefile.in: Use a fresh expect if there is one, use runtest
8878 from the src tree if there is one.
8880 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8882 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8883 next over recursive call. Revise the tests from that point on
8884 (which had been skipped) to match GDB's actual (correct) output.
8886 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8887 with next over a breakpoint whose condition is false.
8889 * gdb.t00/help.exp: Comment out "help set print" tests just like
8890 (and for same reason as) "help set" test.
8892 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8894 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8895 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8897 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8899 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8900 necessary gdb_target_udi.
8902 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8904 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8905 1838 and 2417; they are fixed.
8907 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8908 gdb.t03/ptype.exp (ptype structure, ptype union):
8909 Remove xfails; the test is looser than when the xfails were added.
8911 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8912 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8914 * gdb.t01/run.exp: Only run shell test if isnative.
8916 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8917 since "run" automatically loads if necessary. Call gdb_target_udi
8918 after the "file" since "file" kills any execution target.
8920 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8921 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8922 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8925 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8927 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8929 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8931 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8933 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8934 properly quoting regexps. This makes the second argument to
8935 demangle a fixed string, which matches the callers, instead of a
8936 shell-style pattern which is what the previous implementation
8937 used. Update some of the callers.
8939 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8941 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8942 (comib_nullified_tests): Fix typo.
8943 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8944 strings. No longer expected to fail.
8946 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8947 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8948 strings. No longer expected to fail.
8950 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8951 string. No longer expected to fail.
8953 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8955 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8956 No longer expected to fail.
8958 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8959 string. No longer expected to fail.
8961 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8963 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8964 only in the names (I probably got most of them). I was even
8965 generous with some which differed in underscores in names, and
8966 probably missed a few, and I *still* was able to remove almost a
8967 third of the file with almost no impact on testsuite coverage.
8969 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8971 * gdb.t00/default.exp: Match udi_attach error message as well as
8972 the one from child_attach.
8974 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8976 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8978 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8979 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8981 * Move test with enums and partial symbols back to
8982 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8983 Reverts the change of 26 May 93. Per today's change to
8984 stabs.texinfo, the behavior that weird.exp was expecting was
8985 unreasonable; what is important is that the compiler+gdb get
8986 things right, which happens with a recent gcc. Also fix the test
8987 to deal with native compilers which put out the stab gdb can't
8990 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8992 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8993 in the names. The main thing these accomplish is to slow things down.
8994 Many more such duplicates surely remain.
8996 * gdb.t00/help.exp: Comment out "help support" test just like
8997 (and for same reason as) "help set" test.
8999 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9001 * gdb.t06/break.exp: Remove setup_xfails for
9002 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9003 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9004 about known bug in gcc to include up through 2.5.8.
9005 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9007 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9008 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9009 with latest gcc and gdb.
9010 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9013 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9015 * configure.in (hppa*-*-*): Also configure and build stabs-only
9018 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9020 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9021 * gdb.t10/configure.in (hppa*-*-*): Use it.
9023 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9025 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9027 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9029 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9030 versions prior to 1.13.5.
9032 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9034 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9035 the prompt is at the start of a line.
9037 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9039 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9040 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9041 in the copr tests now.
9042 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9043 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9046 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9048 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9049 gdb.t31/chillvars.exp, lib/gdb.exp:
9050 Tweak to run under either version of expect.
9051 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9052 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9053 * gdb.t11/list.exp: Remove extraneous whitespace.
9055 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9057 * gdb.t16/printcmds.exp (test_print_strings): Accept
9058 "(unsigned char *) " before the string.
9060 * TODO: Add notes about printing of fancy types and GDB expressions.
9062 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9064 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9065 * gdb.t06/configure.in: Don't try to compile signals test program
9066 if doing mips-idt-ecoff.
9068 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9070 * Most .exp files: Tweak to run under either version of expect.
9072 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9074 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9075 xfails; I'm not sure why they are failing, but not because of PR 1806.
9077 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9079 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9080 defined in lib/gdb.exp.
9082 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9084 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9085 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9086 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9087 have to be typeless.
9089 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9091 * TODO: Add suggestion for copyright year test.
9093 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9095 * configure.in (*-*-lynxos*): Add stabs tests.
9097 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9099 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9100 so insert a tab before any assembler directive in column zero.
9102 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9104 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9106 (fpu_short_memory_tests): Likewise.
9108 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9110 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9111 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9112 .stabs directives in comments.
9114 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9116 * TODO: New file, describing tests we could write.
9117 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9119 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9121 * gdb.t06/signals.exp: Add kludge to force re-sync.
9123 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9124 to xgdb instead of gdb, get out of gdb.
9126 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9128 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9131 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9133 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9134 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9135 * gdb.stabs/hppa.sed: New sed script for the PA.
9137 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9139 * gdb.stabs: Re-write weird.def and configuration to use sed
9140 instead of cpp. sed is portable and POSIX; cpp is neither.
9142 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9144 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9146 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9148 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9150 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9152 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9154 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9155 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9157 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9159 * lib/gdb.exp: Comment out code which depends on non-existent
9160 `transform' procedure.
9162 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9164 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9165 * lib/gdb.exp: Transform tool name.
9166 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9167 1.1's new error handling system.
9169 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9171 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9173 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9175 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9176 They made pattern matching so slow that timeouts happened on
9177 heavily loaded systems. Now any output from "show print" which
9178 gets us back to the GDB prompt is a PASS.
9180 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9182 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9184 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9186 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9188 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9189 It is not from PR 3220.
9191 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9193 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9194 just started failing because they depended on the order the
9195 subcommands are presented, or exact docstring text. This kind of
9196 test is a pain and has minimal benefit.
9198 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9200 * gdb.t09/corefile.exp: At end of test, use "core" command with
9203 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9205 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9206 17}/Makefile.in: Make it possible to run the testsuite with Sun
9207 make and CC = cross gcc by adding explicit build rules for .o
9210 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9212 * gdb.t15/funcargs.exp: Don't put comments on same line as
9213 setup_xfail (@#$*%& tcl braindamage!).
9215 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9217 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9219 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9221 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9222 * gdb.t20/inherit.exp: remove three dumplicate entries.
9224 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9226 * gdb.t06/break.exp: For "next over recursive call", fail on any
9227 incorrect output, not just on "factorial (value=2)".
9229 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9231 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9232 working now. Add an xfail if accesing a bss variable causes
9233 a memory error if the target is not yet run.
9235 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9237 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9238 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9239 name of __st* demangling (2 strings). Did Kung really get the
9240 more than 95 others right without testing them?
9242 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9244 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9246 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9248 * configure.in (configdirs): Add gdb.disasm
9249 * gdb.disasm: New directory for GDB disassembler tests.
9250 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9252 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9254 * gdb.t00/help.exp: Don't test "help set".
9256 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9257 from within expect statements. None of these happen anymore and
9258 they cause regressions to be silently unnoticed.
9260 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9261 messages) about known failures with gcc cygnus-2.4.5-930417.
9263 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9264 comp-info.exp so it gets built if it doesn't exist.
9266 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9267 it is no longer used.
9268 * gdb.t13/comp-info.c: Removed.
9270 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9272 * gdb.t06/signals.exp: Add xfail for sun3.
9274 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9276 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9277 relevant because ^C doesn't get sent but failure can be reproduced
9280 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9282 * gdb.stabs/alpha.mt: New configuration file for alpha.
9283 * gdb.stabs/configure.in: Use it.
9284 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9285 sharing with alpha.mt, redefine long to word via preprocessor.
9286 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9288 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9290 * gdb.t00/teststrategy.exp: Change expect string so that we
9291 consume the `(xgdb)' from the command echo and from the gdb prompt.
9292 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9293 gdb currently compares all values as long, so this failure probably
9294 applies to any configuration where LONGEST is bigger than a target int.
9295 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9297 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9298 to handle opaque pointers, gcc is.
9299 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9300 as first argument. Include <sys/types.h> and change all operator
9301 new definitions to use size_t.
9302 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9303 now that we use size_t.
9305 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9307 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9308 a long or float array cast all array members to the same type.
9309 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9311 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9313 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9315 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9317 * gdb.t24 (demangle.exp): Constructors of templates have names like
9318 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9319 section 14.6 of the ARM.
9321 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9322 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9323 accomplish little and slow down the testsuite.
9325 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9326 Accept spaces various places.
9328 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9330 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9331 with watchpoint enabled.
9333 * Makefile.in: Remove definition of CC and remove the second
9334 definition of CXX (the "CXX = gcc" one remains). These definitions
9335 were causing backquotes to be expanded within backquotes, which
9338 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9340 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9342 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9344 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9345 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9346 by mips cc and contains no stabs entries.
9348 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9350 * config/vx-gdb.exp: Use fake device to load files rather than
9352 * lib/gdb.exp: New proc to do "file" command.
9353 * config/unix-gdb.exp: Use new "file" proc.
9355 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9357 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9358 Rework board rebooting slightly.
9359 (gdb_exit): Don't exit from the remote shell; there isn't one.
9360 * gdb.stabs/weird.exp: If a program is being debugged already,
9362 * gdb.t04/setvar.exp: Stop and restart gdb.
9363 * gdb.t05/expr.exp: Likewise.
9364 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9365 restart gdb and reload the program.
9366 * gdb.t08/opaque.exp: Likewise.
9367 * gdb.t12/scope.exp: Likewise.
9368 * gdb.t13/bitfields.exp: Likewise.
9369 * gdb.t15/funcargs.exp: Likewise.
9370 * gdb.t20/classes.exp: Likewise.
9371 * gdb.t03/ptype.exp: Increase timeout.
9372 * gdb.t16/printcmds.exp (test_print_string_constants,
9373 test_print_array_constants): Likewise.
9374 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9375 * gdb.t20/classes.exp (do_tests): Likewise.
9376 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9378 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9380 * gdb.stabs: Renamed *wierd* to *weird*.
9382 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9384 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9385 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9387 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9389 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9390 (do_tests): Remove xfail for whatis on one_var and two_var.
9392 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9394 * Makefile.in: Made cross building work better by adding
9395 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9397 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9399 * gdb.t15/{return.c,return.exp,Makefile.in}:
9400 New test, currently commented out.
9402 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9404 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9405 still running and removes the leftover named socket so GDb can do
9408 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9410 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9412 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9413 cross testing works better with "make check"
9414 * config/unix-gdb: Use default procedures for exit and version.
9415 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9416 with the newest VxWorks.
9418 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9420 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9423 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9424 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9426 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9428 * config/unix-gdb.exp: Remove this version of gdb_exit
9429 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9430 Rob says he'll look at it when he gets back to testing boards.
9432 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9434 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9435 an expected fail for certain ptype commands.
9437 * gdb.t20/classes.exp: Update expected results of "ptype class
9438 Base1" to account for the constructor that now appears in the type.
9440 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9442 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9443 disappeared from list.
9444 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9445 "alldone" proc with call to cleanup and exit.
9446 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9447 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9448 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9449 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9450 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9451 "alldone" proc with simple returns that suppress remaining
9452 tests. The alldone proc went away many months ago.
9454 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9456 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9458 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9460 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9462 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9463 as vax gdb will display them.
9465 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9467 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9470 * scope.exp: Change "bad value for localval" messages so each one
9473 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9474 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9476 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9478 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9480 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9481 doesn't exist (due to optimization).
9483 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9485 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9486 contains \r because the filename is long.
9488 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9489 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9491 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9493 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9494 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9496 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9498 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9500 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9502 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9504 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
9505 to match does not match the passing case but still matches the
9508 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9510 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9512 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9514 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9515 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9516 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9517 Remove various versions of gdb_exit.
9518 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9520 * config/unix-gdb.exp: gdb_exit remains here, and should override
9521 the generic version, since it's doing a lot of wierd stuff that
9522 the other versions aren't. FIXME, fold it in, or abandon this
9525 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9527 * gdb.t24/demangle.exp: Add tests for PR 3220.
9529 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9531 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9533 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9535 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9536 "i386-*-*". Works for i486 as well.
9538 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9539 bug, and expand domain of xfail to all SVR4 systems, since the
9540 actual problem is likely to be in generic SVR4 /proc support.
9542 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9544 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9546 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9548 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9549 xfails for other systems. Match a missing 'Continuing.' as an
9550 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9552 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9553 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9554 Only issue warning for missing executables if -all option is used.
9556 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9557 file if -all option is used. It's like an unpredictable XFAIL.
9559 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9561 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9562 for dynamically linked binaries.
9564 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9566 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9568 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9569 to state that this is a known bug in old versions of g++.
9571 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9573 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9574 while waiting for `Continuing'.
9576 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9578 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9579 in text, data, and bss.
9580 * gdb.t10/nodebug.c: Add local and global test variables for
9581 initialized and uninitialized data.
9583 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9585 * config/unix-gdb.exp (gdb_exit): Add "wait".
9587 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9589 * gdb.t06/signals.exp: xfail the continue from the handler for all
9592 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9593 function with watchpoints enabled, the i386 call dummy starts with
9596 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9597 386 bsd names its corefiles.
9599 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9601 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9602 compilers don't grok it.
9603 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9604 with small octal ints rather than character constants, which
9605 are signed and might not fit if first promoted to int.
9607 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9609 * gdb.t09/Makefile.in (clean): Remove corefile.
9611 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9613 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9615 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9616 and Jim Kingdon (kingdon@cygnus.com)
9618 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9619 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9620 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9622 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9624 * gdb.t17/interrupt.exp: Add xfail for hppa.
9626 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9628 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9629 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9630 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9631 to determine signed-ness of bitfields and use the result to setup
9633 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9634 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9635 call line is reached if necessary.
9637 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9639 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9641 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9643 * gdb.t06/break.exp: Also test `clear' command.
9645 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9647 * gdb.t00/teststrategy.exp: Remove extra quote.
9649 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9650 watchpoint enabled to be for all non-68k machines.
9652 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9654 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9656 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9657 targets use aout.mt instead of ecoff.mt as gas understands
9658 standard aout format.
9660 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9662 * lib/gdb.exp (runto): Don't insist that function we are running to
9663 was compiled with -g.
9665 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9667 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9668 to get back into the read system call.
9669 Accept leading newline in case where we woke it up.
9671 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9673 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9674 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9675 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9676 enable ecoff configuration.
9678 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9680 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9682 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9684 * gdb.t16/printcmds.exp: Add another printf test.
9686 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9688 * configure.in: If configured -with-stabs on any target, add
9689 stabsdirs to configdirs.
9691 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9693 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9694 fun" so pattern does not match the command itself.
9696 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9698 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9700 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9702 * gdb.t17/interrupt.exp: Test for more things.
9704 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9706 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9707 compiler arranges the code and line numbers.
9709 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9711 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9713 * gdb.t00/help.exp: Increase expect input buffer size.
9715 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9717 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9719 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9721 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9723 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9724 [0-9]*, not just [0-9].
9726 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9728 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9730 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9732 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9734 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9736 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9738 * gdb.t06/signals.c: Add xfails for sun3.
9740 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9742 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9743 test_stepping tests.
9745 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9747 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9749 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9751 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9752 rather than actually putting it through cpp twice.
9754 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9756 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9758 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9761 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9763 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9765 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9766 C++ features prints as "struct", make it a pass, not an xfail.
9768 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9770 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9771 Don't require VA to print as "class" rather than "struct".
9773 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9775 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9777 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9779 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9781 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9783 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9786 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9788 * gdb.t16/printcmds.exp: Add printf tests.
9790 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9792 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9794 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9796 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9797 pass counts, to counteract any existing or future setup_xfails.
9799 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9801 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9802 {BEGIN,END}_COMMON for common block instead of STAB.
9803 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9805 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9806 intp_var should be N_GSYM not N_LSYM.
9807 wierd-aout.S: Use a label for the value of the N_SO.
9808 wierd.def: Remove all backslashes.
9809 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9811 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9813 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9814 get the expected next to inheritance3.
9816 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9818 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9819 now that gcc-2.4 gets it right.
9821 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9823 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9825 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9826 generating comp-info.exp which works for cross-compilation.
9828 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9830 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9833 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9835 * gdb.t01/run.exp: Start with a fresh gdb.
9836 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9839 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9841 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9842 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9843 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9844 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9847 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9849 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9850 test cases from bug reports.
9852 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9854 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9855 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9856 avoid spurious xfails.
9857 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9858 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9859 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9861 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9863 * gdb.t00/teststrategy.exp: Rework to provide more useful
9864 description of each test, fix problem with systems that define
9865 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9866 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9867 results for "next over recursive call" so timeouts aren't taken
9870 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9872 * gdb.t12/scope.exp: Test printing of variables before run.
9874 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9875 printed in wrong order due to sorting.
9877 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9879 * gdb.t00/teststrategy.exp: Fix expected results for printing
9880 user entered string constant. Is array of char, prints with no
9883 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9885 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9886 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9887 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9888 of struct of char arrays.
9889 * gdb.t00/radix.exp: New tests for radix commands.
9891 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9893 * gdb.t16/printcmd.exp: Print a variable before running program
9894 (with xfail for AIX).
9896 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9898 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9900 * gdb.t16/printcmd.exp: Don't print variables before running program.
9902 * gdb.t06/break.exp: Don't require envp argument to main.
9904 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9906 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9907 Add xfails for rs6000.
9909 * gdb.t02/whatis.exp: Change other tests not to re-test something
9912 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9913 each type used has a variable of that type.
9915 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9917 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9919 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9921 * configure.in: change srctrigger to be a file, not a directory
9923 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9925 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9927 * gdb.t11/list.exp: Fixed a couple of typos.
9929 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9931 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9932 is fixed and PR is closed.
9933 * gdb.t16 (gdbme.c): Add simple test string variable.
9934 * gdb.t16 (printcmds.exp): Add tests with simple test string
9935 variable, primarily for boundaries on "set print elements".
9937 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9939 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9940 Make leading 0's optional and don't expect a tab in the middle
9943 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9945 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9946 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9947 don't end command passed to gdb_test with newline.
9949 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9950 signed keyword away, don't expect signed bitfields to be signed.
9952 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9953 printing with only as many 1's as are in the field as well as printing
9954 with 32 1's (see comment).
9956 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9958 * gdb.t00/default.exp: Start with a fresh gdb.
9959 * configure.in (configdirs): Remove gdb.t31 until the chill
9960 compiler works again. It no longer is able to find chillrt0
9961 since it isn't in libchill.a anymore.
9962 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9963 wierd.o, make more modular.
9964 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9965 spurious newlines that caused problems.
9967 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9969 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9970 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9971 gdb.stabs/wierd.{exp,def}: Many new tests.
9973 * gdb.t00/default.exp: update info line for new message.
9975 * gdb.t02/{whatis.exp,gdbme.c}:
9976 Test that "char *" doesn't print as "caddr_t".
9978 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9980 * gdb.t00/help.exp: Use .* in place of some help messages which
9982 gdb.t00/default.exp: Update "info frame" test for new message.
9983 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9986 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9988 * gdb.t03/{gdbme.c,ptype.exp}:
9989 Add tests for typedef'd struct and union without tags.
9990 Also check "whatis" on a variable of a typedef'd enum without a tag.
9992 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9993 PRMS 1823; the bug still exists but isn't reproduced by this test
9994 anymore), and remove rs6000 XFAIL (the bug is fixed).
9996 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9997 duplicated from whatis.exp. For those that are left, accept
9998 "long", "long int", or "int" for long variables (whatis.exp already
9999 has an XFAIL for "int", so no need to fail it here).
10001 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10002 Deal with GCC's names for types now that GDB uses the compiler's names.
10004 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10005 setup_xfail's for sunos4. If we #defined the signed keyword away,
10006 don't expect GDB to know that char it is signed.
10008 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10010 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10012 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10013 should work on any system, regardless of debugging format.
10014 * gdb.t21/demangle.exp: Move to gdb.t24.
10015 * gdb.t24/demangle.exp: Move from gdb.t21.
10016 * gdb.t24/{Makefile.in, configure.in}: New files.
10018 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10020 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10021 * gdb.stabs: New directory.
10023 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10025 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10026 not just "Quit anyway?".
10028 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10030 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10031 that all setup_xfails are immediately followed by clear_xfails.
10033 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10035 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10036 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10037 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10038 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10039 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10040 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10041 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10042 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10043 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10044 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10045 gdb.t31/chillvars.exp, lib/gdb.exp:
10046 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10047 bug-gdb@prep.ai.mit.edu.
10049 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10051 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10052 with 0.0, not integer 0.
10054 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10056 * gdb.t06/break.exp: Update for "Kill the program" message change.
10058 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10060 * Makefile.in (GDBFLAGS): Set to -nx.
10061 * Makefile.in (site.exp): Use GDBFLAGS.
10063 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10065 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10067 (check): depend on just-check.
10068 (just-check): added so that tests can be run without a noop
10071 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10073 Switch to using configure's configdirs.
10074 * Makefile.in (Makefile): add configure.in dependency.
10075 (SUBDIRS): removed redundant assignment.
10076 * configure.in: switch subdirs assignment to configdirs.
10077 * gdb.t*/configure.in: new files.
10079 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10081 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10084 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10086 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10087 in explicit rules. Apparently this is not supported by some makes.
10089 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10091 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10093 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10095 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10098 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10100 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10102 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10104 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10105 watchpoint problem that is now fixed.
10106 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10107 uninitialized convenience variables.
10108 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10111 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10113 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10114 which causes expect to get out of sync with gdb on long output
10116 * gdb.t09/corefile.exp: Make expected pattern for core file
10117 failing signal and frame output format less sun specific.
10119 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10121 * gdb.t31/chillvars.exp: Add and remove initial dummy
10122 breakpoint, so that symbol table is forced in.
10123 (Needed at least on Sunos4, though it seems not SVR4.)
10124 * gdb.t31/chillvars.exp: Update for changed output format.
10126 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10128 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10130 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10132 * Makefile.in: Added --srcdir when invoking runtest, removed the
10133 need for a local config file. (optional now)
10135 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10137 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10138 failure count used to force early termination. Add some more
10139 expected failures for gnu style demangling.
10141 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10143 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10144 pmi variable from gdb.t20/gdbme to get optimized away.
10145 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10146 Check for written corefile upon timeout _and_ eof.
10148 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10150 * config/unix-gdb.exp: Add missing return 0.
10152 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10154 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10157 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10159 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10162 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10164 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10165 time as i860 support works.
10167 * gdb.t15/funcargs.exp: Fix expected outputs to include
10168 "backtrace 100\r" rather than just "backtrace\r", to match last
10171 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10173 * config/udi-gdb.exp (gdb_exit): Remove close command.
10174 (gdb_target_udi): New procedure to set the UDI target.
10175 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10176 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10177 Added waits for prompts after several question responses. Added
10178 some more responses used by a29k-amd-udi-gdb.
10179 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10180 pass different arguments, restart UDI connection after program
10182 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10183 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10184 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10185 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10186 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10187 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10188 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10189 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10190 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10191 after program completion.
10192 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10193 compiled with a SELECT_VECS setting.
10194 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10195 infinite recursion.
10197 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10198 Added checks for COFF results, and made them expected failures for
10199 all targets. It would be better to make them expected failures
10200 for COFF targets only.
10202 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10204 * Makefile.in: add null dvi target, don't bother to recurse
10205 through test directories for info and install-info; rename
10206 $(datadir) to be dejagnu instead of deja-gnu
10208 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10210 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10211 compiler to coredump.
10212 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10215 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10217 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10219 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10222 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10224 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10225 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10226 which in a shell. Deletes xgdb when done.
10227 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10228 Tests the return from the "set height" or "set width" commands.
10229 Added a few return codes where needed.
10231 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10233 * Makefile.in (SUBDIRS): Add gdb.t17.
10234 * configure.in (subdirs): Add gdb.t17.
10235 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10236 files to test gdb's calling of functions in the inferior with
10237 the correct arguments and gdb's ability to retrieve any
10240 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10242 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10243 may be called after gdb goes away. Previous versions of expect
10244 needed these to avoid file descriptor leaks, but they cause
10245 errors with the current revision of expect.
10246 * gdb.t00/gdbvars.exp: Use -re on expected output after
10247 setting sevenbit-strings.
10248 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10249 to set sevenbit-strings consistent across tests.
10250 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10251 set sevenbit-strings consistent across tests.
10253 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10255 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10256 expected output to match current "expect" expectations.
10258 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10260 * gdb.t00/default.exp: Change expected output for default "source"
10261 command, to match new gdb behavior which requires a filename to
10264 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10266 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10267 expected fail for i486-*-* that misses the marker2 function.
10268 * gdb.t10/crossload.exp (bfddefault): Allow successful
10269 recognition of a format to pass even if no symbols are found.
10270 Explicitly catch failures where the format is not recognized
10271 or is ambiguous, and add the reason to the fail message.
10272 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10273 the cause is and invalid target and add reason to failure message.
10274 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10275 elf32-i386, elf32-sparc, and elf32-i860.
10276 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10277 Set up expected failure for 'filename'::variable scope resolution,
10278 which is now apparently broken on all targets.
10279 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10280 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10281 gdb.t23/templates.exp: Change failure for missing binfile into
10283 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10286 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10288 * gdb.t00/default.exp: Add expected output for default "source"
10289 command, to match new gdb behavior.
10290 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10292 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10294 * config/*-gdb.exp: returns an error, rather than exiting on
10297 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10299 * gdb.t03/gdbme.c: Add pointer to struct variable.
10300 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10301 referencing struct members.
10303 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10305 * configure.in (mips-idt-ecoff): New target.
10306 * config/mips-gdb.exp: New file for remote board using MIPS remote
10307 debugging protocol.
10309 * Redid configuration scheme. Removed gdb.t*/configure.in.
10310 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10311 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10312 distclean targets. Built executables via .o files. Adjusted
10313 tests to account for source files in $(srcdir) rather than
10315 * lib/gdb.exp (runto): Don't expect () after the function name,
10316 because it may have arguments.
10318 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10320 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10321 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10322 expected failures for mips-idt-* and mips-sgi-*.
10323 * gdb.t00/default.exp (attach): Kill process if requested.
10324 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10325 that does not read core files.
10326 * gdb.t01/run.exp: Removed checks for exit status code.
10327 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10329 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10330 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10331 appropriate, rather than doing it by hand.
10332 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10334 * gdb.t10/crossload.exp: Kill existing program if needed.
10335 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10336 appropriate, rather than doing it by hand. Always increase
10337 timeout for this test, not just for VxWorks.
10339 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10341 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10342 of Chill STRUCT types and STRUCT values.
10343 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10345 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
10346 struct2): New struct definitions and initializations to test
10347 simple Chill STRUCT types.
10349 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10351 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10352 the null byte at the end of strings.
10353 * gdb.t00/default.exp: Make show version insensitive to copyright
10355 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10356 to avoid dependencies on target char signedness.
10357 * gdb.t16/printcmds.exp: Update expected results for explicitly
10359 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10361 * gdb.t21/demangle.exp: Add many more patterns for template
10362 demangling, most of them being expected failures.
10363 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10364 string we are matching for, to match on the whole string.
10365 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10366 and fix a whole bunch that had incorrect expected output but were
10367 passing anyway because of the bug in "proc demangle".
10368 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10370 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10372 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10374 * gdb/testsuite: made modifications to testcases, etc., to allow
10375 them to work properly given the reorganization of deja-gnu and the
10376 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10378 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10380 * gdb/testsuite: Initial creation of gdb/testsuite.
10381 Migrated dejagnu testcases and support files for testing nm to
10382 gdb/testsuite from deja-gnu. These files were moved "as is"
10383 with no modifications. This migration is part of a major overhaul
10384 of dejagnu. The modifications to these testcases, etc., which
10385 will allow them to work with the new version of dejagnu will be
10386 made in a future update.
10389 mode: indented-text
10392 version-control: never