1 2003-08-06 Michael Chastain <mec@shout.net>
3 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
5 2003-08-12 Michael Snyder <msnyder@redhat.com>
7 * gdb.base/float.exp: Add test for SH.
9 2003-08-10 Mark Kettenis <kettenis@gnu.org>
11 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
15 * gdb.base/completion.exp: Remove reduntant completion test
18 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22 gdb.trace/save-trace.exp: Make sure that full pathnames are
25 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
27 * configure.in: Don't generate config.h from config.hin.
28 * configure: Regenerate.
29 * config.hin: Remove file.
30 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
31 * gdb.threads/pthreads.c: Ditto.
33 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
35 From Kei Sakamoto <sakamoto.kei@renesas.com>:
36 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
37 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
38 Replace ld24 with seth/add3.
40 2003-08-02 Andrew Cagney <cagney@redhat.com>
42 * gdb.base/annota3.exp: New file.
43 * gdb.base/annota3.c: New file.
44 * gdb.c++/annota3.exp: New file.
45 * gdb.c++/annota3.cc: New file.
47 2003-07-29 Michael Chastain <mec@shout.net>
49 * gdb.threads/tls.c (spin): Check errno only if sem_wait
52 * gdb.threads/tls.exp: Always initialize no_of_threads.
54 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
56 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
58 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
59 * gdb.threads/tls.exp: Recognize one case of the host library not
62 2003-07-27 Andrew Cagney <cagney@redhat.com>
64 * gdb.base/fileio.exp: Use SH when running commands using
67 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
69 From Kei Sakamoto <sakamoto.kei@renesas.com>:
70 * gdb.base/relocate.c (dummy): New padding array.
72 2003-07-22 Michael Snyder <msnyder@redhat.com>
74 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
76 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
77 patterns to be more general, accepting old and new output.
78 Some output chars (such as '+') also must be quoted.
79 Some addresses are displayed numerically instead of
82 2003-07-23 Michael Snyder <msnyder@redhat.com>
84 * gdb.base/return2.exp: Don't test long-long return.
86 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
87 * gdb.disasm/t01_mov.exp: Ditto.
88 * gdb.disasm/t02_mova.s: Ditto.
89 * gdb.disasm/t02_mova.exp: Ditto.
90 * gdb.disasm/t03_add.s: Ditto.
91 * gdb.disasm/t03_add.exp: Ditto.
92 * gdb.disasm/t04_sub.s: Ditto.
93 * gdb.disasm/t04_sub.exp: Ditto.
94 * gdb.disasm/t05_cmp.s: Ditto.
95 * gdb.disasm/t05_cmp.exp: Ditto.
96 * gdb.disasm/t06_ari2.s: Ditto.
97 * gdb.disasm/t06_ari2.exp: Ditto.
98 * gdb.disasm/t07_ari3.s: Ditto.
99 * gdb.disasm/t07_ari3.exp: Ditto.
100 * gdb.disasm/t08_or.s: Ditto.
101 * gdb.disasm/t08_or.exp: Ditto.
102 * gdb.disasm/t09_xor.s: Ditto.
103 * gdb.disasm/t09_xor.exp: Ditto.
104 * gdb.disasm/t10_and.s: Ditto.
105 * gdb.disasm/t10_and.exp: Ditto.
106 * gdb.disasm/t11_logs.s: Ditto.
107 * gdb.disasm/t11_logs.exp: Ditto.
108 * gdb.disasm/t12_bit.s: Ditto.
109 * gdb.disasm/t12_bit.exp: Ditto.
110 * gdb.disasm/t13_otr.s: Ditto.
111 * gdb.disasm/t13_otr.exp: Ditto.
113 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
115 * gdb.threads/tls.exp :Add kfail for 'info address' case.
117 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
119 * gdb.threads/tls.c : New file.
120 * gdb.threads/tls.exp : New file.
121 * gdb.threads/tls-main.c : New file.
122 * gdb.threads/tls-shared.c : New file.
123 * gdb.threads/tls-shared.exp : New file.
125 2003-07-22 Andreas Schwab <schwab@suse.de>
127 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
129 2003-07-20 Andreas Schwab <schwab@suse.de>
131 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
132 due to insn reordering.
134 2003-07-15 Andrew Cagney <cagney@redhat.com>
136 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
138 2003-07-15 Michael Chastain <mec@shout.net>
140 * gdb.base/gdb1250.exp: New file.
141 * gdb.base/gdb1250.c: New file.
143 2003-07-09 Michal Ludvig <mludvig@suse.cz>
145 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
146 expansion of size_t to 'unsigned long', not only to 'unsigned'.
148 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
150 * gdb.threads/tls.c: New file.
151 * gdb.threads/tls.exp: New file.
152 * gdb.threads/tls-main.c: New file.
153 * gdb.threads/tls-shared.c: New file.
154 * gdb.threads/tls-shared.exp: New file.
156 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
158 * gdb.base/annota1.exp: Make sure that we properly escape the
159 full path of the source file. Xfail more permissive patterns,
160 due to a compiler debug info problem.
162 2003-07-07 Andreas Schwab <schwab@suse.de>
164 * gdb.asm/m68k.inc: New file.
165 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
167 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
168 arguments"): Also match negative number.
170 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
172 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
174 * gdb.base/store.c (charest): New typedef.
175 (add_char): Rename to add_charest, update.
176 (wack_char): Rename to wack_charest, update types. Return l + r
177 to keep r live across the call.
178 (wack_short, wack_int, wack_long, wack_longest, wack_float)
179 (wack_double, wack_doublest): Return l + r to keep r live across
181 * gdb.base/store.exp: Accomodate store.c changes.
183 2003-06-30 David Carlton <carlton@kealia.com>
185 * gdb.c++/maint.exp (test_invalid_name): New.
186 (test_first_component): Add tests for invalid names.
188 2003-06-29 Michael Chastain <mec@shout.net>
190 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
191 output of '<VTT for class>' for virtual base classes.
193 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
195 * gdb.base/completion.exp: Tab-complete "complet" instead of
197 * gdb.base/complex.exp, gdb.base/complex.c: New files.
199 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
201 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
202 * gdb.base/volatile.exp: Likewise.
204 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
206 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
209 2003-06-28 Michael Chastain <mec@shout.net>
210 Daniel Jacobowitz <drow@mvista.com>
212 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
213 initial line count of 'captured_main' from 26 to 32.
214 (test_with_self): Allow xmalloc call to be interleaved with the
217 2003-06-24 Joel Brobecker <brobecker@gnat.com>
219 * gdb.base/bang.exp: New testcase.
221 2003-06-23 Joel Brobecker <brobecker@gnat.com>
223 * gdb.base/langs.exp: Add some tests for the "minimal" language
226 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
228 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
231 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
233 * gdb.base/relocate.exp: Test add-symbol-file with a variable
236 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
238 * gdb.c++/pr-1210.cc: New file.
239 * gdb.c++/pr-1210.exp: New file.
241 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
243 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
246 2003-06-15 Mark Kettenis <kettenis@gnu.org>
248 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
249 on *-*-*bsd* instead of *-*-freebsd*.
251 2003-06-14 Andrew Cagney <cagney@redhat.com>
253 * gdb.base/store.exp: Test longest and doublest. Test all
254 parameters. Weaken return statement match.
255 * gdb.base/store.c: Add longest and doublest - aka long long and
256 long double functions. Put all parameters into local register
257 variables. Use negative values.
259 2003-06-14 Andrew Cagney <cagney@redhat.com>
261 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
262 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
264 * gdb.base/fileio.exp: Disable target when nointerrupts and
265 noinferiorio, instead of limiting it to remote. Use remote_exec
268 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
270 * gdb.base/float.exp: Add ia64 support.
272 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
274 * gdb.base/fileio.exp: Run only on remote targets.
276 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
278 * gdb.base/fileio.c: New file, testing File-I/O.
279 * gdb.base/fileio.exp: Ditto.
281 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
283 * gdb.base/shreloc.exp: New file, check symbol values obtained from
284 shared objects after relocation at load time (gdb PR/1132).
285 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
286 as above, part of the shared object relocation test.
288 2003-06-08 Mark Kettenis <kettenis@gnu.org>
290 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
291 fully filled history list.
292 * gdb.base/gdb_history: New file.
294 * gdb.base/signals.exp: XFAIL "continue to func1" on
297 * gdb.base/attach.exp: When trying to attach to a nonexistent
298 process, make it possible to specify the PID based on the target,
299 and do so for *-*-freebsd*.
301 2003-06-02 Richard Henderson <rth@redhat.com>
303 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
305 2003-06-02 Richard Henderson <rth@redhat.com>
307 * gdb.base/selftest.exp: Next over lim_at_start initialization.
309 2003-06-02 Richard Henderson <rth@redhat.com>
311 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
313 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
315 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
318 2003-06-01 Mark Kettenis <kettenis@gnu.org>
320 * gdb.asm/asm-source.exp: Check for memory read errors in
321 disassembler test on *BSD too.
323 2003-06-01 Richard Henderson <rth@redhat.com>
325 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
327 (gdbasm_call): Lose ldgp.
328 (gdbasm_startup): Add frame information.
329 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
331 2003-05-31 Mark Kettenis <kettenis@gnu.org>
333 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
336 2003-05-30 Mark Kettenis <kettenis@gnu.org>
338 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
341 2003-05-29 Richard Henderson <rth@redhat.com>
343 * gdb.asm/alpha.inc: New file.
344 * gdb.asm/asm-source.exp: Use it.
346 2003-05-29 Jim Blandy <jimb@redhat.com>
348 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
351 2003-05-22 Jim Blandy <jimb@redhat.com>
353 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
356 2003-05-20 David Carlton <carlton@math.stanford.edu>
358 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
361 2003-05-19 David Carlton <carlton@bactrian.org>
363 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
364 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
366 2003-05-19 David Carlton <carlton@bactrian.org>
368 * gdb.c++/namespace.exp: Add namespace scope and anonymous
371 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
372 (main): Call C::D::marker2.
373 * gdb.c++/namespace1.cc: New file.
375 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
377 Roland McGrath <roland@redhat.com>
378 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
379 there is no manager thread.
381 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
383 * gdb.threads/schedlock.exp: Remove assumption that all threads
384 will run in a particular small time slice. Also ensure we break
385 in one of the child threads rather than the main thread.
387 2003-05-07 Jim Blandy <jimb@redhat.com>
389 Add support for assembly source testing on the s390x.
390 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
392 * gdb.asm/s390x.inc: New file.
394 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
395 succession of 'if' statements.
397 2003-05-05 Andrew Cagney <cagney@redhat.com>
399 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
401 2003-05-05 Andrew Cagney <cagney@redhat.com>
403 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
404 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
406 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
408 * gdb.base/charset.exp: Update based on new behavior of set/show
411 2003-05-01 Andrew Cagney <cagney@redhat.com>
413 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
414 variable do not give memory errors.
416 2003-04-30 Adam Fedor <fedor@gnu.org>
418 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
419 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
420 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
421 gdb.objc/basicclass.m: : New files
423 * lib/gdb.exp (gdb_compile_objc): New procedure.
425 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
427 * gdb.base/signals.exp: Make backtrace tests more specific.
429 2003-04-23 David Carlton <carlton@bactrian.org>
431 * gdb.c++/maint.exp (test_first_component): Add tests for
432 'operator' in more locations.
434 2003-04-16 Kevin Buettner <kevinb@redhat.com>
436 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
438 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
440 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
441 func marke' instead. Update test name.
443 2003-04-15 David Carlton <carlton@math.stanford.edu>
445 * gdb.c++/maint.exp: New file.
447 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
449 * gdb.threads/schedlock.c: Change type of thread function argument
450 to long, to avoid warnings on 64-bit platforms.
452 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
454 * gdb.base/attach.exp: Add new message from ptrace in case of
455 attaching to nonexistent process.
457 2003-04-11 Jim Blandy <jimb@redhat.com>
459 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
460 gdb.c++/userdef.cc: Place comments on the lines to which the
461 marker function might return.
462 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
463 gdb.c++/userdef.exp: Look for those comments to check that we've
464 returned to the right place, instead of checking line numbers.
466 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
468 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
469 match on sourcefile name, instead of directory name.
471 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
473 * gdb.base/completion.exp: Use string_to_regexp to match the
474 working directory name.
476 2003-04-09 Jim Blandy <jimb@redhat.com>
478 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
479 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
480 after an inferior function call, report the failure, but allow the
483 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
485 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
488 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
490 * gdb.base/break.exp: Revert last patch.
492 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
494 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
497 2003-04-02 Andrew Cagney <cagney@redhat.com>
499 * gdb.base/callfuncs.exp: Make "print add" messages unique.
500 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
501 matching directories by the name breakpoint.
502 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
503 Make "continue to marker1" consistent.
504 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
506 * lib/gdb.exp: Put "the program is no longer running", and "the
507 program exited" in parenthesis.
508 * lib/mi-support.exp: Ditto.
510 2003-04-02 Bob Rossi <bob_rossi@cox.net>
512 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
514 2003-03-29 Andrew Cagney <cagney@redhat.com>
516 * gdb.base/sizeof.c (main): Print the value of '\377'.
517 * gdb.base/sizeof.exp: Check the sign of '\377'.
519 2003-03-27 Michael Chastain <mec@shout.net>
521 * gdb.base/gdb1090.exp: New file.
522 * gdb.base/gdb1090.cc: New file.
524 2003-03-27 J. Brobecker <brobecker@gnat.com>
526 * gdb.gdb/observer.exp: New regression test.
528 2003-03-27 Michael Chastain <mec@shout.net>
530 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
531 * gdb.base/ptype.exp: Likewise.
533 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
535 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
537 2003-03-26 Michael Chastain <mec@shout.net>
539 * gdb.base/ptype.exp: Actually use some typedef'd types.
541 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
543 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
544 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
546 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
548 * gdb.base/default.exp: Fix regular expression.
550 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
552 * gdb.base/args.exp: Fix regular expression.
554 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
556 * gdb.base/help.exp: Allow Win32 child process.
558 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
560 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
561 when stepping out of main().
563 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
565 * gdb.base/default.exp: Check for win32 specific message when calling
566 "run" without executable.
568 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
570 * gdb.base/args.exp: Expect .exe in output.
572 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
574 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
577 2003-03-17 Andrew Cagney <cagney@redhat.com>
579 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
581 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
582 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
584 2003-03-17 David Carlton <carlton@math.stanford.edu>
586 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
587 test, for PR breakpoints/38.
588 Call test_watchpoint_and_breakpoint.
589 * gdb.base/watchpoint.c (func3): New function.
592 2003-03-04 David Carlton <carlton@math.stanford.edu>
594 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
595 Garply<Garply<char> >:: garply".
596 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
597 with respect to PR c++/1111; note also PR c++/1113.
598 (test_template_breakpoints): KFAIL "constructor breakpoint" with
599 respect to PR c++/1062.
600 KFAIL "destructor breakpoint" with respect to PR c++/1112.
602 2003-03-03 David Carlton <carlton@math.stanford.edu>
604 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
605 with respect to PR c++/57.
606 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
608 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
609 respect to PR c++/57.
611 2003-03-03 David Carlton <carlton@math.stanford.edu>
613 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
614 respect to PR c++/33 into FAILs.
616 2003-03-03 Michael Chastain <mec@shout.net>
618 * configure.in: Update copyright years.
620 2003-03-03 Michael Chastain <mec@shout.net>
622 * Makefile.in: Update copyright years.
624 2003-02-28 David Carlton <carlton@math.stanford.edu>
626 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
627 print class instead of struct and/or superfluous protection
628 specifiers, as long as the resulting output is equivalent to the
630 Delete FIXME from end of messages on tests that don't need
633 2003-02-28 David Carlton <carlton@math.stanford.edu>
635 * gdb.c++/templates.exp (do_tests): Allow const in the two
636 Foo<volatile char *>::foo tests.
638 2003-02-27 Michael Snyder <msnyder@redhat.com>
640 * gdb.base/restore.c (main): Return zero, so exit code
643 2003-02-26 David Carlton <carlton@math.stanford.edu>
645 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
646 char *>::foo" test with respect to PR c++/33. Create a new test
647 which is identical to that one except that it doesn't put the
648 space between the "char" and the "*"; KFAIL it, too.
650 2003-02-26 David Carlton <carlton@math.stanford.edu>
652 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
653 template types into either PASSes or KFAILs (corresponding to PR
654 c++/57). Tweak indentation. Update copyright.
656 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
658 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
660 2003-02-13 Michael Chastain <mec@shout.net>
662 * gdb.base/exprs.exp: Remove i960 remnants.
663 * gdb.base/funcargs.exp: Likewise.
664 * gdb.base/list.exp: Likewise.
665 * gdb.base/ptype.exp: Likewise.
667 2003-02-14 David Carlton <carlton@math.stanford.edu>
669 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
670 pEe->D::vg()" from XFAIL to KFAIL.
672 2003-02-13 Jason Molenda (jmolenda@apple.com)
674 * gdb.base/maint.exp: Update maint print statistics regexp to include
677 2003-02-13 Michael Chastain <mec@shout.net>
679 * gdb.c++/inherit.exp: Remove call to get_debug_format.
681 2003-02-12 Michael Chastain <mec@shout.net>
683 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
684 * gdb.c++/inherit.exp: Likewise.
685 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
686 * gdb.c++/templates.exp: Likewise.
687 * gdb.c++/virtfunc.exp: Likewise.
689 2003-02-06 Jason Molenda (jason-cl@molenda.com)
691 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
692 why the code is written that way.
694 2003-02-05 Michael Chastain <mec@shout.net>
696 * gdb.base/dump.exp: Add missing copyright line.
698 2003-02-05 Jason Molenda (jason-cl@molenda.com)
700 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
701 at the beginning so the breakpoint doesn't get set on the loop.
703 2003-02-05 Michael Chastain <mec@shout.net>
705 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
706 output for configurations with gcc 2.95.3.
708 2003-02-05 Keith Seitz <keiths@redhat.com>
709 Andrew Cagney <ac131313@redhat.com>
711 * gdb.mi/mi-cli.exp: New file.
713 2003-02-04 Michael Chastain <mec@shout.net>
715 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
716 Call perror and then continue.
718 2003-02-03 Michael Chastain <mec@shout.net>
720 * gdb.c++/pr-1023.cc: New file.
721 * gdb.c++/pr-1023.exp: New file.
723 2003-02-05 Jim Blandy <jimb@redhat.com>
725 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
726 it's local to foobar. Check for it there, and check that it's not
728 * gdb.c++/local.cc (marker2): New function.
729 (foobar): Call marker1.
730 (main): Call marker2 instead of marker1.
732 2003-02-04 Andrew Cagney <ac131313@redhat.com>
734 * gdb.disasm/mn10200.exp: Obsolete file.
735 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
736 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
737 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
739 2003-02-04 David Carlton <carlton@math.stanford.edu>
741 * gdb.c++/overload.exp: Test intToChar(1).
742 * gdb.c++/overload.cc (intToChar): New.
743 (main): Call intToChar.
745 2003-02-03 David Carlton <carlton@math.stanford.edu>
747 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
749 KFAIL some of the continue_to_bp_overloaded calls, according to
752 2003-02-01 Michael Chastain <mec@shout.net>
754 * gdb.base/advance.c (marker1): New marker function.
755 * gdb.base/advance.exp: When the 'advance' command lands on the
756 return breakpoint, it can legitimately stop on either the
757 current line or the next line. Accommodate both outcomes.
758 * gdb.base/until.exp: Likewise.
760 2003-02-02 Andrew Cagney <ac131313@redhat.com>
762 2002-11-10 Jason Molenda (jason-cl@molenda.com):
763 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
764 now a list, not a tuple.
765 * gdb.mi/mi-var-display.exp: Ditto.
766 * gdb.mi/gdb792.exp: Ditto.
768 2003-02-01 Andrew Cagney <ac131313@redhat.com>
770 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
771 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
773 * gdb.mi/mi-syn-frame.c: Part of same.
775 2003-02-01 Mark Kettenis <kettenis@gnu.org>
777 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
778 gdb.mi/mi1-pthreads.exp: Return instead of calling
779 gdb_suppress_entire_file.
781 2003-02-01 Mark Salter <msalter@redhat.com>
783 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
785 2003-01-31 Mark Salter <msalter@redhat.com>
787 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
790 2003-01-30 Michael Chastain <mec@shout.net>
792 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
793 This was a workaround for a UTF-8 bug in readline 4.3. The bug
794 has been fixed in gdb/readline on 2003-01-09.
796 2003-01-29 Michael Snyder <msnyder@redhat.com>
798 * gdb.base/maint.exp: Allow for leading underscore in symbol.
799 * gdb.base/display.exp: Allow for leading underscore in symbol.
800 * gdb.base/args.exp: Skip if target does not support args passing.
802 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
804 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
805 gdb_test. Accept a list of expect arguments as the third
809 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
811 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
812 allow for different test tree configurations. Update some
813 tescases accordingly.
814 * gdb.arch/altivec-regs.exp: Ditto.
815 * gdb.asm/asm-source.exp: Ditto.
816 * gdb.base/advance.exp: Ditto.
817 * gdb.base/display.exp: Ditto.
818 * gdb.base/long_long.exp: Ditto.
819 * gdb.base/mips_pro.exp: Ditto.
820 * gdb.base/overlays.exp: Ditto.
821 * gdb.base/relocate.exp: Ditto.
822 * gdb.base/setshow.exp: Ditto.
823 * gdb.base/step-line.exp: Ditto.
824 * gdb.base/step-test.exp: Ditto.
825 * gdb.base/until.exp: Ditto.
826 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
828 2003-01-17 David Carlton <carlton@math.stanford.edu>
830 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
831 corresponding to PR c++/945.
834 2003-01-17 David Carlton <carlton@math.stanford.edu>
836 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
837 corresponding to PR c++/68.
839 2003-01-17 David Carlton <carlton@math.stanford.edu>
841 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
842 (test_paddr_hairy_functions): Call print_addr_2_kfail for
843 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
845 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
847 * gdb.base/break.exp: Fix change of default location, because of
848 removal of until tests.
849 * gdb.base/help.exp: Update test for new 'until' help message.
850 Add test for help on 'advance'.
851 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
853 2003-01-15 Mark Kettenis <kettenis@gnu.org>
855 * gdb.base/default.exp: Adapt "info float" test for recent changes
856 to that command. Add test for "info vector".
857 * gdb.base/float.exp: New file. Add test for "info float" that
858 resembles the old test in gdb.base/default.exp.
860 2003-01-15 David Carlton <carlton@math.stanford.edu>
862 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
864 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
866 * gdb.base/break.exp: Move the tests of until command from here...
867 * gdb.base/until.exp: ... to here. New file. Add other tests.
868 * gdb.base/advance.c: New file.
869 * gdb.base/advance.exp: New file.
871 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
873 * gdb.base/args.c: New file.
874 * gdb.base/args.exp: New file.
876 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
878 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
880 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
882 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
884 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
886 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
889 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
891 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
893 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
895 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
897 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
899 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
901 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
902 * gdb.mi/mi1-console.exp: Likewise.
904 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
906 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
907 * gdb.mi/mi1-console.exp: Likewise.
909 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
911 * gdb.c++/overload.exp: Remove some fixed XFAILs.
913 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
915 * gdb.base/detach.exp: New test.
917 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
919 * Makefile.in (ALL_SUBDIRS): New variable.
920 (subdirs, clean, distclean): Use it.
921 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
922 regenerating Makefile, since it is generated from the top level.
923 * gdb.asm/Makefile.in: Likewise.
924 * gdb.base/Makefile.in: Likewise.
925 * gdb.c++/Makefile.in: Likewise.
926 * gdb.disasm/Makefile.in: Likewise.
927 * gdb.java/Makefile.in: Likewise.
928 * gdb.mi/Makefile.in: Likewise.
929 * gdb.threads/Makefile.in: Likewise.
930 * gdb.trace/Makefile.in: Likewise.
932 2003-01-09 David Carlton <carlton@math.stanford.edu>
934 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
935 Add copyright year 2003.
937 2003-01-06 Michael Chastain <mec@shout.net>
939 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
940 When selecting a thread, 'line' and 'file' are optional.
941 * gdb.mi/mi1-pthreads.exp: Likewise.
943 2003-01-06 Andreas Schwab <schwab@suse.de>
945 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
948 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
951 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
952 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
954 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
955 instead of calling gdb_suppress_entire_file.
956 * gdb.threads/print-threads.exp: Likewise.
957 * gdb.threads/schedlock.exp: Likewise.
959 * gdb.threads/killed.exp: Return instead of calling
960 gdb_suppress_entire_file.
961 * gdb.threads/linux-dp.exp: Likewise.
962 * gdb.threads/pthreads.exp: Likewise.
964 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
966 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
968 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
969 * gdb.base/whatis.exp: Always allow (void) after function names.
971 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
973 * gdb.c++/casts.exp: Correct regexp.
975 2003-01-04 Mark Kettenis <kettenis@gnu.org>
977 * configure.in: Call AC_CONFIG_HEADER. Don't call
978 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
979 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
980 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
981 aforementioned directories in the AC_OUPUT call.
982 * config.hin: New file.
983 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
984 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
985 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
986 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
987 pass -I$objdir instead of -I$objdir/$subdir in compilation.
988 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
989 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
990 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
991 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
992 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
993 gdb.threads/configure.in, gdb.threads/configure,
994 gdb.threads/config.in, gdb.trace/configure.in,
995 gdb.trace/configure: Removed.
997 2003-01-03 Michael Chastain <mec@shout.net>
999 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1000 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1002 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
1004 * gdb.base/store.exp: Fix regular expressions.
1006 2002-12-28 Mark Kettenis <kettenis@gnu.org>
1008 * configure.in: Rewrite.
1009 * configure: Regenerated.
1011 2003-01-03 David Carlton <carlton@math.stanford.edu>
1013 * gdb.base/psymtab.exp: New file.
1014 * gdb.base/psymtab1.c: Ditto.
1015 * gdb.base/psymtab2.c: Ditto.
1017 2002-12-23 Adam Fedor <fedor@gnu.org>
1019 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1021 2002-12-23 David Carlton <carlton@math.stanford.edu>
1023 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1024 and current_directory initialization.
1026 2002-12-22 Jim Blandy <jimb@redhat.com>
1028 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1029 rather than as part of the output file name.
1031 * gdb.base/attach.exp: There's no need to copy the test program to
1032 /tmp; that was only ever necessary on HP/UX, and this test is
1033 entirely disabled there anyway.
1035 2002-12-21 Jim Blandy <jimb@redhat.com>
1037 * gdb.c++/psmang.exp: Doc fix.
1039 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1042 2002-12-20 David Carlton <carlton@math.stanford.edu>
1044 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1046 2002-12-18 Michael Chastain <mec@shout.net>
1048 * gdb.c++/annota2.exp: Add copyright year 2002.
1050 2002-12-17 David Carlton <carlton@math.stanford.edu>
1052 * gdb.c++/try_catch.cc: Add marker comments.
1053 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1054 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1055 * gdb.c++/m-static.cc: Ditto.
1056 * gdb.c++/m-static1.cc: Ditto.
1057 * gdb.c++/try_catch.cc: Ditto.
1059 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1061 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1062 to see whether we are using the new -environment-directory
1063 command which resets via -r or the old version of the command
1064 which may prompt the user. Part of fix for gdb/741.
1066 2002-12-13 Andrew Cagney <ac131313@redhat.com>
1068 * gdb.fortran/types.exp: Update obsolete comment.
1069 * gdb.fortran/exprs.exp: Ditto.
1070 * lib/gdb.exp: Delete obsolete code.
1071 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1072 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1073 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1074 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1075 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1076 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1077 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1078 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1079 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1080 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1081 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1082 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1083 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1084 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1085 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1086 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1087 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1088 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1089 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1090 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1091 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1092 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1093 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1094 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1095 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1096 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1097 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1098 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1099 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1100 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1101 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1102 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1103 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1104 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1105 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1106 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1107 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1109 2002-12-11 David Carlton <carlton@math.stanford.edu>
1111 * gdb.c++/m-data.exp: Add test for members that shadow global
1112 variables: see PR gdb/804.
1113 * gdb.c++/m-data.cc: Ditto.
1115 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
1117 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1119 2002-12-06 David Carlton <carlton@math.stanford.edu>
1121 * gdb.base/store.c: Don't declare functions static.
1123 2002-12-04 Andrew Cagney <ac131313@redhat.com>
1125 * gdb.base/store.exp, gdb.base/store.c: New files.
1127 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
1129 * gdb.base/selftest.exp: Update for current gdb.
1131 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
1133 * gdb.base/maint.exp: Only dump symbols from one source file
1136 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
1138 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1141 2002-11-25 Jim Blandy <jimb@redhat.com>
1143 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1144 function appearing in error message.
1146 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
1148 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1150 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1152 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1153 for mi1 and current mi is in correct format. New mi startup message
1154 should be in mi console format. This is part of fix for PR gdb/604.
1156 2002-09-18 Fernando Nasser <fnasser@redhat.com>
1158 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1159 which explicitly prints the zero offset as "+0".
1161 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
1163 * gdb.threads/schedlock.c (args): Make unsigned.
1165 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
1167 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1168 numbers. Allow "foo2|selected stack frame".
1169 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1170 * gdb.asm/asmsrc2.s: Likewise.
1171 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1173 * gdb.asm/mips.inc: New file.
1175 2002-10-18 Adam Fedor <fedor@gnu.org>
1177 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1178 * gdb.base/help.exp: Likewise.
1180 2002-10-17 Kevin Buettner <kevinb@redhat.com>
1182 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1183 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1185 2002-10-02 Jim Blandy <jimb@redhat.com>
1187 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1189 2002-10-01 Andrew Cagney <ac131313@redhat.com>
1191 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1192 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1193 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1194 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1195 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1196 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1197 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1199 2002-09-29 Andrew Cagney <ac131313@redhat.com>
1201 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1202 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1203 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1204 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1205 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1206 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1207 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1209 2002-09-27 Kevin Buettner <kevinb@redhat.com>
1211 * gdb.base/annota1.exp (info break): Make directory components of
1212 path optional since not all compilers emit this debug information.
1214 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1215 step ends up stepping out of the function instead of stopping on
1218 2002-09-26 Keith Seitz <keiths@redhat.com>
1220 * lib/insight-support.exp (gdbtk_start): Figure out where
1221 the insight executable is based on where gdb is. Use this
1222 executable to start insight instead of gdb.
1224 2002-09-25 Andrew Cagney <cagney@redhat.com>
1226 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1228 2002-09-24 Andrew Cagney <ac131313@redhat.com>
1230 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1231 test_isolated_complaints.
1232 (test_empty_complaint): New function.
1233 (test_empty_complaints): New function. Check no output when no
1236 2002-09-19 Jim Blandy <jimb@redhat.com>
1238 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1240 2002-09-19 Andrew Cagney <ac131313@redhat.com>
1242 * gdb.gdb/complaints.exp: New file.
1244 2002-09-18 Andrew Cagney <ac131313@redhat.com>
1246 * gdb.base/maint.exp: Check `help maint internal-warning'.
1248 2002-09-18 David Carlton <carlton@math.stanford.edu>
1250 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1251 numbers, and replace them by a single breakpoint after the
1252 constructors are all finished.
1254 * gdb.c++/m-static.cc: Add test 4.
1255 * gdb.c++/m-static.h: New file.
1256 * gdb.c++/m-static1.cc: New file.
1258 * gdb.c++/printmethod.exp: New file.
1259 * gdb.c++/printmethod.cc: New file.
1261 * gdb.c++/pr-574.exp: New file.
1262 * gdb.c++/pr-574.cc: New file.
1264 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1266 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1267 embedded targets which never actually exit.
1269 2002-09-18 Fernando Nasser <fnasser@redhat.com>
1271 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1272 "don't step after run" as unresolved or unsupported, instead of xfail.
1274 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1276 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1277 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1278 Add newline to expected string in "step out of main (status wrapper)"
1281 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1283 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1284 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1286 2002-09-17 Tom Tromey <tromey@redhat.com>
1288 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1289 \000, not \0, in double-quoted string.
1291 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
1293 * gdb.base/command.exp: Don't expect a "Program exited normally"
1294 string after running the commands execution on breakpoint tests.
1296 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
1298 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1300 2002-09-12 Joel Brobecker <brobecker@gnat.com>
1302 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1304 2002-09-10 Keith Seitz <keiths@redhat.com>
1306 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1308 (mi_run_to_main): Use mi_runto.
1309 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1311 2002-09-10 Keith Seitz <keiths@redhat.com>
1313 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1314 regexp for stopping at main. Could have multiple event notifications.
1315 Don't assume that main was declared with no parameters.
1316 (mi_next): Use mi_step_to.
1317 (mi_step): Use mi_next_to.
1319 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
1321 * gdb.base/default.exp: Fix expected string in `info float' test.
1323 2002-09-09 Ben Elliston <bje@redhat.com>
1325 * config/mips.exp: Update comments.
1326 * config/mips-idt.exp: Likewise.
1327 * config/nind.exp: Likewise.
1328 * config/slite.exp: Likewise.
1329 * config/sparclet.exp: Likewise.
1330 * config/udi.exp: Likewise.
1331 * config/vx.exp: Likewise.
1332 * config/vxworks29k.exp: Likewise.
1334 2002-09-05 Jim Blandy <jimb@redhat.com>
1336 * gdb.threads/killed.exp: Fix test failure message.
1338 2002-09-04 Keith Seitz <keiths@redhat.com>
1340 * lib/mi-support.exp: Update copyright.
1341 (mi_gdb_test): Increase the priority of the expected pattern
1342 so that it matches gdb_test.
1344 2002-09-03 Keith Seitz <keiths@redhat.com>
1346 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1347 Use integer comparison instead of string comparison for testing
1348 whether binary was built.
1350 2002-09-03 Jim Blandy <jimb@redhat.com>
1352 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1354 2002-08-29 Jim Blandy <jimb@redhat.com>
1356 * gdb.threads/pthreads.exp: Move the portable thread compilation
1357 code into a function in lib/gdb.exp, and call that from here.
1358 * lib/gdb.exp (gdb_compile_pthreads): New function.
1360 2002-08-29 Keith Seitz <keiths@redhat.com>
1362 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1363 expect_out so that callers can get at it.
1365 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
1367 * gdb.threads/print-threads.c: New file.
1368 * gdb.threads/print-threads.exp: New file.
1369 * gdb.threads/schedlock.c: New file.
1370 * gdb.threads/schedlock.exp: New file.
1372 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
1374 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1377 2002-08-17 Mark Kettenis <kettenis@gnu.org>
1379 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1380 targets. The problem should be fixed now.
1382 2002-08-15 Mark Kettenis <kettenis@gnu.org>
1384 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1385 2002-07-24 change that removes final dots from error messages.
1387 2002-08-13 Tom Tromey <tromey@redhat.com>
1389 * gdb.base/readline.exp: New file.
1391 2002-08-01 Andrew Cagney <ac131313@redhat.com>
1393 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1396 2002-08-01 Andrew Cagney <cagney@redhat.com>
1398 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1399 CHILL_FOR_TARGET and CHILL_LIB.
1400 * configure.in (configdirs): Remove gdb.chill.
1401 * configure: Regenerate.
1402 * lib/gdb.exp: Obsolete references to chill.
1403 * gdb.fortran/types.exp: Ditto.
1404 * gdb.fortran/exprs.exp: Ditto.
1406 2002-07-30 Kevin Buettner <kevinb@redhat.com>
1408 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1409 set Irix-specific compile and link flags.
1411 2002-07-29 Kevin Buettner <kevinb@redhat.com>
1413 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1414 source files. The ``-o'' option doesn't work with the ``-E'' option
1415 when using the Irix compiler.
1417 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
1419 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1420 Improve support for reusing an exec file. Copy exec file
1421 to target, and run gdbserver on the target instead of on the host.
1423 2002-07-18 Jim Blandy <jimb@redhat.com>
1425 * gdb.base/ending-run.exp: Don't expect to see the program end in
1426 some orderly fashion when we're running on a real stand-alone
1429 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1430 targets that don't support interrupts.
1432 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1434 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1436 Move comments in expect statements to inside the actions, so that they
1437 don't get matched against.
1439 2002-07-10 Mark Kettenis <kettenis@gnu.org>
1441 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1442 function when asleep" test.
1444 2002-07-10 Andrew Cagney <ac131313@redhat.com>
1446 * gdb.base/page.exp: Rewrite to handle problems with very long
1447 `info set' output. Update copyright.
1449 2002-06-26 Andrew Cagney <ac131313@redhat.com>
1451 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1453 * gdb.hp/configure: Regenerate.
1454 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1455 * gdb.hp/gdb.threads-hp/configure: Delete file.
1456 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1458 2002-06-22 Andrew Cagney <ac131313@redhat.com>
1460 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1461 setlocale, bindtextdomain and textdomain.
1463 2002-06-11 Jim Blandy <jimb@redhat.com>
1465 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1466 preprocessor macro information is present.
1468 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1471 2002-06-06 Michael Snyder <msnyder@redhat.com>
1473 * gdb.base/overlays.exp: Record addresses of overlay
1474 functions in TCL variables rather than in GDB variables,
1475 to avoid having GDB convert them to pointers (with loss
1478 * gdb.base/d10v.ld: Merge in several years worth of
1479 default linker script changes.
1480 * gdb.base/long_long.exp: Add check for sizeof (long double).
1482 2002-06-06 Michal Ludvig <mludvig@suse.cz>
1484 * gdb.asm/asm-source.exp: Add x86-64 target.
1485 * gdb.asm/x86_64.inc: New.
1487 2002-05-30 Michael Chastain <mec@shout.net>
1489 From Benjamin Kosnik <bkoz@redhat.com>:
1490 * gdb.c++/m-static.cc: New file.
1491 * gdb.c++/m-static.exp: New file.
1493 2002-05-28 Michael Snyder <msnyder@redhat.com>
1495 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1498 2002-05-27 Michael Chastain <mec@shout.net>
1500 From Benjamin Kosnik <bkoz@redhat.com>:
1501 * gdb.c++/m-data.cc: New file.
1502 * gdb.c++/m-data.exp: New file.
1504 2002-05-27 Michael Chastain <mec@shout.net>
1506 From Benjamin Kosnik <bkoz@redhat.com>:
1507 * gdb.c++/try_catch.cc: New file.
1508 * gdb.c++/try_catch.exp: New file.
1510 2002-05-27 Michael Chastain <mec@shout.net>
1512 * gdb.c++/local.exp: Accept more nested types in output.
1514 2002-05-26 Michael Chastain <mec@shout.net>
1516 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1518 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1520 * lib/gdb.exp (gdb_wrapper_init): Just because
1521 gdb_wrapper_file exists, this does not mean that the file
1522 should not be rebuilt. That is what gdb_wrapper_initialized
1524 (default_gdb_init): Reset gdb_wrapper_initialized.
1526 2002-05-23 Michael Snyder <msnyder@redhat.com>
1528 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1529 the precision of the floating point test results.
1530 * gdb.base/call-rt-st.exp: Ditto.
1532 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1533 * gdb.base/call-rt-st.exp: Ditto.
1535 2002-05-19 Michael Chastain <mec@shout.net>
1537 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1539 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
1541 * configure.in (configdirs): Add gdb.arch.
1542 * configure: Regenerate.
1544 2002-05-17 Jim Blandy <jimb@redhat.com>
1546 * gdb.base/completion.exp: Recognize the more detailed error
1547 messages produced by the macro expander's lexical analyzer.
1549 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1551 * gdb.arch/altivec-abi.c: New file.
1552 * gdb.arch/altivec-abi.exp: New file.
1553 * gdb.arch/altivec-regs.c: New file.
1554 * gdb.arch/altivec-regs.exp: New file.
1556 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
1558 * gdb.base/maint.exp (maint print type): Update for new type
1561 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1563 * gdb.arch: New directory.
1564 * gdb.arch/configure.in: New file.
1565 * gdb.arch/configure: New file.
1566 * gdb.arch/Makefile.in: New file.
1568 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
1570 * gdb.asm/asm-source.exp: Add v850 as supported target.
1571 * gdb.asm/v850.inc: New file.
1573 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
1575 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1577 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
1579 * gdb.base/break.exp: Check 'break "marker2"'.
1581 2002-05-10 Michael Snyder <msnyder@redhat.com>
1583 * gdb.base/long_long.exp: Fix typo.
1585 2002-05-10 Jim Blandy <jimb@redhat.com>
1587 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1590 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1591 Recognize more detailed error message produced by the macro
1592 expander's lexical analyzer.
1593 * lib/gdb.exp (test_print_reject): Same.
1595 2002-05-09 Mark Kettenis <kettenis@gnu.org>
1597 * gdb.c++/method.exp: Fix typo.
1599 2002-05-08 Michael Snyder <msnyder@redhat.com>
1601 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1602 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
1603 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
1604 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1605 Add iftarget clause for strongarm.
1607 2002-05-06 Michael Snyder <msnyder@redhat.com>
1609 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1610 (gdb_continue_to_end): Accept output from status wrapper.
1611 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1612 Clean up fail messages to match pass messages.
1614 Enable the "needs_status_wrapper" testsuite feature.
1615 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1616 (gdb_compile): Conditionally call gdb_wrapper_init.
1617 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1618 * gdb.c++/method.exp: Recognize output from status wrapper.
1620 2002-05-06 Ben Elliston <bje@redhat.com>
1621 From Graydon Hoare <graydon@redhat.com>
1623 * config/sid.exp: Include support for "rawsid" protocol.
1625 2002-05-03 Jim Blandy <jimb@redhat.com>
1627 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1628 * gdb.c++/hang3.C: New file.
1630 2002-05-04 Andrew Cagney <ac131313@redhat.com>
1632 * gdb.base/default.exp: Remove obsolete code.
1633 * gdb.c++/misc.exp: Ditto. Update copyright.
1634 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1635 * gdb.base/whatis.exp: Ditto. Update copyright.
1636 * gdb.base/scope.exp: Ditto. Update copyright.
1637 * gdb.base/ptype.exp: Ditto. Update copyright.
1638 * gdb.base/printcmds.exp: Ditto. Update copyright.
1639 * gdb.base/opaque.exp: Ditto. Update copyright.
1640 * gdb.base/list.exp: Ditto.
1641 * gdb.base/funcargs.exp: Ditto. Update copyright.
1642 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1643 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1644 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1645 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1646 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1647 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1649 2002-05-02 Michael Snyder <msnyder@redhat.com>
1651 * gdb.base/watchpoint.exp: Add xscale target.
1652 * gdb.base/long_long.exp: Add xscale target.
1653 * gdb.base/default.exp: Add xscale target.
1655 2002-05-01 Jim Blandy <jimb@redhat.com>
1657 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1658 gdb.c++/hang.exp: New test.
1660 2002-05-01 Fred Fish <fnf@redhat.com>
1662 * gdb.base/completion.exp: Handle completions of "./Make" for
1663 more than one completion possibility, as is the case when we
1664 build and test in the source tree.
1666 2002-04-29 Anthony Green <green@redhat.com>
1668 * gdb.java/jmisc1.exp: New file.
1669 * gdb.java/jmisc2.exp: New file.
1671 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
1673 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1675 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
1677 * gdb.base/help.exp: Change 'help status' to allow for target
1678 dependent output differences.
1680 2002-04-22 Michael Chastain <mec@shout.net>
1682 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1684 2002-04-22 Michael Chastain <mec@shout.net>
1686 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1688 2002-04-17 David S. Miller <davem@redhat.com>
1690 * gdb.asm/sparc64.inc: New file.
1691 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1693 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
1695 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1696 instruction file directly into the build tree. Clean up at end of
1699 2002-04-18 David S. Miller <davem@redhat.com>
1701 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1702 handle 64-bit platforms correctly.
1703 * gdb.base/maint.exp: Likewise.
1705 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1707 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1708 ``-fpic'' when compiling files comprising a shared library, but
1709 it does need additional linker flags in order to find shared
1710 libraries at run time.
1712 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1714 * gdb.base/cvexpr.c (use): New function.
1715 (main): Invoke use() on all global variables to prevent
1716 some linkers from deleting these otherwise unused symbols.
1718 2002-04-17 Michael Chastain <mec@shout.net>
1719 From David S. Miller <davem@redhat.com>
1721 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1722 handle 64-bit platforms correctly.
1724 2002-04-12 Michael Snyder <msnyder@redhat.com>
1725 From Jim Blandy <jimb@redhat.com>
1726 * gdb.base/foo.c (foox): Remove section attribute; the linker
1727 script can handle this instead.
1728 * gdb.base/bar.c (barx): Same.
1729 * gdb.base/baz.c (bazx): Same.
1730 * gdb.base/grbx.c (grbxx): Same.
1732 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1733 manager doesn't automatically unmap overlays unnecessarily.
1735 2002-04-10 Martin M. Hunt <hunt@redhat.com>
1737 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1738 stepping out of main.
1740 2002-04-09 Michael Chastain <mec@shout.net>
1742 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1743 scope so that the nested scope tests will make sense.
1744 * gdb.c++/local.exp: Write patterns that actually work with gcc
1745 (the HP patterns "were never known to work with gcc").
1746 Keep the old aCC patterns too.
1748 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1750 * gdb.base/attach.exp: Correct target board test.
1752 2002-04-08 Michael Chastain <mec@shout.net>
1754 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1755 in a const method. Add some xfail and fail cases for configurations
1756 that do not emit the "const ...".
1758 2002-04-07 Michael Chastain <mec@shout.net>
1760 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1761 Accept "A * const" and "const A * const" as type of "this".
1762 Fix spelling of getFunky throughout. Make messages uniform.
1764 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1766 Work around for PR gdb/285:
1767 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1769 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1771 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1772 instructions file at run time instead of configure time.
1773 Sometimes we run the test in a directory that is not the one we
1775 * gdb.asm/configure.in: Delete creation of symlink.
1776 * gdb.asm/configure: Regenerate.
1778 2002-04-05 J. Brobecker <brobecker@gnat.com>
1780 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1781 xfullpath () function.
1783 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1785 * gdb.asm/Makefile.in: Correct dependencies.
1787 * gdb.asm/powerpc.inc: New file.
1788 * gdb.asm/asm-source.exp: Add PowerPC.
1789 * gdb.asm/configure.in: Likewise.
1790 * gdb.asm/configure: Regenerated.
1792 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1794 * gdb.base/relocate.exp: New file.
1795 * gdb.base/relocate.c: New file.
1797 2002-04-04 Fred Fish <fnf@redhat.com>
1799 * gdb.base/step-test.exp: Update comment regarding stopping in
1800 memcpy/bcopy calls inserted as part of the compiler runtime.
1802 2002-04-04 Michael Snyder <msnyder@redhat.com>
1804 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1806 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
1808 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1809 (gdb_expect): Remove $notransfer hack.
1811 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
1813 * gdb.c++/classes.exp ("calling method for small class"): Match
1814 updated register output.
1816 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1819 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1820 when finished. Make gdb_file_cmd send "exec-file" when
1823 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1825 * gdb.base/attach.exp: Remove extra setup_xfail.
1827 2002-03-26 Michael Snyder <msnyder@redhat.com>
1829 * gdb.base/default.exp: Add tests for dump, append, and restore.
1830 * gdb.base/help.exp: Add tests for dump, append, and restore.
1831 * gdb.base/dump.exp: New file, test dump, append and restore.
1832 * gdb.base/dump.c: New file.
1834 2002-03-27 Michael Snyder <msnyder@redhat.com>
1836 * gdb.base/help.exp: Modify expect strings to reflect
1837 clean-ups in help messages.
1839 2002-03-26 Fred Fish <fnf@redhat.com>
1841 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1842 have debugging info for those functions and the compiler uses them
1843 internally to copy structs around.
1845 2002-03-26 Fred Fish <fnf@redhat.com>
1847 * gdb.base/list.exp: Revert the change made yesterday and add note
1848 about why we don't list the default lines for remote targets.
1850 2002-03-25 Michael Snyder <msnyder@redhat.com>
1852 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1854 2002-03-25 Fred Fish <fnf@redhat.com>
1856 * gdb.base/list.exp: This test works on remote targets so remove
1857 the short circuit for remote targets. Update copyright.
1859 2002-03-25 Fred Fish <fnf@redhat.com>
1861 * gdb.base/attach.exp: Fix logic error that was suppressing this
1862 test for all non hppa*-*-hpux* targets, instead of the hp target.
1863 Move comments closer to the suppression point. Also now need to
1864 check that we are running natively.
1866 2002-03-22 Michael Snyder <msnyder@redhat.com>
1868 * gdb.base/default.exp: Add test for gcore. Update copyright.
1869 * gdb.base/help.exp: Add test for gcore. Update copyright.
1871 2002-03-06 Fred Fish <fnf@redhat.com>
1873 * gdb.base/funcargs.c: Remove extraneous ';' character.
1874 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1876 2002-03-04 Michael Chastain <mec@shout.net>
1878 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1879 accommodate gcc v3 function signature.
1880 * gdb.mi/mi0-var-cmd-exp: Ditto.
1882 2002-02-24 Andrew Cagney <ac131313@redhat.com>
1884 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1885 ``GNU/Linux'' or ``Linux kernel''
1886 * testsuite/gdb.threads/pthreads.c: Ditto.
1888 2002-02-24 Michael Chastain <mec@shout.net>
1890 * gdb.threads/pthreads.c (thread1): Add a return statement.
1891 (thread2): Likewise.
1894 2002-02-23 Michael Chastain <mec@shout.net>
1896 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1899 2002-02-23 Michael Chastain <mec@shout.net>
1901 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1902 test "ptype bint". The test passes on all my stabs configurations.
1904 2002-02-21 Jim Blandy <jimb@redhat.com>
1906 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1907 filename at a time, and watch for the ones we want to see.
1909 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1910 types of pointers to prototyped functions.
1912 2002-02-20 Andrew Cagney <ac131313@redhat.com>
1914 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1915 signed, unsigned and straight char.
1916 (padding_char, padding_short, padding_int, padding_long,
1917 padding_long_long, padding_float, padding_double,
1918 padding_long_double): New global variables.
1919 (fill, fill_structs): New functions.
1921 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1922 for correctly sized writes. Update copyright.
1923 (get_valueof): New procedure.
1924 (get_sizeof): Call get_valueof.
1925 (check_valueof): New procedure.
1926 (check_padding): New procedure.
1928 2002-02-20 Michael Chastain <mec@shout.net>
1930 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1931 to setup_xfail. Document some of the remaining calls.
1933 2002-02-18 Michael Chastain <mec@shout.net>
1935 * gdb.c++/userdef.exp: Update copyright year.
1937 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
1939 * gdb.c++/userdef.exp: Test overloaded operators properly.
1942 2002-02-14 Michael Snyder <msnyder@redhat.com>
1944 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1946 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1948 * gdb.base/a2-run.exp: Check for a remote target properly.
1949 * gdb.base/annota1.exp: Likewise.
1950 * gdb.base/list.exp: Likewise.
1951 * gdb.base/reread.exp: Likewise.
1952 * gdb.base/scope.exp: Likewise.
1953 * gdb.base/shlib-call.exp: Likewise.
1954 * gdb.base/term.exp: Likewise.
1955 * gdb.c++/annota2.exp: Likewise.
1957 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
1959 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1961 2002-02-10 Michael Chastain <mec@shout.net>
1963 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1964 (call_after_alloca): Ditto.
1966 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1968 * gdb.base/ending-run.exp: Guard "cont" test with
1969 gdb_skip_stdio_test.
1971 2002-02-06 Jim Blandy <jimb@redhat.com>
1973 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1975 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1976 To here. Disable this test on non-HP platforms. Add big comment.
1978 2002-02-04 Michael Snyder <msnyder@redhat.com>
1980 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1981 other than d10v and m32r.
1983 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
1985 * gdb.base/default.exp: Rewrite test patterns to reduce time
1986 taken to match them.
1988 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1990 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1991 Allow a start function above main.
1992 * gdb.threads/linux-dp.exp: Fix copyright date.
1994 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1996 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1997 (check_philosopher_stack): Check for manager thread before checking
1998 for a just-starting thread.
2000 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
2002 From Neil Booth <neil@daikokuya.demon.co.uk>:
2003 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2006 2002-01-21 Fred Fish <fnf@redhat.com>
2008 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2011 2002-01-21 Jim Blandy <jimb@redhat.com>
2013 * gdb.base/reread.exp: Check that GDB properly re-reads the
2014 executable file when it changes while no inferior is running.
2016 2002-01-21 Fred Fish <fnf@redhat.com>
2018 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2019 optionally accept the "shlib events" variation.
2021 2002-01-21 Jim Blandy <jimb@redhat.com>
2023 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2024 call `fflush' after every `printf', so that the output is produced
2025 at predictable points, regardless of whatever buffering does (or
2026 doesn't) take place.
2027 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2028 at different points.
2030 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2032 * gdb.c++/inherit.exp: Update copyright years.
2033 * gdb.c++/method.exp: Likewise.
2035 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2037 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2038 artificial methods/arguments.
2039 * gdb.c++/derivation.exp: Likewise.
2040 * gdb.c++/inherit.exp: Likewise.
2041 * gdb.c++/method.exp: Likewise.
2042 * gdb.c++/virtfunc.exp: Likewise.
2044 2002-01-18 Andrew Cagney <ac131313@redhat.com>
2046 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2047 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2048 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2049 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2050 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2051 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2053 2002-01-17 Jim Blandy <jimb@redhat.com>
2055 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2056 anchoring the pattern matching the entry point symbol's name.
2058 2002-01-17 Andrew Cagney <ac131313@redhat.com>
2060 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2061 continue/quit query. Update copyright.
2063 2002-01-14 Michael Snyder <msnyder@redhat.com>
2065 * gdb.base/gcore.exp: Remove extra debugging output.
2067 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2069 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2070 for slightly dubious v2 mangled string.
2072 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2074 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2076 2002-01-10 Jason Merrill <jason@redhat.com>
2078 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
2080 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2082 * gdb.c++/derivation.exp: Likewise.
2083 * gdb.c++/templates.exp: Likewise.
2084 * gdb.c++/virtfunc.exp: Likewise.
2086 2002-01-10 Michael Snyder <msnyder@redhat.com>
2088 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2090 2002-01-08 Michael Snyder <msnyder@redhat.com>
2092 * gdb.base/gcore.exp: New test for generate-core-file command.
2093 * gdb.base/gcore.c: Testcase for above.
2094 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2096 2002-01-08 Jason Merrill <jason@redhat.com>
2098 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2100 2002-01-07 Fred Fish <fnf@redhat.com>
2102 * gdb.c++/overload.exp: Remove unconditional xfails for:
2103 print foo_instance1.overloadargs(1)
2104 print foo_instance1.overloadargs(1, 2)
2105 print foo_instance1.overloadargs(1, 2, 3)
2106 print foo_instance1.overloadargs(1, 2, 3, 4)
2107 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2108 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2109 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2110 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2111 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2112 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2113 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2114 print foo_instance1.overload1arg()
2115 print foo_instance1.overload1arg((char)arg2)
2116 print foo_instance1.overload1arg((signed char)arg3)
2117 print foo_instance1.overload1arg((unsigned char)arg4)
2118 print foo_instance1.overload1arg((int)arg7)
2119 print foo_instance1.overload1arg((unsigned int)arg8)
2120 print foo_instance1.overload1arg((float)arg11)
2121 print foo_instance1.overload1arg((double)arg12)
2123 2002-01-07 Michael Snyder <msnyder@redhat.com>
2125 * gdb.base/huge.exp: New test. Print a very large target data object.
2126 (skip_huge_test): New test variable. Define if you want to skip this
2127 test. The test reads an 8 megabyte data object from the target, so it
2128 might be very time consuming on remote targets with a slow connection.
2129 * gdb.base/huge.c: New file. Test case for above.
2131 2002-01-07 Fred Fish <fnf@redhat.com>
2133 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2134 g_instance.bfoo, and g_instance.cfoo.
2136 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2138 * gdb.base/break.c (multi_line_if_conditional): New function.
2139 (multi_ilne_while_conditional): Likewise.
2140 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2141 IF or WHILE condition puts the breakpoint at the start of
2144 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2145 hppa*-*-hpux* expected failure.
2146 * gdb.base/structs.exp (do_function_calls): Similarly.
2148 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2151 2002-01-06 Andrew Cagney <ac131313@redhat.com>
2154 * gdb.base/structs.exp: Replace skip for a29k with skip for
2155 gdb,cannot_call_functions.
2156 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2157 * gdb.base/callfuncs.exp: Ditto.
2158 * gdb.base/call-rt-st.exp: Ditto.
2159 * gdb.base/call-strs.exp: Ditto.
2160 * gdb.base/callfwmall.exp: Ditto.
2161 * gdb.base/scope.exp: Obsolete xfail a29k.
2162 * gdb.c++/misc.exp: Ditto.
2163 * gdb.c++/cplusfuncs.exp: Ditto.
2164 * gdb.base/ptype.exp: Ditto.
2165 * gdb.base/printcmds.exp: Ditto.
2166 * gdb.base/opaque.exp: Ditto.
2167 * gdb.base/list.exp: Ditto.
2168 * gdb.base/funcargs.exp: Ditto.
2169 * gdb.base/default.exp: Ditto.
2171 2002-01-04 Michael Snyder <msnyder@redhat.com>
2173 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
2174 * gdb.base/maint.exp: Add tests for maint info sections options.
2176 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2178 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2180 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
2182 * gdb.asm/arm.inc: New file.
2183 * gdb.asm/asm-source.exp: Add arm targets.
2184 * gdb.asm/configure.in: Ditto.
2185 * gdb.asm/configure: Recreated from configure.in.
2187 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2189 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2191 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2192 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2193 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2194 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2196 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2197 either HP's compilers or GCC.
2199 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2200 a SIGBUS or SIGSEGV.
2202 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2204 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2205 can be compiled with either HP's compiler or GCC.
2207 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2208 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2209 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2211 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2212 to match current gdb output. Update due to using auto-solib-limit
2213 for limiting instead of overloading auto-solib-add.
2214 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2217 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
2218 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2219 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2220 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2221 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2222 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2223 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2224 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2225 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2226 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2227 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2228 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2229 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
2231 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2232 a SIGTRAP to the inferior.
2234 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
2236 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2237 Substitute call to target_link by call to gdb_compile.
2239 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2241 * gdb.base/break.exp: Fix HP specific search string when testing
2242 backtracing in a called function.
2244 * gdb.base/constvars.exp: Only set lang to C++ if we're
2245 compiling the test with HP's compilers.
2246 * gdb.base/volatile.exp: Similarly.
2248 2001-12-19 Jim Blandy <jimb@redhat.com>
2250 * gdb.base/printcmds.exp: Expect the null character to be printed
2251 as '\0', and the '\013' to be printed as '\v'.
2252 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2253 * gdb.base/setvar.exp: Same.
2255 2001-12-17 Jim Blandy <jimb@redhat.com>
2257 * gdb.base/completion.exp: Rather than completing very long
2258 filenames, which can make the readline library produce output we
2259 don't recognize, cd to the directory first, and then complete
2260 using nice, short relative paths.
2262 * gdb.base/completion.exp: On some systems, there is, in fact, a
2263 variable named `b' in scope, since GDB treats all static
2264 variables as being in scope. So use `no_var_named_this'
2267 * gdb.base/corefile.exp: Recognize the message saying that GDB
2268 can't find the core file's registers as a failure.
2270 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2272 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2273 test expect string more specific.
2275 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
2277 * gdb.asm/asm-source.exp: Add support for xstormy16.
2278 * gdb.asm/configure.in: Ditto.
2279 * gdb.asm/configure: Rebuild.
2280 * gdb.asm/xstormy16.inc: New file.
2282 2001-12-10 Fred Fish <fnf@redhat.com>
2284 * gdb.base/maint.exp: Update to match changes in type dumping code.
2286 2001-12-10 Jim Blandy <jimb@redhat.com>
2288 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2289 matching the entry point symbol's name at the beginning of the
2292 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2294 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2295 gdb.c++/inherit.exp, gdb.c++/method.exp,
2296 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2297 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2298 and class layout support.
2300 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2302 * gdb.c++/classes.exp: Add test for static member function.
2303 * gdb.c++/misc.cc: Add class with static member function.
2305 2001-12-07 Jim Blandy <jimb@redhat.com>
2307 If GDB says it can't find the struct the function returned, report
2308 those tests as `unsupported'.
2309 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2310 Rewrite subsequent tests to use it.
2312 If GDB says it can't find the struct the function returned, report
2313 those tests as `unsupported'.
2314 * gdb.base/structs.exp (call_struct_func): New function.
2315 (do_function_calls): Use call_struct_func to call the functions
2318 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2319 whether functions are prototyped or not, so we can't possibly pass
2320 arguments to t_float_values2 properly.
2322 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2323 value of `timeout' for targets other than the mips*tx39-*.
2325 2001-12-06 Michael Snyder <msnyder@redhat.com>
2327 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2328 and detect whether the start symbol has a leading underscore.
2330 2001-12-04 Jim Blandy <jimb@redhat.com>
2332 * gdb.base/completion.exp: Clarify indentation.
2334 2001-12-03 Jim Blandy <jimb@redhat.com>
2336 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2337 variables on the S/390, not `.word'.
2339 2001-11-30 Jim Blandy <jimb@redhat.com>
2341 Add assembly-source tests for s390-ibm-linux.
2342 * gdb.asm/s390.inc: New file.
2343 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2344 the S/390 architecture.
2345 * gdb.asm/configure: Regenerated.
2347 2001-11-30 Michael Snyder <msnyder@redhat.com>
2349 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2350 next, info source, info sources, info line, global and static
2351 variables, and static functions.
2352 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2353 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2354 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2355 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2356 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2357 (gdbasm_leave): Restore frame pointer.
2358 (gdbasm_startup): Copy stack set-up from crt0.S.
2360 2001-11-26 Fernando Nasser <fnasser@redhat.com>
2362 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2363 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2364 to a local (non-static) variable. Copy tstruct.a to a static buffer
2365 and return a pointer to that buffer.
2366 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2368 2001-11-24 Mark Kettenis <kettenis@gnu.org>
2370 * gdb.asm/configure.in: Fix recognition of ix86 target.
2371 * gdb.asm/configure: Regenerate.
2373 2001-11-21 Michael Snyder <msnyder@redhat.com>
2375 * gdb.asm/sparc.inc: New file.
2376 * gdb.asm/asm-source.exp: Recognize sparc target.
2377 * gdb.asm/configure.in: Recognize sparc target.
2378 * gdb.asm/configure: Regenerate.
2380 2001-11-21 Michael Snyder <msnyder@redhat.com>
2382 * gdb.asm/m32r.inc: New file.
2383 * gdb.asm/asm-source.exp: Recognize m32r target.
2384 * gdb.asm/configure.in: Recognize m32r target.
2385 * gdb.asm/configure: Regenerate.
2387 2001-11-20 Michael Snyder <msnyder@redhat.com>
2389 * gdb.asm/i386.inc: New file.
2390 * gdb.asm/asm-source.exp: Recognize ix86 target.
2391 * gdb.asm/configure.in: Recognize ix86 target.
2392 * gdb.asm/configure: Regenerate.
2394 * gdb.c++/namespace.exp: Fix quotes in output messages.
2396 2001-11-14 Michael Snyder <msnyder@redhat.com>
2398 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
2399 qualifier in a type cast expression, to designate an address
2400 in the instruction space (Harvard architecture).
2402 2001-11-13 Michael Snyder <msnyder@redhat.com>
2404 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2405 Tests for expressions using 'const' and 'volatile'.
2407 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
2409 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2411 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
2413 * lib/mi-support.exp (mi_run_to_helper): Move comments
2414 outside of gdb_expect.
2416 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
2418 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2419 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2420 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2421 mi0_run_to): New functions.
2422 * gdb.mi/mi-simplerun.exp: Use them.
2423 * gdb.mi/mi0-simplerun.exp: Likewise.
2424 * gdb.mi/mi-var-cmd.exp: Likewise.
2425 * gdb.mi/mi0-var-cmd.exp: Likewise.
2427 2001-11-10 Andrew Cagney <ac131313@redhat.com>
2429 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2430 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2432 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2434 * gdb.base/restore.exp: Include $expected value in restored test
2437 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2439 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2442 2001-11-08 Michael Snyder <msnyder@redhat.com>
2444 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2445 Add pass/fail message for stop at breakpoint in call dummy function.
2447 2001-11-07 Michael Snyder <msnyder@redhat.com>
2449 * gdb.c++/templates.exp (test_template_breakpoints):
2450 If we get an overload menu, but it does not match what
2451 we expect, we still need to issue the "cancel" command.
2452 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2453 making the whitespace optional. Argument for "new" may be
2454 "unsigned" as well as "unsigned int/long".
2455 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2456 making the whitespace optional. Also replace "(void) with
2457 "((void|)), making the keyword "void" optional.
2458 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2459 making the whitespace optional. Also replace "(void) with
2460 "((void|)), making the keyword "void" optional.
2461 * gdb.base/callfuncs.c (t_float_values): This function must
2462 _not_ be prototyped, and the following function (t_float_values2)
2463 must be prototyped (if the compiler supports it), so that GDB
2464 can be tested against both cases. Usually one case involves
2465 promotion of float to double, while the other does not.
2466 * gdb.base/callfwmall.c: Ditto.
2467 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2468 includes a stack frame for "start".
2470 2001-11-05 Jim Blandy <jimb@redhat.com>
2472 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2473 pointers are 32 bits long, and that offsets of relocs are always
2474 stored in the data (REL-style), and not in the reloc entry itself
2476 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2479 2001-11-01 Michael Snyder <msnyder@redhat.com>
2481 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2482 and regular expression operators by using quoting.
2484 2001-10-31 Michael Snyder <msnyder@redhat.com>
2486 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2487 depending on what the symbol table contains.
2488 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2489 the output of the ptype command. Similarly, accept both "const &"
2492 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
2494 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2495 symbol `STORAGE' to allow to choose the storage class of
2496 the local datastructures.
2497 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2500 2001-10-30 Michael Snyder <msnyder@redhat.com>
2502 * gdb.base/jump.exp: Allow it to run for all targets.
2504 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2506 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2507 with new double_array size.
2508 (main): Change storage class of all local variables to static.
2509 Reduce size of double_array to 9.
2510 * gdb.base/call-ar-st.exp: Increase timeout value.
2511 Change expected output for double array to match new size in
2514 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2516 * gdb.base/ending-run.exp: Create identical output when passing
2517 `step to end of run' case. Add regular expression branch satisfying
2520 2001-10-28 Mark Kettenis <kettenis@gnu.org>
2522 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2523 that we catch the expected failure under Linux/x86.
2525 2001-10-29 Orjan Friberg <orjanf@axis.com>
2527 * gdb.base/setvar.exp: Escape curly braces.
2528 * gdb.stabs/weird.exp: Ditto.
2530 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
2532 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2533 * gdm.mi/mi0-hack-cli.exp: Likewise.
2535 2001-10-25 Andrew Cagney <ac131313@redhat.com>
2537 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2540 2001-10-21 Andrew Cagney <ac131313@redhat.com>
2542 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2543 checking MI enabled.
2545 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
2547 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2549 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
2551 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2552 if gdb child process crashes, just signal an error.
2554 2001-10-02 Jim Blandy <jimb@redhat.com>
2556 * lib/gdb.exp (test_xfail_format): Simplify.
2558 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2559 front of the variable name `format'. Simplify `if'.
2561 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2563 * gdb.threads/pthreads.exp: Wait for output and delay
2566 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2568 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2569 some incorrect output instead of timing out.
2570 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2572 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
2574 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2575 check to allow additional `int'.
2577 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
2579 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2580 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2582 2001-09-27 Michael Snyder <msnyder@redhat.com>
2584 * lib/gdb.exp (test_debug_format): New proc.
2585 (setup_xfail_format): Use new proc test_debug_format.
2586 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2587 proc; use new service proc test_debug_format.
2588 Replace all other "gcc_compiled" tests with this test.
2589 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2590 proc; use new service proc test_debug_format.
2591 Replace all other "gcc_compiled" tests with this test.
2593 2001-09-27 Michael Snyder <msnyder@redhat.com>
2595 * gdb.base/cvexpr.exp: New file.
2596 * gdb.base/cvexpr.c: New file
2597 Test for expressions using const and volatile keywords.
2599 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
2601 * gdb.base/constvars.exp: Check for different orders of keywords
2602 and additional "int" strings in output.
2604 2001-09-22 Andrew Cagney <ac131313@redhat.com>
2606 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2607 responses from "help maint".
2609 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
2611 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2612 to localhost:NNN instead of :NNN, in case Xvfb is listening
2615 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
2617 * gdb.base/recurse.exp: When checking leaving the watchpoint
2618 scope, recognize when gdb is in function's epilogue and pass.
2620 2001-09-18 Keith Seitz <keiths@redhat.com>
2622 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2623 support for running tests against sid targets.
2624 (gdbtk_done): Ditto.
2626 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
2628 * gdb.base/ending-run.c (main): Set stdout buffersize
2629 to the same reasonable value for any target.
2630 * gdb.base/ending-run.exp: Add a regular expression
2631 to make testsuite happy on Sanyo Stormy16 target.
2633 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
2635 * gdb.base/display.c (do_loops): Add float variable `f'.
2636 Increment f in loop.
2637 * gdb.base/display.exp: Increment timeout by 60 seconds.
2638 Change float display test to use variable `f'.
2640 2001-09-17 Jim Blandy <jimb@redhat.com>
2642 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2643 overflowing the limited breakpoint tables on some ROM monitors
2646 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
2648 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2649 the "-ac" (disable access control) flag.
2651 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
2653 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2656 2001-08-30 Keith Seitz <keiths@redhat.com>
2658 * lib/gdb.exp: Move all insight-related functionality into
2660 * lib/insight-support.exp: New file.
2662 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
2664 * config/sid.exp (sid_start): Never set sid verbosity; disable
2665 expect_background {} that consumed its stdout; tolerate </dev/null.
2666 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2668 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2670 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2671 CLI jump command to start it.
2672 (mi_run_to_main): Fail immediatly when unexpected output.
2674 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2676 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2677 beginning of function. Fix PR gdb/191.
2679 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
2681 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2682 what to force sid endianness to.
2684 2001-08-15 Keith Seitz <keiths@redhat.com>
2686 * lib/gdb.exp (gdbtk_start): Don't set environment
2687 variables for TCL_LIBRARY and friends. Insight will
2688 now figure these out for itself.
2690 2001-08-02 Michael Snyder <msnyder@redhat.com>
2692 * gdb.base/completion.exp: Remove the symbol "a64l" from
2693 the expect string; this is target-specific, and not related
2694 to what is being tested.
2696 2001-08-02 Dave Brolley <brolley@redhat.com>
2698 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2700 2001-07-25 Michael Snyder <msnyder@redhat.com>
2702 * gdb.base/consecutive.exp: New file. Test stepping over
2703 breakpoints on consecutive instructions.
2704 * gdb.base/consecutive.c: New file.
2706 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2707 curly braces in regular expressions.
2709 2001-07-25 Michael Snyder <msnyder@redhat.com>
2711 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2712 legitimate output from stepping out of main.
2714 2001-07-22 Keith Seitz <keiths@redhat.com>
2716 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2717 the empty string, do not run the tests.
2719 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2721 * gdb.base/long_long.exp: Detect size of pointer. Take into
2722 account 2-byte pointers when testing for p/a results.
2724 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2726 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2727 and defined to 1K for m68hc11.
2728 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2729 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2730 (sizeof_random_data): New variable to tell the size of the data table;
2731 don't test past this size; always run to main.
2733 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2735 * gdb.base/return2.exp: return of long long and double fails for
2736 68HC11; don't execute these tests on that platform.
2737 * gdb.base/return.exp: Return of a double fails for 68hc11.
2739 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2741 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2742 tests that print a float.
2743 * call-rt-st.exp: Likewise.
2745 2001-07-12 Mark Kettenis <kettenis@gnu.org>
2747 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2748 running this test on Linux.
2750 2001-06-24 Michael Chastain <chastain@redhat.com>
2752 * gdb.base/arithmet.exp: Remove some tests to make all test names
2755 2001-07-03 Michael Snyder <msnyder@redhat.com>
2757 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2758 the output of the ptype command.
2760 2001-07-02 Michael Snyder <msnyder@redhat.com>
2762 * gdb.base/completion.exp: Don't assume that break.c is the only
2763 source file that may contain functions named "marker".
2764 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2766 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2768 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2771 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2772 * gdb.disasm/h8300s.exp: New file.
2773 gdb.disasm/h8300s.s: Likewise.
2775 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2777 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2778 empty breakpoint tables.
2780 2001-06-25 Andrew Cagney <ac131313@redhat.com>
2782 * lib/mi-support.exp: Update args=... part of stop-reason
2783 patterns. Accept either a list or a tuple.
2785 2001-06-23 Andrew Cagney <ac131313@redhat.com>
2787 * lib/mi-support.exp: Remove local emacs variable defining
2788 change-log-default-name.
2790 2001-06-22 Michael Chastain <chastain@redhat.com>
2792 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2793 This is operationally compatible with the previous version.
2795 2001-06-13 Jim Blandy <jimb@redhat.com>
2797 * lib/gdb.exp (gdb_test): Doc fix.
2799 2001-06-10 Michael Chastain <chastain@redhat.com>
2801 * gdb.base/exprs.exp: Remove a duplicate test.
2803 2001-06-06 Jim Blandy <jimb@redhat.com>
2805 * gdb.base/return2.exp (main): Use values to test float and double
2806 returns that are not NaN's, to avoid being confused by IEEE
2809 2001-06-04 Michael Snyder <msnyder@redhat.com>
2811 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2812 non-zero if control_c fails. Terminate the test on failure,
2813 rather than wait for 12 more tests to time out.
2815 2001-06-06 Jim Blandy <jimb@redhat.com>
2817 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2818 Don't forget to match the GDB prompt.
2820 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2822 2001-06-04 Jim Blandy <jimb@redhat.com>
2824 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2827 2001-05-31 Kevin Buettner <kevinb@redhat.com>
2829 * gdb.base/annota1.exp (info break): Match four or more spaces
2832 2001-05-31 Michael Chastain <chastain@redhat.com>
2834 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2835 (dm_type_int_star): Likewise.
2836 (dm_type_long_star): Likewise.
2837 (dm_type_void_star): Likewise.
2839 2001-05-29 Kevin Buettner <kevinb@redhat.com>
2841 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2842 to a known value in order to get consistent results regardless
2843 of the setting of INPUTRC or the presence or contents of .inputrc.
2845 2001-05-24 Michael Snyder <msnyder@redhat.com>
2847 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2848 Don't require that the main thread and the manager thread are the
2851 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2852 debugging. If test fails, issue an "unsupported" not a "fail".
2854 2001-05-24 Jim Blandy <jimb@redhat.com>
2856 Don't assume that short is shorter than int.
2857 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2858 assume that shorts are smaller than ints. On a 16-bit machine,
2860 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2861 an int, is not equal to ~0 stored in an unsigned char. This tests
2862 the same thing that the previous test meant to, but works on
2863 16-bit machines, too.
2864 ("print unsigned char != (~0)"): Same test, complemented.
2866 2001-05-24 Michael Snyder <msnyder@redhat.com>
2868 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2869 test for (full_coverage == 0). This makes the test run faster,
2870 and prevents dejagnu getting out of step.
2872 2001-05-23 Kevin Buettner <kevinb@redhat.com>
2874 * gdb.base/finish.exp (finish_void): Revise pattern for
2875 stopping on the call statement to not permit stopping at
2876 the start of the instructions comprising the call sequence.
2878 2001-05-19 Michael Chastain <chastain@redhat.com>
2880 * gdb.base/callfuncs.exp: Make all test names unique.
2881 * gdb.base/commands.exp: Make all test names unique.
2882 * gdb.base/condbreak.exp: Make all test names unique.
2883 * gdb.base/dbx.exp: Make all test names unique.
2884 * gdb.base/default.exp: Make all test names unique.
2885 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2886 and TIMEOUT messages to their corresponding PASS message.
2887 * gdb.base/ending-run.exp: Make all test names unique.
2888 * gdb.base/long_long.exp: Remove duplicate test.
2890 2001-05-21 Kevin Buettner <kevinb@redhat.com>
2892 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2893 stop on the call statement as well as the statement after the
2896 2001-05-21 Michael Snyder <msnyder@redhat.com>
2898 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2900 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2902 * gdb.base/completion.exp: Revamp test. Make it execute on all
2905 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2907 * config/gdbserver.exp (gdb_load): Handle the case
2908 in which the arguments to gdbserver are given in the
2909 baseboard configuration file.
2910 Also handle the case in which the server needs to do a
2913 2001-05-07 Keith Seitz <keiths@cygnus.com>
2915 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2916 set up the display for testing.
2917 (gdbtk_start): Convert all paths to paths that tcl will like.
2918 Export target information to environment.
2919 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2921 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2922 (to_tcl_path): New proc to convert a given pathname into
2923 a path acceptible as an argument to a tcl command.
2924 (_gdbtk_export_target_info): New proc to export target info
2925 into the environment for gdbtk testing.
2926 (gdbtk_done): New proc to signal end-of-test.
2928 2001-05-06 Jim Blandy <jimb@redhat.com>
2930 * restore.c: Make the code of caller0 correspond to its comment.
2932 2001-05-03 Michael Snyder <msnyder@redhat.com>
2934 * config/sid.exp (gdb_target_sid): Check for error messages.
2935 On error or timeout, don't make expect exit (which will terminate
2936 all subsequent tests); instead just make gdb exit.
2937 (gdb_load): Check for error messages. On error or timeout,
2938 return a negative value.
2940 2001-04-24 Jim Blandy <jimb@redhat.com>
2942 * gdb.c++/templates.exp: If we see the prompt for the overload
2943 list, but we haven't recognized any of the longer patterns,
2944 arrange for this test to fail, not hang.
2946 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2949 2001-04-22 Michael Chastain <chastain@redhat.com>
2951 * gdb.c++/local.exp: Use the 'runto' library function.
2952 * gdb.c++/namespace.exp: Likewise.
2953 * gdb.c++/overload.exp: Likewise.
2955 2001-03-26 Kevin Buettner <kevinb@redhat.com>
2957 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2958 * gdb.base/step-line.exp: New file. Test step/next in presence of
2960 * gdb.base/step-line.c: New file. Test program for the above.
2961 * gdb.base/step-line.inp: New file. We pretend that this file has
2962 been transformed by some other tool into step-line.c.
2964 2001-03-21 Jim Blandy <jimb@redhat.com>
2966 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2967 unmangled operator names.
2969 2001-03-20 Jim Blandy <jimb@redhat.com>
2971 * gdb.threads/linux-dp.exp: Recognize an additional message
2972 generated by GDB when it doesn't understand how to debug threads
2973 on the target system.
2975 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2977 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2979 2001-03-12 Michael Chastain <chastain@redhat.com>
2981 * gdb.c++/derivation.exp: Use the 'runto' library function.
2983 2001-03-12 Michael Chastain <chastain@redhat.com>
2985 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2987 2001-02-24 Michael Chastain <chastain@redhat.com>
2989 * gdb.c++/ref-types.exp: Change handwritten code to library
2992 2001-03-16 Orjan Friberg <orjanf@axis.com>
2994 * gdb.base/signals.exp: Set count to 0 explicitly.
2996 2001-03-15 Mark Salter <msalter@redhat.com>
2998 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2999 (gdb_target_monitor): Add check of gdb_target_cmd return value.
3000 (gdb_load): Add support for additional target_info: gdb_download_size
3001 and gdb_load_timeout.
3003 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3005 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3006 file -- to prevent failing when the compile fails but we have no
3007 intention of running the tests anyway.
3009 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3012 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3015 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3016 * gdb.c++/namespace.exp: Ditto.
3018 2001-03-07 Orjan Friberg <orjanf@axis.com>
3020 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3021 * gdb.base/pointers.exp: Relax pattern match of decimals.
3023 2001-03-06 Kevin Buettner <kevinb@redhat.com>
3025 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3026 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3027 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3028 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3029 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3030 config/sh.exp, config/sid.exp, config/slite.exp,
3031 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3032 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3033 config/vxworks.exp, config/vxworks29k.exp,
3034 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3035 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3036 gdb.base/arithmet.exp, gdb.base/assign.exp,
3037 gdb.base/async.exp, gdb.base/attach.exp,
3038 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3039 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3040 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3041 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3042 gdb.base/commands.exp, gdb.base/completion.exp,
3043 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3044 gdb.base/constvars.exp, gdb.base/corefile.exp,
3045 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3046 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3047 gdb.base/ending-run.exp, gdb.base/environ.exp,
3048 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3049 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3050 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3051 gdb.base/funcargs.exp, gdb.base/help.exp,
3052 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3053 gdb.base/logical.exp, gdb.base/long_long.exp,
3054 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3055 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3056 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3057 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3058 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3059 gdb.base/regs.exp, gdb.base/relational.exp,
3060 gdb.base/remote.exp, gdb.base/reread.exp,
3061 gdb.base/restore.exp, gdb.base/return2.exp,
3062 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3063 gdb.base/selftest.exp, gdb.base/setshow.exp,
3064 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3065 gdb.base/sigall.exp, gdb.base/signals.exp,
3066 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3067 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3068 gdb.base/step-test.exp, gdb.base/structs.c,
3069 gdb.base/structs.exp, gdb.base/structs2.exp,
3070 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3071 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3072 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3073 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3074 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3075 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3076 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3077 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3078 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3079 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3080 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3081 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3082 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3083 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3084 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3085 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3086 gdb.trace/circ.exp, gdb.trace/collection.exp,
3087 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3088 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3089 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3090 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3091 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3092 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3093 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3096 2001-02-27 Michael Snyder <msnyder@cygnus.com>
3098 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3099 first arg is int not float.
3101 2001-02-22 Michael Snyder <msnyder@cygnus.com>
3103 * gdb.base/reread.exp: Unsupported for non-native targets;
3104 doesn't work for remote debugging.
3106 2001-02-19 Fernando Nasser <fnasser@redhat.com>
3108 From Drew Moseley <dmoseley@redhat.com>
3109 * gdb.base/ending-run.exp: Properly handle the BSP state when
3110 stepping past the end of main.
3112 2001-02-19 John Moore <jmoore@redhat.com>
3114 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3115 Converted HPUX fix for non-expected items following multiple
3116 step commands into general solution for all platforms.
3118 2001-02-18 Michael Chastain <chastain@redhat.com>
3120 * gdb.c++/classes.exp (do_tests): Change runto statements
3121 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3122 statements demangler agnostic.
3123 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3124 (gdb_virtfunc_restart): Likewise.
3126 2001-02-14 Michael Chastain <chastain@redhat.com>
3128 * gdb.c++/inherit.exp (do_tests): Change runto statements
3129 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3130 statements demangler agnostic.
3132 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3134 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3135 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3136 before calling common_routine 15 times'' tests.
3138 2001-02-11 Michael Chastain <chastain@redhat.com>
3140 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3141 Helps the test script figure out which demangler is in use.
3142 (dm_type_foo_ref): Ditto.
3143 (dm_type_int_star): Ditto.
3144 (dm_type_long_star): Ditto.
3145 (dm_type_unsigned_int): Ditto.
3146 (dm_type_void): Ditto.
3147 (dm_type_void_star): Ditto.
3148 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
3149 Probe the gdb demangler and set variables to accommodate
3150 formatting differences.
3151 (info_func_regexp): New function. Same as info_func, but
3152 matches against a regexp.
3153 (info_func): Match against a literal string.
3154 (print_addr_2): New function. Match against a literal string,
3155 which can be different from the input to gdb.
3156 (print_addr): Simply call print_addr_2 with the same argument twice.
3157 (test_lookup_operator_functions): Use demangler formatting variables.
3158 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3159 the tests in the same order as the C++ class declaration.
3160 (test_paddr_operator_functions): Ditto.
3161 (test_paddr_overloaded_functions): Ditto.
3162 (test_paddr_hairy_functions): Use demangler formatting variables.
3163 Add reference to gdb/19 for related tests.
3164 (do_tests): Call probe_demangler.
3166 2001-01-30 Kevin Buettner <kevinb@redhat.com>
3168 * gdb.c++/templates.cc (printf): Remove unused function definition.
3170 2001-01-26 Felix Lee <flee@redhat.com>
3172 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3174 2001-01-25 matthew green <mrg@redhat.com>
3176 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3178 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3180 2001-01-25 matthew green <mrg@redhat.com>
3182 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3183 Deprecate $sid_spawn_id.
3184 (sid_exit): Remove code necessary only for `spawn.'
3186 2001-01-25 matthew green <mrg@redhat.com>
3188 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3190 2001-01-28 Michael Chastain <chastain@redhat.com>
3192 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3193 to call when tests fail. It takes gdb out of the overloaded
3194 function choice menu back to the main prompt, so that the test
3195 program stays synchronized.
3196 (set_bp_overloaded): New proc to collect all the common
3197 code for setting a breakpoint on an overloaded name. Calls
3198 take_gdb_out_of_choice_menu when needed.
3199 (menu_overload1arg): New variable to collect the repeated
3200 instances of the expected menu for an overloaded name. Change
3201 the regular expression to handle changes in g++ type encoding:
3202 "void" can be either "void" or "", and "unsigned int" can be
3203 either "unsigned int" or "unsigned".
3204 (continue_to_bp_overloaded): Change regular expressions to handle
3205 changes in g++ type encoding.
3206 (no proc): Call take_gdb_out_of_choice_menu when needed.
3207 Remove redundant calls to "info break". Accept either "canceled"
3208 or "cancelled". Change regular expressions in "info break"
3209 calls to handle changes in g++ type encoding. Give all tests
3212 2001-01-17 Ben Elliston <bje@redhat.com>
3214 * config/sid.exp: New file.
3216 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3218 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3220 2000-12-21 Michael Snyder <msnyder@cygnus.com>
3222 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3223 Add a RE to accept a non-ascii char if one is ever presented.
3225 2000-12-20 Fernando Nasser <fnasser@redhat.com>
3227 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
3229 2000-12-18 Michael Snyder <msnyder@cygnus.com>
3231 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3232 in regexp. One '\' does not suffice on Linux.
3234 2000-12-09 Michael Chastain <chastain@redhat.com>
3236 * gdb.base/break.exp (test_clear_command): Use a marker function
3237 rather than 'main' for the test function. Also move this
3238 test to an execution point where the marker function names are
3239 guaranteed to be bound to functions. (Executing tests after a
3240 'finish' from main runs into name conflicts with local names
3241 in __libc_start_main).
3243 2000-12-07 Michael Snyder <msnyder@cygnus.com>
3245 * gdb.base/finish.exp: New test for gdb's "finish" command.
3246 * gdb.base/return2.exp: New test for gdb's "return" command.
3247 * gdb.base/return2.c: New source file for above.
3249 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3251 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3252 * gdb.base/miscexprs.exp: Ditto.
3253 * gdb.base/pointers.exp: Ditto.
3254 * gdb.c++/derivation.exp: Ditto.
3255 * gdb.c++/local.exp: Ditto.
3256 * gdb.c++/namespace.exp: Ditto.
3257 * gdb.c++/overload.exp: Ditto.
3258 * gdb.c++/ref-types.exp: Ditto.
3260 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3262 * gdb.base/constvars.exp: Test result of "up" command.
3263 * gdb.base/miscexprs.exp: Ditto.
3264 * gdb.base/pointers.exp: Ditto.
3265 * gdb.base/scope.exp: Ditto.
3266 * gdb.c++/derivation.exp: Ditto.
3267 * gdb.c++/local.exp: Ditto.
3268 * gdb.c++/namespace.exp: Ditto.
3269 * gdb.c++/overload.exp: Ditto.
3270 * gdb.c++/ref-types.exp: Ditto.
3272 2000-11-22 Michael Chastain <chastain@redhat.com>
3274 * mips_pro.exp: Accept either "middle -> top -> main" or
3275 "middle -> main" in the backtrace, because gcc can optimize
3276 tail calls to jumps. Remove setup_xfail for the hppa case.
3277 Add a comment with the original warning messages from PR 3016,
3278 which was filed in 1993, to preserve them for posterity.
3280 2000-11-17 Nick Duffek <nsd@redhat.com>
3282 * lib/gdb.exp (gdb_test): Override timeout with board info.
3284 2000-11-17 Nick Duffek <nsd@redhat.com>
3286 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3287 the second kill and detach messages.
3289 2000-11-17 Nick Duffek <nsd@redhat.com>
3291 * configure.in: Add AC_EXEEXT.
3292 * configure: Regenerate.
3293 * Makefile.in (just-check): Export EXEEXT.
3294 * lib/gdb.exp ($EXEEXT): Import from environment.
3295 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3296 expect "maint dump-me" on Cygwin.
3297 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3300 2000-11-17 Nick Duffek <nsd@redhat.com>
3302 * gdb.base/break.exp: Test backtrace and finish from called
3303 function on all platforms, not just HP-UX.
3305 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3307 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3308 code from gdb_target_monitor, so it can be used independantly
3309 for gdbserver. Also comment out an unnecessary PUTS.
3311 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3313 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3314 * gdb.base/corefile.exp: Expect the message "Program is being
3315 debugged already" when we send the "corefile" command, since
3316 the preceeding gdb_load may have connected gdb to a remote target.
3317 * gdb.base/display.exp: Disable hardware watchpoints if new
3318 board info variable "no_hardware_watchpoints" is true.
3319 Replace single-letter commands with more readable ones.
3320 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3321 if new board info variable "no_hardware_watchpoints" is true.
3322 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3323 to see if stdio (printf) testing is possible.
3324 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3325 board info variable "no_hardware_watchpoints" is true. Use new
3326 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3328 2000-11-13 Fernando Nasser <fnasser@redhat.com>
3330 From Orjan Friberg <orjanf@axis.com>:
3331 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3332 in array print pattern match.
3334 2000-11-09 Fernando Nasser <fnasser@redhat.com>
3336 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3337 spelling "cancelled" to U.S. spelling "canceled" to match changes
3339 * gdb.c++/ovldbreak.exp: Ditto.
3341 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3343 * gdb.base/callfuncs.c (main): Moved to end of file, call
3344 t_double_values to initialize the FPU before inferior calls are made.
3345 * gdb.base/callfuncs.exp: Test for register preservation after calling
3346 inferior functions. Add tests for continuining, finishing and
3347 returning from a stop in a call dummy.
3349 2000-10-24 Michael Snyder <msnyder@cygnus.com>
3351 * gdb.base/commands.exp: Break up long lines, and re-indent.
3353 2000-10-19 Michael Snyder <msnyder@cygnus.com>
3355 * config/gdbserver.exp: Rewritten from the ground up, to make it
3356 compatible with the current dejagnu tree, and to make it work with
3357 the new "gdbserver" in libremote.
3359 2000-10-16 Michael Snyder <msnyder@cygnus.com>
3361 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3362 * gdb.base/varargs.exp: Skip entire test if no printf support.
3363 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3364 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3366 2000-10-13 Michael Snyder <msnyder@cygnus.com>
3368 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3369 no floating point support.
3370 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3371 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3372 * gdb.base/call-rt-st.exp: Ditto.
3373 * gdb.base/call-strs.exp: Ditto.
3375 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3377 * gdb.base/sizeof.c: include <stdio.h>.
3379 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3380 'finish', otherwise uncaptured gdb_prompt would potentially
3381 throw remaining test points out of sync.
3383 2000-07-26 Scott Bambrough <scottb@netwinder.org>
3385 * gdb.base/recurse.exp: Run tests for all targets.
3386 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3387 gnu-oldld case on ARM.
3388 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3391 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3393 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3394 * gdb.java/configure: Rebuild.
3396 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3398 * gdb.java/jv-exp.exp: New file.
3400 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3402 * configure: Rebuilt.
3403 * configure.in (configdirs): Add gdb.java.
3404 * gdb.java/jmisc.java: New file.
3405 * gdb.java/jmisc.exp: New file.
3406 * gdb.java/Makefile.in: New file.
3407 * gdb.java/configure: Rebuilt.
3408 * gdb.java/configure.in: New file.
3409 * lib/java.exp: New file.
3411 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3413 * gdb.base/exprs.exp: Test casts to a pointer including over and
3416 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3418 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3419 and the compilers sizes.
3421 2000-07-09 Nick Duffek <nsd@redhat.com>
3423 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3424 (use_methods): New function.
3425 (main): Call use_methods().
3426 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3427 (do_tests): Call test_method_param_class.
3429 2000-07-09 Nick Duffek <nsd@redhat.com>
3431 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3433 (test_enums): New procedure. Move enum tests from end of script
3434 to here. Set breakpoint on function name instead of line number.
3435 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3436 (enums2): New marker function.
3437 (enums1): New function.
3438 (main): Call enums1(). Move enum tests to enums1().
3440 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3442 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3443 compile/link program. Update line numbers.
3444 * gdb.asm/d10v.inc: Define ``startup''.
3445 * gdb.asm/asmsrc1.s: Add definition of _start.
3447 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3449 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3451 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3453 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3454 of 'help maint print' command.
3456 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3458 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3459 they use gdb_expect_list.
3461 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3463 * gdb.base/commands.exp: Use ``set remote
3464 memory-read-packet-size'' instead of ``set endian big'' to test
3467 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
3469 * gdb.c++/templates.exp (do_tests): Make all of these work under
3470 g++, and stop skipping them.
3472 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3475 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3478 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3480 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3481 the regular expression: accept an (almost) arbitrary sequence of
3482 "frames-invalid" and "breakpoints-invalid" messages both before
3483 and after the "starting" message.
3485 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3487 * gdb.c++/local.exp: This test has never been known to work with g++.
3489 2000-05-18 Michael Snyder <msnyder@cygnus.com>
3491 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3492 Relax the regular expression a little, make it pass on Solaris 8.
3494 2000-05-12 Kevin Buettner <kevinb@redhat.com>
3496 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3497 a call, do not require that gdb stop on the line after the call.
3498 Instead, it is permissible for gdb to stop on the line of the
3501 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
3503 * gdb.base/break.exp (bp on small function, optimized file):
3504 Add a second pass pattern. The behavior differs here between stabs
3505 and dwarf for one-line functions. Stabs preserves two line symbols
3506 (one before the prologue and one after) with the same line number,
3507 but dwarf regards these as duplicates and discards one of them.
3508 Therefore the address after the prologue (where the breakpoint is)
3509 has no exactly matching line symbol, and GDB reports the breakpoint
3510 as if it were in the middle of a line rather than at the beginning.
3512 2000-05-08 Michael Snyder <msnyder@cygnus.com>
3514 * gdb.base/interrupt.exp: Make "pass" message say "send"
3515 rather than "send_gdb" (for consistancy).
3517 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3519 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3520 * gdb.c++/templates.cc: Properly check for GCC version number.
3521 * lib/compiler.cc: Likewise
3523 2000-04-28 Michael Snyder <msnyder@cygnus.com>
3525 * gdb.base/break.exp: When compiled with -O2 optimization,
3526 gdb may not stop at the first line of main, due to code motion.
3528 2000-04-26 Michael Snyder <msnyder@cygnus.com>
3530 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3531 This test depends on parsing the printf output from the target.
3532 Since the sparclet stub doesn't do stdio, this will never work.
3533 * gdb.base/call-rt-st.exp: ditto.
3534 * gdb.base/call-strs: ditto.
3536 2000-04-24 Michael Snyder <msnyder@cygnus.com>
3538 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3540 * gdb.base/ending-run.exp: After connecting to a remote target,
3541 but before running, the target will appear to be in a random
3542 location. Specify both a file and a line for breakpoints.
3543 Also, the function that calls main may be called 'init'
3544 rather than 'start'.
3546 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3548 * gdb.base/help.exp: Update output for add-symbol-file command.
3550 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
3552 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3553 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3555 2000-04-07 J.T. Conklin <jtc@redback.com>
3557 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3559 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3561 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3563 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3564 values that can be represented exactly.
3565 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3566 above change, and to not check against the directory part of the source
3568 (step into print_long_arg_list): Likewise.
3569 (print print_small_structs from print_long_arg_list): Likewise.
3570 (print print_long_arg_list): Likewise.
3572 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3574 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
3576 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3578 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3580 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
3582 * gdb.base/commands.exp (deprecated_command_test): Add test for
3583 deprecate with no arguments.
3585 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3587 * gdb.base/break.exp: Add new test for setting breakpoints on
3588 optimized code so we can test breakpoints work even when function
3589 prologues may be optimized away
3591 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3593 From David Whedon <dwhedon@gordian.com>
3594 * gdb.base/commands.exp : Added command deprecator tests.
3596 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
3598 * gdb.base/help.exp: Added test for new apropos command.
3600 2000-03-21 Kevin Buettner <kevinb@redhat.com>
3602 * gdb.base/pointers.c (usevar): New function.
3603 (main): Make sure that global variables v_int_pointer2, rptr,
3604 and y are all referenced someplace in the program by calling
3605 usevar() on them. [Some linkers delete symbols which are
3606 never referenced. The space remains, but there's no way to
3607 get a (symbolic) handle on the variable from the debugger.]
3609 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3611 * gdb.base/printcmds.c: Add typedeffed arrays.
3613 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3614 procedure to test arrays that are typedef'd.
3616 2000-03-13 James Ingham <jingham@leda.cygnus.com>
3618 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
3619 the library directories.
3621 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3623 * configure.in (configdirs): Add sub directory gdb.mi.
3624 * configure: Re-generate.
3626 * gdb.mi: New directory.
3628 2000-02-25 Scott Bambrough <scottb@netwinder.org>
3630 * gdb.base/long_long.exp: Correct test suite failure when printing
3631 a long long value as a double on ARM platforms.
3633 2000-02-16 Jim Blandy <jimb@redhat.com>
3635 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3636 default source file is set properly before running this test.
3638 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3640 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3641 gdbtk/library directory, not in gdbtcl2.
3643 2000-02-04 Jim Blandy <jimb@redhat.com>
3645 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3646 backslash from regexp pattern.
3648 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3649 procedure. Use it to run all the "continue to bp overloaded"
3650 tests. Note that this changes the names of the tests slightly.
3651 If the breakpoint hit message includes a hex PC value, because
3652 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3653 from the real source code, still consider that a pass.
3655 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3656 XFAIL here if the breakpoint message contains a hex address. Note
3657 similar change on 1999-11-02.
3659 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3661 * gdb.base/ptype.exp: Establish a default source file before
3662 calling get_debug_format.
3664 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3666 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3668 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3670 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3671 of successive stepi commands -- while in the prologue we should see
3672 the function entry bracket.
3674 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3676 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3677 reach __change_mode() when stepping through the end of main().
3679 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3681 * gdb.base/default.exp: Fix expected pattern.
3682 * gdb.base/help.exp: Same.
3684 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3686 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3687 Don't use xfail's because that affects only the following test.
3689 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3692 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3694 2000-01-07 Michael Snyder <msnyder@cygnus.com>
3696 * gdb.base/display.exp: Some yacc parsers like to say
3697 "A syntax error" rather than "A parse error". Accept both.
3699 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3701 * gdb.base/default.exp: Remove OS dependent string from "target
3703 * gdb.base/help.exp: Same for "help target remote" test.
3705 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3707 From Jim Kingdon <kingdon@redhat.com>:
3709 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3710 prompt (cleanup rather than necessity, but still might keep output
3711 from spilling to next test).
3713 2000-01-02 Fred Fish <fnf@cygnus.com>
3715 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3716 AIX, which defines them in <sys/types.h>.
3718 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
3720 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3723 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
3725 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
3727 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3728 outermost frame disallowed".
3730 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3732 * gdb.base/setvar.exp: New tests for setting the value of a struct
3733 with a constant list.
3735 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3737 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3738 require the user to type a cast before setting the value of a struct.
3740 1999-12-06 Jim Blandy <jimb@cygnus.com>
3742 * gdb.base/default.exp: Expect the new 'info float' command on
3745 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3746 LinuxThreads libraries that don't support debugging.
3748 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3750 * gdb.base/remote.c: Fill the buffer with truely random data.
3751 Change the buffer type to ``unsigned char'' to simplify size
3754 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3755 stub only handles 400-1 byte packets. Verify that the download
3758 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3760 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3761 tests, using UNRESOLVED for the untested cases. Also, does not wait
3762 for a timeout if the prompt was received before a recognizable pattern.
3764 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3766 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3768 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3770 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3773 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3775 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3777 * gdb.c++/local.exp: Be more flexible in recognizing local class
3778 name mangling. Don't allow horribly truncated method names.
3779 * gdb.c++/derivation.exp: Expect protected inheritance.
3780 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3781 * gdb.c++/virtfunc.exp: Likewise.
3782 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3783 when printing a nested enum.
3785 1999-11-22 Jim Blandy <jimb@cygnus.com>
3787 * gdb.base/step-test.exp: Properly await GDB's response to setting
3788 a breakpoint on the call to large_struct_by_value.
3790 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3791 just because we have debug info for the `start' function.
3793 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3795 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3796 "Unknown signal" messages, which indicate (on LinuxThreads) that
3797 GDB doesn't know how to debug threads on this system. This is
3798 better than hanging while philosopher 0 dumps chatter into gdb.log.
3800 1999-11-18 Tom Tromey <tromey@cygnus.com>
3802 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3804 1999-11-18 Fred Fish <fnf@cygnus.com>
3806 * gdb.base/coremaker2.c: Add sample program for generating
3807 cores that is more self contained than coremaker.c. Eventually
3808 I'll add more code to this and tie it into the testsuite.
3810 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3812 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3814 1999-11-10 Jimmy Guo <guo@cup.hp.com>
3816 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3818 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3821 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3823 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
3824 'continue with watch' test point.
3826 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3828 Merged from p2linux-990323-branch:
3830 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3832 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3834 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3835 {limit,fixed}''. Test ``set download-write-size''.
3837 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3839 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3842 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3844 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3846 1999-11-03 Mark Salter <msalter@cygnus.com>
3848 * gdb.base/break.exp: Fix "stub continue" pattern.
3850 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3852 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3854 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3856 * gdb.base/display.exp ("finish"): Add timeout clause.
3858 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3859 plain prompt clause, so this doesn't have to time out in order to
3862 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3863 breakpoint hit messages include an address.
3865 * gdb.base/display.exp: Don't forget to escape parens in regular
3866 expressions. Unix regexp notatation sucks.
3868 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3870 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3871 order for 'signalled' message.
3873 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3875 From Jimmy Guo <guo@cup.hp.com>:
3876 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3877 * gdb.base/annota1.c: Add code for tests to work with.
3879 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3881 * gdb.base/remote.exp: New test for remote downloading settings.
3882 * gdb.base/remote.c: New file with large .data.
3884 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3886 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3887 for LinuxThreads support, merged from the Code Fusion branch.
3889 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3891 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3892 containing exp_continue into a while within an expect. Don't
3893 attempt a start more than three times. Check return value from
3896 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3898 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3901 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
3903 * gdb.base/break.c (main): Added a statement that we can step
3905 * gdb.base/break.exp: Added tests for setting a breakpoint
3906 at an offset and stepping onto a breakpoint.
3908 1999-10-01 Fred Fish <fnf@cygnus.com>
3910 * gdb.base/help.exp (help add-symbol-file): Update to match current
3913 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3915 * gdb.base/break.exp: Code locations are in hex, don't forget!
3918 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3920 * condbreak.exp: Use break.c as test program.
3921 * condbreak.c: Remove, redundant with break.c.
3923 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3925 * config/monitor.exp (gdb_target_monitor): Disable X- and
3926 Z-packets if the target needs it.
3928 1999-09-13 James Ingham <jingham@leda.cygnus.com>
3930 * gdb.c++/overload.exp: Added tests for listing overloaded
3931 functions with function pointers in the arg, explicitly calling
3932 out the version you want.
3934 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3936 * long_long.exp: Add variations of test cases that work for
3937 targets with 16-bit ints and 32-bit doubles.
3939 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3941 * break.c (main): Compare a possibly-uninitialized argc with an
3942 unlikely value that fits in 16 bits.
3944 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3946 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3947 0xfeeb, don't want negative numbers if ints are 16 bits.
3949 * lib/gdb.exp (skip_cplus_tests): New proc.
3950 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3951 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3952 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3953 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3954 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3955 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3956 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3957 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3959 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3961 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3963 * gdb.base/corefile.exp (up): Allow a parameter to appear
3964 in the frame that we're going up to.
3966 From Jim Blandy <jimb@cygnus.com>:
3968 * gdb.base/default.exp (info float): Expect some output now.
3970 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3971 returning floating-point values to fail on the x86.
3972 * gdb.base/callfwmall.exp (do_function_calls): Same.
3974 * gdb.base/list.exp (test_listsize): Correct expectations for
3975 listing line 1 with listsize 2. Also, listing a single line
3976 works now, as does listing three lines. [Kevin's note: There
3977 were a number of other cases fixed too where the expectations
3980 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3982 * gdb.base/selftest.exp: Add case for when version prints as
3983 constant string instead of char pointer.
3985 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3987 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3988 stepping out of main.
3990 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3993 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3994 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3996 * gdb.c++/ovldbreak.exp: Update match string in test that
3997 includes a warning of multiple breakpoints.
3999 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4001 * gdb.base/display.exp: Improve precision of step-after-finish
4004 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4007 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4008 configs when using G++, not just hppa*.
4010 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4012 * gdb.base/async.c: New file.
4013 * gdb.base/async.exp: New file.
4015 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4017 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4020 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4022 * gdb.base/display.exp: "finish" can leave us mid-line on many
4023 targets, deal with it. Add a small constant to main, instead of
4024 1000 since main+1000 may not be a valid address in the target.
4026 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4029 * gdb.base/attach.exp: Handle another hpux11 error message variant
4030 when attaching to a process that does not exist.
4032 1999-08-19 J.T. Conklin <jtc@redback.com>
4034 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4035 characters in 'continue to 1241' test.
4037 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4039 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4040 stop in print_long_arg_list, define and use a whitespace
4041 variable in print_small_structs test, add an XFAIL for Solaris.
4042 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4043 interested enough to fix.
4045 1999-08-13 Keith Seitz <keiths@cygnus.com>
4047 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4048 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4049 proc knows about targets other than the natives.
4050 (test_assign): Use "gdb_run_cmd" to "run" the target.
4051 Check that we've actually hit the breakpoint at main.
4052 When we attempt to assign a value to a local variable, check
4053 that the variable is in the current scope, i.e., don't use
4054 a test with an empty result.
4056 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4058 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4061 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4063 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4064 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4065 gdb.compat, gdb.threads-hp.
4066 gdb.hp/configure, gdb.hp/configure.in: New files.
4067 gdb.hp/Makefile.in: Recurse into new subdirs.
4068 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4069 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4071 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4073 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4075 * gdb.base/display.exp: Help expect by putting a newline in the
4076 funky printf, remove a bogus p/a test.
4078 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4080 * gdb.base/display.exp: Make sure that when we say 'run', we are
4081 connected to the target. This is necessary when running not
4084 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4086 * gdb.base/step-test.exp: Removed some extraneous messages.
4088 * gdb.base/long_long.exp: Don't run memory examination tests
4089 on little-endian targets (they will need a different set of
4092 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4094 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4095 until somebody decides to fix GDB.
4097 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4099 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4100 matches for a couple x/2 commands.
4102 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4104 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4105 by merging in ref-types2 tests.
4106 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4108 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4109 * gdb.c++/Makefile.in: Add standard actions.
4110 (EXECUTABLES): Rename from PROGS, update list.
4111 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4113 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4115 * gdb.c++/anon-union.exp: Fix tests to match.
4116 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4117 expect matches to handle output variations.
4118 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4119 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4120 output, add HP alternatives for new and delete prints.
4121 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4122 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4123 * gdb.c++/demangle.exp: Use $style when reporting failure.
4124 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4125 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4127 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4129 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4130 * gdb.c++/method.exp: Add match alternatives.
4131 * gdb.c++/misc.cc: Add bool types.
4132 * gdb.c++/misc.exp: Add tests for bool types.
4133 * gdb.c++/overload.exp: Add xfails.
4134 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4135 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4136 add some more template parameter tests (only for HP currently).
4137 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4138 * gdb.c++/virtfunc.cc: Add return type and value for main.
4139 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4142 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4144 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4146 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4148 * gdb.base/signals.exp: Don't expect getting a backtrace from
4149 within a signal handler to fail on Linux.
4151 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4153 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4154 * lib/gdb.exp: Remove some gratuitious semicolons.
4155 (delete_breakpoints): Increase timeout.
4156 (gdb_expect): Add -notransfer option.
4157 (gdb_test): Use -notransfer option.
4158 (get_compiler_info): Add f77 case.
4159 (get_compiler): New proc, split out from gdb_preprocess, add f77
4161 (gdb_preprocess): Call get_compiler.
4163 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4164 * gdb.base/attach.exp, gdb.base/display.exp,
4165 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4166 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4167 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4168 third arg to gdb_test.
4169 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4170 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4171 HP-UX xfails, add others.
4172 * gdb.base/completion.exp: Reflect name change of self-test.
4173 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4174 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4175 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4177 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4178 useless HP-UX 10.30 references.
4179 * gdb.base/maint.exp: Loosen matches.
4180 * gdb.base/pointers.c (main): Declare more_code.
4181 * gdb.base/pointers.exp: Match on output of a `next'.
4182 * gdb.base/structs.c: Add prototypes.
4183 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4184 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4186 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4188 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4191 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4193 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4194 Fix run to main failures. Watchpoint can be hardware watchpoint.
4196 * gdb.base/annota1.exp: Clean up some more, in case printf has
4197 debug info. Deal with lack of signal hanlder info in stack.
4199 From Jim Kingdon <kingdon@redhat.com>:
4200 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4202 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4204 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4205 gdb.base/foll-vfork.exp: Don't run for crosses.
4207 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4209 * gdb.base/configure.in: Check for gdbvars.exp instead of
4211 * gdb.base/configure: Re-generate.
4213 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4215 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4216 in trying to run first and name is too long.
4218 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4219 pointers2.c and pointers2.exp, respectively.
4220 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4223 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4225 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4226 callfuncs2.c and callfuncs2.exp.
4228 * gdb.base/list.exp: Remove mistaken xfails.
4229 * gdb.base/list0.h: Add optional prototypes.
4231 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4233 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4235 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4236 * ptype.exp: Move test for get_debug_format to before its first
4239 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4241 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4242 * gdb.base/annota2.cc, annota2.exp: Move from here.
4243 * gdb.c++/annota2.cc, annota2.exp: To here.
4244 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4246 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4248 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4249 a consistent format.
4251 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4253 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4254 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4255 HP compilers, also set the globals $true and $false.
4257 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4258 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4259 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4260 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4261 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4262 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4263 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4264 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4265 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4266 whatis.c} Add C++ compatible function definitions and return
4267 types, add includes for library functions.
4268 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4269 * gdb.base/step-test.c (myglob): Rename from glob.
4270 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4271 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4272 files, move here from gdb.hp.
4273 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4274 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4275 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4276 Adjust line numbers in regexps.
4278 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4279 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4282 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4283 foll-vfork.exp: New files, move here from gdb.hp.
4284 * gdb.base/page.exp: New file, test of pagination command.
4286 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4288 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4290 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4291 gdb.base/solib.exp: Fix compiler invocation process.
4293 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4294 HP-UX 11, turn off overload resolution explicitly.
4295 * gdb.base/commands.exp: Set argument list explicitly, add
4297 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4299 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4300 expressions properly.
4301 * gdb.base/corefile.exp: Loosen the match slightly.
4302 * gdb.base/default.exp: Allow "Error accessing memory" message
4304 * gdb.base/display.exp: Skip over x/0 j if PA64.
4305 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4306 * gdb.base/interrupt.exp: Ditto.
4307 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4309 * gdb.base/list.exp: Add xfails for HP-UX.
4310 * gdb.base/long_long.exp: Refine some of the numeric matches.
4311 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4312 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4313 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4314 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4315 * gdb.base/ptype.exp: Succeed on more varieties of output.
4316 * gdb.base/scope.exp: Add xfails for HP-UX.
4317 * gdb.base/sect-cmd.exp: Add more cases.
4318 * gdb.base/setvar.exp: Add xfails for HP-UX.
4319 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4320 * gdb.base/signals.exp: Match on void symbolically.
4321 * gdb.base/step-test.exp: Add case for PA64.
4322 * gdb.base/term.exp: Add exit and restart.
4323 * gdb.base/twice.exp: Clean up after self.
4324 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4325 * gdb.base/whatis.exp: Allow more ways to pass tests.
4327 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4330 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4332 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4334 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4335 print_double_array(double_array)", "continuing to breakpoint
4336 1018", "print print_double_array(array_d)" and "continuing to
4339 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4341 * Makefile.in: Add empty html and install-html targets.
4343 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4345 * config/mt-*: Remove, these haven't been used since 1996.
4347 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4349 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4350 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4351 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4353 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4355 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4356 simpler match case for the ptype of the big class.
4358 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4360 * gdb.exp: Fix test for gdb_prompt existence.
4362 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4364 * gdb.exp (gdb_test): Add fail after calls to perror.
4366 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4368 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4370 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4372 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4374 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4376 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4377 malloc() is linked in.
4379 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4381 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4384 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4386 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4388 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4390 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4392 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4393 * gdb.base/mips_pro.exp: Likewise.
4395 1999-06-02 Keith Seitz <keiths@cygnus.com>
4397 * gdb.c++/templates.cc: Change all "new" operators to throw
4399 * gdb.c++/cplusfuncs.cc: Likewise.
4401 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4403 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4405 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4406 * gdb.base/ending-run.exp: When stepping out of main, accept a
4407 step into an arbitrary assembler file.
4409 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4411 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
4412 "breakpoint-invalid" to be printed.
4413 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
4414 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4415 * gdb.base/annota2.cc: Initialize a.x to 0.
4417 1999-05-17 Keith Seitz <keiths@cygnus.com>
4419 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4420 when "skip_float_tests" set.
4421 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4422 "print print_ten_doubles", and "step into print_long_arg_list".
4423 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4424 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4425 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4426 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4427 "skip_float_tests" is set.
4428 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4429 when "skip_float_tests" set.
4431 1999-05-06 Keith Seitz <keiths@cygnus.com>
4433 * gdb.base/annota2.cc: Include stdio.h.
4435 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4437 * gdb.base/crossload.exp: Remove, this has been disabled ever
4438 since BFD stopped including all targets, and cross-GDB gets
4439 plenty of testing anyway.
4440 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4441 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4442 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4443 * gdb.base/README: Remove, was doc for this.
4444 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4447 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4449 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4452 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4453 * gdb.base/annota2.exp: New file. More annotation tests.
4454 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4455 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4457 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
4459 * config/cfdbug.exp: New file.
4461 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4463 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4464 Marcus Daniel's and Dale Hawkins's demangler crashes.
4466 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4467 test_lucid_style_demangling, test_arm_style_demangling,
4468 test_hp_style_demangling): Try Tom Tromey's core-dumping
4469 identifier under each demangling style.
4471 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4473 * gdb.c++/demangle.exp: Include the current demangling style
4475 (current_demangling_style): New global variable.
4476 (set_demangling_style, test_demangling_core, test_demangling,
4477 test_demangling_exact): New functions.
4478 (test_gnu_style_demangling, test_lucid_style_demangling,
4479 test_arm_style_demangling, test_hp_style_demangling): Use those,
4480 instead of calling gdb_test and gdb_test_exact directly.
4481 (catch_demangling_errors): New function, which reports errors
4482 signalled by the demangling test functions in an orderly way.
4483 (do_tests): Use catch_demangling_errors.
4485 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4487 * gdb.base/signals.exp (test_handle_all_print): Use () for
4488 grouping in expressions, not {}.
4490 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4493 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4495 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4498 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4500 * gdb.stabs/weird.exp: Test for CC being defined before
4501 looking at its value.
4503 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4505 * gdb.base/call-ar-st.exp: Remove stray '#'.
4506 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4507 "short int" and "long int".
4508 * gdb.c++/overload.cc: Cast the string added in the previous
4509 change, to mollify finicky HP compiler.
4510 * gdb.hp/reg-test.exp (testfile): Fix file name.
4511 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
4513 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4514 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4515 alternate form of enum ptype.
4517 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4519 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4520 * gdb.hp/*.exp: Change all to run compiler probe only after
4521 passing skip_hp_tests, so as not to waste time on guaranteed
4524 * gdb.c++/overload.cc: Pass string instead of char addr, always
4526 * gdb.c++/templates.cc: Fix syntax error.
4528 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4530 * gdb.base/commands.exp: Add test for correct position of '>'
4531 when issuing the 'commands' command after a 'while' or 'if'
4534 1999-03-18 James Ingham <jingham@cygnus.com>
4536 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4538 * gdb.c++/method.exp: It was testing an uninitialized int on the
4539 stack and assuming it was positive.
4541 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4543 * gdb.base/step-test.exp: Catch a case where finish is broken and
4544 keep it from killing the rest of the tests.
4545 Use gdb_continue_to_end.
4547 * gdb.base/sigall.exp: use gdb_continue_to_end.
4549 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4551 * gdb.base/display.exp: use runto_main, not run.
4553 * gdb.base/default.exp: Check for the current error message in the
4554 r abbreviation test.
4555 Add strongarm to the targets that know info float.
4557 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
4558 run which doesn't work with monitors.
4560 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4562 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4564 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
4565 program. Traps the case (in Cygmon) when the program never really
4566 exits. Same as Mark's continue_to_exit, but I had put it in a lot
4567 more places, so I used my name. Sorry Mark...
4569 * config/monitor.exp (gdb_target_monitor): added another
4570 target_info parameter: remotebinarydownload. This will set the
4571 remotebinarydownload flag if this is causing some boards trouble.
4573 1999-03-18 Mark Salter <msalter@cygnus.com>
4575 * lib/gdb.exp (continue_to_exit): New function.
4577 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4578 * gdb.base/ending-run.exp: Ditto.
4579 * gdb.base/step-test.exp: Ditto.
4581 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4583 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4584 (suggested by Art Haas <ahaas@neosoft.com>).
4586 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4588 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4590 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4592 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4593 descriptions of types (short unsigned int vs unsigned short, etc).
4595 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4597 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4598 a call to strlen; sometimes we do have sources.
4600 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4602 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4603 character, so GDB won't print garbage after its end.
4605 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4606 breakpoint there instead. Sometimes GCC emits memcpy to handle
4607 the large structures being passed by value, so we step into that
4608 instead of sum_array_print, which obscures what we're really testing.
4609 * gdb.base/step-test.exp: However, we do want a test that notices
4610 the bizarre steps into memcpy, so do that here. Add check for
4611 stepping into function calls that pass large structures by value.
4612 ("Is that a noun clause, or are you just happy to see me?")
4613 Remove all references to specific line numbers.
4614 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4615 New type and function.
4616 (main): Call large_struct_by_value, passing it a large struct by value.
4617 * lib/gdb.exp (gdb_get_line_number): New function.
4619 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4622 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4624 * lib/gdb.exp: Doc fixes.
4626 1999-03-05 Nick Clifton <nickc@cygnus.com>
4628 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
4630 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4632 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4633 commands. They're not germane to this test, and they don't work
4634 that way on remote targets.
4636 1999-03-01 James Ingham <jingham@cygnus.com>
4638 * Changelog entries merged over from gdb development branch.
4640 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4642 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4643 for outputting results of test run.
4645 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
4647 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
4649 1999-02-25 Felix Lee <flee@cygnus.com>
4651 * lib/gdb.exp (debug_format): initialize
4653 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4655 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4656 * gdb.base/call-rt-st.c: Ditto.
4658 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4660 * gdb.threads/pthreads.exp (horiz): New variable.
4661 (test_startup): Fix regexps that capture thread numbers.
4663 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4665 * gdb.base/smoke.exp: Disambiguate two test case names (both
4668 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4670 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4673 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4675 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4676 actual output formatting.
4677 * gdb.base/smoke.exp: GDB removes leading 0's.
4678 * gdb.base/volatile.exp: Don't check type of remuneration;
4679 that variable is no longer defined in constvars.c.
4680 * gdb.base/step-test.c (main): Exit with explicit exit code.
4681 * gdb.base/step-test.exp: Remove two nexti checks--they are
4684 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4686 * gdb.base/help.exp ("help delete display"): Fix test to match
4689 * gdb.base/long_long.c (known_types): Initialize values to zero.
4690 * gdb.base/long_long.exp: Step one more line
4691 so 'dec' is initialized in "get to known place". GDB removes
4692 leading zeros. Explicitly ask for hex formatting. Use
4693 unique test case names.
4695 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4697 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
4699 * gdb.c++/method.exp: Add missing close brace.
4701 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4703 * gdb.base/maint.exp: Use 'set height 0' to disable page
4704 prompting, not 'set height 400'.
4706 Fix a bunch of timeouts.
4707 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4708 four separate tests, so expect doesn't take forever to match a ton
4709 of text against a regexp with lots of .* forms.
4710 ("maint print psymbols", "maint print symbols"): Make some of
4711 these greps more selective, so that expect doesn't try to wade
4712 through huge piles of output and time out.
4714 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4716 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4717 tests: one which doesn't expect shlib events to be reported, and
4718 another which does, but is XFAIL for all platforms other than
4721 * gdb.base/break.exp: Teach the test suite that the `catch
4722 fork', `catch vfork', and `catch exec' commands produce error
4723 messages on platforms that don't provide these features.
4725 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4727 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4728 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4729 (shortening names from solib_threshold.exp etc), won't run on
4730 anything but HP-UX for the foreseeable future.
4731 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4734 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4736 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4737 gdb.trace/Makefile.in (clean): Remove all test executables.
4739 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4741 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4742 successfully re-sets breakpoints in shared libraries.
4743 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4745 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4747 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4748 and compiled w/o GCC.
4750 * gdb.hp/watch-cmd.exp: ditto.
4752 * gdb.hp/watch-hp.exp: ditto.
4754 * gdb.hp/xdb1.exp: ditto.
4756 * gdb.hp/xdb2.exp: ditto.
4758 * gdb.hp/dbx.exp: ditto.
4760 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4762 * constvars.c: Remove C++-isms.
4763 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4766 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4768 The following changes are part of the HP merge.
4770 * gdb.base/break.exp: new tests to verify that catchpoints for
4771 fork, vfork, and exec don't trigger inappropriately.
4773 * gdb.base/opaque.exp: compile one file at a time, then link.
4775 * gdb.base/signals.exp: be more restrictive about which hppa
4776 systems receive a setup_xfail. new tests.
4778 * gdb.base/solib_threshold.build: new file.
4779 * gdb.base/solib_threshold.exp: new file.
4780 * gdb.base/solib_threshold.link_opts: new file.
4781 * gdb.base/solib_threshold.mk: new file.
4782 * gdb.base/gen_solib_threshold.c: new file.
4784 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4785 tests. New tests for enums inside classes.
4787 * gdb.c++/compiler.cc: indicate support of template debugging.
4789 * gdb.c++/demangle.exp: run hp style demangling tests.
4791 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4794 * gdb.c++/misc.cc: changes to support new tests.
4796 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4797 to support new tests.
4799 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4800 gcc, then skip these tests.
4802 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4804 The following files are part of the HP merge; some had longer
4805 names at HP, but have been renamed to be no more than 14
4806 characters in length.
4808 * gdb.hp/ambiguous.cc: new file.
4809 * gdb.hp/ambiguous.exp: new file.
4810 * gdb.hp/attach.exp: new file.
4811 * gdb.hp/attach2.exp: new file.
4812 * gdb.hp/classes-hp.exp: new file.
4813 * gdb.hp/ctti.exp: new file.
4814 * gdb.hp/ctti-add.cc: new file.
4815 * gdb.hp/ctti-add1.cc: new file.
4816 * gdb.hp/ctti-add2.cc: new file.
4817 * gdb.hp/ctti-add3.cc: new file.
4818 * gdb.hp/dbx.exp: new file.
4819 * gdb.hp/exception.cc: new file.
4820 * gdb.hp/exception.exp: new file.
4821 * gdb.hp/foll-exec.c: new file.
4822 * gdb.hp/foll-exec.exp: new file.
4823 * gdb.hp/foll-fork.c: new file.
4824 * gdb.hp/foll-fork.exp: new file.
4825 * gdb.hp/foll-vfork.c: new file.
4826 * gdb.hp/foll-vfork.exp: new file.
4827 * gdb.hp/inherit-hp.exp: new file.
4828 * gdb.hp/more-steps.exp: new file.
4829 * gdb.hp/namespace.cc: new file.
4830 * gdb.hp/namespace.exp: new file.
4831 * gdb.hp/optimize.exp: new file.
4832 * gdb.hp/pxdb.c: new file.
4833 * gdb.hp/pxdb.exp: new file.
4834 * gdb.hp/quicksort.exp: new file.
4835 * gdb.hp/reg-test.exp: new file.
4836 * gdb.hp/reg-test.s: new file.
4837 * gdb.hp/sized-enum.c: new file.
4838 * gdb.hp/sized-enum.exp: new file.
4839 * gdb.hp/start-stop.exp: new file.
4840 * gdb.hp/templ-hp.cc: new file.
4841 * gdb.hp/templ-hp.exp: new file.
4842 * gdb.hp/thr-lib.c: new file.
4843 * gdb.hp/thr-lib.exp: new file.
4844 * gdb.hp/thr-lib.h: new file.
4845 * gdb.hp/thr-liblib.c: new file.
4846 * gdb.hp/virtfun-hp.c: new file.
4847 * gdb.hp/virtfun-hp.exp: new file.
4848 * gdb.hp/watch-cmd.exp: new file.
4849 * gdb.hp/watch-hp.exp: new file.
4850 * gdb.hp/xdb1.exp: new file.
4851 * gdb.hp/xdb2.exp: new file.
4852 * gdb.hp/xdb3.exp: new file.
4854 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4856 The following files are part of the HP merge; some had longer
4857 names at HP, but have been renamed to be no more than 14
4858 characters in length.
4860 * gdb.base/ss.h: new file.
4861 * gdb.base/call-ar-st.c: new file.
4862 * gdb.base/call-ar-st.exp: new file.
4863 * gdb.base/call-rt-st.c: new file.
4864 * gdb.base/call-rt-st-exp: new file.
4865 * gdb.base/call-strs.exp: new file.
4866 * gdb.base/ena-dis-br.exp: new file.
4867 * gdb.base/environ.exp: new file.
4868 * gdb.base/long_long.exp: new file.
4869 * gdb.base/sect-cmd.exp: new file.
4870 * gdb.base/shlib-cl2.exp: new file.
4871 * gdb.base/smoke.exp: new file.
4872 * gdb.base/so-impl-ld.c: new file.
4873 * gdb.base/so-impl-ld.exp: new file.
4874 * gdb.base/so-indr-cl.c: new file.
4875 * gdb.base/so-indr-cl.exp: new file.
4876 * gdb.base/varargs.exp: new file.
4877 * gdb.base/volatile.exp: new file.
4878 * gdb.base/whatis-exp.exp: new file.
4879 * gdb.base/display.exp: new file.
4880 * gdb.c++/derivation.exp: new file.
4881 * gdb.c++/local.exp: new file.
4882 * gdb.c++/member-ptr.exp: new file.
4883 * gdb.c++/overload.exp: new file.
4884 * gdb.c++/ovldbreak.exp: new file.
4885 * gdb.c++/ref-types.exp: new file.
4886 * gdb.c++/ref-types2.exp: new file.
4887 * gdb.c++/userdef.exp: new file.
4889 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4891 * gdb.base/default.exp: Reflect wording change in remote.c.
4893 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
4895 * gdb.base/help.exp: Update to reflect current text.
4897 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4899 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4900 they're stack variables and contain garbage.
4901 * gdb.c++/anon-union.exp: new file.
4903 The following changes were made by David Taylor
4904 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4905 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4908 * gdb.base/bitops.exp: new file.
4909 * gdb.base/default.exp: change expected messages for catch and
4910 info catch tests to reflect HP merge changes.
4911 * gdb.base/enable-disable-break.exp
4912 * gdb.base/ending-run.c: new file.
4913 * gdb.base/long_long.c: new file.
4914 * gdb.base/maint.exp: new file.
4915 * gdb.base/pointers2.exp: new file.
4916 * gdb.base/shlib-call2.exp: new file.
4917 * gdb.base/solib.exp: new file.
4918 * gdb.base/step-test.c: new file.
4919 * gdb.c++/anon-union.cc: new file.
4920 * gdb.c++/local.cc: new file.
4921 * gdb.c++/member-pointer.cc: new file.
4922 * gdb.c++/method.cc: new file.
4923 * gdb.c++/ref-types.cc: new file.
4924 * gdb.c++/ref-types2.cc: new file.
4925 * gdb.c++/userdef.cc: new file.
4927 * gdb.base/scope.exp: compile one file at a time, then link.
4928 * gdb.base/langs.exp: ditto.
4929 * gdb.base/list.exp: ditto.
4931 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4933 The following changes were made by David Taylor
4934 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4935 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4938 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4939 skip tests. When compiling pass c++ flag to gdb_compile.
4942 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4943 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4944 (skip_hp_tests): new function.
4945 (gdb_preprocess): new function.
4947 * configure.in (hpdir): decide whether to configure gdb.hp.
4948 * configure: regenerated.
4950 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4952 (EXECUTABLES): update to reflect new additions.
4953 * gdb.base/commands.exp: update message expected.
4954 * gdb.base/default.exp: add copyright notice.
4955 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4956 * gdb.base/help.exp: update messages to reflect current text.
4957 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4958 targets for recurse tests.
4959 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4962 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4963 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4965 * gdb.c++/misc.exp: ditto.
4966 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4967 run the tests. tell gdb_compile that it's a c++ compilation.
4969 * gdb.threads/pthreads.exp: fix typo in message.
4971 * gdb.base/all-bin.exp: new file.
4972 * gdb.base/arithmet.exp: new file.
4973 * gdb.base/assign.exp: new file.
4974 * gdb.base/completion.exp: new file.
4975 * gdb.base/cond-expr.exp: new file.
4976 * gdb.base/condbreak.exp: new file.
4977 * gdb.base/define.exp: new file.
4978 * gdb.base/dollar.exp: new file.
4979 * gdb.base/environment.exp: new file.
4980 * gdb.base/eval-skip.exp: new file.
4981 * gdb.base/jump.exp: new file.
4982 * gdb.base/logical.exp: new file.
4983 * gdb.base/pointers.exp: new file.
4984 * gdb.base/relational.exp: new file.
4985 * gdb.base/section_command.exp: new file.
4986 * gdb.base/whatis-expr.exp: new file.
4988 * gdb.base/all-types.c: new file.
4989 * gdb.base/call-array-struct.c: new file.
4990 * gdb.base/call-return-struct.c: new file.
4991 * gdb.base/call-strings.c: new file.
4992 * gdb.base/callfuncs2.c: new file.
4993 * gdb.base/condbreak.c: new file.
4994 * gdb.base/constvars.c: new file.
4995 * gdb.base/display.c: new file.
4996 * gdb.base/int-type.c: new file.
4997 * gdb.base/jump.c: new file.
4998 * gdb.base/miscexprs.c: new file.
4999 * gdb.base/pointers.c: new file.
5000 * gdb.base/pointers2.c: new file.
5001 * gdb.base/shmain.c: new file.
5002 * gdb.base/shr1.c: new file.
5003 * gdb.base/shr2.c: new file.
5004 * gdb.base/solib.c: new file.
5005 * gdb.base/solib1.c: new file.
5006 * gdb.base/solib2.c: new file.
5007 * gdb.base/varargs.c: new file.
5008 * gdb.c++/derivation.cc: new file.
5009 * gdb.c++/overload.cc: new file.
5010 * gdb.c++/ovldbreak.cc: new file.
5011 * gdb.hp/attach.c: new file.
5012 * gdb.hp/attach2.c: new file.
5013 * gdb.hp/average.c: new file.
5014 * gdb.hp/compiler.c: new file.
5015 * gdb.hp/compiler.cc: new file.
5016 * gdb.hp/execd-program.c: new file.
5017 * gdb.hp/follow-exec.c: new file.
5018 * gdb.hp/follow-fork.c: new file.
5019 * gdb.hp/follow-vfork-and-exec.c: new file.
5020 * gdb.hp/misc-hp.cc: new file.
5021 * gdb.hp/more-steps.c: new file.
5022 * gdb.hp/optimize.c: new file.
5023 * gdb.hp/quicksort.c: new file.
5024 * gdb.hp/run-hp.c: new file.
5025 * gdb.hp/start-stop.c: new file.
5026 * gdb.hp/sum.c: new file.
5027 * gdb.hp/templates-hp.cc: new file.
5028 * gdb.hp/thread-local-in-lib.c: new file.
5029 * gdb.hp/thread-local-in-lib.h: new file.
5030 * gdb.hp/thread-local-in-lib.lib.c: new file.
5031 * gdb.hp/vforked-program.c: new file.
5032 * gdb.hp/virtfunc-hp.cc: new file.
5033 * gdb.hp/watchpoint-hp.c: new file.
5034 * gdb.hp/xdb.c: new file.
5035 * gdb.hp/xdb0.c: new file.
5036 * gdb.hp/xdb0.h: new file.
5037 * gdb.hp/xdb1.c: new file.
5039 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5041 The following change was made by Edith Epstein
5042 <eepstein@cygnus.com> as part of a project to merge in changes
5043 originally made by HP; HP did not create ChangeLog entries.
5045 * gdb.c++/demangle.exp: changed the expected output for some
5046 ARM-style mangling -- removed second reference to datatype.
5047 For example, maint demangle __dt__11T1__pt__2_cFv
5048 T1<char>::~T1<char>(void)
5050 maint demangle __dt__11T1__pt__2_cFv
5053 (test_hp_style_demangling): new hp specific demangling test cases.
5055 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5057 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5058 * gdb.trace/backtrace.exp: Likewise.
5059 * gdb.trace/circ.exp: Likewise.
5060 * gdb.trace/collection.exp: Likewise.
5061 * gdb.trace/deltrace.exp: Likewise.
5062 * gdb.trace/infotrace.exp: Likewise.
5063 * gdb.trace/limits.exp: Likewise.
5064 * gdb.trace/packetlen.exp: Likewise.
5065 * gdb.trace/passc-dyn.exp: Likewise.
5066 * gdb.trace/passcount.exp: Likewise.
5067 * gdb.trace/report.exp: Likewise.
5068 * gdb.trace/save-trace.exp: Likewise.
5069 * gdb.trace/tfind.exp: Likewise.
5070 * gdb.trace/tracecmd.exp: Likewise.
5071 * gdb.trace/while-dyn.exp: Likewise.
5072 * gdb.trace/while-stepping.exp: Likewise.
5074 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5076 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5078 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5081 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5084 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5086 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5087 remote dos host testing right.
5089 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5091 * gdb.base/corefile.exp: remove some xfails.
5093 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5095 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5096 have different timestamps.
5098 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5100 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5101 gdb.base/default.exp: Replace "exec" with "executable".
5103 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5105 * gdb.base/default.exp: Change else if to elseif from previous
5108 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5110 * gdb.base/default.exp: Add brace missing from previous delta.
5112 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5114 * gdb.base/default.exp: Support test for info float for all
5115 varieties of arm toolchain.
5117 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
5119 * gdb.trace/*.exp: remove "remote_download" command.
5121 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
5123 * gdb.trace/*.exp: remove -gdwarf from compile.
5125 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5127 * gdb.trace/configure.in(AC_INIT): typo
5128 * gdb.trace/configure: regenerated
5130 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
5132 * config/m68k-emc.exp: New file.
5133 * lib/<emc-support.exp trace-support.exp}: New files.
5134 * configure.in: add new test directory gdb.trace.
5135 * gdb.trace/{configure configure.in Makefile.in}: New files.
5136 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5137 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5138 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5139 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5140 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5141 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5142 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
5144 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
5146 * gdb.c++/classes.exp: Change all regular expressions to match
5147 arbitrary combinations of newline/carriage-return, so that they
5148 will work equally well on Unix and Windows.
5149 * gdb.c++/inherit.exp: ditto.
5150 * gdb.c++/virtfunc.exp: ditto.
5152 1998-08-11 Dawn Perchik <dawn@cygnus.com>
5154 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5156 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5158 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5159 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5160 to use a0-a3/d0-d3 as needed.
5162 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5164 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5165 * gdb.disasm/am33.exp: Corresponding changes.
5167 1998-07-11 Felix Lee <flee@cygnus.com>
5169 * gdb.base/callfuncs.exp: add cmp10 test.
5170 * gdb.base/callfuncs.c (cmp10): new function.
5172 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5174 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
5175 into two parts to get around a synchronization problem in expect.
5177 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5179 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5181 * configure.in: Add options for gdbtk testsuite.
5183 * configure: Regenerate.
5185 * gdb.gdbtk: New directory to hold gdbtk tests.
5187 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5189 * gdb.fortran/types.exp: Escape brackets in expect patterns
5190 for test_float_literal_types_accepted tests.
5191 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5194 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5196 * am33.exp: Just compile, do not link the testcase.
5197 * am33.s: Add ".am33" pseudoop to force am33 mode.
5199 1998-06-25 Felix Lee <flee@cygnus.com>
5201 * gdb.base/setshow.exp: make sure $pc is sane.
5203 * gdb.stabs/weird.exp: split expect patterns properly.
5205 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5207 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5208 * gdb.disasm/am33.exp: Run it.
5210 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
5212 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5213 match processing (and eliminate spurious timeouts when running).
5215 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
5217 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5218 exception test, but conditionalize it on target [mach | gnu].
5220 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
5222 * gdb.base/overlays.exp: fixup compile line for linker script.
5224 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5226 * gdb.fortran/types.exp: don't guess at float size.
5228 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5230 * gdb.base/exprs.exp: delete test that depends on int size.
5232 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5234 * config/sim.exp: Removed checks for target triplets.
5235 (gdb_target_sim): Use gdb,target_sim_options.
5237 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5239 * gdb.base/reread.exp: New file.
5240 * gdb.base/reread1.c: New file.
5241 * gdb.base/reread2.c: New file.
5243 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5245 * config/sim.exp: Use 'target sim -sparclite' when running
5248 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5250 * gdb.base/structs2.exp: New file.
5251 * gdb.base/structs2.c: New file.
5253 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5255 * gdb.asm/common.inc: New file.
5256 * gdb.asm/d10v.inc: New file.
5257 * asm-source.exp: Pass -I's to gas to find .inc files.
5258 Update line numbers in expected output.
5259 * asmsrc1.s: Rewrite.
5260 * asmsrc2.s: Rewrite.
5261 * configure.in: Create arch.inc symlink.
5262 * configure: Regenerate.
5263 * Makefile.in (distclean): Delete arch.inc.
5265 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5267 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5268 (t_enum_value2): ditto
5269 (t_enum_value3): ditto
5271 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5273 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5274 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5276 Use gdb_test instead of send_gdb/gdb_expect sequences.
5278 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5280 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5283 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5285 * gdb.base/branches.c: Code with lots of loops and
5286 subroutines. Used to test gdbs ability to single step through PC
5287 changes, especially to test mips-tdep.c:mips_next_pc
5289 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5291 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5292 more rigorous EGCS C++ error checking.
5294 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5296 * gdb.base/help.exp: Clean up `help set args' and `help show args'
5298 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
5299 function when asleep.
5300 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
5301 for i*86 Linux and SVR4 signal handling problems.
5302 Remove linux xfail for `next to handler in signals_tests_1', fixed
5303 by recent infrun.c change.
5304 Limit backtrace to 10 frames to avoid timeout problems with infinite
5306 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5309 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5311 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5312 for a newline from gdb before continuing.
5313 (default_gdb_exit): Just look for y or n.
5314 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5315 it does, fail the rests of the tests in the file.
5317 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5319 * config/cygmon.exp: New file.
5321 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5323 * gdb.base/list.exp: Fix problem with "list default lines around
5324 main" test on remote targets.
5326 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5327 run test on remote targets.
5329 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5331 * gdb.asm: New directory.
5332 * configure.in: Configure it.
5333 * configure: Regenerate.
5334 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5335 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5337 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5339 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5341 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
5343 * gdb.base/overlays (several files): Merge the two overlay
5344 managers into one. Change variables (foox, barx, bazx, grbxx)
5345 back into ints but force them to load in their proper sections.
5347 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5349 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5350 on-chip insn memory and IMAP1 to upper 128k.
5351 (D10VCopy): Handle memory regions crossing 16k boundaries.
5352 (D10VCopy): Transfer data in 32 bit chunks.
5354 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5356 * gdb.base/overlays.c (main): Exit normally when result is
5359 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5360 map. Include space for printf in .text segment.
5362 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5363 updated d10v memory VMA/LMA map.
5364 (D10VCopy): Call D10VTranslate.
5366 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5368 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5370 * gdb.base/bar.c (barx, bar): Change variable to small array so
5371 that it won't be put into the .sdata - small data -
5372 section. Update reference.
5373 * gdb.base/baz.c (bazx, baz): Ditto.
5374 * gdb.base/foo.c (foox, foo): Ditto.
5375 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5377 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5380 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
5382 * gdb.base/overlays.exp: fix up and get working again.
5383 Add tests for backtraces from an overlay function.
5385 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5387 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5388 "calling function with watchpoint enabled".
5390 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5392 * gdb.base/break.exp (test_next_with_recursion): Remove
5393 gdb_suppress_tests for d10v-*-*.
5394 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5395 pending review of whether it is useful or not.
5397 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5399 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5401 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5403 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5404 * config/dve.exp: New file to support Densan boards.
5406 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5408 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5411 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5413 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5416 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5418 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5420 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5423 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5424 target_sizeof_long and target_bigendian_p.
5425 (structs_by_value, structs_by_reference): Check values according
5426 to targets word size and endianess.
5428 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5430 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5433 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5435 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5436 Update test of set args help to match source change.
5438 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5440 * gdb.base/default.exp: Expect help system output to be in
5442 * gdb.base/help.exp: Ditto.
5444 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5446 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5447 "i*86-pc-linux-gnu*".
5448 * gdb.base/interrupt.exp: Ditto.
5449 * gdb.base/corefile.exp: Ditto.
5451 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5452 define vxworks when building the testcase.
5454 * gdb.base/ptype.exp: Fix testnames to be unique.
5455 * gdb.base/radix.exp: Ditto.
5456 * gdb.base/term.exp: Ditto.
5457 * gdb.base/whatis.exp: Ditto.
5458 * gdb.c++/classes.exp: Ditto.
5460 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5462 * gdb.base/callfuncs.exp: Fix indentation.
5464 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5465 suppress_flag has been set.
5466 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5469 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5471 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5474 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5475 set_debug_traps() and breakpoint().
5476 * gdb.c++/misc.cc (main): Ditto.
5477 * gdb.c++/templates.cc (main): Ditto.
5478 * gdb.c++/virtfunc.cc (main): Ditto.
5480 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5482 * lib/gdb.exp(gdb_step_for_stub): New function.
5483 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5484 exists, reload the executable and do a "continue" instead of
5486 (runto_main): Use gdb_step_for_stub.
5488 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5489 tests to have unique names.
5490 * gdb.base/callfuncs.exp: Ditto.
5491 * gdb.base/commands.exp: Ditto.
5492 * gdb.base/default.exp: Ditto.
5493 * gdb.base/help.exp: Ditto.
5494 * gdb.base/list.exp: Ditto.
5495 * gdb.base/opaque.exp: Ditto.
5496 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5499 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5500 * gdb.c++/cplusfuncs.cc: Ditto.
5501 * gdb.c++/virtfunc.cc: Ditto.
5503 * config/monitor.exp: Keep track of the last file we saw, rather
5504 than trying to get the info from gdb.
5506 * gdb.fortran/types.exp: Move comment to previous line.
5508 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5510 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5513 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5516 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5517 string from GDB when it connects.
5519 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5521 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5523 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5524 if we can't get a debug format from GDB (we may be testing an
5525 older GDB). Use a 10 second timeout when checking for the format.
5527 * gdb.stabs/weird.exp: Fix quoting.
5529 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5531 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5533 * config/arm-ice.exp: New file.
5535 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5537 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5538 until it has been modified to work with the new testsuite.
5540 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
5541 testcase won't compile, cause all of the testcases in the file to
5544 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5545 (gdb_clear_suppressed): New procedure.
5546 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5547 it contains a positive value.
5549 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5551 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5553 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5555 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5557 * lib/gdb.exp (setup_xfail_format): New function.
5558 (get_debug_format): New function to get debug format.
5559 (debug_format): New global variable to hold last value set
5560 by get_debug_format.
5561 * gdb.base/list.exp: Call get_debug_format and expect some
5562 tests to fail for DWARF 1 and COFF formats.
5563 * gdb.c++/ptype.exp: Ditto.
5564 * gdb.c++/classes.exp: Ditto.
5565 * gdb.c++/cplusfuncs.exp: Ditto.
5566 * gdb.c++/inherit.exp: Ditto.
5567 * gdb.c++/templates.exp: Ditto.
5568 * gdb.c++/virtfunc.exp: Ditto.
5570 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5572 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5573 host doesn't have a currently-open connection.
5575 * config/sparclet.exp: Cleanups and fixes to make it generic for
5576 any gdb stub target. Handle cases where gdb doesn't respond when
5577 interrupted in a sane fashion.
5579 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5580 same thing in a totally different way.
5582 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5584 (gdb_start): We set the global gdb_prompt variable in
5585 default_gdb_init now.
5587 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5589 * gdb.base/printcmds.exp: Fix "check for floating addition"
5590 regexp to accept results within approx +/- .01 of exact value.
5591 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5593 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5595 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5597 (gdb_expect): Add optional timeout parameter, and add timeout
5598 value to various calls.
5599 (gdb_suppress_tests): Only give one warning message per group.
5601 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5603 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5604 global variables. Handle getting a value for $timeout more
5607 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5609 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5611 (default_gdb_init): New procedure; allow gdb_init to be overridden
5612 by a target configuration file.
5613 (gdb_expect): Pass the timeout to remote_expect.
5615 * config/monitor.exp(gdb_load): Fix typo in regexp.
5617 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5619 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5621 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5623 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5624 here. Call gdb_target_exec before rebooting the target, to make
5625 sure the connection to the target is closed.
5626 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5627 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5628 Also detect "Timeout reading from remote" error.
5630 * config/gdbserver.exp: Pass the executable being loaded to
5631 gdb_target_monitor. Don't call gdb_file_cmd here; let
5632 gdb_target_monitor do it.
5634 * gdb.disasm/hppa.exp: Don't use exec_output.
5636 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5638 * gdb.base/list.exp: If we're debugging a non-native target,
5639 try to set the pc register to point to the start of the
5640 program before doing the first list command.
5642 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5643 test_calls after restarting.
5645 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5648 * gdb.base/watchpoint.exp: Fix typo.
5650 * gdb.base/setshow.exp: Check for use_gdb_stub.
5652 * gdb.base/break.exp: Fix continue until exit test for the gdb
5654 * gdb.base/langs.exp: Ditto.
5656 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5657 gdb_load_offset. If we weren't given a file to load, figure out
5658 what the current file is and use it.
5660 * config/i386-bozo.exp: New file.
5662 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5664 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5667 * config/proelf.exp: New entry.
5669 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5671 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5674 * gdb.base/watchpoint.exp: Don't run the test_stepping
5675 tests if gdb can't call functions on the target.
5677 * gdb.base/setshow.exp: Don't run the set prompt tests if
5678 the board has gdb_prompt set.
5680 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5682 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5683 * gdb.base/commands.exp: Likewise.
5684 * gdb.base/setshow.exp: Likewise.
5686 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5688 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5691 * config/i960.exp: New file.
5693 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5695 * gdb.base/funcargs.exp: Check for gdb,short_int target
5696 feature instead of looking for explicit target triplets.
5698 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
5700 * gdb.base/printcmds.exp: add a couple more tests a la
5701 "p 123DEADBEEF", to check parse_number.
5702 * top.c: change "to enable to enable" to "to enable" in a couple
5705 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5707 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5710 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5712 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5713 where the test executable is run with explicit args.
5714 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5716 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5718 * gdb.base/run.c: Use FAKEARGV to build test executable that
5719 does not require a command line arg, since most simulators
5720 don't currently support passing such an arg into the simulated
5722 * gdb.base/commands.exp: Change tests to insert the proper
5723 value as the arg to the first recursive factorial call. Change
5724 compilation line to define FAKEARGV at compile time.
5726 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5728 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5729 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5730 function with watchpoint enabled" test.
5732 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5734 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5735 Don't call gdb_test when the command doesn't return to a gdb prompt.
5737 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5738 "Tests restarted" messages.
5740 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5742 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5744 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
5746 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5747 for INFO SYMBOL; add help tests for OVERLAY commands.
5748 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5749 add tests for OVERLAY commands
5750 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5751 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5752 * gdb.base/sigall.c: add usestubs code frag
5753 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
5755 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5757 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5759 (gdb_stop_suppressing_tests): Note that tests have restarted.
5761 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5763 * config/h8300.exp: New file.
5765 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5767 * gdb.base/setshow.exp: Check for the existence of a
5768 feature, not its value.
5770 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5772 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5774 * gdb.base/scope.exp: It's now init0(), not init().
5776 * gdb.base/scope0.c: For now, change init() to be init0().
5778 * config/monitor.exp: Use gdb_serial in preference to serial
5781 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5782 and it's not already set.
5784 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5786 * gdb.base/setshow.exp: Only test the run command if the target
5787 isn't using a stub and if it supports argument passing.
5789 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5791 * config/udi.exp(gdb_start): Make sure UDICONF is set
5792 properly before starting gdb.
5794 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5796 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5797 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5798 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5800 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5802 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5803 specialized code to reboot the board, use remote_reboot instead.
5805 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5807 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5809 * config/monitor.exp: Make sure we disconnect from the target.
5810 Also, try a reboot/reload cycle instead of failing if the
5813 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5815 * gdb.base/default.exp: Don't set match_max.
5816 * gdb.base/help.exp: Ditto.
5817 * gdb.base/list.exp: Ditto.
5818 * gdb.base/signals.exp: Ditto.
5820 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5821 set, use remote_ld to download the testcase instead of
5824 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5826 * config/vr5000.exp: New file.
5828 * config/monitor.exp(gdb_target_monitor): Add pattern for
5829 "Ending remote" to detect errors in connecting.
5831 * gdb.base/setshow.exp: Add .* within auto language test.
5833 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5836 * config/monitor.exp(gdb_load): Check for a failure when loading,
5837 and reboot the board if necessary.
5839 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5840 a set of tests. Remove print.* from the patterns being checked.
5842 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5844 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5845 refer to gdb_spawn_id.
5847 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5849 * config/sparclet.exp: Ditto.
5850 * config/sparclet-old.exp: Ditto.
5851 * config/slite.exp: Ditto.
5852 * config/sim.exp: Ditto.
5853 * gdb.base/funcargs.exp: Ditto.
5855 * lib/gdb.exp:Remove references to gdb_spawn_id.
5856 (gdb_expect): Move to remote.exp.
5858 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5860 * config/monitor.exp: Detect the "Couldn't establish connection"
5863 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5865 * gdb.base/bitfields.exp: Use runto instead of explicit
5866 gdb_run_cmd/gdb_expect sequences.
5868 * gdb.base/break.exp(text_next_with_recursion): Add match for
5871 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5872 We also need to handle the "A program is being debugged already"
5873 prompt from gdb. Use gdb_test to set the baud rate.
5875 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5876 to 20000. Really. I mean it.
5878 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5880 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5881 fails. If suppress_flag is set, skip perror message about not
5882 being able to send to GDB.
5883 (send_gdb): If suppress_flag is set, don't try to send commands to
5885 (gdb_expect): If suppress_flag is set, always fail immediately.
5886 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5887 (gdb_init): Call gdb_stop_suppressing_tests.
5888 (default_gdb_exit): Ditto.
5889 (default_gdb_start): Ditto.
5891 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5892 gdb_stop_suppressing_tests as appropriate.
5893 * gdb.base/break.exp: Ditto.
5894 * gdb.base/callfuncs.exp: Ditto.
5895 * gdb.base/commands.exp: Ditto.
5896 * gdb.base/exprs.exp: Ditto.
5897 * gdb.base/funcargs.exp: Ditto.
5898 * gdb.base/list.exp: Ditto.
5899 * gdb.base/recurse.exp: Ditto.
5900 * gdb.base/scope.exp: Ditto.
5901 * gdb.base/structs.exp: Ditto.
5902 * gdb.c++/inherit.exp: Ditto.
5904 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5906 * config/vr4300.exp: New file.
5908 * gdb.*/*.exp: Call gdb_expect instead of expect.
5910 * lib/gdb.exp(gdb_expect): New function.
5912 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5914 * lib/gdb.exp(gdb_init): New function.
5916 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5917 for each individual variable set.
5919 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5922 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5924 * gdb.base/scope.exp: Use gdb_test.
5926 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5927 aborting; the testsuite driver will do that for us (see
5928 gdb_finish). Also, use gdb_test in a few more places.
5930 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5932 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5934 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5936 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5937 and "add_tests" are not at the same address.
5939 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5941 * gdb.base/ptype.exp: Use gdb_test.
5943 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5945 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5946 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5947 left in. No longer expect them to fail.
5949 * gdb.stabs/*.mt; Deleted, no longer used.
5950 * gdb.stabs/configure.in: Remove references to target makefile
5952 * gdb.stabs/configure: Rebuilt.
5954 * gdb.disasm/*.mt: Deleted, no longer used.
5955 * gdb.disasm/configure.in: Remove references to target makefile
5956 frags. Use "sh3.s" as the unique filename for this directory.
5957 * gdb.disasm/configure: Rebuilt.
5959 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5960 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5961 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5963 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5965 * config/udi.exp: Use mondfe,name instead of remote_host.
5967 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5969 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5970 a function with a watchpoint enabled on the mn10200.
5972 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5973 before trying to create it!
5975 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5977 * config/vx.exp: Use hostname instead of netport.
5979 * config/vxworks.exp: New file.
5981 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5983 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5984 gdb before assuming everything worked. Send a ^C if a timeout
5987 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5988 $gdb_spawn_id directly.
5989 (gdb_run_cmd): Try _start as well as start. Use the target feature
5990 gdb,start_symbol as the symbol to start from when jumping.
5992 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5994 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5997 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5998 it doesn't lose for 16bit integer systems.
6000 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6002 * gdb.fortran/types.exp: If the target doesn't support "double"
6003 data types, then expect "real" types to only be 4 bytes.
6005 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6006 call tests if the target doesn't support inferior function calls.
6008 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6011 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6013 * gdb.base/help.exp: Disable "help set", "help show", and
6014 "help support". Simplify regexp for "help stack".
6016 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6017 to 60 seconds. Temporarily set match_max to 15000 around the
6018 "info copying" test.
6020 * gdb.base/nodebug.exp: Don't try to do an inferior function
6021 call if the target doesn't support them.
6022 * gdb.base/printcmds.exp: Likewise.
6023 * gdb.base/setvar.exp: Likewise.
6024 * gdb.base/structs.exp: Likewise.
6025 * gdb.c++/templates.exp: Likewise.
6026 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6028 * gdb.base/recurse.exp: Enable for the mn10200.
6030 * configure.in: Do configure gdb.stabs directory for *-*-elf
6032 * configure: Rebuilt.
6034 * gdb.base/break.exp: Check for gdb,noresults before testing
6035 exit status and/or results from the target.
6036 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6037 * lib/gdb.exp: Remove old (now bogus) initialization of
6038 noinferior, noargs, noresults and nosignals.
6040 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6042 * config/sh.exp: New file.
6044 * config/slite.exp: Try to connect multiple times to the board
6045 before rebooting. Only send a "monitor run" if need_monitor_run
6048 * gdb.base/break.exp: Don't do the "stub continue" test if
6049 the target has gdb_stub set.
6051 * gdb.base/callfuncs.exp: Increase the timeout.
6053 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6054 if the target has gdb,noinferiorio set.
6056 * gdb.base/list.exp: Increase match_max to 10000 characters.
6058 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6060 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6063 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6065 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6067 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6068 trying to delete the copy of gdb. Catch the file delete so we
6069 don't die if the delete fails; also, the file should be copied to
6070 the host, not to the build.
6072 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6074 * lib/gdb.exp(gdb_test): Surround the result pattern with
6075 parenthesis in case it contains multiple regexps separated
6078 * gdb.base/watchpoint.exp: Use gdb_test.
6079 * gdb.base/default.exp: Ditto.
6081 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6083 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
6085 * gdb.base/scope.exp: Use gdb_test.
6086 * gdb.c++/classes.exp: Ditto.
6087 * gdb.c++/inherit.exp: Ditto.
6089 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6091 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6092 remote_exec instead.
6093 * gdb.base/corefile.exp: Don't be ridiculous.
6094 * gdb.base/*.c: Add missing stub invocations.
6096 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6098 * config/slite.exp: Miscellaneous fixes.
6100 * lib/gdb.exp: Fix runto.
6102 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6105 * gdb.base/watchpoint.exp: Fix regexp.
6107 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6108 close and wait commands, as the descriptor may now be
6109 invalid. Always call "remote_close host".
6111 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6113 Major rewrite for testsuite revision.
6115 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6116 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6117 instead of relying on spawn_id to always contain a valid
6119 (get_compiler_info): New procedure to build the ${binfile}.ci
6120 file, instead of replicating this in N different places.
6121 (gdb_compile): New procedure.
6123 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6124 appropriate arguments) instead of compile. Use gdb_test in a lot
6125 more places. Use send_gdb instead of send. Always run gdb_start
6126 at the start of a testcase, as this is no longer done magically.
6128 config/*-gdb.exp: Rename without the -gdb suffix.
6130 config/mips.exp: Use remote_close instead of exit_remote_shell.
6131 config/monitor.exp: Use target_info instead of looking at
6133 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6135 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6137 * gdb.c++/templates.exp (test_ptype_of_templates),
6138 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6139 Update expect patterns for destructors and assignment operators
6140 to match corresponding c-typeprint.c changes.
6141 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6142 to destructor breakpoint test, GDB should be able to set the
6143 destructor breakpoint without specifying arguments.
6145 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6147 * gdb.threads/pthreads.exp: Change result for failure to compile due
6148 to lack of pthreads runtime support from an error to simply an
6149 unsupported test, per dejagnu standards.
6151 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6153 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6154 where GDB exits to reduce pattern match time.
6155 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6157 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6159 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
6161 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6162 * gdb.base/default.exp: ditto.
6163 * gdb.base/nodebug.exp: ditto.
6164 * gdb.base/printcmds.exp: ditto.
6165 * gdb.base/ptype.exp: ditto.
6166 * gdb.base/setvar.exp: ditto.
6167 * gdb.base/structs.exp: ditto.
6168 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6170 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6172 * configure, */configure: Rebuild with autoconf 2.12.
6174 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6176 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6177 use new i*86-pc-linux*-gnu quads.
6178 * gdb.base/corefile.exp: Ditto.
6179 * gdb.base/signals.exp: Ditto.
6180 * gdb.base/sigall.exp: Ditto.
6181 * gdb.base/interrupt.exp: Ditto.
6183 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6184 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6187 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6188 linux. This allows the test case to at least compile on latest
6189 linux, but still not run due to missing the threads runtime library.
6191 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6193 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6194 directory to search gdb directory. Accept and step over conditional
6195 stack alignment code. Consume $prompt in failure cases.
6196 Reset timeout to $oldtimeout instead of some arbitrary value.
6197 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6198 timeout problems with infinite stack backtraces.
6199 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6200 Accept function parameters for linkfunc member.
6202 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6204 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6205 (CXXFLAGS): Remove, unreferenced.
6206 (B_OPTIONS): Add for -B options and add code to initialize with
6207 previous -B options and also add -B option to pick up cross compiled
6209 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6210 doing cross compiles.
6211 (target_alias): Declare global.
6212 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6213 to verify that gcc exists in build tree, and if so set CC to that
6214 gcc and to use B_OPTIONS and TARGET_INCLUDES.
6216 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6218 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6219 ptype test for anonymous union. Fixup testcase to match
6220 current gcc debug output.
6222 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6224 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6225 force argument to an unsigned long type.
6227 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6229 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6230 tests and anonymous union print/ptype tests.
6231 * gdb.base/list.exp (test_forward-search): Increase timeout by
6232 5 minutes for the "search extremely long line" case.
6233 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6234 completely optional and that the pass/fail messages use the command as
6235 the message if that third arg is a null string.
6236 (gdb_test_exact): Arrange that a null string pattern means match a
6237 null string output rather than any output, which might include random
6239 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6241 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6242 always failing and failure is now exposed by gdb.exp changes.
6244 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6246 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6247 weren't being noted.
6249 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6251 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6252 * gdb.stabs/weird.exp: Remove v_comb xfails.
6254 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
6256 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6257 list.exp scope.exp watchpoint.exp]
6258 Make all timeout error msgs explicitly say "(timeout)".
6260 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
6262 * config/monitor.exp: Increase download timeout to 1000 seconds.
6264 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
6266 * config/m32r.exp: Increase timeout to 120 seconds.
6268 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6270 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6271 and accept older ordering as obsolescent gcc or gdb.
6272 * gdb.c++/templates.exp: Ditto.
6273 * gdb.c++/virtfunc.exp: Ditto.
6275 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6277 * gdb.base/coremaker.c: Add code to mmap some data so we
6278 can check that it ends up in the core file.
6279 * gdb.base/corefile.exp: Add test to read mmapped data
6282 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
6284 * config/m32r.exp: New file.
6286 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6288 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6289 that cflags can contains -gstabs, and work correctly for other tests.
6291 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
6293 * gdb.base/setshow.exp: New file, tests show and set.
6294 * gdb.base/setshow.c: New file, tests show and set.
6295 * gdb.base/help.exp: Add test for help set|show annotate.
6296 * gdb.base/default.exp: Add test for set|show annotate.
6298 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6300 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6302 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6305 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6307 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6308 and width commands. This is done elsewhere.
6309 * (gdb_start): Don't call gdb_start_sim here. That's already
6310 done in gdb_load. This fixes lots of failures in default.exp.
6312 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6314 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6315 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6316 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6317 in the same we we treat other failures (since it may be an expected
6318 condition), rather than as an error.
6319 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6322 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6324 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6325 (distclean maintainer-clean realclean): No need to remove files
6326 twice. Nuke the duplicates.
6327 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
6328 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
6329 Remove config.h along with other config files.
6331 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6333 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6334 "p func1 ()" and note that rests of tests are skipped.
6335 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6336 setup_xfails for "print func2::coremaker_local".
6337 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6338 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6339 affected by the previous run test.
6340 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6341 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6342 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6343 "pass int powerset tuple" and "pass modeless int powerset tuple".
6344 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6345 "real write 4" and "real write 8".
6346 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6347 setup_xfails for "print vs1 after tuple assign 2",
6348 "print \$i after tuple assign 2", and
6349 "print vs2 after tuple assign 2".
6350 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6351 meaningful error message and return -1 so the caller can
6352 suppress further tests and avoid a cascade of errors.
6354 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6356 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6357 format for printing version.
6358 * gdb.base/default.exp: Ditto.
6359 * gdb.base/interrupt.exp: Fix problem with cascade of
6360 errors if child process dies while calling a function.
6362 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6364 * Makefile.in (VPATH): Add
6365 * Makefile.in (Makefile, config.status): Fix rules so things get
6366 remade when necessary.
6368 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6370 * Makefile.in (just-check): Add path to sibling expect dir
6371 to environment variable specified by RPATH_ENVVAR.
6373 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6375 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6376 (just-check): Add shared library paths for libstdc++, tk,
6377 tcl, bfd, and opcodes to the environment variable specified
6379 * configure.in: Add support to recognize --enable-shared flag
6380 and generate correct value for RPATH_ENVVAR.
6381 * configure: Regenerated with autoconf.
6383 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6385 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6386 include all osf versions.
6387 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6388 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6389 when target is linux. When failing to build pthreads test
6390 executable, give more meaningful message.
6391 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6392 arg for pthread_create.
6394 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6396 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6397 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6398 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6399 and -lpthreads (everybody else).
6400 (test_startup): Fail gracefully if threads are not supported.
6401 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6402 "p/c array_index("abcdef",2)" when not gcc compiled.
6403 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6404 "print func2::coremaker_local" when not gcc compiled.
6405 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6406 "ptype on opaque struct tagname (statically)",
6407 "ptype on opaque struct tagname (dynamically) 1", and
6408 "ptype on opaque struct tagname (dynamically) 2"
6409 for not compiled with gcc.
6410 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6411 backtrace when compiled with gcc.
6412 * lib/gdb.exp (runto_main): Return result of "runto main" rather
6413 than always return success.
6415 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6417 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6419 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6421 * gdb.base/structs.exp: Undo last change.
6423 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6425 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6426 encapsulate all the steps/nexts done during self test, starting
6427 at main, and makes them less sensitive to optimization issues.
6428 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6429 signal handler" test.
6430 * gdb.threads/pthreads.exp: Only run this for native configs.
6431 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6432 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6434 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6435 for "runto test_calls(void)" test.
6437 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6439 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6440 and don't expect address info in breakpoint confirmations.
6442 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6444 * gdb.base/list.exp (test_forward_search): Increase timeout
6445 temporarily by 60 seconds for searching extremely long line,
6446 and then reset to old value when done. Increase expect input
6449 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6451 * gdb.base/list.exp (test_forward_search): Fix to handle very
6452 long source line without overflowing expect's input buffer.
6454 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6456 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6459 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6462 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6465 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6468 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6470 * configure.in (configdirs): Add gdb.threads.
6471 * configure: Regenerated with autoconf.
6472 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6473 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6474 * gdb.threads/configure: New, generated with autoconf.
6476 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6478 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6480 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6482 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6483 each signal's status in the output of "handle all print".
6484 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6485 the \r\n sequence that immediately precedes the gdb prompt.
6486 * gdb.base/a1-selftest.exp: Save original timeout and restore
6489 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6491 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6494 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6496 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6498 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6500 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6501 timeout by 60 seconds.
6503 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6505 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6506 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6509 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6511 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6512 gdb initialization, also report how long dejagnu waited. Restore
6513 old timeout before doing error return. Temporarily increase timeout
6514 by 3 minutes to allow for slow startups over heavy NFS use.
6516 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6518 * lib/gdb.exp: Report timeout value for verbosity level 2.
6519 * config/gdbserver.exp: Ditto.
6520 * config/hppro.exp: Ditto.
6521 * config/mips-gdb.exp: Ditto.
6522 * config/monitor.exp: Ditto.
6523 * config/netware.exp: Ditto.
6524 * config/sim-gdb.exp: Ditto.
6525 * config/slite-gdb.exp: Ditto.
6526 * config/udi-gdb.exp: Ditto.
6527 * config/unix-gdb.exp: Ditto.
6528 * config/vx-gdb.exp: Ditto.
6529 * gdb.base/a1-selftest.exp: Ditto.
6530 * gdb.base/a2-run.exp: Ditto.
6531 * gdb.base/break.exp: Ditto.
6532 * gdb.base/corefile.exp: Ditto.
6533 * gdb.base/list.exp: Ditto.
6534 * gdb.base/recurse.exp: Ditto.
6535 * gdb.base/scope.exp: Ditto.
6536 * gdb.base/signals.exp: Ditto.
6538 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6540 * gdb.threads/Makefile.in (docdir): Removed.
6542 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6544 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
6545 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
6547 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
6548 autoconf 2.5 or higher.
6549 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6551 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6553 * configure: Regenerated.
6554 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6555 avoid name clashes with SunOS headers.
6557 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6559 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6561 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6563 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6564 prototype information ends up in the compiler info file.
6566 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6568 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6569 attempting to regenerate it. Eliminate use of a temporary file
6570 and just generate the info file directly. Source it immediately,
6571 for consistency of use.
6572 * gdb.base/corefile.exp: Ditto
6573 * gdb.base/exprs.exp: Ditto.
6574 * gdb.base/funcargs.exp: Ditto.
6575 * gdb.base/langs.exp: Ditto.
6576 * gdb.base/list.exp: Ditto.
6577 * gdb.base/mips_pro.exp: Ditto.
6578 * gdb.base/nodebug.exp: Ditto.
6579 * gdb.base/opaque.exp: Ditto.
6580 * gdb.base/ptype.exp: Ditto.
6581 * gdb.base/scope.exp: Ditto.
6582 * gdb.base/setvar.exp: Ditto.
6583 * gdb.base/signals.exp: Ditto.
6584 * gdb.base/whatis.exp: Ditto.
6585 * gdb.c++/templates.exp: Ditto.
6586 * gdb.c++/virtfunc.exp: Ditto.
6587 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6588 whether or not to add -lstdc++ to the compile command line args.
6590 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6592 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6593 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6594 Increase timeout, a lot of single stepping might be needed if the
6595 target has no hardware watchpoints.
6597 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6599 * gdb.base/break.exp: Ignore compiler warnings when compiling
6601 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6602 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6604 * gdb.base/exprs.exp: Add h8300 xfails.
6605 * gdb.base/funcargs.exp: Likewise.
6606 * gdb.base/nodebug.exp: Likewise.
6607 * gdb.base/printcmds.exp: Likewise.
6608 * gdb.base/ptype.exp: Likewise.
6609 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6611 * gdb.base/return.exp: Handle float/double precision problems
6613 * gdb.base/funcargs.c: Explicitly make last constant argument to
6614 call_after_alloca_subr an unsigned long type.
6615 * gdb.base/return.c: Include stdio.h.
6617 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6619 * config/abug.exp: New file for the older Motorola Bug monitor
6620 that runs on the mvme13x series VME boards.
6621 * config/monitor.exp: Use the new config array for target settings
6624 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6626 * sim-gdb.exp: Make the SH simulator allocate less space when
6629 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6631 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6634 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6636 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6637 "rs6000-*-*" for "list function in include file" when gcc compiled.
6638 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6639 for "p ctable1[120]".
6640 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6641 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6642 Remove setup_xfail for "rs6000-*-*" for
6643 "print 'scope0.c'::filelocal before run".
6644 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6645 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6646 since some compilers don't allow both options to be given
6647 on the same command line. Create object file and move it.
6649 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6651 * gdb.base/corefile.exp: Always regenerate the core file, since
6652 we always regenerate the coremaker program. Detect special case
6653 where registers cannot be read from core file.
6655 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6657 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6658 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6659 * gdb.c++/templates.exp: Only match on basename of file since
6660 some formats like xcoff don't encode directory information.
6661 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6662 and rs6000 AIX xcoff targets.
6663 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6664 * configure: Regenerate.
6665 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6666 here, rather than in distclean.
6668 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6670 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6671 defined, and use it to compile the test case with -O2. The
6672 native compilation still uses no optimization.
6673 * gdb.base/mips_pro.c: Remove inline assembly code since
6674 it is compiled PIC by default, which results in assembler
6675 warnings that make the testsuite think the compilation
6678 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6680 * gdb.c++/misc.exp: Add note to message for
6681 "print s.a for foo struct" that this is a known gcc 2.7.2
6684 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6686 * gdb.base/break.exp: Fix pattern for matching "Delete all
6687 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6688 setup_xfail for deleting all breakpoints test. Fix various
6689 timeout messages to include "(timeout)".
6690 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6691 for "p t_float_values2(3.14159,float_val2)".
6692 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6693 for "continue to call2g" when gcc compiled.
6694 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6695 "up to foo in langs.exp", "show language at foo in langs.exp",
6696 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6697 and "show language at fsub in langs.exp".
6698 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6699 "list line 1 in include file", "list message for lines past EOF",
6700 "list function in include file", "list list0.h:foo", and
6701 "list filename:function; nonexistant function".
6702 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6703 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6704 and "ptype t_char_array" to be for native cc only.
6706 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6708 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
6709 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6710 "print func2::coremaker_local", and "backtrace in corefile.exp".
6712 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6714 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6715 "bt in signals.exp". This problem only appears when running
6716 the testsuite, and then only intermittently.
6718 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6720 * gdb.base/return.exp (return_tests): Differentiate between
6721 two tests of continuing.
6723 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6725 * */Makefile.in (maintainer-clean): Remove config.log.
6726 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6727 * gdb.c++/Makefile.in (PROGS): Add inherit.
6728 (clean): Remove *.ci.
6730 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6732 * gdb.c++/misc.cc: Add test code from Mike Stump.
6733 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6735 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6737 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6738 to "alpha-*-osf2*" and add comment.
6739 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6740 setup_xfail for "step over execarg initialization" and
6741 "step over corearg initialization".
6742 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6743 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6744 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6745 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6746 "print func2::coremaker_local", and "backtrace in corefile.exp".
6747 * gdb.base/signals.exp: Build and source signals.ci.
6748 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6750 * lib/gdb.exp: Move verbose statements outside conditionals.
6752 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6754 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6755 Feb 3 procfs.c change.
6757 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6759 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6761 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6763 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6764 from dejagnu's apparent default of 10 seconds, which gives random
6765 results when running the tests over NFS on moderately loaded systems.
6766 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6768 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6770 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6771 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6774 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6776 * configure.in (CY_AC_PATH_TCLH): Remove.
6777 * configure: Regenerate.
6779 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6781 * gdb.c++/Makefile.in (clean): Add missing '{'.
6783 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6785 * lib/gdb.exp: Provide a default value for noinferior.
6787 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6790 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6792 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6793 the executable, not the .o to run the tests from.
6795 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6797 * gdb.base/break.exp: Don't test for program exit or exit status
6798 if $noresults if nonzero.
6799 * gdb.base/langs.exp: Likewise.
6800 * gdb.base/watchpoint.exp: Likewise.
6802 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6803 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6804 trying to compile the testcase.
6806 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6808 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6809 * gdb.base/signals.exp (continue to handler): Likewise.
6811 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6813 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6815 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6817 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6819 * gdb.base/corefile.exp: Recognize "not found" as failure
6820 when trying to determine if a core file was generated.
6821 If no core file was generate the first time, try again without
6822 the ulimit -c to work around braindamaged shells.
6824 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6826 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6827 [] tests with "test" and enclose string in quotes.
6828 * gdb.stabs/configure: Rebuild
6830 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6832 Changes in sync with expect:
6833 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6834 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6835 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6836 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6837 argument to AC_REQUIRE.
6838 * configure: Regenerated.
6840 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6842 * gdb.base/corefile.exp: When generating a core, discard any
6843 error messages about ulimit not found and the "core dumped"
6844 message from the shell that runs the coredumper.
6846 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6848 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6850 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6851 which sed script to run. Expect failure for v_comb test
6854 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6856 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6857 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6859 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6861 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6862 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6863 "sparc-sun-solaris*" xfails for "p v_comb".
6864 * lib/gdb.exp (default_gdb_start): Fix typo.
6865 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6866 messages to not include the full program name that caused
6867 the core dump since some systems (such as solaris) apparently
6868 truncate this path to about 80 characters.
6869 When generating a core file first try increasing the core file
6870 size limit to unlimited since some systems may default it to
6871 zero, and it is harmless to try it. Move the test for failing
6872 to generate a core file to where it will actually get executed.
6873 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6874 new gdb result from g++ debug info improvements and make old
6875 pattern obsolescent. Also account for size_t differences
6876 (may be int or long).
6877 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6878 initialization before function call is placed in the delay slot
6879 and thus appears to be skipped over by commands such as "next".
6881 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6883 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6885 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6887 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6888 input source file; fix code to compile test to deal with this
6890 * gdb.c++/*.exp: Likewise.
6892 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6894 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6895 "bt in signals.exp".
6897 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6899 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6900 "step over execarg initialization" and
6901 "step over corearg initialization".
6903 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6905 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6906 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6908 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6910 From Rob Savoye (rob@poseidon.cygnus.com)
6911 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6912 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6913 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6914 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6915 configure.in}: Major reworking for autoconfig.
6916 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6917 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6919 * config/unix-gdb.exp: Make GDB global.
6920 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6921 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6922 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6923 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6924 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6925 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6926 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6927 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6928 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6929 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6930 pr-8136.exp, result.exp, string.exp, tuples.exp},
6931 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6932 to returns as necessary, arrange for test to compile own testcase
6934 * lib/gdb.exp: Changes for testsuite to compile own test cases.
6936 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6938 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6939 clear_xfail at end of test which might not call either pass or fail.
6940 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6941 "backtrace through signal handler".
6943 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6945 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6946 continuing from a job control stop signal.
6947 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6949 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6951 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6952 * gdb.base/corefile.exp: Likewise.
6953 * gdb.base/funcargs.exp: Likewise.
6955 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6957 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6958 * config/monitor.exp: Add support for setting baud rate.
6960 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6962 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6963 i*86-*-linux* xfails for "backtrace through signal handler".
6964 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6965 "print func2::coremaker_local".
6966 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6967 alpha-dec-osf2* xfail for
6968 "delete all breakpoints when none".
6970 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6972 * gdb.base/break.exp: Change test that deletes all breakpoints
6973 when no user breakpoints are installed. A post 4.15 change
6974 causes gdb to no longer prompt in this case.
6976 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6978 * gdb.base/return.exp (return_tests): Change xfail for test
6979 "correct value returned double test" to stop xfailing at
6980 Solaris 2.5. Apparently the bug has been fixed.
6982 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6984 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6985 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6987 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6989 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6990 * gdb.disasm/hppa.s: Corresponding changes.
6992 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6994 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6996 * config/mt-hpux: Deleted.
6998 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7000 * Many files: When warning about suppressed tests due to a
7001 nonexistant test binary, avoid incrementing the warning count.
7003 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7005 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
7007 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7009 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7010 "sparc-*-solaris2*".
7012 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7014 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7015 Add global and local variables and initialize them.
7016 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7017 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7018 extracts the file name and terminating signal from the core file.
7019 * TODO: Remove note about tests for correct mapping of corefile.
7020 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7021 from optimizing it away.
7022 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7023 handles common blocks.
7025 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7027 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7028 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7030 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7032 * Makefile.in (maintainer-clean): New target, synonym for
7034 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7035 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7036 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7037 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7038 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7039 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7041 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7043 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7044 xfails when not gcc compiled for "print foo::funclocal".
7045 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7046 "print foo::funclocal at foo",
7047 "print 'scope1.c'::foo::funclocal at foo",
7048 "print foo::funclocal_bss at foo",
7049 "print 'scope1.c'::foo::funclocal_bss at foo",
7050 "print foo::funclocal_ro at foo",
7051 "print 'scope1.c'::foo::funclocal_ro at foo",
7052 "print bar::funclocal at foo" and
7053 "print 'scope1.c'::bar::funclocal at foo".
7054 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7055 gcc compiled for "print foo::funclocal at bar".
7056 Expand all messages to ensure that they identify that
7057 the test is at bar().
7058 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7060 "ptype on opaque struct pointer (statically)",
7061 "ptype on opaque struct tagname (statically)",
7062 "ptype on opaque struct pointer (dynamically) 1",
7063 "ptype on opaque struct tagname (dynamically) 1",
7064 "ptype on opaque struct pointer (dynamically) 2" and
7065 "ptype on opaque struct tagname (dynamically) 2
7066 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7072 "whatis bsslocal", and
7074 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7075 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7076 when not gcc compiled.
7077 * gdb.base/funcargs.exp (float_and_integral_args): Add
7078 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7080 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7081 "backtrace from call6a" when not gcc compiled.
7082 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7083 "backtrace from call7a" when not gcc compiled.
7084 * gdb.base/callfuncs.exp (do_function_calls):
7085 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7086 "p t_char_array_values(char_array_val2,char_array_val1)",
7087 "p t_char_array_values(char_array_val1,char_array_val2)",
7088 "p t_char_array_values("carray 1","carray 2")",
7089 "p t_char_array_values("carray 1",char_array_val2)",
7090 "p t_char_array_values(char_array_val1,"carray 2")",
7091 "p sum_args(1,{2})",
7092 "p sum_args(2,{2,3})",
7093 "p sum_args(3,{2,3,4})",
7094 "p sum_args(4,{2,3,4,5})"
7095 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7096 "backtrace in corefile.exp" when not gcc compiled.
7098 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7100 * gdb.base/signals.exp: Rewrite `handle all print' test as
7101 a procedure. Accept blanks or TABs as whitespace, increase
7102 timeout and expect input buffer size for the large output
7103 from the command. Remove "i*86-*-bsdi2.0" xfail.
7105 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7107 * gdb.base/setvar.exp: Add new testcases for truncation when
7108 assigning invalid values to bitfields.
7110 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7112 * gdb.base/callfuncs.exp (do_function_calls): Remove
7113 mips-sgi-irix* xfail for
7114 "call inferior func with struct - returns char *"
7115 and fix test so that an optional (unsigned char *) cast is
7116 accepted in the result.
7118 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7120 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7121 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7122 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7123 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7124 that accidentally got checked in.
7126 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7128 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
7129 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7131 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7132 Add mips-sgi-irix5* xfail for not gcc compiled.
7133 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7134 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7135 "p top", "whatis top", "p middle", and "whatis middle".
7136 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7137 "whatis signed char" for not gcc compiled.
7138 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7139 "set variable signed char=-1 (-1)" and
7140 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7141 * gdb.base/funcargs.exp (float_and_integral_args):
7142 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7143 Add mips-sgi-irix* xfail when not gcc compiled for
7144 "continue to call2b".
7145 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7146 "continue to call2g".
7147 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7148 "backtrace from call6a"
7149 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7150 "backtrace from call7k".
7151 Add mips-sgi-irix5* xfail when not gcc compiled for
7152 "backtrace from call7a".
7153 (localvars_after_alloca): Fix gdb_test cmds for
7154 "print * after runto ...".
7155 Remove rs6000-*-* xfails for
7156 "print i after runto localvars_after_alloca" and
7157 "print l after runto localvars_after_alloca"
7159 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7160 when not compiled with gcc, for:
7161 "print signed char == (minus)",
7162 "print signed char != (minus)",
7163 "print signed char < (minus)",
7164 "print signed char > (minus)".
7165 * gdb.base/callfuncs.exp (do_function_calls):
7166 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7167 "call inferior func with struct - returns char *".
7168 * gdb.base/return.exp (return_tests): Change xfail for
7169 "correct value returned double test" to include Solaris 2.4.
7170 * gdb.base/funcargs.exp (float_and_integral_args):
7171 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7173 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7175 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7176 enumeration bitfields if compiling with GNU C.
7177 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7180 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7182 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7183 test for PRO targets.
7185 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7186 breakpoints in the inferior at any given time by making
7187 two groups of breakpoints for call2*, call6* and call7*
7190 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7192 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7193 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7194 from optimizing it away.
7195 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7196 "call inferior func with struct".
7198 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7200 * configure.in: Only configure gdb.chill for particular targets.
7202 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7204 * gdb.base/Makefile.in: Add action to .c.o transformation
7205 rule that generates a .ci file for each .o file and remove
7206 explicit .c.o rules except for callfuncs.o.
7207 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7208 generates a .ci file for each .o file and remove explicit
7210 (clean): Remove *.tmp *.ci files.
7211 (EXECUTABLES): Remove templ-info.exp.
7212 * gdb.base/compiler.c: New file.
7213 * gdb.c++/compiler.cc: New file
7214 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7215 Change rs6000-*-* xfail for
7216 "print 'scope0.c'::filelocal_ro" and
7217 "print 'scope1.c'::filelocal" and
7218 "print 'scope1.c'::filelocal_bss" and
7219 "print 'scope1.c'::filelocal_ro" and
7220 "print 'scope1.c'::foo::funclocal" and
7221 "print 'scope1.c'::foo::funclocal_ro" and
7222 "print 'scope1.c'::bar::funclocal" and
7223 "print 'scope0.c'::filelocal_ro" and
7224 "print 'scope1.c'::filelocal at foo" and
7225 "print 'scope1.c'::filelocal_bss at foo" and
7226 "print 'scope1.c'::filelocal_ro at foo" and
7227 "print 'scope1.c'::foo::funclocal at foo" and
7228 "print 'scope1.c'::foo::funclocal_bss at foo" and
7229 "print 'scope1.c'::foo::funclocal_ro at foo" and
7230 "print 'scope1.c'::bar::funclocal at foo" and
7231 "print 'scope0.c'::filelocal_ro" and
7232 "print 'scope1.c'::filelocal" and
7233 "print 'scope1.c'::filelocal_bss" and
7234 "print 'scope1.c'::filelocal_ro" and
7235 "print 'scope1.c'::foo::funclocal" and
7236 "print 'scope1.c'::foo::funclocal_bss" and
7237 "print 'scope1.c'::foo::funclocal_ro" and
7238 "print 'scope1.c'::bar::funclocal" and
7239 "print 'scope1.c'::bar::funclocal_bss"
7240 to only be xfail'd when not compiled with gcc.
7241 Add rs6000-*-* xfail for
7242 "print 'scope0.c'::filelocal_bss before run"
7243 when compiled with gcc.
7244 (test_at_main): Add rs6000-*-* xfail for
7245 "print filelocal_ro in test_at_main"
7246 when compiled with gcc.
7247 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
7248 Add rs6000-*-aix* xfail for
7249 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7250 "ptype t_char_array", not compiled with gcc.
7251 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7252 xfail for "list foo (in include file)" when gcc compiled.
7253 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7254 (integral_args): Add rs6000-*-* xfail for
7255 "run to call0a" if not compiled with gcc.
7256 (unsigned_integral_args): Add rs6000-*-* xfail for
7257 "run to call1a" if not compiled with gcc.
7258 (float_and_integral_args): Add rs6000-*-* xfail for
7259 "run to call2a" if not compiled with gcc and for
7260 "continue to call2b" for any compiler.
7261 Add rs6000-*-* xfail to
7262 "print f1 after run to call2a" for gcc compiled.
7263 (discard_and_shuffle): Add rs6000-*-* xfail for
7265 (shuffle_round_robin): Add rs6000-*-* xfail for
7266 "backtrace from call7a" if not compiled with gcc.
7267 Add rs6000-*-* xfail for
7268 "backtrace from call7b" if compiled with gcc.
7269 (call_after_alloca): Add rs6000-*-* xfail for
7270 "print c in call_after_alloca" and
7271 "print s in call_after_alloca" and
7272 "backtrace from call_after_alloca_subr"
7273 if not compiled with gcc.
7274 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7275 "print c in localvars_in_indirect_call" and
7276 "print c in localvars_in_indirect_call" and
7277 "backtrace in indirectly called function" and
7278 "stepping into indirectly called function"
7279 if not compiled with gcc.
7280 (localvars_after_alloca): Add rs6000-*-* xfail for
7281 "print c after runto localvars_after_alloca" and
7282 "print s after runto localvars_after_alloca" and
7283 "print i after runto localvars_after_alloca" and
7284 "print l after runto localvars_after_alloca"
7286 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7287 than whatis-info.exp.
7288 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7289 than opaque-info.exp.
7290 Setup rs6000-*-* xfail for
7291 "ptype on opaque struct pointer (statically)" and
7292 "ptype on opaque struct pointer (dynamically)" when
7293 not compiled with gcc.
7294 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7295 rather than callf-info.exp.
7296 (do_function_calls): Add clear_xfail for rs6000-*-* for
7297 "p t_float_values2(3.14159,float_val2)". Seems to work
7298 fine there, both with xlc and gcc. Need to find out what
7299 it is doing right and fix other platforms.
7300 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7301 "call inferior func with struct - returns int",
7302 "call inferior func with struct - returns long",
7303 "call inferior func with struct - returns float",
7304 "call inferior func with struct - returns double",
7305 "call inferior func with struct - returns char *",
7306 but only if not gcc compiled (presumes xlc compiled).
7307 Change rs6000-*-* xfails for
7308 "call inferior func with struct - returns char" and
7309 " call inferior func with struct - returns short" to only
7310 xfail if not using gcc.
7311 (clean mostlyclean): Remove *.ci and *.tmp files.
7312 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7313 than templ-info.exp.
7314 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7315 Add rs6000-*-* xfail for "up to foo in langs.exp"
7316 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7317 when not gcc compiled.
7319 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7321 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7322 * gdb.base/corefile.exp: Likewise.
7323 * gdb.base/list.exp: Likewise.
7324 * gdb.base/scope.exp: Likewise.
7325 * gdb.base/siganls.exp: Likewise.
7327 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7329 * gdb.base/whatis.exp: Likewise.
7331 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7333 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7334 failure (opcode table has been fixed to match reality).
7336 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7338 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7339 "call inferior func with struct - returns char",
7340 "call inferior func with struct - returns short"
7342 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7343 "print 'scope0.c'::filelocal at main",
7344 "print 'scope0.c'::filelocal_bss in test_at_main",
7345 "print 'scope0.c'::filelocal at foo",
7346 "print 'scope0.c'::filelocal_bss in test_at_foo",
7347 "print 'scope0.c'::filelocal at bar",
7348 "print 'scope0.c'::filelocal_bss in test_at_bar"
7350 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7351 in source file 1". This bug seems to have been fixed with both
7352 gcc and native cc (was native assembler bug?).
7354 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7356 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7357 "backtrace through signal handler" to "i*86-*-sysv4*".
7358 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7359 continue" case. Add "known SVR4 bug" to fail message.
7360 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7361 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7362 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7363 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7364 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7365 "up to foo in langs.exp", "show language at foo in
7366 langs.exp", "up to cppsub_ in langs.exp", "show
7367 language at cppsub_ in langs.exp", "up to fsub in
7368 langs.exp", and "show language at fsub in langs.exp".
7369 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7370 "bactrace in corefile.exp".
7371 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7372 "call inferior function with struct - returns float" and
7373 "call inferior function with struct - returns double".
7375 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7377 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7378 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7379 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7380 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7382 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7384 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7385 (or overriden) "CHILL" macro rather then bare "gcc".
7386 Also look for ../../gcc/xgcc since that is what we will
7387 actually need, not "Makefile". Remove following assignment
7388 of CHILL to CHILL_FOR_TARGET because that results in
7389 recursive definition.
7391 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7393 * gdb.base/corefile.exp: Change xfail for backtrace in
7394 corefile.exp from linuxaout to all linux.
7395 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7396 cases where we miss the breakpoint at the signal handler
7397 for some reason. Setup xfail for linuxoldld/linuxaout and
7398 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7399 hitting SIGURG breakpoint.
7400 * gdb.base/signals.exp: Setup xfail for "next" acting like
7401 continue to add linuxoldld. Setup xfail for all linux for
7402 "next to handler in signals_tests_1", "backtrace in
7403 signals_tests_1", "continue to func1", "pass SIGUSR1",
7404 and continue to handler".
7406 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7408 * Update all FSF addresses except those in COPYING* files.
7410 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7412 * gdb.base/a2-run.exp: Change messages to be more explicit about
7413 the status of args, and quote binfile in results.
7415 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7417 * gdb.base/callfuncs.exp: Add tests for passing structs to
7418 inferior functions and return various types.
7419 * gdb.base/callfuncs.c: Add functions to receive a struct
7420 and return a member of the struct, in various types.
7422 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7424 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7426 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7428 * config/vxworks29k.exp: New file, sources vxworks.exp.
7430 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7432 * config/gdbremote.exp: New file. Testing framework using
7435 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7437 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7438 "call function when asleep" and "send end of file".
7439 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7440 for "backtrace in corefile.exp".
7441 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7442 for "backtrace through signal handler".
7443 * gdb.base/corefile.exp: Make sure we actually generate a core file
7444 before trying the core tests. Some systems allow the user to suppress
7445 generation of core files and default to that (linux for example).
7446 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7447 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7449 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7451 * gdb.threads: New directory with some crude multi-threaded
7452 gdb tests (step.exp and step2.exp).
7453 * config/mt-lynx (STEP_EXECUTABLE): Define.
7454 (THREADFLAGS): Define.
7456 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7458 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7460 * gdb.base/signals.exp: Disable whole file for lynx until
7463 * gdb.base/signals.exp: xfail test where "next" acts like
7464 "continue" for lynx.
7466 * gdb.base/interrupt.exp: xfail test for calling function while
7467 inferior is asleep for lynx.
7469 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7470 than one cr-lf after each command.
7472 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7474 * configure.in: Reinstate setting of stabsdirs variable, fix
7475 typo in setting up configdirs for native builds.
7477 * gdb.base/return.exp: Fix typo in return double test.
7478 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7479 compiler from optimizing them away.
7481 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7483 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7484 sequences to be echo'd by gdb when using gdb_test.
7485 * gdb.chill/chexp.exp: Likewise.
7486 * gdb.fortran/exprs.exp: Likewise
7488 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7490 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7491 after the inferior gdb has started.
7493 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7495 * gdb.base/funcargs.exp: Likewise.
7496 * gdb.base/gdbvars.exp: Likewise.
7497 * gdb.base/interrupt.exp: Likewise.
7498 * gdb.base/list.exp: Likewise.
7499 * gdb.base/watchpoint.exp: Likewise.
7500 * gdb.c++/demangle.exp: Likewise.
7501 * gdb.c++/inherit.exp: Likewise.
7502 * gdb.chill/chexp.exp: Likewise.
7503 * gdb.fortran/exprs.exp: Likewise.
7505 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7506 test if we can't handle IO to/from the inferior.
7508 * gdb.c++/misc.exp: Always check for a program already being
7509 started after sending a "run" command to gdb.
7511 * gdb.base/twice.exp: Start with a fresh gdb.
7513 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7514 only depend on gdb's expression code, not the chill runtime.
7516 * gdb.base/return.c: Put return values into variables so we
7517 can have gdb print them rather than depending on the program
7519 * gdb.base/return.exp: Corresponding changes.
7521 * lib/gdb.exp: Provide default value for noinferiorio.
7522 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7525 * gdb.base/break.exp: Always check for a program already being
7526 started after sending a "run" command to gdb.
7527 (text_next_with_recursion): Don't check the output from the
7528 program's printf statement. Instead just make sure the program
7531 * gdb.base/commands.exp: Protect tests which need arguments with
7532 $noargs conditionals.
7534 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7536 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7537 of structure member arrays to match gdb/valops.c:value_addr change.
7539 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7541 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7544 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7546 * configure.in (configdirs): Remove gdb.chill from default list
7547 of subdirs and then add it back in only if doing a native build.
7548 The current chill compiler does not yet work in any cross build.
7549 * Revert all signal changes from Jul 6.
7550 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7551 for sh-hms targets, allowing these tests to link, with no other
7552 changes. Testing is suppressed by setting "nosignals" in site.exp.
7554 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7556 * configure.in (signaldirs): Define and add to configdirs for all
7557 targets except some specific ones that are known to not support signals.
7558 Also clean up formatting.
7559 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7560 (signals, sigall): Remove rules to build.
7561 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7562 Moved to new gdb.signals directory.
7563 * gdb.signals: New test directory.
7564 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7565 signals.c signals.exp}: New or moved files.
7567 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7569 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7571 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7573 * gdb.base/return.exp: Xfail `return double' test failure
7574 on at least Solaris 2.3 and handle future/past versions on
7575 a case by case basis as appropriate. Also update message
7576 to include i*86 failures.
7578 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7580 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7582 * lib/gdb.exp: Fix comment which erroneously identified
7583 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7584 gdb_file_cmd not gdb_load).
7585 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7587 * gdb.base/setvar.exp: Make test names consistent between pass and
7588 fail cases. Use gdb_test more.
7590 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7592 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7594 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7596 * gdb.base/help.exp: Fix expected help string for `show commands'.
7598 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7600 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7602 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7605 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7607 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7608 that loop eventually terminates. Fix Connection refused logic so
7609 that testsuite will expire nicely.
7611 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7613 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7614 config/rom68k.exp: New tcl glue for the appropriate monitors.
7615 These all just end up calling monitor.exp.
7616 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7617 refused' by retrying. Cleanup some timeout issues.
7618 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7619 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7620 callers don't have to set/restore global timeout variable.
7622 * The following set of changes centralizes management of the global
7623 timeout variable. This way, it can be set in one target dependent
7624 place instead of dozens of places scattered throughout the test suite.
7625 If you need to lengthen a timeout, then you should either set timeout
7626 in one of the config/{target}.exp files, or multiply it by a factor.
7627 Setting it to an absolute value is always going to lose for some
7629 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7630 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7631 * gdb.base/funcargs.exp: Don't set timeout.
7632 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7633 * gdb.base/printcmds.exp (test_print_string_constants
7634 test_print_array_constants): Don't set timeout.
7635 * gdb.base/ptype.exp: Don't set timeout.
7636 * gdb.base/recurse.exp: Don't set timeout.
7637 * gdb.base/return.exp: Don't set timeout.
7638 * gdb.base/watchpoint.exp: Don't set timeout.
7639 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7640 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7642 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7644 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7646 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7648 * lib/gdb.exp: Disable chill tests for irix5.
7650 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7652 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7653 each test pass or fail.
7655 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7657 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7660 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7662 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7664 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7666 * config/est.exp: Fix copyright and comments. Remove dead code.
7667 Use targetname, serialport and baud variables instead of fixed
7669 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7670 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7672 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7674 * gdb.base/watchpoint.exp: Don't run
7675 test_watchpoint_triggered_in_syscall for sunos.
7677 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7679 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7680 they don't seem to exist. Do include stdio.h.
7682 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7684 * gdb.base/a1-selftest.exp: Add alpha xfail.
7686 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7688 * gdb.base/watchpoint.c (main): Prompt before calling read().
7689 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7690 Revise accordingly. Remove cruft about sending "123" several
7691 times, until it gets noticed. Clean up the "print buf[0]" stuff
7692 so that it passes or fails, and waits for prompts in the usual way.
7694 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7696 * gdb.base/recurse.exp: Fix comment.
7698 * TODO: Remove item about printing variables in nodebug.exp. Add
7699 item about enabling tests which are only run on some targets.
7701 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7702 fail, make test names unique, use new gdb_test convention
7703 regarding pattern, use gdb_test more, etc.).
7705 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7706 fail, make test names unique, etc.).
7708 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7710 * gdb.base/nodebug.c: Change return type of top and middle to
7712 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7713 are fixed by the recent mdebugread.c changes. Allow `short ()'
7714 as type for top and middle.
7716 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7718 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7719 nearly as I can tell, the whole thing was an accident in Stu's
7720 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7721 to replace a send/expect pair with gdb_test, but ended up only
7722 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7723 of 30 Mar 1995 took care of it, but left this vestigial comment
7724 which I am now nuking.
7726 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7728 * gdb.base/break.exp: Look for different line number for
7729 breakpoint at main depending on usestubs.
7731 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7733 * gdb.base/list.exp: Adjust some alternate expect patterns to
7734 match recent list0.c change. Add alternate expect pattern for
7735 output from `list default lines around main' for optimizing
7738 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7740 * lib/gdb.exp: If nosignals is not set, set it to 0.
7742 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7744 * config/slite-gdb.exp: Responds to load symbol table prompt.
7745 * gdb.base/break.exp: Adjust line number, fix rerun.
7746 * gdb.base/langs0.c: Add #ifdef usestubs.
7748 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7750 * gdb.base/list.exp: Adjust line contents after adding new lines in
7751 list0.c. Also fix a syntax error.
7753 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7754 * gdb.base/break.exp: ditto.
7755 * gdb.base/list.exp: ditto.
7756 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7757 * gdb.base/run.c: ditto.
7758 * gdb.base/list0.c: ditto.
7759 * gdb.base/funcargs.c: ditto.
7761 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7763 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7764 $targetname, $serialport and $baud instead of hardwired variables.
7765 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7766 target doesn't support signals.
7768 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7770 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7772 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7774 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7775 Don't rely on the value of an auto variable before it has been
7776 initialized. Use gdb_test more.
7778 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7780 * lib/gdb.exp (default_gdb_version): A version number must start
7781 with a digit, but other than that contains all characters up to
7782 the first whitespace character.
7784 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7786 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7788 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7790 * gdb.c++/*.exp: Warn if executable does not exist. The original
7791 reason for skipping the warning was that configure.in sometimes
7792 intentionally skipped building the executables but the tcl code
7793 had no way of knowing. That (a) was always bogus with respect to
7794 error handling, (b) is no longer true (right now there is no way
7797 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7799 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7801 * gdb.base/list.exp: Add expect patterns for output from
7802 SunPRO compiled executables.
7803 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7806 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7808 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7809 number (we are already testing that the correct source line text
7812 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7813 that is what is intended, but something needed to be done to get
7814 sunos4 native working again.
7816 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7818 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7819 apparently went with a (very) old xfail.
7821 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7823 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7824 runto_main is a proc in gdb.exp that will do 'step' for target use
7826 * gdb.base/exprs.exp: ditto.
7827 * gdb.base/interrupt.exp: ditto.
7828 * gdb.base/opaque.exp: ditto.
7829 * gdb.base/printcmds.exp: ditto.
7830 * gdb.base/ptype.exp: ditto.
7831 * gdb.base/scope.exp: ditto.
7832 * gdb.base/setvar.exp: ditto.
7833 * gdb.base/signals.exp: ditto.
7834 * gdb.base/twice.exp: ditto.
7835 * gdb.c++/classes.exp: ditto.
7836 * gdb.c++/inherit.exp: ditto.
7837 * gdb.c++/templates.exp: ditto.
7838 * gdb.base/break.exp: no run and hit main for stubs. Change line
7839 numbers for breakpoints and info breakpoint.
7840 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7842 * gdb.base/callfuncs.c: ditto.
7843 * gdb.base/exprs: ditto.
7844 * gdb.base/interrupt.c: ditto.
7845 * gdb.base/opaque0.c: ditto.
7846 * gdb.base/printcmds.c: ditto.
7847 * gdb.base/ptype.c: ditto.
7848 * gdb.base/scope0.c: ditto.
7849 * gdb.base/setvar.c: ditto.
7850 * gdb.base/signals.c: ditto.
7851 * gdb.base/twice.c: ditto.
7852 * gdb.c++/misc.cc: ditto.
7853 * gdb.c++/templates.cc: ditto.
7855 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7857 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7859 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7860 somewhere between `read' and `main.c'. I'm pretty sure the
7861 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7862 and it isn't particularly useful.
7864 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7866 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7868 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7870 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7872 * config/mt-slite: add LIBS and -nostdlib.
7873 * config/slite-gdb.exp: add this new file to support sparclite target.
7875 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7877 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7879 * gdb.base/a2-run.exp: Change argument to istarget from
7880 "*-*-vxworks" to "*-*-vxworks*".
7881 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7883 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7885 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7886 will not runto main but do a 'step' to step out of breakpoint().
7887 * config/mt-slite: add -Dusestubs.
7889 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7891 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7894 * gdb.base/signals.exp: Add test for "handle all print".
7895 * TODO: Remove "handle all print". Also remove item about
7896 checking copyright date (I don't like the idea of a spurious FAIL
7897 based on when we run the tests).
7899 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7900 for SunOS4 (reason for failure not investigated). Remove
7901 redundant test for $binfile.
7903 * gdb.base/nodebug.c (array_index): Call malloc.
7905 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7907 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7909 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7910 conventions and slightly simplify the matching regexp.
7912 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7914 * gdb.base/break.exp: Update gdb_test invocation to use new
7917 * lib/gdb.exp: If noargs is not set, set it to 0.
7919 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7922 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7924 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7926 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7927 one argument of type "<non-float parameter>".
7929 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7931 * config/rom68k.exp: New file to support Motorola IDP board.
7932 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7933 * gdb.base/break.c: Change things around so that this program
7934 doesn't depend upon args. This is necessary to make remote
7935 targets work (in general, they can't take args).
7936 * gdb.base/break.exp: Don't try to send args to program. Don't
7937 expect output. Also, replace lots of code with gdb_test.
7939 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7941 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7942 printing of '\'' (which is what the comment says we are testing,
7943 even though we were not), not '''.
7944 (test_integer_literals_rejected): Test that printing ''' is an error.
7946 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7947 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7948 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7949 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7950 Use gdb_test not test_print_accept.
7951 * lib/gdb.exp: Remove test_print_accept.
7953 * gdb.base/signals.exp (signal_tests_1): Make pass message
7954 consistent with fail message.
7956 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7957 unsigned char; the bug (PR 1821) is fixed.
7959 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7961 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7962 successful tests--makes xfailing them work right.
7964 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7966 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7967 only \r\n, not .*. The test can pass .* as the last thing in
7968 $pattern if that is what it wants. In addition to providing this
7969 flexibility, this change should speed up pattern matching in cases
7970 where the pattern already ended with .* (there were a number of
7971 them). This change also helps catch bad patterns--in the old
7972 scheme the typo "char \*" instead of "char \\*" would pass. Now
7974 * Many .exp files: Update callers.
7976 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7977 clearer and does not spuriously match multiple ('s. Likewise for
7980 * gdb.base/nodebug.exp: Test ability to call a function and pass
7981 it a string (even with no debugging info).
7983 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7984 "p '\'", which is the same as "p ''" once tcl gets done with
7985 quoting, to "p '\\'", which I suspect is what is intended (one
7986 backslash gets sent to GDB).
7988 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7990 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7992 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7993 1817) was fixed literally years ago.
7995 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7997 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7998 test, it causes stepping out of call_after_alloca_subr with
7999 optimizing compilers.
8000 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8003 * gdb.c++/templates.exp: Source templ-info.exp only if
8004 the templates executable exists.
8006 * gdb.c++/misc.cc (class Contains_static_instance,
8007 class Contains_nested_static_instance),
8008 gdb.c++/classes.exp (test_static_members): Test printing of
8009 a class that contains a static instance of the class.
8011 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8013 * gdb.base/langs2.c (cppsub_): Don't prototype.
8014 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8017 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8019 * lib/gdb.exp (skip_chill_tests): New procedure.
8021 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8023 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8025 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8026 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8028 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8030 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8032 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8033 disassemble 8, not 16, instructions for part 4.
8035 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8036 support the latter anymore.
8038 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8040 * gdb.base/callfuncs.c: Control use of prototypes based on
8041 NO_PROTOTYPES, not __STDC__.
8042 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8043 t_float_values2 tests if prototypes in use.
8045 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8046 t_double_values): When checking differences against DELTA, check
8047 that difference is within the range (-DELTA,DELTA), not just
8050 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8052 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8053 'file' command firts, then 'target', then 'load', this is due to gdb
8055 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8057 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8059 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8060 FP load/store variants.
8061 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8063 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8065 * gdb.base/term.exp: Do not give a warning if not native, it is
8066 not an abnormal condition.
8068 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8070 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8073 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8075 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8076 are getting the version number.
8078 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8079 if not native, it is not an abnormal condition.
8081 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8083 * lib/gdb.exp: Just use "file exists", rather than undocumented
8084 dejagnu procedure "findfile".
8086 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8088 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8089 (LDFLAGS): Set to -Xlinker -Ur.
8091 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8092 Removed, these values are set by lib/gdb.exp.
8094 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8096 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8098 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8099 of replicating gdb startup code.
8101 * config/mt-vxworks (LDFLAGS): Set to -r.
8102 (CFLAGS_FOR_TARGET): Removed.
8104 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8105 (gdb) and gdb for vxworks uses (vxgdb).
8107 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8108 executable is not in the tree and host != target, use sed and
8109 program_transform_name to determine the gdb name used by the
8112 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8113 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8115 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8117 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8118 floats, chars, and shorts where there are ANSI-style function
8121 * gdb.base/langs.exp, gdb.base/langs*: New test.
8122 * gdb.base/Makefile.in: Build it.
8123 * TODO: Remove item about checking that C names don't get C++
8124 demangling applied; this test tests it.
8126 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8128 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8129 went with the const70 xfail. The xfail went away a year ago.
8131 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8133 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8136 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8138 * gdb.base/a1-selftest.exp: Don't run on hp300.
8140 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8142 * Makefile.in (site.exp): Set host_alias and target_alias as well
8143 as host_triplet and target_triplet.
8145 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8147 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8149 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8150 places as other ecoff systems).
8152 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8155 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8157 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8159 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8160 variable and "variable" in addition to "data variable".
8161 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8163 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8165 * gdb.base/list1.c (long_line): Add additional statement at start
8167 * gdb.base/list.exp (test_forward_search): Update line number to
8168 reflect new statement.
8170 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8172 * gdb.base/signals.exp: Reinitialize searched source directories
8173 after gdb_start call.
8175 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8177 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8178 * gdb.stabs/Makefile.in: Likewise.
8180 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8181 change. Instead split the tests into smaller pieces.
8182 * gdb.disasm/hppa.s: Corresponding changes.
8184 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8186 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8187 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8189 * gdb.base/funcargs.exp: Modify many tests so that every test
8190 either passes or fails. Make some test names unique.
8192 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8194 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8195 Call stty to set interrupt character.
8197 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8198 for HP assembler versus GNU assembler based on actual behavior of
8199 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8201 * TODO: Suggest a few more stepping tests.
8203 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8205 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8206 restart GDB for h8300 after a continue.
8207 (return): Add pattern to match a29k-udi behavior.
8208 * gdb.base/nodebug.exp: Remove obsolete comment.
8209 * gdb.base/regs.exp: New file, testing of register displays.
8210 * gdb.base/return.exp: Fix typo in reference to $objdir.
8211 * gdb.base/whatis.exp: Always start with a fresh GDB.
8213 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8215 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8216 higher, these tests generate a lot of output.
8218 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8220 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8221 code following the catch silently ignored some errors; without the
8222 catch they should be thrown like any other tcl error. Also, the
8223 catch used "" instead of {} which meant all the callers who wanted
8224 to include one of the characters "[]$ had to quote it an extra time.
8225 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8226 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8227 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8228 Remove extra quoting.
8230 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8232 * gdb.base/commands.exp: Make test names unique; every test either
8233 passes or fails. Update some comments.
8235 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8237 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8239 The following fixes a FAIL caused by the fact that the alpha stabs
8240 configuration didn't use the ".if alpha" code in weird.def.
8241 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8242 bit pointer, so the 32 bit version works even on the alpha.
8243 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8244 Remove the stuff which allowed us to have separate versions for
8245 alpha and everything else.
8247 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8248 regexp which "info func operator\[\](" is supposed to match. Fix
8249 string to send to GDB. Note that GDB still doesn't work right. Add a
8250 new test for "info func .perator\[\](" which GDB does handle correctly.
8252 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8254 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8256 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8257 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8258 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8259 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8260 it makes the tests harder to understand and confuses test-o-matic.
8261 The preferred style is that each test provides a PASS or a FAIL,
8262 and has a unique message (e.g. "continue #54" not just "continue")
8263 which is the same for the pass and the fail.
8264 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8265 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8267 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8268 prt_accept which was basically the same thing. Likewise for
8269 test_print_reject and prt_reject.
8270 * lib/gdb.exp (test_print_reject): Add some more error message
8271 patterns to match from the former printcmds.exp (prt_reject).
8272 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8273 One defect of the passcount stuff is that some of it failed to
8274 report XPASS where appropriate.
8275 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8276 stuff before and after arg in expected pattern.
8277 (test_paddr_operator_functions): Re-do test without print_addr_of;
8278 this is the only test which seems to want extra stuff there.
8280 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8282 * gdb.base/nodebug.exp: Update new tests to reflect improved
8283 wording of gdb output.
8285 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8286 and "ptype" work on variables in files compiled without -g.
8287 Replaces commented out "maint print msymbol" tests.
8289 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8291 * gdb.base/setvar.c (dummy): Call malloc.
8293 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8294 losing with the irix4 sed.
8296 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8299 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8301 * TODO: Remove items about corefile.exp testing new exec-file and
8302 backtrace; both are now done. Add items about printing enums.
8304 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8306 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8307 "get signal $thissig" test fails.
8309 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8311 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8313 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8314 compiler warning with dec alpha compiler.
8316 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8317 extra \n from gdb_test call (this explains why the prompt test
8318 that I removed yesterday was there).
8319 (user_defined_command_test): Remove extra \n and prompt test.
8321 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8322 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8324 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8325 Also remove alpha workaround, which turns out to be because
8328 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8330 * gdb.base/help.exp: Don't test "help show".
8332 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8334 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8335 "set print address" is on.
8336 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8337 pass prompt to gdb_test; gdb_test already looks for the prompt.
8339 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8341 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8342 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8343 was to make sure that gdb can read a core file. But (a) the "read
8344 the corefile" part didn't make it to a1-selftest.exp, we just
8345 delete the corefile after creating it, and (b) we test reading
8346 corefiles in corefile.exp anyway. Also, this test left around a
8347 xgdb process on Solaris.
8349 * gdb.base/corefile.exp: Also test backtrace.
8351 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8353 * gdb.base/commands.exp: Test a simple user defined command with
8354 arguments and if/while statements; verify the full user command is
8355 printed by "show user".
8357 * gdb.base/commands.exp: Test if/while commands as part of a
8358 breakpoint command list; verify they appear in breakpoint
8361 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8363 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8364 than by dividing by zero.
8366 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8368 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8369 performing an inferior call with watchpoints enabled.
8370 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8373 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8375 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8378 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8379 Add additional pattern for when "int operator int(void);" appears
8380 in a different order.
8382 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8384 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8386 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8387 and "signal" with ".*".
8389 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8391 * TODO: Add note about "handle all nostop".
8393 * gdb.base/{sigall.c, sigall.exp}: New test.
8394 * gdb.base/Makefile.in: Add it.
8396 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8398 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8399 when invoking GDB, suppresses any windowing interface.
8401 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8403 * config/sim-gdb: New file, simulator testing support.
8405 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8407 * gdb.base/interrupt.exp: Test calling func1 twice.
8409 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8411 * gdb.base/list.exp (test_forward_search): Set timeout higher
8412 when we'll be getting lots of output from gdb.
8414 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8415 "init_malloc" to after the expect statement. Run it if that
8416 regexp is taken, but also for two others which happen if source
8419 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8421 * gdb.base/printcmds.exp: New test, for printing register before
8424 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8426 * gdb.base/list.exp: Correct some alternate expect patterns
8427 to reflect changes in list1.c.
8429 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8431 * TODO: Add item regarding large frames.
8433 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8435 * TODO: Remove item about enabling return.exp; it
8436 is enabled. Suggest a few more "return" tests.
8438 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8440 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8443 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8445 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8446 and pr-5646.o, so "make" is the same as "make all", not "make
8449 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8451 * gdb.base/list.exp: Adjust expectations to reflect changes in
8453 (test_forward_search): New test proc.
8454 * gdb.base/list1.c (long_line): New function, has long source line.
8456 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8458 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8459 additional line of code that was added.
8461 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8463 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8464 tests so as not to overflow expect's input buffers.
8465 * gdb.disasm/hppa.exp: Corresponding changes.
8467 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8469 Beginnings of template debugging tests.
8470 * gdb.c++/templ-info.cc: New file to test for template
8471 debugging capability of the compiler.
8472 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8474 * gdb.c++/templates.cc: Add explicit template instantiations
8475 to enable compiling with -fno-implicit-templates. Add destructor
8476 and 'value' method to T5 class for template tests.
8477 * gdb.c++/templates.exp: Add testcases for printing of template
8478 types, setting breakpoints on template methods and calling a
8481 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8483 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8484 branch target since some assemblers (gas-2.5) may emit a
8485 relocation for the branch instead of resolving it in the
8488 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8490 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8491 through signal handler.
8493 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8495 * configure.in (*-*-netware): Use config/mt-netware.
8497 * config/mt-netware: New file.
8498 * config/mt-i386-netware: Removed, separate configs for different
8499 netware architectures are no longer needed now that we have
8502 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8504 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8505 by the recent changes to use ANSI C arithmetic conversions.
8507 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8509 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8510 bug involving using inferior_pid to figure out whether to select a
8513 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8515 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8516 match the current disassembler output.
8518 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8520 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8521 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8522 types, expect "int" as type of integer values (for now).
8524 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8526 * gdb.base/commands.exp: New tests for if/while commands.
8528 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8530 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8531 by .*, since hex values have different syntax in Chill mode.
8533 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8535 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8536 linefeed from expect pattern for repeated types with indices > 9.
8538 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8540 First part of Fortran test suite.
8541 * gdb.fortran: New directory.
8542 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8544 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8546 * gdb.base/default.exp: Update expect pattern for load command
8549 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8551 * configure.in: Change i386 to i[345]86.
8552 * gdb.base/configure.in: Likewise.
8553 * gdb.c++/configure.in: Likewise.
8554 * gdb.chill/configure.in: Likewise.
8556 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8558 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8559 patterns, since that is not a valid context for comments.
8561 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8563 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8564 repeated types and repeated types with indices > 9.
8566 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8568 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8569 2417; old bug has been fixed.
8571 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8573 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8574 send the newline ourselves instead of assuming gdb_test will do
8575 so when passed an empty input string.
8577 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8580 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8582 * lib/gdb.exp (gdb_test): Don't send anything if the first
8583 argument is an empty string. This makes cases where we want to
8584 match output that is already in expect's buffers (for example,
8585 matching a breakpoint after gdb_run_cmd has been called) work
8588 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8590 * config/netware.exp: New file.
8592 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8594 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8595 the -B and -L prefixes so we can find the debugging stub.
8597 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8598 there and we are using the gcc from the tree.
8600 * gdb.base/types.c: Removed.
8602 * gdb.base/configure.in: Look for makefile fragments in ../config.
8603 Recognize i386-*-netware.
8604 * gdb.c++/configure.in: Likewise.
8606 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8608 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8609 the correct TCL syntax.
8611 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8613 * gdb.base/opaque.exp: use runto instead of messing around with
8614 breakpoints. Simplify by using gdb_test.
8616 * gdb.base/bitfields.exp: restart between tests on netware targets
8617 because breakpoints aren't relocated after target death. Run
8618 processes to completion.
8620 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8622 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8624 * Makefile.in: Remove extra tabs that confuse some versions
8625 of "make". Use the newly built gdb to test with by default,
8626 rather than the first one in the tester's search path.
8628 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8630 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8632 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8635 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8637 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8639 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8641 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8642 * gdb.base/funcargs.exp: Likewise.
8644 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8645 * gdb.base/funcargs.exp: Likewise.
8647 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8650 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8652 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8653 return,signals,twice}.exp: Handle non-existant binaries
8656 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8657 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8658 might testing a cross development system.
8660 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8662 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8663 runtest script is relative to ${srcdir}, not ${rootdir}.
8665 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8667 * gdb.base/signals.exp: Allow for optionality of breakpoint
8670 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8672 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8674 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8676 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8677 for size_t definition.
8678 * gdb.c++/templates.cc: Likewise
8680 * config/mt-i386-netware: New file.
8682 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8685 * gdb.base/Makefile.in: Added support for systems that name core
8686 files by appending "core" to the program name.
8687 * gdb.base/a1-selftest.exp: Likewise.
8689 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8691 * gdb.base/return.exp: Add comment and message for `return double'
8692 test failure on Sparc Solaris.
8694 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8696 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8698 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8700 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8701 from optimizing them away.
8702 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8703 patterns to include default constructors and assignment operators,
8704 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8705 character in the output of the virtual base pointer.
8707 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8709 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8710 expression match in print_addr_of to avoid unintented matches.
8711 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8712 versions up to 2.5.8.
8714 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8716 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8717 included file to run under newer versions of expect.
8718 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8719 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8720 Remove xfail for the virtual table of BDDHookV.
8722 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8724 * lib/gdb.exp (string_to_regexp): Set a default result.
8725 (default_gdb_start): Fix misleading message.
8727 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8729 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8730 Remove all CC, etc definitions.
8731 * config/mt-hpux: New file.
8732 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8733 (CFLAGS, LDFLAGS): Define.
8734 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8736 * Makefile.in (site.exp): Don't insert host_os, etc.
8737 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8738 (distclean): Check existence of subdir.
8739 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8740 * gdb.base/Makefile.in: General cleanup and simplification.
8741 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8742 to build executables. Use default rule to build .o files.
8743 (EXPECT, RUNTEST, CC): Fix relative pathname.
8744 (site.exp): Don't insert host_os, etc.
8745 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8746 and/or SIGUSR1 defined.
8747 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8748 * gdb.c++/Makefile.in: General cleanup and simplification.
8749 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8751 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8753 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8755 * gdb.base/recurse.exp: Misc changes to get tests running again
8756 after Kung's changes to the watchpoint code.
8757 * gdb.base/watchpoint.exp: Likewise.
8759 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8761 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8763 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8765 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8766 * lib/gdb.exp (default_gdb_start): Define.
8767 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8768 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8769 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8770 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8771 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8772 Don't call gdb_target_udi in between tests.
8774 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8776 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8777 (which was basically just a local version of the same thing). In
8778 addition to avoiding duplication, gdb_test_exact is faster.
8779 * lib/gdb.exp (gdb_test_exact): Fix typo.
8781 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8782 don't give an error.
8784 * gdb.base/term.exp: Call delete_breakpoints before starting.
8786 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8789 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8791 Reorganization of the GDB Test Suite.
8793 * gdb.base: New directory, contains all the basic tests.
8794 * gdb.c++: New directory, tests specific to C++.
8795 * gdb.chill: New directory, tests specific to Chill.
8796 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8797 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8798 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8799 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8800 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8802 * */gdbme.*: Rename to match appropriate expect scripts.
8803 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8804 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8805 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8806 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8807 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8808 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8809 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8810 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8811 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8812 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8813 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8814 gdb.c++/virtfunc.cc: New names of C++ files.
8815 * gdb.chill/chillvars.ch: New name of Chill file.
8816 * gdb.base/configure.in, gdb.c++/configure.in,
8817 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8818 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8819 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8820 * configure.in (configdirs): Update to reflect directory changes.
8821 (target_abbrev): No longer define for any configuration.
8822 * Makefile.in: Cosmetic improvements to header comments.
8824 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8826 Various changes to gdb.t31:
8828 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8829 * gdbme.ch: Make all key-words and predefineds be upper-case.
8830 * chillvars.exp: Expect key-words and predefinds in upper-case.
8832 * chillvars.exp: Use gdb_test_exact many places.
8833 Change expected output for arrays (which now includes index labels).
8835 * pr-5020.exp, gdme.ch (module PR_5020):
8836 New test, for PR-5020.
8838 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8840 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8841 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8843 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8845 * Makefile.in: Fix bit-rot in definitions of CHILL,
8846 CHILL_FOR_TARGET and Chill_LIB.
8847 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8848 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8849 CHILL, and CHILL_LIB.
8851 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8853 * Revert the previous changes. Please see Rob's directory
8854 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8856 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8858 * Makefile.in, configure.in, config/mips-gdb.exp,
8859 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8860 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8861 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8862 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8863 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8864 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8865 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8866 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8867 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8868 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8869 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8870 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8871 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8872 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8873 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8876 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8878 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8879 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8880 Rob's new testing fragments.
8882 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8884 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8885 lib/gdb.exp: Replace error proc calls with perror.
8887 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8889 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8890 version also, match on casted version strings, and match on
8891 gdb startup case where the line numbers might be messed up.
8893 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8895 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8896 (CFLAGS): Delete it from here.
8898 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8900 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8902 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8904 * Makefile.in (RUNTEST): Default to just "runtest".
8906 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8908 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8909 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8910 the code has been restructured.
8912 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8914 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8915 \n, not just one of each.
8917 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8918 /bin/cc gives a warning if you do.
8920 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8922 * gdb.t24/demangle.exp: change expect pattern of
8923 __t10ListS_link1ZUiRCUiPT0
8925 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8927 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8928 on local variables in recursive functions.
8930 * gdb.t07/Makefile.in: Build the new test.
8932 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8934 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8935 directly. Instead compare the return values from actual calls.
8937 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8939 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8941 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8943 * From Peter Schauer with minor modifications.
8944 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8945 stops in mid-line in the caller. Add xfail for returning a float
8946 value on X86 targets.
8948 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8950 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8951 to avoid expect lossage.
8952 (fmem_LRbug_tests): Likewise.
8953 * gdb.disasm/hppa.s: Corresponding changes.
8955 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8956 conditions to work with latest dejagnu/expect.
8958 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8959 expected to fail on the PA.
8960 (backtrace in call with trampolines): Explicitly require main
8961 to be frame #1 (no trampolines should show up in backtrace).
8963 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8965 * gdb.t06/break.exp: Likewise.
8966 * gdb.t07/watchpoint.exp: Likewise.
8967 * gdb.t13/bitfields.exp: Likewise.
8968 * gdb.t15/{funcargs,return}.exp: Likewise.
8969 * gdb.stabs/weird.exp: Likewise.
8970 * config/{mips,udi}-gdb.exp: Likewise.
8972 * hppa.sed: Enclose comments within a sed command to avoid
8973 losing with the old OSF1 sed.
8975 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8977 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8979 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8980 * gdb.t15/funcargs.exp: Conditionally step again to really
8981 finish from marker_call_with_trampolines. Handle the case where
8982 the first step from within call_with_trampolines already steps
8984 * gdb.t15/gdbme.c: Add comment to closing brace of
8985 call_with_trampolines for funcargs.exp.
8987 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8989 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8992 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8994 * gdb.t07/gdbme.c: More code for watchpoint testing.
8996 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8997 "Hardware watchpoint" throughout file.
8998 (test_watchpoint_triggered_in_syscall): New test.
8999 (test_complex_watchpoint): New test.
9001 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9003 * gdbme.c (call_with_trampolines): New function to try and step
9004 into. Tests trampoline problems on the PA.
9006 * funcargs.exp (localvars_in_indirect_call): No longer expect
9007 stepping into indirect call to fail on PAs.
9008 (test_stepping_over_trampolines): New test.
9010 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9012 * TODO: Add suggestions for static member function tests, and
9015 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9017 * TODO: Add suggestions for "p/a" tests.
9019 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9020 (default_gdb_exit): Replace all the hair with sending "quit" to
9021 the process with a simple close.
9023 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9025 * TODO: Add suggestions for shared library tests.
9027 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9029 * TODO: Add suggestions for x/s tests.
9031 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9033 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9034 "enable once", and "enable breakpoints once" with ".*".
9036 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9038 * TODO: Add suggestions about structure passing tests.
9040 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9042 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9043 the primary1 test, use work around if __GNUC__ < 2.
9044 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9045 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9046 Test for bad output rather than waiting for timeout. Issue
9047 second continue only if first continue failed.
9049 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9051 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9052 operator[] test with gdb_test because the old code didn't seem to
9053 be getting the quoting right with the new dejagnu.
9055 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9057 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9059 * Makefile.in: Use a fresh expect if there is one, use runtest
9060 from the src tree if there is one.
9062 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9064 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9065 next over recursive call. Revise the tests from that point on
9066 (which had been skipped) to match GDB's actual (correct) output.
9068 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9069 with next over a breakpoint whose condition is false.
9071 * gdb.t00/help.exp: Comment out "help set print" tests just like
9072 (and for same reason as) "help set" test.
9074 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9076 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9077 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9079 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9081 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9082 necessary gdb_target_udi.
9084 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9086 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9087 1838 and 2417; they are fixed.
9089 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9090 gdb.t03/ptype.exp (ptype structure, ptype union):
9091 Remove xfails; the test is looser than when the xfails were added.
9093 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9094 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9096 * gdb.t01/run.exp: Only run shell test if isnative.
9098 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9099 since "run" automatically loads if necessary. Call gdb_target_udi
9100 after the "file" since "file" kills any execution target.
9102 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9103 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9104 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9107 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9109 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9111 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9113 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9115 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9116 properly quoting regexps. This makes the second argument to
9117 demangle a fixed string, which matches the callers, instead of a
9118 shell-style pattern which is what the previous implementation
9119 used. Update some of the callers.
9121 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9123 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9124 (comib_nullified_tests): Fix typo.
9125 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9126 strings. No longer expected to fail.
9128 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9129 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9130 strings. No longer expected to fail.
9132 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9133 string. No longer expected to fail.
9135 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9137 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9138 No longer expected to fail.
9140 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9141 string. No longer expected to fail.
9143 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9145 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9146 only in the names (I probably got most of them). I was even
9147 generous with some which differed in underscores in names, and
9148 probably missed a few, and I *still* was able to remove almost a
9149 third of the file with almost no impact on testsuite coverage.
9151 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9153 * gdb.t00/default.exp: Match udi_attach error message as well as
9154 the one from child_attach.
9156 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9158 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9160 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9161 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9163 * Move test with enums and partial symbols back to
9164 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9165 Reverts the change of 26 May 93. Per today's change to
9166 stabs.texinfo, the behavior that weird.exp was expecting was
9167 unreasonable; what is important is that the compiler+gdb get
9168 things right, which happens with a recent gcc. Also fix the test
9169 to deal with native compilers which put out the stab gdb can't
9172 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9174 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9175 in the names. The main thing these accomplish is to slow things down.
9176 Many more such duplicates surely remain.
9178 * gdb.t00/help.exp: Comment out "help support" test just like
9179 (and for same reason as) "help set" test.
9181 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9183 * gdb.t06/break.exp: Remove setup_xfails for
9184 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9185 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9186 about known bug in gcc to include up through 2.5.8.
9187 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9189 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9190 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9191 with latest gcc and gdb.
9192 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9195 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9197 * configure.in (hppa*-*-*): Also configure and build stabs-only
9200 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9202 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9203 * gdb.t10/configure.in (hppa*-*-*): Use it.
9205 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9207 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9209 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9211 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9212 versions prior to 1.13.5.
9214 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9216 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9217 the prompt is at the start of a line.
9219 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9221 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9222 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9223 in the copr tests now.
9224 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9225 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9228 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9230 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9231 gdb.t31/chillvars.exp, lib/gdb.exp:
9232 Tweak to run under either version of expect.
9233 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9234 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9235 * gdb.t11/list.exp: Remove extraneous whitespace.
9237 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9239 * gdb.t16/printcmds.exp (test_print_strings): Accept
9240 "(unsigned char *) " before the string.
9242 * TODO: Add notes about printing of fancy types and GDB expressions.
9244 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9246 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9247 * gdb.t06/configure.in: Don't try to compile signals test program
9248 if doing mips-idt-ecoff.
9250 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9252 * Most .exp files: Tweak to run under either version of expect.
9254 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9256 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9257 xfails; I'm not sure why they are failing, but not because of PR 1806.
9259 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9261 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9262 defined in lib/gdb.exp.
9264 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9266 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9267 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9268 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9269 have to be typeless.
9271 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9273 * TODO: Add suggestion for copyright year test.
9275 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9277 * configure.in (*-*-lynxos*): Add stabs tests.
9279 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9281 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9282 so insert a tab before any assembler directive in column zero.
9284 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9286 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9288 (fpu_short_memory_tests): Likewise.
9290 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9292 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9293 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9294 .stabs directives in comments.
9296 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9298 * TODO: New file, describing tests we could write.
9299 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9301 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9303 * gdb.t06/signals.exp: Add kludge to force re-sync.
9305 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9306 to xgdb instead of gdb, get out of gdb.
9308 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9310 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9313 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9315 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9316 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9317 * gdb.stabs/hppa.sed: New sed script for the PA.
9319 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9321 * gdb.stabs: Re-write weird.def and configuration to use sed
9322 instead of cpp. sed is portable and POSIX; cpp is neither.
9324 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9326 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9328 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9330 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9332 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9334 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9336 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9337 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9339 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9341 * lib/gdb.exp: Comment out code which depends on non-existent
9342 `transform' procedure.
9344 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9346 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9347 * lib/gdb.exp: Transform tool name.
9348 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9349 1.1's new error handling system.
9351 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9353 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9355 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9357 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9358 They made pattern matching so slow that timeouts happened on
9359 heavily loaded systems. Now any output from "show print" which
9360 gets us back to the GDB prompt is a PASS.
9362 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9364 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9366 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9368 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9370 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9371 It is not from PR 3220.
9373 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9375 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9376 just started failing because they depended on the order the
9377 subcommands are presented, or exact docstring text. This kind of
9378 test is a pain and has minimal benefit.
9380 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9382 * gdb.t09/corefile.exp: At end of test, use "core" command with
9385 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9387 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9388 17}/Makefile.in: Make it possible to run the testsuite with Sun
9389 make and CC = cross gcc by adding explicit build rules for .o
9392 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9394 * gdb.t15/funcargs.exp: Don't put comments on same line as
9395 setup_xfail (@#$*%& tcl braindamage!).
9397 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9399 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9401 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9403 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9404 * gdb.t20/inherit.exp: remove three dumplicate entries.
9406 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9408 * gdb.t06/break.exp: For "next over recursive call", fail on any
9409 incorrect output, not just on "factorial (value=2)".
9411 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9413 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9414 working now. Add an xfail if accesing a bss variable causes
9415 a memory error if the target is not yet run.
9417 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9419 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9420 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9421 name of __st* demangling (2 strings). Did Kung really get the
9422 more than 95 others right without testing them?
9424 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9426 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9428 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9430 * configure.in (configdirs): Add gdb.disasm
9431 * gdb.disasm: New directory for GDB disassembler tests.
9432 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9434 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9436 * gdb.t00/help.exp: Don't test "help set".
9438 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9439 from within expect statements. None of these happen anymore and
9440 they cause regressions to be silently unnoticed.
9442 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9443 messages) about known failures with gcc cygnus-2.4.5-930417.
9445 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9446 comp-info.exp so it gets built if it doesn't exist.
9448 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9449 it is no longer used.
9450 * gdb.t13/comp-info.c: Removed.
9452 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9454 * gdb.t06/signals.exp: Add xfail for sun3.
9456 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9458 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9459 relevant because ^C doesn't get sent but failure can be reproduced
9462 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9464 * gdb.stabs/alpha.mt: New configuration file for alpha.
9465 * gdb.stabs/configure.in: Use it.
9466 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9467 sharing with alpha.mt, redefine long to word via preprocessor.
9468 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9470 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9472 * gdb.t00/teststrategy.exp: Change expect string so that we
9473 consume the `(xgdb)' from the command echo and from the gdb prompt.
9474 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9475 gdb currently compares all values as long, so this failure probably
9476 applies to any configuration where LONGEST is bigger than a target int.
9477 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9479 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9480 to handle opaque pointers, gcc is.
9481 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9482 as first argument. Include <sys/types.h> and change all operator
9483 new definitions to use size_t.
9484 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9485 now that we use size_t.
9487 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9489 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9490 a long or float array cast all array members to the same type.
9491 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9493 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9495 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9497 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9499 * gdb.t24 (demangle.exp): Constructors of templates have names like
9500 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9501 section 14.6 of the ARM.
9503 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9504 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9505 accomplish little and slow down the testsuite.
9507 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9508 Accept spaces various places.
9510 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9512 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9513 with watchpoint enabled.
9515 * Makefile.in: Remove definition of CC and remove the second
9516 definition of CXX (the "CXX = gcc" one remains). These definitions
9517 were causing backquotes to be expanded within backquotes, which
9520 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9522 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9524 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9526 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9527 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9528 by mips cc and contains no stabs entries.
9530 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9532 * config/vx-gdb.exp: Use fake device to load files rather than
9534 * lib/gdb.exp: New proc to do "file" command.
9535 * config/unix-gdb.exp: Use new "file" proc.
9537 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9539 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9540 Rework board rebooting slightly.
9541 (gdb_exit): Don't exit from the remote shell; there isn't one.
9542 * gdb.stabs/weird.exp: If a program is being debugged already,
9544 * gdb.t04/setvar.exp: Stop and restart gdb.
9545 * gdb.t05/expr.exp: Likewise.
9546 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9547 restart gdb and reload the program.
9548 * gdb.t08/opaque.exp: Likewise.
9549 * gdb.t12/scope.exp: Likewise.
9550 * gdb.t13/bitfields.exp: Likewise.
9551 * gdb.t15/funcargs.exp: Likewise.
9552 * gdb.t20/classes.exp: Likewise.
9553 * gdb.t03/ptype.exp: Increase timeout.
9554 * gdb.t16/printcmds.exp (test_print_string_constants,
9555 test_print_array_constants): Likewise.
9556 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9557 * gdb.t20/classes.exp (do_tests): Likewise.
9558 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9560 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9562 * gdb.stabs: Renamed *wierd* to *weird*.
9564 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9566 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9567 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9569 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9571 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9572 (do_tests): Remove xfail for whatis on one_var and two_var.
9574 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9576 * Makefile.in: Made cross building work better by adding
9577 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9579 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9581 * gdb.t15/{return.c,return.exp,Makefile.in}:
9582 New test, currently commented out.
9584 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9586 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9587 still running and removes the leftover named socket so GDb can do
9590 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9592 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9594 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9595 cross testing works better with "make check"
9596 * config/unix-gdb: Use default procedures for exit and version.
9597 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9598 with the newest VxWorks.
9600 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9602 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9605 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9606 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9608 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9610 * config/unix-gdb.exp: Remove this version of gdb_exit
9611 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9612 Rob says he'll look at it when he gets back to testing boards.
9614 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9616 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9617 an expected fail for certain ptype commands.
9619 * gdb.t20/classes.exp: Update expected results of "ptype class
9620 Base1" to account for the constructor that now appears in the type.
9622 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9624 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9625 disappeared from list.
9626 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9627 "alldone" proc with call to cleanup and exit.
9628 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9629 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9630 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9631 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9632 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9633 "alldone" proc with simple returns that suppress remaining
9634 tests. The alldone proc went away many months ago.
9636 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9638 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9640 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9642 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9644 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9645 as vax gdb will display them.
9647 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9649 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9652 * scope.exp: Change "bad value for localval" messages so each one
9655 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9656 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9658 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9660 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9662 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9663 doesn't exist (due to optimization).
9665 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9667 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9668 contains \r because the filename is long.
9670 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9671 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9673 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9675 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9676 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9678 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9680 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9682 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9684 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9686 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
9687 to match does not match the passing case but still matches the
9690 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9692 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9694 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9696 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9697 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9698 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9699 Remove various versions of gdb_exit.
9700 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9702 * config/unix-gdb.exp: gdb_exit remains here, and should override
9703 the generic version, since it's doing a lot of wierd stuff that
9704 the other versions aren't. FIXME, fold it in, or abandon this
9707 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9709 * gdb.t24/demangle.exp: Add tests for PR 3220.
9711 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9713 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9715 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9717 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9718 "i386-*-*". Works for i486 as well.
9720 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9721 bug, and expand domain of xfail to all SVR4 systems, since the
9722 actual problem is likely to be in generic SVR4 /proc support.
9724 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9726 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9728 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9730 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9731 xfails for other systems. Match a missing 'Continuing.' as an
9732 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9734 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9735 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9736 Only issue warning for missing executables if -all option is used.
9738 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9739 file if -all option is used. It's like an unpredictable XFAIL.
9741 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9743 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9744 for dynamically linked binaries.
9746 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9748 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9750 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9751 to state that this is a known bug in old versions of g++.
9753 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9755 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9756 while waiting for `Continuing'.
9758 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9760 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9761 in text, data, and bss.
9762 * gdb.t10/nodebug.c: Add local and global test variables for
9763 initialized and uninitialized data.
9765 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9767 * config/unix-gdb.exp (gdb_exit): Add "wait".
9769 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9771 * gdb.t06/signals.exp: xfail the continue from the handler for all
9774 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9775 function with watchpoints enabled, the i386 call dummy starts with
9778 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9779 386 bsd names its corefiles.
9781 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9783 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9784 compilers don't grok it.
9785 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9786 with small octal ints rather than character constants, which
9787 are signed and might not fit if first promoted to int.
9789 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9791 * gdb.t09/Makefile.in (clean): Remove corefile.
9793 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9795 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9797 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9798 and Jim Kingdon (kingdon@cygnus.com)
9800 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9801 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9802 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9804 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9806 * gdb.t17/interrupt.exp: Add xfail for hppa.
9808 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9810 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9811 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9812 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9813 to determine signed-ness of bitfields and use the result to setup
9815 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9816 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9817 call line is reached if necessary.
9819 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9821 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9823 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9825 * gdb.t06/break.exp: Also test `clear' command.
9827 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9829 * gdb.t00/teststrategy.exp: Remove extra quote.
9831 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9832 watchpoint enabled to be for all non-68k machines.
9834 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9836 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9838 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9839 targets use aout.mt instead of ecoff.mt as gas understands
9840 standard aout format.
9842 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9844 * lib/gdb.exp (runto): Don't insist that function we are running to
9845 was compiled with -g.
9847 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9849 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9850 to get back into the read system call.
9851 Accept leading newline in case where we woke it up.
9853 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9855 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9856 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9857 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9858 enable ecoff configuration.
9860 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9862 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9864 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9866 * gdb.t16/printcmds.exp: Add another printf test.
9868 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9870 * configure.in: If configured -with-stabs on any target, add
9871 stabsdirs to configdirs.
9873 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9875 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9876 fun" so pattern does not match the command itself.
9878 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9880 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9882 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9884 * gdb.t17/interrupt.exp: Test for more things.
9886 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9888 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9889 compiler arranges the code and line numbers.
9891 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9893 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9895 * gdb.t00/help.exp: Increase expect input buffer size.
9897 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9899 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9901 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9903 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9905 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9906 [0-9]*, not just [0-9].
9908 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9910 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9912 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9914 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9916 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9918 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9920 * gdb.t06/signals.c: Add xfails for sun3.
9922 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9924 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9925 test_stepping tests.
9927 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9929 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9931 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9933 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9934 rather than actually putting it through cpp twice.
9936 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9938 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9940 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9943 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9945 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9947 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9948 C++ features prints as "struct", make it a pass, not an xfail.
9950 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9952 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9953 Don't require VA to print as "class" rather than "struct".
9955 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9957 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9959 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9961 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9963 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9965 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9968 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9970 * gdb.t16/printcmds.exp: Add printf tests.
9972 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9974 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9976 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9978 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9979 pass counts, to counteract any existing or future setup_xfails.
9981 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9983 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9984 {BEGIN,END}_COMMON for common block instead of STAB.
9985 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9987 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9988 intp_var should be N_GSYM not N_LSYM.
9989 wierd-aout.S: Use a label for the value of the N_SO.
9990 wierd.def: Remove all backslashes.
9991 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9993 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9995 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9996 get the expected next to inheritance3.
9998 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10000 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10001 now that gcc-2.4 gets it right.
10003 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10005 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10007 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10008 generating comp-info.exp which works for cross-compilation.
10010 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10012 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10015 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10017 * gdb.t01/run.exp: Start with a fresh gdb.
10018 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10021 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10023 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10024 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10025 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10026 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10029 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10031 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10032 test cases from bug reports.
10034 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10036 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10037 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10038 avoid spurious xfails.
10039 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10040 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10041 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10043 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10045 * gdb.t00/teststrategy.exp: Rework to provide more useful
10046 description of each test, fix problem with systems that define
10047 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10048 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10049 results for "next over recursive call" so timeouts aren't taken
10052 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10054 * gdb.t12/scope.exp: Test printing of variables before run.
10056 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10057 printed in wrong order due to sorting.
10059 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10061 * gdb.t00/teststrategy.exp: Fix expected results for printing
10062 user entered string constant. Is array of char, prints with no
10065 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10067 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10068 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10069 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10070 of struct of char arrays.
10071 * gdb.t00/radix.exp: New tests for radix commands.
10073 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10075 * gdb.t16/printcmd.exp: Print a variable before running program
10076 (with xfail for AIX).
10078 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10080 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10082 * gdb.t16/printcmd.exp: Don't print variables before running program.
10084 * gdb.t06/break.exp: Don't require envp argument to main.
10086 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10088 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10089 Add xfails for rs6000.
10091 * gdb.t02/whatis.exp: Change other tests not to re-test something
10094 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10095 each type used has a variable of that type.
10097 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10099 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10101 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10103 * configure.in: change srctrigger to be a file, not a directory
10105 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10107 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10109 * gdb.t11/list.exp: Fixed a couple of typos.
10111 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10113 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10114 is fixed and PR is closed.
10115 * gdb.t16 (gdbme.c): Add simple test string variable.
10116 * gdb.t16 (printcmds.exp): Add tests with simple test string
10117 variable, primarily for boundaries on "set print elements".
10119 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10121 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10122 Make leading 0's optional and don't expect a tab in the middle
10125 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10127 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10128 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10129 don't end command passed to gdb_test with newline.
10131 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10132 signed keyword away, don't expect signed bitfields to be signed.
10134 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10135 printing with only as many 1's as are in the field as well as printing
10136 with 32 1's (see comment).
10138 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10140 * gdb.t00/default.exp: Start with a fresh gdb.
10141 * configure.in (configdirs): Remove gdb.t31 until the chill
10142 compiler works again. It no longer is able to find chillrt0
10143 since it isn't in libchill.a anymore.
10144 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10145 wierd.o, make more modular.
10146 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10147 spurious newlines that caused problems.
10149 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10151 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10152 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10153 gdb.stabs/wierd.{exp,def}: Many new tests.
10155 * gdb.t00/default.exp: update info line for new message.
10157 * gdb.t02/{whatis.exp,gdbme.c}:
10158 Test that "char *" doesn't print as "caddr_t".
10160 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10162 * gdb.t00/help.exp: Use .* in place of some help messages which
10164 gdb.t00/default.exp: Update "info frame" test for new message.
10165 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10168 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10170 * gdb.t03/{gdbme.c,ptype.exp}:
10171 Add tests for typedef'd struct and union without tags.
10172 Also check "whatis" on a variable of a typedef'd enum without a tag.
10174 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10175 PRMS 1823; the bug still exists but isn't reproduced by this test
10176 anymore), and remove rs6000 XFAIL (the bug is fixed).
10178 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10179 duplicated from whatis.exp. For those that are left, accept
10180 "long", "long int", or "int" for long variables (whatis.exp already
10181 has an XFAIL for "int", so no need to fail it here).
10183 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10184 Deal with GCC's names for types now that GDB uses the compiler's names.
10186 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10187 setup_xfail's for sunos4. If we #defined the signed keyword away,
10188 don't expect GDB to know that char it is signed.
10190 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10192 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10194 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10195 should work on any system, regardless of debugging format.
10196 * gdb.t21/demangle.exp: Move to gdb.t24.
10197 * gdb.t24/demangle.exp: Move from gdb.t21.
10198 * gdb.t24/{Makefile.in, configure.in}: New files.
10200 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10202 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10203 * gdb.stabs: New directory.
10205 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10207 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10208 not just "Quit anyway?".
10210 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10212 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10213 that all setup_xfails are immediately followed by clear_xfails.
10215 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10217 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10218 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10219 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10220 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10221 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10222 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10223 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10224 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10225 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10226 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10227 gdb.t31/chillvars.exp, lib/gdb.exp:
10228 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10229 bug-gdb@prep.ai.mit.edu.
10231 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10233 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10234 with 0.0, not integer 0.
10236 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10238 * gdb.t06/break.exp: Update for "Kill the program" message change.
10240 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10242 * Makefile.in (GDBFLAGS): Set to -nx.
10243 * Makefile.in (site.exp): Use GDBFLAGS.
10245 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10247 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10249 (check): depend on just-check.
10250 (just-check): added so that tests can be run without a noop
10253 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10255 Switch to using configure's configdirs.
10256 * Makefile.in (Makefile): add configure.in dependency.
10257 (SUBDIRS): removed redundant assignment.
10258 * configure.in: switch subdirs assignment to configdirs.
10259 * gdb.t*/configure.in: new files.
10261 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10263 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10266 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10268 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10269 in explicit rules. Apparently this is not supported by some makes.
10271 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10273 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10275 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10277 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10280 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10282 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10284 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10286 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10287 watchpoint problem that is now fixed.
10288 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10289 uninitialized convenience variables.
10290 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10293 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10295 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10296 which causes expect to get out of sync with gdb on long output
10298 * gdb.t09/corefile.exp: Make expected pattern for core file
10299 failing signal and frame output format less sun specific.
10301 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10303 * gdb.t31/chillvars.exp: Add and remove initial dummy
10304 breakpoint, so that symbol table is forced in.
10305 (Needed at least on Sunos4, though it seems not SVR4.)
10306 * gdb.t31/chillvars.exp: Update for changed output format.
10308 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10310 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10312 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10314 * Makefile.in: Added --srcdir when invoking runtest, removed the
10315 need for a local config file. (optional now)
10317 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10319 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10320 failure count used to force early termination. Add some more
10321 expected failures for gnu style demangling.
10323 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10325 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10326 pmi variable from gdb.t20/gdbme to get optimized away.
10327 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10328 Check for written corefile upon timeout _and_ eof.
10330 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10332 * config/unix-gdb.exp: Add missing return 0.
10334 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10336 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10339 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10341 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10344 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10346 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10347 time as i860 support works.
10349 * gdb.t15/funcargs.exp: Fix expected outputs to include
10350 "backtrace 100\r" rather than just "backtrace\r", to match last
10353 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10355 * config/udi-gdb.exp (gdb_exit): Remove close command.
10356 (gdb_target_udi): New procedure to set the UDI target.
10357 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10358 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10359 Added waits for prompts after several question responses. Added
10360 some more responses used by a29k-amd-udi-gdb.
10361 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10362 pass different arguments, restart UDI connection after program
10364 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10365 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10366 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10367 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10368 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10369 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10370 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10371 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10372 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10373 after program completion.
10374 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10375 compiled with a SELECT_VECS setting.
10376 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10377 infinite recursion.
10379 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10380 Added checks for COFF results, and made them expected failures for
10381 all targets. It would be better to make them expected failures
10382 for COFF targets only.
10384 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10386 * Makefile.in: add null dvi target, don't bother to recurse
10387 through test directories for info and install-info; rename
10388 $(datadir) to be dejagnu instead of deja-gnu
10390 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10392 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10393 compiler to coredump.
10394 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10397 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10399 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10401 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10404 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10406 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10407 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10408 which in a shell. Deletes xgdb when done.
10409 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10410 Tests the return from the "set height" or "set width" commands.
10411 Added a few return codes where needed.
10413 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10415 * Makefile.in (SUBDIRS): Add gdb.t17.
10416 * configure.in (subdirs): Add gdb.t17.
10417 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10418 files to test gdb's calling of functions in the inferior with
10419 the correct arguments and gdb's ability to retrieve any
10422 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10424 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10425 may be called after gdb goes away. Previous versions of expect
10426 needed these to avoid file descriptor leaks, but they cause
10427 errors with the current revision of expect.
10428 * gdb.t00/gdbvars.exp: Use -re on expected output after
10429 setting sevenbit-strings.
10430 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10431 to set sevenbit-strings consistent across tests.
10432 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10433 set sevenbit-strings consistent across tests.
10435 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10437 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10438 expected output to match current "expect" expectations.
10440 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10442 * gdb.t00/default.exp: Change expected output for default "source"
10443 command, to match new gdb behavior which requires a filename to
10446 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10448 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10449 expected fail for i486-*-* that misses the marker2 function.
10450 * gdb.t10/crossload.exp (bfddefault): Allow successful
10451 recognition of a format to pass even if no symbols are found.
10452 Explicitly catch failures where the format is not recognized
10453 or is ambiguous, and add the reason to the fail message.
10454 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10455 the cause is and invalid target and add reason to failure message.
10456 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10457 elf32-i386, elf32-sparc, and elf32-i860.
10458 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10459 Set up expected failure for 'filename'::variable scope resolution,
10460 which is now apparently broken on all targets.
10461 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10462 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10463 gdb.t23/templates.exp: Change failure for missing binfile into
10465 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10468 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10470 * gdb.t00/default.exp: Add expected output for default "source"
10471 command, to match new gdb behavior.
10472 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10474 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10476 * config/*-gdb.exp: returns an error, rather than exiting on
10479 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10481 * gdb.t03/gdbme.c: Add pointer to struct variable.
10482 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10483 referencing struct members.
10485 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10487 * configure.in (mips-idt-ecoff): New target.
10488 * config/mips-gdb.exp: New file for remote board using MIPS remote
10489 debugging protocol.
10491 * Redid configuration scheme. Removed gdb.t*/configure.in.
10492 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10493 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10494 distclean targets. Built executables via .o files. Adjusted
10495 tests to account for source files in $(srcdir) rather than
10497 * lib/gdb.exp (runto): Don't expect () after the function name,
10498 because it may have arguments.
10500 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10502 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10503 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10504 expected failures for mips-idt-* and mips-sgi-*.
10505 * gdb.t00/default.exp (attach): Kill process if requested.
10506 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10507 that does not read core files.
10508 * gdb.t01/run.exp: Removed checks for exit status code.
10509 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10511 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10512 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10513 appropriate, rather than doing it by hand.
10514 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10516 * gdb.t10/crossload.exp: Kill existing program if needed.
10517 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10518 appropriate, rather than doing it by hand. Always increase
10519 timeout for this test, not just for VxWorks.
10521 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10523 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10524 of Chill STRUCT types and STRUCT values.
10525 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10527 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
10528 struct2): New struct definitions and initializations to test
10529 simple Chill STRUCT types.
10531 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10533 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10534 the null byte at the end of strings.
10535 * gdb.t00/default.exp: Make show version insensitive to copyright
10537 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10538 to avoid dependencies on target char signedness.
10539 * gdb.t16/printcmds.exp: Update expected results for explicitly
10541 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10543 * gdb.t21/demangle.exp: Add many more patterns for template
10544 demangling, most of them being expected failures.
10545 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10546 string we are matching for, to match on the whole string.
10547 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10548 and fix a whole bunch that had incorrect expected output but were
10549 passing anyway because of the bug in "proc demangle".
10550 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10552 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10554 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10556 * gdb/testsuite: made modifications to testcases, etc., to allow
10557 them to work properly given the reorganization of deja-gnu and the
10558 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10560 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10562 * gdb/testsuite: Initial creation of gdb/testsuite.
10563 Migrated dejagnu testcases and support files for testing nm to
10564 gdb/testsuite from deja-gnu. These files were moved "as is"
10565 with no modifications. This migration is part of a major overhaul
10566 of dejagnu. The modifications to these testcases, etc., which
10567 will allow them to work with the new version of dejagnu will be
10568 made in a future update.
10571 mode: indented-text
10574 version-control: never