1 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
3 * gdb.base/charset.exp: Update based on new behavior of set/show
6 2003-05-01 Andrew Cagney <cagney@redhat.com>
8 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
9 variable do not give memory errors.
11 2003-04-30 Adam Fedor <fedor@gnu.org>
13 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
15 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16 gdb.objc/basicclass.m: : New files
18 * lib/gdb.exp (gdb_compile_objc): New procedure.
20 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22 * gdb.base/signals.exp: Make backtrace tests more specific.
24 2003-04-23 David Carlton <carlton@bactrian.org>
26 * gdb.c++/maint.exp (test_first_component): Add tests for
27 'operator' in more locations.
29 2003-04-16 Kevin Buettner <kevinb@redhat.com>
31 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
33 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
35 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
36 func marke' instead. Update test name.
38 2003-04-15 David Carlton <carlton@math.stanford.edu>
40 * gdb.c++/maint.exp: New file.
42 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
44 * gdb.threads/schedlock.c: Change type of thread function argument
45 to long, to avoid warnings on 64-bit platforms.
47 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
49 * gdb.base/attach.exp: Add new message from ptrace in case of
50 attaching to nonexistent process.
52 2003-04-11 Jim Blandy <jimb@redhat.com>
54 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
55 gdb.c++/userdef.cc: Place comments on the lines to which the
56 marker function might return.
57 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
58 gdb.c++/userdef.exp: Look for those comments to check that we've
59 returned to the right place, instead of checking line numbers.
61 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
63 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
64 match on sourcefile name, instead of directory name.
66 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
68 * gdb.base/completion.exp: Use string_to_regexp to match the
69 working directory name.
71 2003-04-09 Jim Blandy <jimb@redhat.com>
73 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
74 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
75 after an inferior function call, report the failure, but allow the
78 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
80 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
83 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
85 * gdb.base/break.exp: Revert last patch.
87 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
89 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
92 2003-04-02 Andrew Cagney <cagney@redhat.com>
94 * gdb.base/callfuncs.exp: Make "print add" messages unique.
95 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
96 matching directories by the name breakpoint.
97 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
98 Make "continue to marker1" consistent.
99 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
101 * lib/gdb.exp: Put "the program is no longer running", and "the
102 program exited" in parenthesis.
103 * lib/mi-support.exp: Ditto.
105 2003-04-02 Bob Rossi <bob_rossi@cox.net>
107 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
109 2003-03-29 Andrew Cagney <cagney@redhat.com>
111 * gdb.base/sizeof.c (main): Print the value of '\377'.
112 * gdb.base/sizeof.exp: Check the sign of '\377'.
114 2003-03-27 Michael Chastain <mec@shout.net>
116 * gdb.base/gdb1090.exp: New file.
117 * gdb.base/gdb1090.cc: New file.
119 2003-03-27 J. Brobecker <brobecker@gnat.com>
121 * gdb.gdb/observer.exp: New regression test.
123 2003-03-27 Michael Chastain <mec@shout.net>
125 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
126 * gdb.base/ptype.exp: Likewise.
128 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
130 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
132 2003-03-26 Michael Chastain <mec@shout.net>
134 * gdb.base/ptype.exp: Actually use some typedef'd types.
136 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
138 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
139 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
141 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
143 * gdb.base/default.exp: Fix regular expression.
145 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
147 * gdb.base/args.exp: Fix regular expression.
149 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
151 * gdb.base/help.exp: Allow Win32 child process.
153 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
155 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
156 when stepping out of main().
158 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
160 * gdb.base/default.exp: Check for win32 specific message when calling
161 "run" without executable.
163 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
165 * gdb.base/args.exp: Expect .exe in output.
167 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
169 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
172 2003-03-17 Andrew Cagney <cagney@redhat.com>
174 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
176 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
177 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
179 2003-03-17 David Carlton <carlton@math.stanford.edu>
181 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
182 test, for PR breakpoints/38.
183 Call test_watchpoint_and_breakpoint.
184 * gdb.base/watchpoint.c (func3): New function.
187 2003-03-04 David Carlton <carlton@math.stanford.edu>
189 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
190 Garply<Garply<char> >:: garply".
191 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
192 with respect to PR c++/1111; note also PR c++/1113.
193 (test_template_breakpoints): KFAIL "constructor breakpoint" with
194 respect to PR c++/1062.
195 KFAIL "destructor breakpoint" with respect to PR c++/1112.
197 2003-03-03 David Carlton <carlton@math.stanford.edu>
199 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
200 with respect to PR c++/57.
201 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
203 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
204 respect to PR c++/57.
206 2003-03-03 David Carlton <carlton@math.stanford.edu>
208 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
209 respect to PR c++/33 into FAILs.
211 2003-03-03 Michael Chastain <mec@shout.net>
213 * configure.in: Update copyright years.
215 2003-03-03 Michael Chastain <mec@shout.net>
217 * Makefile.in: Update copyright years.
219 2003-02-28 David Carlton <carlton@math.stanford.edu>
221 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
222 print class instead of struct and/or superfluous protection
223 specifiers, as long as the resulting output is equivalent to the
225 Delete FIXME from end of messages on tests that don't need
228 2003-02-28 David Carlton <carlton@math.stanford.edu>
230 * gdb.c++/templates.exp (do_tests): Allow const in the two
231 Foo<volatile char *>::foo tests.
233 2003-02-27 Michael Snyder <msnyder@redhat.com>
235 * gdb.base/restore.c (main): Return zero, so exit code
238 2003-02-26 David Carlton <carlton@math.stanford.edu>
240 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
241 char *>::foo" test with respect to PR c++/33. Create a new test
242 which is identical to that one except that it doesn't put the
243 space between the "char" and the "*"; KFAIL it, too.
245 2003-02-26 David Carlton <carlton@math.stanford.edu>
247 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
248 template types into either PASSes or KFAILs (corresponding to PR
249 c++/57). Tweak indentation. Update copyright.
251 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
253 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
255 2003-02-13 Michael Chastain <mec@shout.net>
257 * gdb.base/exprs.exp: Remove i960 remnants.
258 * gdb.base/funcargs.exp: Likewise.
259 * gdb.base/list.exp: Likewise.
260 * gdb.base/ptype.exp: Likewise.
262 2003-02-14 David Carlton <carlton@math.stanford.edu>
264 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
265 pEe->D::vg()" from XFAIL to KFAIL.
267 2003-02-13 Jason Molenda (jmolenda@apple.com)
269 * gdb.base/maint.exp: Update maint print statistics regexp to include
272 2003-02-13 Michael Chastain <mec@shout.net>
274 * gdb.c++/inherit.exp: Remove call to get_debug_format.
276 2003-02-12 Michael Chastain <mec@shout.net>
278 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
279 * gdb.c++/inherit.exp: Likewise.
280 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
281 * gdb.c++/templates.exp: Likewise.
282 * gdb.c++/virtfunc.exp: Likewise.
284 2003-02-06 Jason Molenda (jason-cl@molenda.com)
286 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
287 why the code is written that way.
289 2003-02-05 Michael Chastain <mec@shout.net>
291 * gdb.base/dump.exp: Add missing copyright line.
293 2003-02-05 Jason Molenda (jason-cl@molenda.com)
295 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
296 at the beginning so the breakpoint doesn't get set on the loop.
298 2003-02-05 Michael Chastain <mec@shout.net>
300 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
301 output for configurations with gcc 2.95.3.
303 2003-02-05 Keith Seitz <keiths@redhat.com>
304 Andrew Cagney <ac131313@redhat.com>
306 * gdb.mi/mi-cli.exp: New file.
308 2003-02-04 Michael Chastain <mec@shout.net>
310 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
311 Call perror and then continue.
313 2003-02-03 Michael Chastain <mec@shout.net>
315 * gdb.c++/pr-1023.cc: New file.
316 * gdb.c++/pr-1023.exp: New file.
318 2003-02-05 Jim Blandy <jimb@redhat.com>
320 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
321 it's local to foobar. Check for it there, and check that it's not
323 * gdb.c++/local.cc (marker2): New function.
324 (foobar): Call marker1.
325 (main): Call marker2 instead of marker1.
327 2003-02-04 Andrew Cagney <ac131313@redhat.com>
329 * gdb.disasm/mn10200.exp: Obsolete file.
330 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
331 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
332 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
334 2003-02-04 David Carlton <carlton@math.stanford.edu>
336 * gdb.c++/overload.exp: Test intToChar(1).
337 * gdb.c++/overload.cc (intToChar): New.
338 (main): Call intToChar.
340 2003-02-03 David Carlton <carlton@math.stanford.edu>
342 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
344 KFAIL some of the continue_to_bp_overloaded calls, according to
347 2003-02-01 Michael Chastain <mec@shout.net>
349 * gdb.base/advance.c (marker1): New marker function.
350 * gdb.base/advance.exp: When the 'advance' command lands on the
351 return breakpoint, it can legitimately stop on either the
352 current line or the next line. Accommodate both outcomes.
353 * gdb.base/until.exp: Likewise.
355 2003-02-02 Andrew Cagney <ac131313@redhat.com>
357 2002-11-10 Jason Molenda (jason-cl@molenda.com):
358 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
359 now a list, not a tuple.
360 * gdb.mi/mi-var-display.exp: Ditto.
361 * gdb.mi/gdb792.exp: Ditto.
363 2003-02-01 Andrew Cagney <ac131313@redhat.com>
365 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
366 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
368 * gdb.mi/mi-syn-frame.c: Part of same.
370 2003-02-01 Mark Kettenis <kettenis@gnu.org>
372 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
373 gdb.mi/mi1-pthreads.exp: Return instead of calling
374 gdb_suppress_entire_file.
376 2003-02-01 Mark Salter <msalter@redhat.com>
378 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
380 2003-01-31 Mark Salter <msalter@redhat.com>
382 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
385 2003-01-30 Michael Chastain <mec@shout.net>
387 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
388 This was a workaround for a UTF-8 bug in readline 4.3. The bug
389 has been fixed in gdb/readline on 2003-01-09.
391 2003-01-29 Michael Snyder <msnyder@redhat.com>
393 * gdb.base/maint.exp: Allow for leading underscore in symbol.
394 * gdb.base/display.exp: Allow for leading underscore in symbol.
395 * gdb.base/args.exp: Skip if target does not support args passing.
397 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
399 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
400 gdb_test. Accept a list of expect arguments as the third
404 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
406 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
407 allow for different test tree configurations. Update some
408 tescases accordingly.
409 * gdb.arch/altivec-regs.exp: Ditto.
410 * gdb.asm/asm-source.exp: Ditto.
411 * gdb.base/advance.exp: Ditto.
412 * gdb.base/display.exp: Ditto.
413 * gdb.base/long_long.exp: Ditto.
414 * gdb.base/mips_pro.exp: Ditto.
415 * gdb.base/overlays.exp: Ditto.
416 * gdb.base/relocate.exp: Ditto.
417 * gdb.base/setshow.exp: Ditto.
418 * gdb.base/step-line.exp: Ditto.
419 * gdb.base/step-test.exp: Ditto.
420 * gdb.base/until.exp: Ditto.
421 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
423 2003-01-17 David Carlton <carlton@math.stanford.edu>
425 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
426 corresponding to PR c++/945.
429 2003-01-17 David Carlton <carlton@math.stanford.edu>
431 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
432 corresponding to PR c++/68.
434 2003-01-17 David Carlton <carlton@math.stanford.edu>
436 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
437 (test_paddr_hairy_functions): Call print_addr_2_kfail for
438 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
440 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
442 * gdb.base/break.exp: Fix change of default location, because of
443 removal of until tests.
444 * gdb.base/help.exp: Update test for new 'until' help message.
445 Add test for help on 'advance'.
446 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
448 2003-01-15 Mark Kettenis <kettenis@gnu.org>
450 * gdb.base/default.exp: Adapt "info float" test for recent changes
451 to that command. Add test for "info vector".
452 * gdb.base/float.exp: New file. Add test for "info float" that
453 resembles the old test in gdb.base/default.exp.
455 2003-01-15 David Carlton <carlton@math.stanford.edu>
457 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
459 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
461 * gdb.base/break.exp: Move the tests of until command from here...
462 * gdb.base/until.exp: ... to here. New file. Add other tests.
463 * gdb.base/advance.c: New file.
464 * gdb.base/advance.exp: New file.
466 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
468 * gdb.base/args.c: New file.
469 * gdb.base/args.exp: New file.
471 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
473 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
475 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
477 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
479 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
481 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
484 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
486 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
488 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
490 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
492 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
494 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
496 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
497 * gdb.mi/mi1-console.exp: Likewise.
499 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
501 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
502 * gdb.mi/mi1-console.exp: Likewise.
504 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
506 * gdb.c++/overload.exp: Remove some fixed XFAILs.
508 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
510 * gdb.base/detach.exp: New test.
512 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
514 * Makefile.in (ALL_SUBDIRS): New variable.
515 (subdirs, clean, distclean): Use it.
516 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
517 regenerating Makefile, since it is generated from the top level.
518 * gdb.asm/Makefile.in: Likewise.
519 * gdb.base/Makefile.in: Likewise.
520 * gdb.c++/Makefile.in: Likewise.
521 * gdb.disasm/Makefile.in: Likewise.
522 * gdb.java/Makefile.in: Likewise.
523 * gdb.mi/Makefile.in: Likewise.
524 * gdb.threads/Makefile.in: Likewise.
525 * gdb.trace/Makefile.in: Likewise.
527 2003-01-09 David Carlton <carlton@math.stanford.edu>
529 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
530 Add copyright year 2003.
532 2003-01-06 Michael Chastain <mec@shout.net>
534 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
535 When selecting a thread, 'line' and 'file' are optional.
536 * gdb.mi/mi1-pthreads.exp: Likewise.
538 2003-01-06 Andreas Schwab <schwab@suse.de>
540 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
543 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
546 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
547 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
549 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
550 instead of calling gdb_suppress_entire_file.
551 * gdb.threads/print-threads.exp: Likewise.
552 * gdb.threads/schedlock.exp: Likewise.
554 * gdb.threads/killed.exp: Return instead of calling
555 gdb_suppress_entire_file.
556 * gdb.threads/linux-dp.exp: Likewise.
557 * gdb.threads/pthreads.exp: Likewise.
559 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
561 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
563 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
564 * gdb.base/whatis.exp: Always allow (void) after function names.
566 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
568 * gdb.c++/casts.exp: Correct regexp.
570 2003-01-04 Mark Kettenis <kettenis@gnu.org>
572 * configure.in: Call AC_CONFIG_HEADER. Don't call
573 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
574 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
575 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
576 aforementioned directories in the AC_OUPUT call.
577 * config.hin: New file.
578 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
579 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
580 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
581 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
582 pass -I$objdir instead of -I$objdir/$subdir in compilation.
583 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
584 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
585 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
586 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
587 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
588 gdb.threads/configure.in, gdb.threads/configure,
589 gdb.threads/config.in, gdb.trace/configure.in,
590 gdb.trace/configure: Removed.
592 2003-01-03 Michael Chastain <mec@shout.net>
594 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
595 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
597 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
599 * gdb.base/store.exp: Fix regular expressions.
601 2002-12-28 Mark Kettenis <kettenis@gnu.org>
603 * configure.in: Rewrite.
604 * configure: Regenerated.
606 2003-01-03 David Carlton <carlton@math.stanford.edu>
608 * gdb.base/psymtab.exp: New file.
609 * gdb.base/psymtab1.c: Ditto.
610 * gdb.base/psymtab2.c: Ditto.
612 2002-12-23 Adam Fedor <fedor@gnu.org>
614 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
616 2002-12-23 David Carlton <carlton@math.stanford.edu>
618 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
619 and current_directory initialization.
621 2002-12-22 Jim Blandy <jimb@redhat.com>
623 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
624 rather than as part of the output file name.
626 * gdb.base/attach.exp: There's no need to copy the test program to
627 /tmp; that was only ever necessary on HP/UX, and this test is
628 entirely disabled there anyway.
630 2002-12-21 Jim Blandy <jimb@redhat.com>
632 * gdb.c++/psmang.exp: Doc fix.
634 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
637 2002-12-20 David Carlton <carlton@math.stanford.edu>
639 * gdb.c++/annota2.exp: KFAIL annotate-quit.
641 2002-12-18 Michael Chastain <mec@shout.net>
643 * gdb.c++/annota2.exp: Add copyright year 2002.
645 2002-12-17 David Carlton <carlton@math.stanford.edu>
647 * gdb.c++/try_catch.cc: Add marker comments.
648 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
649 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
650 * gdb.c++/m-static.cc: Ditto.
651 * gdb.c++/m-static1.cc: Ditto.
652 * gdb.c++/try_catch.cc: Ditto.
654 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
656 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
657 to see whether we are using the new -environment-directory
658 command which resets via -r or the old version of the command
659 which may prompt the user. Part of fix for gdb/741.
661 2002-12-13 Andrew Cagney <ac131313@redhat.com>
663 * gdb.fortran/types.exp: Update obsolete comment.
664 * gdb.fortran/exprs.exp: Ditto.
665 * lib/gdb.exp: Delete obsolete code.
666 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
667 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
668 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
669 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
670 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
671 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
672 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
673 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
674 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
675 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
676 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
677 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
678 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
679 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
680 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
681 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
682 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
683 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
684 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
685 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
686 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
687 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
688 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
689 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
690 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
691 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
692 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
693 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
694 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
695 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
696 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
697 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
698 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
699 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
700 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
701 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
702 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
704 2002-12-11 David Carlton <carlton@math.stanford.edu>
706 * gdb.c++/m-data.exp: Add test for members that shadow global
707 variables: see PR gdb/804.
708 * gdb.c++/m-data.cc: Ditto.
710 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
712 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
714 2002-12-06 David Carlton <carlton@math.stanford.edu>
716 * gdb.base/store.c: Don't declare functions static.
718 2002-12-04 Andrew Cagney <ac131313@redhat.com>
720 * gdb.base/store.exp, gdb.base/store.c: New files.
722 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
724 * gdb.base/selftest.exp: Update for current gdb.
726 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
728 * gdb.base/maint.exp: Only dump symbols from one source file
731 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
733 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
736 2002-11-25 Jim Blandy <jimb@redhat.com>
738 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
739 function appearing in error message.
741 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
743 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
745 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
747 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
748 for mi1 and current mi is in correct format. New mi startup message
749 should be in mi console format. This is part of fix for PR gdb/604.
751 2002-09-18 Fernando Nasser <fnasser@redhat.com>
753 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
754 which explicitly prints the zero offset as "+0".
756 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
758 * gdb.threads/schedlock.c (args): Make unsigned.
760 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
762 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
763 numbers. Allow "foo2|selected stack frame".
764 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
765 * gdb.asm/asmsrc2.s: Likewise.
766 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
768 * gdb.asm/mips.inc: New file.
770 2002-10-18 Adam Fedor <fedor@gnu.org>
772 * gdb.base/default.exp: Update expected output to include 'ObjC'.
773 * gdb.base/help.exp: Likewise.
775 2002-10-17 Kevin Buettner <kevinb@redhat.com>
777 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
778 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
780 2002-10-02 Jim Blandy <jimb@redhat.com>
782 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
784 2002-10-01 Andrew Cagney <ac131313@redhat.com>
786 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
787 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
788 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
789 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
790 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
791 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
792 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
794 2002-09-29 Andrew Cagney <ac131313@redhat.com>
796 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
797 * mi0-disassemble.exp, mi0-eval.exp: Delete.
798 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
799 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
800 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
801 * mi0-var-block.exp, mi0-var-child.exp: Delete.
802 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
804 2002-09-27 Kevin Buettner <kevinb@redhat.com>
806 * gdb.base/annota1.exp (info break): Make directory components of
807 path optional since not all compilers emit this debug information.
809 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
810 step ends up stepping out of the function instead of stopping on
813 2002-09-26 Keith Seitz <keiths@redhat.com>
815 * lib/insight-support.exp (gdbtk_start): Figure out where
816 the insight executable is based on where gdb is. Use this
817 executable to start insight instead of gdb.
819 2002-09-25 Andrew Cagney <cagney@redhat.com>
821 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
823 2002-09-24 Andrew Cagney <ac131313@redhat.com>
825 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
826 test_isolated_complaints.
827 (test_empty_complaint): New function.
828 (test_empty_complaints): New function. Check no output when no
831 2002-09-19 Jim Blandy <jimb@redhat.com>
833 * gdb.base/charset.exp, gdb.base/charset.c: New files.
835 2002-09-19 Andrew Cagney <ac131313@redhat.com>
837 * gdb.gdb/complaints.exp: New file.
839 2002-09-18 Andrew Cagney <ac131313@redhat.com>
841 * gdb.base/maint.exp: Check `help maint internal-warning'.
843 2002-09-18 David Carlton <carlton@math.stanford.edu>
845 * gdb.c++/m-static.exp: Remove breakpoints depending on line
846 numbers, and replace them by a single breakpoint after the
847 constructors are all finished.
849 * gdb.c++/m-static.cc: Add test 4.
850 * gdb.c++/m-static.h: New file.
851 * gdb.c++/m-static1.cc: New file.
853 * gdb.c++/printmethod.exp: New file.
854 * gdb.c++/printmethod.cc: New file.
856 * gdb.c++/pr-574.exp: New file.
857 * gdb.c++/pr-574.cc: New file.
859 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
861 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
862 embedded targets which never actually exit.
864 2002-09-18 Fernando Nasser <fnasser@redhat.com>
866 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
867 "don't step after run" as unresolved or unsupported, instead of xfail.
869 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
871 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
872 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
873 Add newline to expected string in "step out of main (status wrapper)"
876 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
878 * lib/gdb.exp (rerun_to_main): Allow restarting application.
879 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
881 2002-09-17 Tom Tromey <tromey@redhat.com>
883 * gdb.base/printcmds.exp (test_print_string_constants): Expect
884 \000, not \0, in double-quoted string.
886 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
888 * gdb.base/command.exp: Don't expect a "Program exited normally"
889 string after running the commands execution on breakpoint tests.
891 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
893 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
895 2002-09-12 Joel Brobecker <brobecker@gnat.com>
897 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
899 2002-09-10 Keith Seitz <keiths@redhat.com>
901 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
903 (mi_run_to_main): Use mi_runto.
904 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
906 2002-09-10 Keith Seitz <keiths@redhat.com>
908 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
909 regexp for stopping at main. Could have multiple event notifications.
910 Don't assume that main was declared with no parameters.
911 (mi_next): Use mi_step_to.
912 (mi_step): Use mi_next_to.
914 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
916 * gdb.base/default.exp: Fix expected string in `info float' test.
918 2002-09-09 Ben Elliston <bje@redhat.com>
920 * config/mips.exp: Update comments.
921 * config/mips-idt.exp: Likewise.
922 * config/nind.exp: Likewise.
923 * config/slite.exp: Likewise.
924 * config/sparclet.exp: Likewise.
925 * config/udi.exp: Likewise.
926 * config/vx.exp: Likewise.
927 * config/vxworks29k.exp: Likewise.
929 2002-09-05 Jim Blandy <jimb@redhat.com>
931 * gdb.threads/killed.exp: Fix test failure message.
933 2002-09-04 Keith Seitz <keiths@redhat.com>
935 * lib/mi-support.exp: Update copyright.
936 (mi_gdb_test): Increase the priority of the expected pattern
937 so that it matches gdb_test.
939 2002-09-03 Keith Seitz <keiths@redhat.com>
941 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
942 Use integer comparison instead of string comparison for testing
943 whether binary was built.
945 2002-09-03 Jim Blandy <jimb@redhat.com>
947 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
949 2002-08-29 Jim Blandy <jimb@redhat.com>
951 * gdb.threads/pthreads.exp: Move the portable thread compilation
952 code into a function in lib/gdb.exp, and call that from here.
953 * lib/gdb.exp (gdb_compile_pthreads): New function.
955 2002-08-29 Keith Seitz <keiths@redhat.com>
957 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
958 expect_out so that callers can get at it.
960 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
962 * gdb.threads/print-threads.c: New file.
963 * gdb.threads/print-threads.exp: New file.
964 * gdb.threads/schedlock.c: New file.
965 * gdb.threads/schedlock.exp: New file.
967 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
969 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
972 2002-08-17 Mark Kettenis <kettenis@gnu.org>
974 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
975 targets. The problem should be fixed now.
977 2002-08-15 Mark Kettenis <kettenis@gnu.org>
979 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
980 2002-07-24 change that removes final dots from error messages.
982 2002-08-13 Tom Tromey <tromey@redhat.com>
984 * gdb.base/readline.exp: New file.
986 2002-08-01 Andrew Cagney <ac131313@redhat.com>
988 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
991 2002-08-01 Andrew Cagney <cagney@redhat.com>
993 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
994 CHILL_FOR_TARGET and CHILL_LIB.
995 * configure.in (configdirs): Remove gdb.chill.
996 * configure: Regenerate.
997 * lib/gdb.exp: Obsolete references to chill.
998 * gdb.fortran/types.exp: Ditto.
999 * gdb.fortran/exprs.exp: Ditto.
1001 2002-07-30 Kevin Buettner <kevinb@redhat.com>
1003 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1004 set Irix-specific compile and link flags.
1006 2002-07-29 Kevin Buettner <kevinb@redhat.com>
1008 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1009 source files. The ``-o'' option doesn't work with the ``-E'' option
1010 when using the Irix compiler.
1012 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
1014 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1015 Improve support for reusing an exec file. Copy exec file
1016 to target, and run gdbserver on the target instead of on the host.
1018 2002-07-18 Jim Blandy <jimb@redhat.com>
1020 * gdb.base/ending-run.exp: Don't expect to see the program end in
1021 some orderly fashion when we're running on a real stand-alone
1024 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1025 targets that don't support interrupts.
1027 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1029 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1031 Move comments in expect statements to inside the actions, so that they
1032 don't get matched against.
1034 2002-07-10 Mark Kettenis <kettenis@gnu.org>
1036 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1037 function when asleep" test.
1039 2002-07-10 Andrew Cagney <ac131313@redhat.com>
1041 * gdb.base/page.exp: Rewrite to handle problems with very long
1042 `info set' output. Update copyright.
1044 2002-06-26 Andrew Cagney <ac131313@redhat.com>
1046 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1048 * gdb.hp/configure: Regenerate.
1049 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1050 * gdb.hp/gdb.threads-hp/configure: Delete file.
1051 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1053 2002-06-22 Andrew Cagney <ac131313@redhat.com>
1055 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1056 setlocale, bindtextdomain and textdomain.
1058 2002-06-11 Jim Blandy <jimb@redhat.com>
1060 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1061 preprocessor macro information is present.
1063 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1066 2002-06-06 Michael Snyder <msnyder@redhat.com>
1068 * gdb.base/overlays.exp: Record addresses of overlay
1069 functions in TCL variables rather than in GDB variables,
1070 to avoid having GDB convert them to pointers (with loss
1073 * gdb.base/d10v.ld: Merge in several years worth of
1074 default linker script changes.
1075 * gdb.base/long_long.exp: Add check for sizeof (long double).
1077 2002-06-06 Michal Ludvig <mludvig@suse.cz>
1079 * gdb.asm/asm-source.exp: Add x86-64 target.
1080 * gdb.asm/x86_64.inc: New.
1082 2002-05-30 Michael Chastain <mec@shout.net>
1084 From Benjamin Kosnik <bkoz@redhat.com>:
1085 * gdb.c++/m-static.cc: New file.
1086 * gdb.c++/m-static.exp: New file.
1088 2002-05-28 Michael Snyder <msnyder@redhat.com>
1090 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1093 2002-05-27 Michael Chastain <mec@shout.net>
1095 From Benjamin Kosnik <bkoz@redhat.com>:
1096 * gdb.c++/m-data.cc: New file.
1097 * gdb.c++/m-data.exp: New file.
1099 2002-05-27 Michael Chastain <mec@shout.net>
1101 From Benjamin Kosnik <bkoz@redhat.com>:
1102 * gdb.c++/try_catch.cc: New file.
1103 * gdb.c++/try_catch.exp: New file.
1105 2002-05-27 Michael Chastain <mec@shout.net>
1107 * gdb.c++/local.exp: Accept more nested types in output.
1109 2002-05-26 Michael Chastain <mec@shout.net>
1111 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1113 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1115 * lib/gdb.exp (gdb_wrapper_init): Just because
1116 gdb_wrapper_file exists, this does not mean that the file
1117 should not be rebuilt. That is what gdb_wrapper_initialized
1119 (default_gdb_init): Reset gdb_wrapper_initialized.
1121 2002-05-23 Michael Snyder <msnyder@redhat.com>
1123 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1124 the precision of the floating point test results.
1125 * gdb.base/call-rt-st.exp: Ditto.
1127 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1128 * gdb.base/call-rt-st.exp: Ditto.
1130 2002-05-19 Michael Chastain <mec@shout.net>
1132 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1134 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
1136 * configure.in (configdirs): Add gdb.arch.
1137 * configure: Regenerate.
1139 2002-05-17 Jim Blandy <jimb@redhat.com>
1141 * gdb.base/completion.exp: Recognize the more detailed error
1142 messages produced by the macro expander's lexical analyzer.
1144 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1146 * gdb.arch/altivec-abi.c: New file.
1147 * gdb.arch/altivec-abi.exp: New file.
1148 * gdb.arch/altivec-regs.c: New file.
1149 * gdb.arch/altivec-regs.exp: New file.
1151 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
1153 * gdb.base/maint.exp (maint print type): Update for new type
1156 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1158 * gdb.arch: New directory.
1159 * gdb.arch/configure.in: New file.
1160 * gdb.arch/configure: New file.
1161 * gdb.arch/Makefile.in: New file.
1163 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
1165 * gdb.asm/asm-source.exp: Add v850 as supported target.
1166 * gdb.asm/v850.inc: New file.
1168 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
1170 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1172 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
1174 * gdb.base/break.exp: Check 'break "marker2"'.
1176 2002-05-10 Michael Snyder <msnyder@redhat.com>
1178 * gdb.base/long_long.exp: Fix typo.
1180 2002-05-10 Jim Blandy <jimb@redhat.com>
1182 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1185 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1186 Recognize more detailed error message produced by the macro
1187 expander's lexical analyzer.
1188 * lib/gdb.exp (test_print_reject): Same.
1190 2002-05-09 Mark Kettenis <kettenis@gnu.org>
1192 * gdb.c++/method.exp: Fix typo.
1194 2002-05-08 Michael Snyder <msnyder@redhat.com>
1196 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1197 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
1198 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
1199 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1200 Add iftarget clause for strongarm.
1202 2002-05-06 Michael Snyder <msnyder@redhat.com>
1204 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1205 (gdb_continue_to_end): Accept output from status wrapper.
1206 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1207 Clean up fail messages to match pass messages.
1209 Enable the "needs_status_wrapper" testsuite feature.
1210 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1211 (gdb_compile): Conditionally call gdb_wrapper_init.
1212 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1213 * gdb.c++/method.exp: Recognize output from status wrapper.
1215 2002-05-06 Ben Elliston <bje@redhat.com>
1216 From Graydon Hoare <graydon@redhat.com>
1218 * config/sid.exp: Include support for "rawsid" protocol.
1220 2002-05-03 Jim Blandy <jimb@redhat.com>
1222 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1223 * gdb.c++/hang3.C: New file.
1225 2002-05-04 Andrew Cagney <ac131313@redhat.com>
1227 * gdb.base/default.exp: Remove obsolete code.
1228 * gdb.c++/misc.exp: Ditto. Update copyright.
1229 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1230 * gdb.base/whatis.exp: Ditto. Update copyright.
1231 * gdb.base/scope.exp: Ditto. Update copyright.
1232 * gdb.base/ptype.exp: Ditto. Update copyright.
1233 * gdb.base/printcmds.exp: Ditto. Update copyright.
1234 * gdb.base/opaque.exp: Ditto. Update copyright.
1235 * gdb.base/list.exp: Ditto.
1236 * gdb.base/funcargs.exp: Ditto. Update copyright.
1237 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1238 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1239 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1240 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1241 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1242 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1244 2002-05-02 Michael Snyder <msnyder@redhat.com>
1246 * gdb.base/watchpoint.exp: Add xscale target.
1247 * gdb.base/long_long.exp: Add xscale target.
1248 * gdb.base/default.exp: Add xscale target.
1250 2002-05-01 Jim Blandy <jimb@redhat.com>
1252 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1253 gdb.c++/hang.exp: New test.
1255 2002-05-01 Fred Fish <fnf@redhat.com>
1257 * gdb.base/completion.exp: Handle completions of "./Make" for
1258 more than one completion possibility, as is the case when we
1259 build and test in the source tree.
1261 2002-04-29 Anthony Green <green@redhat.com>
1263 * gdb.java/jmisc1.exp: New file.
1264 * gdb.java/jmisc2.exp: New file.
1266 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
1268 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1270 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
1272 * gdb.base/help.exp: Change 'help status' to allow for target
1273 dependent output differences.
1275 2002-04-22 Michael Chastain <mec@shout.net>
1277 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1279 2002-04-22 Michael Chastain <mec@shout.net>
1281 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1283 2002-04-17 David S. Miller <davem@redhat.com>
1285 * gdb.asm/sparc64.inc: New file.
1286 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1288 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
1290 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1291 instruction file directly into the build tree. Clean up at end of
1294 2002-04-18 David S. Miller <davem@redhat.com>
1296 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1297 handle 64-bit platforms correctly.
1298 * gdb.base/maint.exp: Likewise.
1300 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1302 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1303 ``-fpic'' when compiling files comprising a shared library, but
1304 it does need additional linker flags in order to find shared
1305 libraries at run time.
1307 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1309 * gdb.base/cvexpr.c (use): New function.
1310 (main): Invoke use() on all global variables to prevent
1311 some linkers from deleting these otherwise unused symbols.
1313 2002-04-17 Michael Chastain <mec@shout.net>
1314 From David S. Miller <davem@redhat.com>
1316 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1317 handle 64-bit platforms correctly.
1319 2002-04-12 Michael Snyder <msnyder@redhat.com>
1320 From Jim Blandy <jimb@redhat.com>
1321 * gdb.base/foo.c (foox): Remove section attribute; the linker
1322 script can handle this instead.
1323 * gdb.base/bar.c (barx): Same.
1324 * gdb.base/baz.c (bazx): Same.
1325 * gdb.base/grbx.c (grbxx): Same.
1327 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1328 manager doesn't automatically unmap overlays unnecessarily.
1330 2002-04-10 Martin M. Hunt <hunt@redhat.com>
1332 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1333 stepping out of main.
1335 2002-04-09 Michael Chastain <mec@shout.net>
1337 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1338 scope so that the nested scope tests will make sense.
1339 * gdb.c++/local.exp: Write patterns that actually work with gcc
1340 (the HP patterns "were never known to work with gcc").
1341 Keep the old aCC patterns too.
1343 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1345 * gdb.base/attach.exp: Correct target board test.
1347 2002-04-08 Michael Chastain <mec@shout.net>
1349 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1350 in a const method. Add some xfail and fail cases for configurations
1351 that do not emit the "const ...".
1353 2002-04-07 Michael Chastain <mec@shout.net>
1355 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1356 Accept "A * const" and "const A * const" as type of "this".
1357 Fix spelling of getFunky throughout. Make messages uniform.
1359 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1361 Work around for PR gdb/285:
1362 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1364 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1366 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1367 instructions file at run time instead of configure time.
1368 Sometimes we run the test in a directory that is not the one we
1370 * gdb.asm/configure.in: Delete creation of symlink.
1371 * gdb.asm/configure: Regenerate.
1373 2002-04-05 J. Brobecker <brobecker@gnat.com>
1375 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1376 xfullpath () function.
1378 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1380 * gdb.asm/Makefile.in: Correct dependencies.
1382 * gdb.asm/powerpc.inc: New file.
1383 * gdb.asm/asm-source.exp: Add PowerPC.
1384 * gdb.asm/configure.in: Likewise.
1385 * gdb.asm/configure: Regenerated.
1387 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1389 * gdb.base/relocate.exp: New file.
1390 * gdb.base/relocate.c: New file.
1392 2002-04-04 Fred Fish <fnf@redhat.com>
1394 * gdb.base/step-test.exp: Update comment regarding stopping in
1395 memcpy/bcopy calls inserted as part of the compiler runtime.
1397 2002-04-04 Michael Snyder <msnyder@redhat.com>
1399 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1401 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
1403 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1404 (gdb_expect): Remove $notransfer hack.
1406 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
1408 * gdb.c++/classes.exp ("calling method for small class"): Match
1409 updated register output.
1411 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1414 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1415 when finished. Make gdb_file_cmd send "exec-file" when
1418 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1420 * gdb.base/attach.exp: Remove extra setup_xfail.
1422 2002-03-26 Michael Snyder <msnyder@redhat.com>
1424 * gdb.base/default.exp: Add tests for dump, append, and restore.
1425 * gdb.base/help.exp: Add tests for dump, append, and restore.
1426 * gdb.base/dump.exp: New file, test dump, append and restore.
1427 * gdb.base/dump.c: New file.
1429 2002-03-27 Michael Snyder <msnyder@redhat.com>
1431 * gdb.base/help.exp: Modify expect strings to reflect
1432 clean-ups in help messages.
1434 2002-03-26 Fred Fish <fnf@redhat.com>
1436 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1437 have debugging info for those functions and the compiler uses them
1438 internally to copy structs around.
1440 2002-03-26 Fred Fish <fnf@redhat.com>
1442 * gdb.base/list.exp: Revert the change made yesterday and add note
1443 about why we don't list the default lines for remote targets.
1445 2002-03-25 Michael Snyder <msnyder@redhat.com>
1447 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1449 2002-03-25 Fred Fish <fnf@redhat.com>
1451 * gdb.base/list.exp: This test works on remote targets so remove
1452 the short circuit for remote targets. Update copyright.
1454 2002-03-25 Fred Fish <fnf@redhat.com>
1456 * gdb.base/attach.exp: Fix logic error that was suppressing this
1457 test for all non hppa*-*-hpux* targets, instead of the hp target.
1458 Move comments closer to the suppression point. Also now need to
1459 check that we are running natively.
1461 2002-03-22 Michael Snyder <msnyder@redhat.com>
1463 * gdb.base/default.exp: Add test for gcore. Update copyright.
1464 * gdb.base/help.exp: Add test for gcore. Update copyright.
1466 2002-03-06 Fred Fish <fnf@redhat.com>
1468 * gdb.base/funcargs.c: Remove extraneous ';' character.
1469 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1471 2002-03-04 Michael Chastain <mec@shout.net>
1473 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1474 accommodate gcc v3 function signature.
1475 * gdb.mi/mi0-var-cmd-exp: Ditto.
1477 2002-02-24 Andrew Cagney <ac131313@redhat.com>
1479 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1480 ``GNU/Linux'' or ``Linux kernel''
1481 * testsuite/gdb.threads/pthreads.c: Ditto.
1483 2002-02-24 Michael Chastain <mec@shout.net>
1485 * gdb.threads/pthreads.c (thread1): Add a return statement.
1486 (thread2): Likewise.
1489 2002-02-23 Michael Chastain <mec@shout.net>
1491 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1494 2002-02-23 Michael Chastain <mec@shout.net>
1496 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1497 test "ptype bint". The test passes on all my stabs configurations.
1499 2002-02-21 Jim Blandy <jimb@redhat.com>
1501 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1502 filename at a time, and watch for the ones we want to see.
1504 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1505 types of pointers to prototyped functions.
1507 2002-02-20 Andrew Cagney <ac131313@redhat.com>
1509 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1510 signed, unsigned and straight char.
1511 (padding_char, padding_short, padding_int, padding_long,
1512 padding_long_long, padding_float, padding_double,
1513 padding_long_double): New global variables.
1514 (fill, fill_structs): New functions.
1516 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1517 for correctly sized writes. Update copyright.
1518 (get_valueof): New procedure.
1519 (get_sizeof): Call get_valueof.
1520 (check_valueof): New procedure.
1521 (check_padding): New procedure.
1523 2002-02-20 Michael Chastain <mec@shout.net>
1525 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1526 to setup_xfail. Document some of the remaining calls.
1528 2002-02-18 Michael Chastain <mec@shout.net>
1530 * gdb.c++/userdef.exp: Update copyright year.
1532 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
1534 * gdb.c++/userdef.exp: Test overloaded operators properly.
1537 2002-02-14 Michael Snyder <msnyder@redhat.com>
1539 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1541 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1543 * gdb.base/a2-run.exp: Check for a remote target properly.
1544 * gdb.base/annota1.exp: Likewise.
1545 * gdb.base/list.exp: Likewise.
1546 * gdb.base/reread.exp: Likewise.
1547 * gdb.base/scope.exp: Likewise.
1548 * gdb.base/shlib-call.exp: Likewise.
1549 * gdb.base/term.exp: Likewise.
1550 * gdb.c++/annota2.exp: Likewise.
1552 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
1554 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1556 2002-02-10 Michael Chastain <mec@shout.net>
1558 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1559 (call_after_alloca): Ditto.
1561 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1563 * gdb.base/ending-run.exp: Guard "cont" test with
1564 gdb_skip_stdio_test.
1566 2002-02-06 Jim Blandy <jimb@redhat.com>
1568 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1570 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1571 To here. Disable this test on non-HP platforms. Add big comment.
1573 2002-02-04 Michael Snyder <msnyder@redhat.com>
1575 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1576 other than d10v and m32r.
1578 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
1580 * gdb.base/default.exp: Rewrite test patterns to reduce time
1581 taken to match them.
1583 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1585 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1586 Allow a start function above main.
1587 * gdb.threads/linux-dp.exp: Fix copyright date.
1589 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1591 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1592 (check_philosopher_stack): Check for manager thread before checking
1593 for a just-starting thread.
1595 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1597 From Neil Booth <neil@daikokuya.demon.co.uk>:
1598 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1601 2002-01-21 Fred Fish <fnf@redhat.com>
1603 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1606 2002-01-21 Jim Blandy <jimb@redhat.com>
1608 * gdb.base/reread.exp: Check that GDB properly re-reads the
1609 executable file when it changes while no inferior is running.
1611 2002-01-21 Fred Fish <fnf@redhat.com>
1613 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1614 optionally accept the "shlib events" variation.
1616 2002-01-21 Jim Blandy <jimb@redhat.com>
1618 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1619 call `fflush' after every `printf', so that the output is produced
1620 at predictable points, regardless of whatever buffering does (or
1621 doesn't) take place.
1622 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1623 at different points.
1625 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1627 * gdb.c++/inherit.exp: Update copyright years.
1628 * gdb.c++/method.exp: Likewise.
1630 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1632 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1633 artificial methods/arguments.
1634 * gdb.c++/derivation.exp: Likewise.
1635 * gdb.c++/inherit.exp: Likewise.
1636 * gdb.c++/method.exp: Likewise.
1637 * gdb.c++/virtfunc.exp: Likewise.
1639 2002-01-18 Andrew Cagney <ac131313@redhat.com>
1641 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1642 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1643 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1644 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1645 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1646 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1648 2002-01-17 Jim Blandy <jimb@redhat.com>
1650 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1651 anchoring the pattern matching the entry point symbol's name.
1653 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1655 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1656 continue/quit query. Update copyright.
1658 2002-01-14 Michael Snyder <msnyder@redhat.com>
1660 * gdb.base/gcore.exp: Remove extra debugging output.
1662 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1664 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1665 for slightly dubious v2 mangled string.
1667 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1669 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1671 2002-01-10 Jason Merrill <jason@redhat.com>
1673 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
1675 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1677 * gdb.c++/derivation.exp: Likewise.
1678 * gdb.c++/templates.exp: Likewise.
1679 * gdb.c++/virtfunc.exp: Likewise.
1681 2002-01-10 Michael Snyder <msnyder@redhat.com>
1683 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
1685 2002-01-08 Michael Snyder <msnyder@redhat.com>
1687 * gdb.base/gcore.exp: New test for generate-core-file command.
1688 * gdb.base/gcore.c: Testcase for above.
1689 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1691 2002-01-08 Jason Merrill <jason@redhat.com>
1693 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1695 2002-01-07 Fred Fish <fnf@redhat.com>
1697 * gdb.c++/overload.exp: Remove unconditional xfails for:
1698 print foo_instance1.overloadargs(1)
1699 print foo_instance1.overloadargs(1, 2)
1700 print foo_instance1.overloadargs(1, 2, 3)
1701 print foo_instance1.overloadargs(1, 2, 3, 4)
1702 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1703 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1704 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1705 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1706 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1707 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1708 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1709 print foo_instance1.overload1arg()
1710 print foo_instance1.overload1arg((char)arg2)
1711 print foo_instance1.overload1arg((signed char)arg3)
1712 print foo_instance1.overload1arg((unsigned char)arg4)
1713 print foo_instance1.overload1arg((int)arg7)
1714 print foo_instance1.overload1arg((unsigned int)arg8)
1715 print foo_instance1.overload1arg((float)arg11)
1716 print foo_instance1.overload1arg((double)arg12)
1718 2002-01-07 Michael Snyder <msnyder@redhat.com>
1720 * gdb.base/huge.exp: New test. Print a very large target data object.
1721 (skip_huge_test): New test variable. Define if you want to skip this
1722 test. The test reads an 8 megabyte data object from the target, so it
1723 might be very time consuming on remote targets with a slow connection.
1724 * gdb.base/huge.c: New file. Test case for above.
1726 2002-01-07 Fred Fish <fnf@redhat.com>
1728 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1729 g_instance.bfoo, and g_instance.cfoo.
1731 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1733 * gdb.base/break.c (multi_line_if_conditional): New function.
1734 (multi_ilne_while_conditional): Likewise.
1735 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1736 IF or WHILE condition puts the breakpoint at the start of
1739 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1740 hppa*-*-hpux* expected failure.
1741 * gdb.base/structs.exp (do_function_calls): Similarly.
1743 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1746 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1749 * gdb.base/structs.exp: Replace skip for a29k with skip for
1750 gdb,cannot_call_functions.
1751 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1752 * gdb.base/callfuncs.exp: Ditto.
1753 * gdb.base/call-rt-st.exp: Ditto.
1754 * gdb.base/call-strs.exp: Ditto.
1755 * gdb.base/callfwmall.exp: Ditto.
1756 * gdb.base/scope.exp: Obsolete xfail a29k.
1757 * gdb.c++/misc.exp: Ditto.
1758 * gdb.c++/cplusfuncs.exp: Ditto.
1759 * gdb.base/ptype.exp: Ditto.
1760 * gdb.base/printcmds.exp: Ditto.
1761 * gdb.base/opaque.exp: Ditto.
1762 * gdb.base/list.exp: Ditto.
1763 * gdb.base/funcargs.exp: Ditto.
1764 * gdb.base/default.exp: Ditto.
1766 2002-01-04 Michael Snyder <msnyder@redhat.com>
1768 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
1769 * gdb.base/maint.exp: Add tests for maint info sections options.
1771 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1773 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1775 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
1777 * gdb.asm/arm.inc: New file.
1778 * gdb.asm/asm-source.exp: Add arm targets.
1779 * gdb.asm/configure.in: Ditto.
1780 * gdb.asm/configure: Recreated from configure.in.
1782 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1784 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1786 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1787 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1788 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1789 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1791 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1792 either HP's compilers or GCC.
1794 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1795 a SIGBUS or SIGSEGV.
1797 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1799 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1800 can be compiled with either HP's compiler or GCC.
1802 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1803 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1804 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1806 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1807 to match current gdb output. Update due to using auto-solib-limit
1808 for limiting instead of overloading auto-solib-add.
1809 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1812 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
1813 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1814 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1815 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1816 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1817 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1818 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1819 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1820 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1821 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1822 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1823 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1824 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
1826 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1827 a SIGTRAP to the inferior.
1829 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
1831 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1832 Substitute call to target_link by call to gdb_compile.
1834 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1836 * gdb.base/break.exp: Fix HP specific search string when testing
1837 backtracing in a called function.
1839 * gdb.base/constvars.exp: Only set lang to C++ if we're
1840 compiling the test with HP's compilers.
1841 * gdb.base/volatile.exp: Similarly.
1843 2001-12-19 Jim Blandy <jimb@redhat.com>
1845 * gdb.base/printcmds.exp: Expect the null character to be printed
1846 as '\0', and the '\013' to be printed as '\v'.
1847 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1848 * gdb.base/setvar.exp: Same.
1850 2001-12-17 Jim Blandy <jimb@redhat.com>
1852 * gdb.base/completion.exp: Rather than completing very long
1853 filenames, which can make the readline library produce output we
1854 don't recognize, cd to the directory first, and then complete
1855 using nice, short relative paths.
1857 * gdb.base/completion.exp: On some systems, there is, in fact, a
1858 variable named `b' in scope, since GDB treats all static
1859 variables as being in scope. So use `no_var_named_this'
1862 * gdb.base/corefile.exp: Recognize the message saying that GDB
1863 can't find the core file's registers as a failure.
1865 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1867 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1868 test expect string more specific.
1870 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
1872 * gdb.asm/asm-source.exp: Add support for xstormy16.
1873 * gdb.asm/configure.in: Ditto.
1874 * gdb.asm/configure: Rebuild.
1875 * gdb.asm/xstormy16.inc: New file.
1877 2001-12-10 Fred Fish <fnf@redhat.com>
1879 * gdb.base/maint.exp: Update to match changes in type dumping code.
1881 2001-12-10 Jim Blandy <jimb@redhat.com>
1883 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1884 matching the entry point symbol's name at the beginning of the
1887 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
1889 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1890 gdb.c++/inherit.exp, gdb.c++/method.exp,
1891 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1892 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1893 and class layout support.
1895 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
1897 * gdb.c++/classes.exp: Add test for static member function.
1898 * gdb.c++/misc.cc: Add class with static member function.
1900 2001-12-07 Jim Blandy <jimb@redhat.com>
1902 If GDB says it can't find the struct the function returned, report
1903 those tests as `unsupported'.
1904 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1905 Rewrite subsequent tests to use it.
1907 If GDB says it can't find the struct the function returned, report
1908 those tests as `unsupported'.
1909 * gdb.base/structs.exp (call_struct_func): New function.
1910 (do_function_calls): Use call_struct_func to call the functions
1913 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1914 whether functions are prototyped or not, so we can't possibly pass
1915 arguments to t_float_values2 properly.
1917 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1918 value of `timeout' for targets other than the mips*tx39-*.
1920 2001-12-06 Michael Snyder <msnyder@redhat.com>
1922 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1923 and detect whether the start symbol has a leading underscore.
1925 2001-12-04 Jim Blandy <jimb@redhat.com>
1927 * gdb.base/completion.exp: Clarify indentation.
1929 2001-12-03 Jim Blandy <jimb@redhat.com>
1931 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1932 variables on the S/390, not `.word'.
1934 2001-11-30 Jim Blandy <jimb@redhat.com>
1936 Add assembly-source tests for s390-ibm-linux.
1937 * gdb.asm/s390.inc: New file.
1938 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1939 the S/390 architecture.
1940 * gdb.asm/configure: Regenerated.
1942 2001-11-30 Michael Snyder <msnyder@redhat.com>
1944 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1945 next, info source, info sources, info line, global and static
1946 variables, and static functions.
1947 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1948 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1949 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1950 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1951 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1952 (gdbasm_leave): Restore frame pointer.
1953 (gdbasm_startup): Copy stack set-up from crt0.S.
1955 2001-11-26 Fernando Nasser <fnasser@redhat.com>
1957 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1958 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1959 to a local (non-static) variable. Copy tstruct.a to a static buffer
1960 and return a pointer to that buffer.
1961 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1963 2001-11-24 Mark Kettenis <kettenis@gnu.org>
1965 * gdb.asm/configure.in: Fix recognition of ix86 target.
1966 * gdb.asm/configure: Regenerate.
1968 2001-11-21 Michael Snyder <msnyder@redhat.com>
1970 * gdb.asm/sparc.inc: New file.
1971 * gdb.asm/asm-source.exp: Recognize sparc target.
1972 * gdb.asm/configure.in: Recognize sparc target.
1973 * gdb.asm/configure: Regenerate.
1975 2001-11-21 Michael Snyder <msnyder@redhat.com>
1977 * gdb.asm/m32r.inc: New file.
1978 * gdb.asm/asm-source.exp: Recognize m32r target.
1979 * gdb.asm/configure.in: Recognize m32r target.
1980 * gdb.asm/configure: Regenerate.
1982 2001-11-20 Michael Snyder <msnyder@redhat.com>
1984 * gdb.asm/i386.inc: New file.
1985 * gdb.asm/asm-source.exp: Recognize ix86 target.
1986 * gdb.asm/configure.in: Recognize ix86 target.
1987 * gdb.asm/configure: Regenerate.
1989 * gdb.c++/namespace.exp: Fix quotes in output messages.
1991 2001-11-14 Michael Snyder <msnyder@redhat.com>
1993 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
1994 qualifier in a type cast expression, to designate an address
1995 in the instruction space (Harvard architecture).
1997 2001-11-13 Michael Snyder <msnyder@redhat.com>
1999 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2000 Tests for expressions using 'const' and 'volatile'.
2002 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
2004 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2006 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
2008 * lib/mi-support.exp (mi_run_to_helper): Move comments
2009 outside of gdb_expect.
2011 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
2013 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2014 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2015 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2016 mi0_run_to): New functions.
2017 * gdb.mi/mi-simplerun.exp: Use them.
2018 * gdb.mi/mi0-simplerun.exp: Likewise.
2019 * gdb.mi/mi-var-cmd.exp: Likewise.
2020 * gdb.mi/mi0-var-cmd.exp: Likewise.
2022 2001-11-10 Andrew Cagney <ac131313@redhat.com>
2024 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2025 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2027 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2029 * gdb.base/restore.exp: Include $expected value in restored test
2032 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2034 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2037 2001-11-08 Michael Snyder <msnyder@redhat.com>
2039 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2040 Add pass/fail message for stop at breakpoint in call dummy function.
2042 2001-11-07 Michael Snyder <msnyder@redhat.com>
2044 * gdb.c++/templates.exp (test_template_breakpoints):
2045 If we get an overload menu, but it does not match what
2046 we expect, we still need to issue the "cancel" command.
2047 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2048 making the whitespace optional. Argument for "new" may be
2049 "unsigned" as well as "unsigned int/long".
2050 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2051 making the whitespace optional. Also replace "(void) with
2052 "((void|)), making the keyword "void" optional.
2053 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2054 making the whitespace optional. Also replace "(void) with
2055 "((void|)), making the keyword "void" optional.
2056 * gdb.base/callfuncs.c (t_float_values): This function must
2057 _not_ be prototyped, and the following function (t_float_values2)
2058 must be prototyped (if the compiler supports it), so that GDB
2059 can be tested against both cases. Usually one case involves
2060 promotion of float to double, while the other does not.
2061 * gdb.base/callfwmall.c: Ditto.
2062 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2063 includes a stack frame for "start".
2065 2001-11-05 Jim Blandy <jimb@redhat.com>
2067 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2068 pointers are 32 bits long, and that offsets of relocs are always
2069 stored in the data (REL-style), and not in the reloc entry itself
2071 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2074 2001-11-01 Michael Snyder <msnyder@redhat.com>
2076 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2077 and regular expression operators by using quoting.
2079 2001-10-31 Michael Snyder <msnyder@redhat.com>
2081 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2082 depending on what the symbol table contains.
2083 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2084 the output of the ptype command. Similarly, accept both "const &"
2087 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
2089 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2090 symbol `STORAGE' to allow to choose the storage class of
2091 the local datastructures.
2092 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2095 2001-10-30 Michael Snyder <msnyder@redhat.com>
2097 * gdb.base/jump.exp: Allow it to run for all targets.
2099 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2101 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2102 with new double_array size.
2103 (main): Change storage class of all local variables to static.
2104 Reduce size of double_array to 9.
2105 * gdb.base/call-ar-st.exp: Increase timeout value.
2106 Change expected output for double array to match new size in
2109 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2111 * gdb.base/ending-run.exp: Create identical output when passing
2112 `step to end of run' case. Add regular expression branch satisfying
2115 2001-10-28 Mark Kettenis <kettenis@gnu.org>
2117 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2118 that we catch the expected failure under Linux/x86.
2120 2001-10-29 Orjan Friberg <orjanf@axis.com>
2122 * gdb.base/setvar.exp: Escape curly braces.
2123 * gdb.stabs/weird.exp: Ditto.
2125 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
2127 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2128 * gdm.mi/mi0-hack-cli.exp: Likewise.
2130 2001-10-25 Andrew Cagney <ac131313@redhat.com>
2132 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2135 2001-10-21 Andrew Cagney <ac131313@redhat.com>
2137 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2138 checking MI enabled.
2140 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
2142 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2144 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
2146 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2147 if gdb child process crashes, just signal an error.
2149 2001-10-02 Jim Blandy <jimb@redhat.com>
2151 * lib/gdb.exp (test_xfail_format): Simplify.
2153 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2154 front of the variable name `format'. Simplify `if'.
2156 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2158 * gdb.threads/pthreads.exp: Wait for output and delay
2161 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2163 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2164 some incorrect output instead of timing out.
2165 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2167 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
2169 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2170 check to allow additional `int'.
2172 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
2174 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2175 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2177 2001-09-27 Michael Snyder <msnyder@redhat.com>
2179 * lib/gdb.exp (test_debug_format): New proc.
2180 (setup_xfail_format): Use new proc test_debug_format.
2181 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2182 proc; use new service proc test_debug_format.
2183 Replace all other "gcc_compiled" tests with this test.
2184 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2185 proc; use new service proc test_debug_format.
2186 Replace all other "gcc_compiled" tests with this test.
2188 2001-09-27 Michael Snyder <msnyder@redhat.com>
2190 * gdb.base/cvexpr.exp: New file.
2191 * gdb.base/cvexpr.c: New file
2192 Test for expressions using const and volatile keywords.
2194 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
2196 * gdb.base/constvars.exp: Check for different orders of keywords
2197 and additional "int" strings in output.
2199 2001-09-22 Andrew Cagney <ac131313@redhat.com>
2201 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2202 responses from "help maint".
2204 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
2206 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2207 to localhost:NNN instead of :NNN, in case Xvfb is listening
2210 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
2212 * gdb.base/recurse.exp: When checking leaving the watchpoint
2213 scope, recognize when gdb is in function's epilogue and pass.
2215 2001-09-18 Keith Seitz <keiths@redhat.com>
2217 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2218 support for running tests against sid targets.
2219 (gdbtk_done): Ditto.
2221 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
2223 * gdb.base/ending-run.c (main): Set stdout buffersize
2224 to the same reasonable value for any target.
2225 * gdb.base/ending-run.exp: Add a regular expression
2226 to make testsuite happy on Sanyo Stormy16 target.
2228 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
2230 * gdb.base/display.c (do_loops): Add float variable `f'.
2231 Increment f in loop.
2232 * gdb.base/display.exp: Increment timeout by 60 seconds.
2233 Change float display test to use variable `f'.
2235 2001-09-17 Jim Blandy <jimb@redhat.com>
2237 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2238 overflowing the limited breakpoint tables on some ROM monitors
2241 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
2243 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2244 the "-ac" (disable access control) flag.
2246 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
2248 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2251 2001-08-30 Keith Seitz <keiths@redhat.com>
2253 * lib/gdb.exp: Move all insight-related functionality into
2255 * lib/insight-support.exp: New file.
2257 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
2259 * config/sid.exp (sid_start): Never set sid verbosity; disable
2260 expect_background {} that consumed its stdout; tolerate </dev/null.
2261 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2263 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2265 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2266 CLI jump command to start it.
2267 (mi_run_to_main): Fail immediatly when unexpected output.
2269 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2271 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2272 beginning of function. Fix PR gdb/191.
2274 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
2276 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2277 what to force sid endianness to.
2279 2001-08-15 Keith Seitz <keiths@redhat.com>
2281 * lib/gdb.exp (gdbtk_start): Don't set environment
2282 variables for TCL_LIBRARY and friends. Insight will
2283 now figure these out for itself.
2285 2001-08-02 Michael Snyder <msnyder@redhat.com>
2287 * gdb.base/completion.exp: Remove the symbol "a64l" from
2288 the expect string; this is target-specific, and not related
2289 to what is being tested.
2291 2001-08-02 Dave Brolley <brolley@redhat.com>
2293 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2295 2001-07-25 Michael Snyder <msnyder@redhat.com>
2297 * gdb.base/consecutive.exp: New file. Test stepping over
2298 breakpoints on consecutive instructions.
2299 * gdb.base/consecutive.c: New file.
2301 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2302 curly braces in regular expressions.
2304 2001-07-25 Michael Snyder <msnyder@redhat.com>
2306 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2307 legitimate output from stepping out of main.
2309 2001-07-22 Keith Seitz <keiths@redhat.com>
2311 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2312 the empty string, do not run the tests.
2314 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2316 * gdb.base/long_long.exp: Detect size of pointer. Take into
2317 account 2-byte pointers when testing for p/a results.
2319 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2321 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2322 and defined to 1K for m68hc11.
2323 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2324 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2325 (sizeof_random_data): New variable to tell the size of the data table;
2326 don't test past this size; always run to main.
2328 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2330 * gdb.base/return2.exp: return of long long and double fails for
2331 68HC11; don't execute these tests on that platform.
2332 * gdb.base/return.exp: Return of a double fails for 68hc11.
2334 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2336 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2337 tests that print a float.
2338 * call-rt-st.exp: Likewise.
2340 2001-07-12 Mark Kettenis <kettenis@gnu.org>
2342 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2343 running this test on Linux.
2345 2001-06-24 Michael Chastain <chastain@redhat.com>
2347 * gdb.base/arithmet.exp: Remove some tests to make all test names
2350 2001-07-03 Michael Snyder <msnyder@redhat.com>
2352 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2353 the output of the ptype command.
2355 2001-07-02 Michael Snyder <msnyder@redhat.com>
2357 * gdb.base/completion.exp: Don't assume that break.c is the only
2358 source file that may contain functions named "marker".
2359 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2361 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2363 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2366 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2367 * gdb.disasm/h8300s.exp: New file.
2368 gdb.disasm/h8300s.s: Likewise.
2370 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2372 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2373 empty breakpoint tables.
2375 2001-06-25 Andrew Cagney <ac131313@redhat.com>
2377 * lib/mi-support.exp: Update args=... part of stop-reason
2378 patterns. Accept either a list or a tuple.
2380 2001-06-23 Andrew Cagney <ac131313@redhat.com>
2382 * lib/mi-support.exp: Remove local emacs variable defining
2383 change-log-default-name.
2385 2001-06-22 Michael Chastain <chastain@redhat.com>
2387 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2388 This is operationally compatible with the previous version.
2390 2001-06-13 Jim Blandy <jimb@redhat.com>
2392 * lib/gdb.exp (gdb_test): Doc fix.
2394 2001-06-10 Michael Chastain <chastain@redhat.com>
2396 * gdb.base/exprs.exp: Remove a duplicate test.
2398 2001-06-06 Jim Blandy <jimb@redhat.com>
2400 * gdb.base/return2.exp (main): Use values to test float and double
2401 returns that are not NaN's, to avoid being confused by IEEE
2404 2001-06-04 Michael Snyder <msnyder@redhat.com>
2406 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2407 non-zero if control_c fails. Terminate the test on failure,
2408 rather than wait for 12 more tests to time out.
2410 2001-06-06 Jim Blandy <jimb@redhat.com>
2412 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2413 Don't forget to match the GDB prompt.
2415 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2417 2001-06-04 Jim Blandy <jimb@redhat.com>
2419 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2422 2001-05-31 Kevin Buettner <kevinb@redhat.com>
2424 * gdb.base/annota1.exp (info break): Match four or more spaces
2427 2001-05-31 Michael Chastain <chastain@redhat.com>
2429 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2430 (dm_type_int_star): Likewise.
2431 (dm_type_long_star): Likewise.
2432 (dm_type_void_star): Likewise.
2434 2001-05-29 Kevin Buettner <kevinb@redhat.com>
2436 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2437 to a known value in order to get consistent results regardless
2438 of the setting of INPUTRC or the presence or contents of .inputrc.
2440 2001-05-24 Michael Snyder <msnyder@redhat.com>
2442 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2443 Don't require that the main thread and the manager thread are the
2446 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2447 debugging. If test fails, issue an "unsupported" not a "fail".
2449 2001-05-24 Jim Blandy <jimb@redhat.com>
2451 Don't assume that short is shorter than int.
2452 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2453 assume that shorts are smaller than ints. On a 16-bit machine,
2455 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2456 an int, is not equal to ~0 stored in an unsigned char. This tests
2457 the same thing that the previous test meant to, but works on
2458 16-bit machines, too.
2459 ("print unsigned char != (~0)"): Same test, complemented.
2461 2001-05-24 Michael Snyder <msnyder@redhat.com>
2463 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2464 test for (full_coverage == 0). This makes the test run faster,
2465 and prevents dejagnu getting out of step.
2467 2001-05-23 Kevin Buettner <kevinb@redhat.com>
2469 * gdb.base/finish.exp (finish_void): Revise pattern for
2470 stopping on the call statement to not permit stopping at
2471 the start of the instructions comprising the call sequence.
2473 2001-05-19 Michael Chastain <chastain@redhat.com>
2475 * gdb.base/callfuncs.exp: Make all test names unique.
2476 * gdb.base/commands.exp: Make all test names unique.
2477 * gdb.base/condbreak.exp: Make all test names unique.
2478 * gdb.base/dbx.exp: Make all test names unique.
2479 * gdb.base/default.exp: Make all test names unique.
2480 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2481 and TIMEOUT messages to their corresponding PASS message.
2482 * gdb.base/ending-run.exp: Make all test names unique.
2483 * gdb.base/long_long.exp: Remove duplicate test.
2485 2001-05-21 Kevin Buettner <kevinb@redhat.com>
2487 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2488 stop on the call statement as well as the statement after the
2491 2001-05-21 Michael Snyder <msnyder@redhat.com>
2493 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2495 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2497 * gdb.base/completion.exp: Revamp test. Make it execute on all
2500 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2502 * config/gdbserver.exp (gdb_load): Handle the case
2503 in which the arguments to gdbserver are given in the
2504 baseboard configuration file.
2505 Also handle the case in which the server needs to do a
2508 2001-05-07 Keith Seitz <keiths@cygnus.com>
2510 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2511 set up the display for testing.
2512 (gdbtk_start): Convert all paths to paths that tcl will like.
2513 Export target information to environment.
2514 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2516 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2517 (to_tcl_path): New proc to convert a given pathname into
2518 a path acceptible as an argument to a tcl command.
2519 (_gdbtk_export_target_info): New proc to export target info
2520 into the environment for gdbtk testing.
2521 (gdbtk_done): New proc to signal end-of-test.
2523 2001-05-06 Jim Blandy <jimb@redhat.com>
2525 * restore.c: Make the code of caller0 correspond to its comment.
2527 2001-05-03 Michael Snyder <msnyder@redhat.com>
2529 * config/sid.exp (gdb_target_sid): Check for error messages.
2530 On error or timeout, don't make expect exit (which will terminate
2531 all subsequent tests); instead just make gdb exit.
2532 (gdb_load): Check for error messages. On error or timeout,
2533 return a negative value.
2535 2001-04-24 Jim Blandy <jimb@redhat.com>
2537 * gdb.c++/templates.exp: If we see the prompt for the overload
2538 list, but we haven't recognized any of the longer patterns,
2539 arrange for this test to fail, not hang.
2541 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2544 2001-04-22 Michael Chastain <chastain@redhat.com>
2546 * gdb.c++/local.exp: Use the 'runto' library function.
2547 * gdb.c++/namespace.exp: Likewise.
2548 * gdb.c++/overload.exp: Likewise.
2550 2001-03-26 Kevin Buettner <kevinb@redhat.com>
2552 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2553 * gdb.base/step-line.exp: New file. Test step/next in presence of
2555 * gdb.base/step-line.c: New file. Test program for the above.
2556 * gdb.base/step-line.inp: New file. We pretend that this file has
2557 been transformed by some other tool into step-line.c.
2559 2001-03-21 Jim Blandy <jimb@redhat.com>
2561 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2562 unmangled operator names.
2564 2001-03-20 Jim Blandy <jimb@redhat.com>
2566 * gdb.threads/linux-dp.exp: Recognize an additional message
2567 generated by GDB when it doesn't understand how to debug threads
2568 on the target system.
2570 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2572 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2574 2001-03-12 Michael Chastain <chastain@redhat.com>
2576 * gdb.c++/derivation.exp: Use the 'runto' library function.
2578 2001-03-12 Michael Chastain <chastain@redhat.com>
2580 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2582 2001-02-24 Michael Chastain <chastain@redhat.com>
2584 * gdb.c++/ref-types.exp: Change handwritten code to library
2587 2001-03-16 Orjan Friberg <orjanf@axis.com>
2589 * gdb.base/signals.exp: Set count to 0 explicitly.
2591 2001-03-15 Mark Salter <msalter@redhat.com>
2593 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2594 (gdb_target_monitor): Add check of gdb_target_cmd return value.
2595 (gdb_load): Add support for additional target_info: gdb_download_size
2596 and gdb_load_timeout.
2598 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2600 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2601 file -- to prevent failing when the compile fails but we have no
2602 intention of running the tests anyway.
2604 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2607 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2610 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2611 * gdb.c++/namespace.exp: Ditto.
2613 2001-03-07 Orjan Friberg <orjanf@axis.com>
2615 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2616 * gdb.base/pointers.exp: Relax pattern match of decimals.
2618 2001-03-06 Kevin Buettner <kevinb@redhat.com>
2620 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2621 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2622 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2623 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2624 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2625 config/sh.exp, config/sid.exp, config/slite.exp,
2626 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2627 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2628 config/vxworks.exp, config/vxworks29k.exp,
2629 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2630 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2631 gdb.base/arithmet.exp, gdb.base/assign.exp,
2632 gdb.base/async.exp, gdb.base/attach.exp,
2633 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2634 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2635 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2636 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2637 gdb.base/commands.exp, gdb.base/completion.exp,
2638 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2639 gdb.base/constvars.exp, gdb.base/corefile.exp,
2640 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2641 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2642 gdb.base/ending-run.exp, gdb.base/environ.exp,
2643 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2644 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2645 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2646 gdb.base/funcargs.exp, gdb.base/help.exp,
2647 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2648 gdb.base/logical.exp, gdb.base/long_long.exp,
2649 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2650 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2651 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2652 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2653 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2654 gdb.base/regs.exp, gdb.base/relational.exp,
2655 gdb.base/remote.exp, gdb.base/reread.exp,
2656 gdb.base/restore.exp, gdb.base/return2.exp,
2657 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2658 gdb.base/selftest.exp, gdb.base/setshow.exp,
2659 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2660 gdb.base/sigall.exp, gdb.base/signals.exp,
2661 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2662 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2663 gdb.base/step-test.exp, gdb.base/structs.c,
2664 gdb.base/structs.exp, gdb.base/structs2.exp,
2665 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2666 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2667 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2668 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2669 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2670 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2671 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2672 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2673 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2674 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2675 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2676 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2677 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2678 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2679 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2680 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2681 gdb.trace/circ.exp, gdb.trace/collection.exp,
2682 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2683 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2684 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2685 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2686 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2687 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2688 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2691 2001-02-27 Michael Snyder <msnyder@cygnus.com>
2693 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2694 first arg is int not float.
2696 2001-02-22 Michael Snyder <msnyder@cygnus.com>
2698 * gdb.base/reread.exp: Unsupported for non-native targets;
2699 doesn't work for remote debugging.
2701 2001-02-19 Fernando Nasser <fnasser@redhat.com>
2703 From Drew Moseley <dmoseley@redhat.com>
2704 * gdb.base/ending-run.exp: Properly handle the BSP state when
2705 stepping past the end of main.
2707 2001-02-19 John Moore <jmoore@redhat.com>
2709 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2710 Converted HPUX fix for non-expected items following multiple
2711 step commands into general solution for all platforms.
2713 2001-02-18 Michael Chastain <chastain@redhat.com>
2715 * gdb.c++/classes.exp (do_tests): Change runto statements
2716 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2717 statements demangler agnostic.
2718 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2719 (gdb_virtfunc_restart): Likewise.
2721 2001-02-14 Michael Chastain <chastain@redhat.com>
2723 * gdb.c++/inherit.exp (do_tests): Change runto statements
2724 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2725 statements demangler agnostic.
2727 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2729 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2730 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2731 before calling common_routine 15 times'' tests.
2733 2001-02-11 Michael Chastain <chastain@redhat.com>
2735 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2736 Helps the test script figure out which demangler is in use.
2737 (dm_type_foo_ref): Ditto.
2738 (dm_type_int_star): Ditto.
2739 (dm_type_long_star): Ditto.
2740 (dm_type_unsigned_int): Ditto.
2741 (dm_type_void): Ditto.
2742 (dm_type_void_star): Ditto.
2743 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
2744 Probe the gdb demangler and set variables to accommodate
2745 formatting differences.
2746 (info_func_regexp): New function. Same as info_func, but
2747 matches against a regexp.
2748 (info_func): Match against a literal string.
2749 (print_addr_2): New function. Match against a literal string,
2750 which can be different from the input to gdb.
2751 (print_addr): Simply call print_addr_2 with the same argument twice.
2752 (test_lookup_operator_functions): Use demangler formatting variables.
2753 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2754 the tests in the same order as the C++ class declaration.
2755 (test_paddr_operator_functions): Ditto.
2756 (test_paddr_overloaded_functions): Ditto.
2757 (test_paddr_hairy_functions): Use demangler formatting variables.
2758 Add reference to gdb/19 for related tests.
2759 (do_tests): Call probe_demangler.
2761 2001-01-30 Kevin Buettner <kevinb@redhat.com>
2763 * gdb.c++/templates.cc (printf): Remove unused function definition.
2765 2001-01-26 Felix Lee <flee@redhat.com>
2767 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2769 2001-01-25 matthew green <mrg@redhat.com>
2771 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2773 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2775 2001-01-25 matthew green <mrg@redhat.com>
2777 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2778 Deprecate $sid_spawn_id.
2779 (sid_exit): Remove code necessary only for `spawn.'
2781 2001-01-25 matthew green <mrg@redhat.com>
2783 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2785 2001-01-28 Michael Chastain <chastain@redhat.com>
2787 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2788 to call when tests fail. It takes gdb out of the overloaded
2789 function choice menu back to the main prompt, so that the test
2790 program stays synchronized.
2791 (set_bp_overloaded): New proc to collect all the common
2792 code for setting a breakpoint on an overloaded name. Calls
2793 take_gdb_out_of_choice_menu when needed.
2794 (menu_overload1arg): New variable to collect the repeated
2795 instances of the expected menu for an overloaded name. Change
2796 the regular expression to handle changes in g++ type encoding:
2797 "void" can be either "void" or "", and "unsigned int" can be
2798 either "unsigned int" or "unsigned".
2799 (continue_to_bp_overloaded): Change regular expressions to handle
2800 changes in g++ type encoding.
2801 (no proc): Call take_gdb_out_of_choice_menu when needed.
2802 Remove redundant calls to "info break". Accept either "canceled"
2803 or "cancelled". Change regular expressions in "info break"
2804 calls to handle changes in g++ type encoding. Give all tests
2807 2001-01-17 Ben Elliston <bje@redhat.com>
2809 * config/sid.exp: New file.
2811 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2813 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2815 2000-12-21 Michael Snyder <msnyder@cygnus.com>
2817 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2818 Add a RE to accept a non-ascii char if one is ever presented.
2820 2000-12-20 Fernando Nasser <fnasser@redhat.com>
2822 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
2824 2000-12-18 Michael Snyder <msnyder@cygnus.com>
2826 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2827 in regexp. One '\' does not suffice on Linux.
2829 2000-12-09 Michael Chastain <chastain@redhat.com>
2831 * gdb.base/break.exp (test_clear_command): Use a marker function
2832 rather than 'main' for the test function. Also move this
2833 test to an execution point where the marker function names are
2834 guaranteed to be bound to functions. (Executing tests after a
2835 'finish' from main runs into name conflicts with local names
2836 in __libc_start_main).
2838 2000-12-07 Michael Snyder <msnyder@cygnus.com>
2840 * gdb.base/finish.exp: New test for gdb's "finish" command.
2841 * gdb.base/return2.exp: New test for gdb's "return" command.
2842 * gdb.base/return2.c: New source file for above.
2844 2000-12-05 Michael Snyder <msnyder@cygnus.com>
2846 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2847 * gdb.base/miscexprs.exp: Ditto.
2848 * gdb.base/pointers.exp: Ditto.
2849 * gdb.c++/derivation.exp: Ditto.
2850 * gdb.c++/local.exp: Ditto.
2851 * gdb.c++/namespace.exp: Ditto.
2852 * gdb.c++/overload.exp: Ditto.
2853 * gdb.c++/ref-types.exp: Ditto.
2855 2000-12-05 Michael Snyder <msnyder@cygnus.com>
2857 * gdb.base/constvars.exp: Test result of "up" command.
2858 * gdb.base/miscexprs.exp: Ditto.
2859 * gdb.base/pointers.exp: Ditto.
2860 * gdb.base/scope.exp: Ditto.
2861 * gdb.c++/derivation.exp: Ditto.
2862 * gdb.c++/local.exp: Ditto.
2863 * gdb.c++/namespace.exp: Ditto.
2864 * gdb.c++/overload.exp: Ditto.
2865 * gdb.c++/ref-types.exp: Ditto.
2867 2000-11-22 Michael Chastain <chastain@redhat.com>
2869 * mips_pro.exp: Accept either "middle -> top -> main" or
2870 "middle -> main" in the backtrace, because gcc can optimize
2871 tail calls to jumps. Remove setup_xfail for the hppa case.
2872 Add a comment with the original warning messages from PR 3016,
2873 which was filed in 1993, to preserve them for posterity.
2875 2000-11-17 Nick Duffek <nsd@redhat.com>
2877 * lib/gdb.exp (gdb_test): Override timeout with board info.
2879 2000-11-17 Nick Duffek <nsd@redhat.com>
2881 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2882 the second kill and detach messages.
2884 2000-11-17 Nick Duffek <nsd@redhat.com>
2886 * configure.in: Add AC_EXEEXT.
2887 * configure: Regenerate.
2888 * Makefile.in (just-check): Export EXEEXT.
2889 * lib/gdb.exp ($EXEEXT): Import from environment.
2890 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2891 expect "maint dump-me" on Cygwin.
2892 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2895 2000-11-17 Nick Duffek <nsd@redhat.com>
2897 * gdb.base/break.exp: Test backtrace and finish from called
2898 function on all platforms, not just HP-UX.
2900 2000-11-03 Michael Snyder <msnyder@cygnus.com>
2902 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2903 code from gdb_target_monitor, so it can be used independantly
2904 for gdbserver. Also comment out an unnecessary PUTS.
2906 2000-11-03 Michael Snyder <msnyder@cygnus.com>
2908 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2909 * gdb.base/corefile.exp: Expect the message "Program is being
2910 debugged already" when we send the "corefile" command, since
2911 the preceeding gdb_load may have connected gdb to a remote target.
2912 * gdb.base/display.exp: Disable hardware watchpoints if new
2913 board info variable "no_hardware_watchpoints" is true.
2914 Replace single-letter commands with more readable ones.
2915 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2916 if new board info variable "no_hardware_watchpoints" is true.
2917 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2918 to see if stdio (printf) testing is possible.
2919 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2920 board info variable "no_hardware_watchpoints" is true. Use new
2921 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2923 2000-11-13 Fernando Nasser <fnasser@redhat.com>
2925 From Orjan Friberg <orjanf@axis.com>:
2926 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2927 in array print pattern match.
2929 2000-11-09 Fernando Nasser <fnasser@redhat.com>
2931 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2932 spelling "cancelled" to U.S. spelling "canceled" to match changes
2934 * gdb.c++/ovldbreak.exp: Ditto.
2936 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2938 * gdb.base/callfuncs.c (main): Moved to end of file, call
2939 t_double_values to initialize the FPU before inferior calls are made.
2940 * gdb.base/callfuncs.exp: Test for register preservation after calling
2941 inferior functions. Add tests for continuining, finishing and
2942 returning from a stop in a call dummy.
2944 2000-10-24 Michael Snyder <msnyder@cygnus.com>
2946 * gdb.base/commands.exp: Break up long lines, and re-indent.
2948 2000-10-19 Michael Snyder <msnyder@cygnus.com>
2950 * config/gdbserver.exp: Rewritten from the ground up, to make it
2951 compatible with the current dejagnu tree, and to make it work with
2952 the new "gdbserver" in libremote.
2954 2000-10-16 Michael Snyder <msnyder@cygnus.com>
2956 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2957 * gdb.base/varargs.exp: Skip entire test if no printf support.
2958 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2959 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2961 2000-10-13 Michael Snyder <msnyder@cygnus.com>
2963 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2964 no floating point support.
2965 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2966 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2967 * gdb.base/call-rt-st.exp: Ditto.
2968 * gdb.base/call-strs.exp: Ditto.
2970 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2972 * gdb.base/sizeof.c: include <stdio.h>.
2974 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2975 'finish', otherwise uncaptured gdb_prompt would potentially
2976 throw remaining test points out of sync.
2978 2000-07-26 Scott Bambrough <scottb@netwinder.org>
2980 * gdb.base/recurse.exp: Run tests for all targets.
2981 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2982 gnu-oldld case on ARM.
2983 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2986 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2988 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2989 * gdb.java/configure: Rebuild.
2991 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2993 * gdb.java/jv-exp.exp: New file.
2995 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2997 * configure: Rebuilt.
2998 * configure.in (configdirs): Add gdb.java.
2999 * gdb.java/jmisc.java: New file.
3000 * gdb.java/jmisc.exp: New file.
3001 * gdb.java/Makefile.in: New file.
3002 * gdb.java/configure: Rebuilt.
3003 * gdb.java/configure.in: New file.
3004 * lib/java.exp: New file.
3006 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3008 * gdb.base/exprs.exp: Test casts to a pointer including over and
3011 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3013 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3014 and the compilers sizes.
3016 2000-07-09 Nick Duffek <nsd@redhat.com>
3018 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3019 (use_methods): New function.
3020 (main): Call use_methods().
3021 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3022 (do_tests): Call test_method_param_class.
3024 2000-07-09 Nick Duffek <nsd@redhat.com>
3026 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3028 (test_enums): New procedure. Move enum tests from end of script
3029 to here. Set breakpoint on function name instead of line number.
3030 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3031 (enums2): New marker function.
3032 (enums1): New function.
3033 (main): Call enums1(). Move enum tests to enums1().
3035 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3037 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3038 compile/link program. Update line numbers.
3039 * gdb.asm/d10v.inc: Define ``startup''.
3040 * gdb.asm/asmsrc1.s: Add definition of _start.
3042 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3044 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3046 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3048 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3049 of 'help maint print' command.
3051 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3053 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3054 they use gdb_expect_list.
3056 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3058 * gdb.base/commands.exp: Use ``set remote
3059 memory-read-packet-size'' instead of ``set endian big'' to test
3062 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
3064 * gdb.c++/templates.exp (do_tests): Make all of these work under
3065 g++, and stop skipping them.
3067 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3070 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3073 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3075 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3076 the regular expression: accept an (almost) arbitrary sequence of
3077 "frames-invalid" and "breakpoints-invalid" messages both before
3078 and after the "starting" message.
3080 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3082 * gdb.c++/local.exp: This test has never been known to work with g++.
3084 2000-05-18 Michael Snyder <msnyder@cygnus.com>
3086 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3087 Relax the regular expression a little, make it pass on Solaris 8.
3089 2000-05-12 Kevin Buettner <kevinb@redhat.com>
3091 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3092 a call, do not require that gdb stop on the line after the call.
3093 Instead, it is permissible for gdb to stop on the line of the
3096 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
3098 * gdb.base/break.exp (bp on small function, optimized file):
3099 Add a second pass pattern. The behavior differs here between stabs
3100 and dwarf for one-line functions. Stabs preserves two line symbols
3101 (one before the prologue and one after) with the same line number,
3102 but dwarf regards these as duplicates and discards one of them.
3103 Therefore the address after the prologue (where the breakpoint is)
3104 has no exactly matching line symbol, and GDB reports the breakpoint
3105 as if it were in the middle of a line rather than at the beginning.
3107 2000-05-08 Michael Snyder <msnyder@cygnus.com>
3109 * gdb.base/interrupt.exp: Make "pass" message say "send"
3110 rather than "send_gdb" (for consistancy).
3112 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3114 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3115 * gdb.c++/templates.cc: Properly check for GCC version number.
3116 * lib/compiler.cc: Likewise
3118 2000-04-28 Michael Snyder <msnyder@cygnus.com>
3120 * gdb.base/break.exp: When compiled with -O2 optimization,
3121 gdb may not stop at the first line of main, due to code motion.
3123 2000-04-26 Michael Snyder <msnyder@cygnus.com>
3125 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3126 This test depends on parsing the printf output from the target.
3127 Since the sparclet stub doesn't do stdio, this will never work.
3128 * gdb.base/call-rt-st.exp: ditto.
3129 * gdb.base/call-strs: ditto.
3131 2000-04-24 Michael Snyder <msnyder@cygnus.com>
3133 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3135 * gdb.base/ending-run.exp: After connecting to a remote target,
3136 but before running, the target will appear to be in a random
3137 location. Specify both a file and a line for breakpoints.
3138 Also, the function that calls main may be called 'init'
3139 rather than 'start'.
3141 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3143 * gdb.base/help.exp: Update output for add-symbol-file command.
3145 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
3147 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3148 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3150 2000-04-07 J.T. Conklin <jtc@redback.com>
3152 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3154 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3156 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3158 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3159 values that can be represented exactly.
3160 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3161 above change, and to not check against the directory part of the source
3163 (step into print_long_arg_list): Likewise.
3164 (print print_small_structs from print_long_arg_list): Likewise.
3165 (print print_long_arg_list): Likewise.
3167 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3169 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
3171 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3173 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3175 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
3177 * gdb.base/commands.exp (deprecated_command_test): Add test for
3178 deprecate with no arguments.
3180 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3182 * gdb.base/break.exp: Add new test for setting breakpoints on
3183 optimized code so we can test breakpoints work even when function
3184 prologues may be optimized away
3186 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3188 From David Whedon <dwhedon@gordian.com>
3189 * gdb.base/commands.exp : Added command deprecator tests.
3191 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
3193 * gdb.base/help.exp: Added test for new apropos command.
3195 2000-03-21 Kevin Buettner <kevinb@redhat.com>
3197 * gdb.base/pointers.c (usevar): New function.
3198 (main): Make sure that global variables v_int_pointer2, rptr,
3199 and y are all referenced someplace in the program by calling
3200 usevar() on them. [Some linkers delete symbols which are
3201 never referenced. The space remains, but there's no way to
3202 get a (symbolic) handle on the variable from the debugger.]
3204 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3206 * gdb.base/printcmds.c: Add typedeffed arrays.
3208 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3209 procedure to test arrays that are typedef'd.
3211 2000-03-13 James Ingham <jingham@leda.cygnus.com>
3213 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
3214 the library directories.
3216 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3218 * configure.in (configdirs): Add sub directory gdb.mi.
3219 * configure: Re-generate.
3221 * gdb.mi: New directory.
3223 2000-02-25 Scott Bambrough <scottb@netwinder.org>
3225 * gdb.base/long_long.exp: Correct test suite failure when printing
3226 a long long value as a double on ARM platforms.
3228 2000-02-16 Jim Blandy <jimb@redhat.com>
3230 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3231 default source file is set properly before running this test.
3233 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3235 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3236 gdbtk/library directory, not in gdbtcl2.
3238 2000-02-04 Jim Blandy <jimb@redhat.com>
3240 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3241 backslash from regexp pattern.
3243 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3244 procedure. Use it to run all the "continue to bp overloaded"
3245 tests. Note that this changes the names of the tests slightly.
3246 If the breakpoint hit message includes a hex PC value, because
3247 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3248 from the real source code, still consider that a pass.
3250 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3251 XFAIL here if the breakpoint message contains a hex address. Note
3252 similar change on 1999-11-02.
3254 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3256 * gdb.base/ptype.exp: Establish a default source file before
3257 calling get_debug_format.
3259 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3261 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3263 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3265 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3266 of successive stepi commands -- while in the prologue we should see
3267 the function entry bracket.
3269 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3271 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3272 reach __change_mode() when stepping through the end of main().
3274 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3276 * gdb.base/default.exp: Fix expected pattern.
3277 * gdb.base/help.exp: Same.
3279 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3281 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3282 Don't use xfail's because that affects only the following test.
3284 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3287 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3289 2000-01-07 Michael Snyder <msnyder@cygnus.com>
3291 * gdb.base/display.exp: Some yacc parsers like to say
3292 "A syntax error" rather than "A parse error". Accept both.
3294 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3296 * gdb.base/default.exp: Remove OS dependent string from "target
3298 * gdb.base/help.exp: Same for "help target remote" test.
3300 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3302 From Jim Kingdon <kingdon@redhat.com>:
3304 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3305 prompt (cleanup rather than necessity, but still might keep output
3306 from spilling to next test).
3308 2000-01-02 Fred Fish <fnf@cygnus.com>
3310 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3311 AIX, which defines them in <sys/types.h>.
3313 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
3315 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3318 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
3320 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
3322 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3323 outermost frame disallowed".
3325 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3327 * gdb.base/setvar.exp: New tests for setting the value of a struct
3328 with a constant list.
3330 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3332 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3333 require the user to type a cast before setting the value of a struct.
3335 1999-12-06 Jim Blandy <jimb@cygnus.com>
3337 * gdb.base/default.exp: Expect the new 'info float' command on
3340 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3341 LinuxThreads libraries that don't support debugging.
3343 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3345 * gdb.base/remote.c: Fill the buffer with truely random data.
3346 Change the buffer type to ``unsigned char'' to simplify size
3349 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3350 stub only handles 400-1 byte packets. Verify that the download
3353 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3355 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3356 tests, using UNRESOLVED for the untested cases. Also, does not wait
3357 for a timeout if the prompt was received before a recognizable pattern.
3359 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3361 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3363 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3365 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3368 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3370 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3372 * gdb.c++/local.exp: Be more flexible in recognizing local class
3373 name mangling. Don't allow horribly truncated method names.
3374 * gdb.c++/derivation.exp: Expect protected inheritance.
3375 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3376 * gdb.c++/virtfunc.exp: Likewise.
3377 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3378 when printing a nested enum.
3380 1999-11-22 Jim Blandy <jimb@cygnus.com>
3382 * gdb.base/step-test.exp: Properly await GDB's response to setting
3383 a breakpoint on the call to large_struct_by_value.
3385 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3386 just because we have debug info for the `start' function.
3388 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3390 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3391 "Unknown signal" messages, which indicate (on LinuxThreads) that
3392 GDB doesn't know how to debug threads on this system. This is
3393 better than hanging while philosopher 0 dumps chatter into gdb.log.
3395 1999-11-18 Tom Tromey <tromey@cygnus.com>
3397 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3399 1999-11-18 Fred Fish <fnf@cygnus.com>
3401 * gdb.base/coremaker2.c: Add sample program for generating
3402 cores that is more self contained than coremaker.c. Eventually
3403 I'll add more code to this and tie it into the testsuite.
3405 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3407 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3409 1999-11-10 Jimmy Guo <guo@cup.hp.com>
3411 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3413 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3416 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3418 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
3419 'continue with watch' test point.
3421 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3423 Merged from p2linux-990323-branch:
3425 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3427 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3429 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3430 {limit,fixed}''. Test ``set download-write-size''.
3432 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3434 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3437 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3439 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3441 1999-11-03 Mark Salter <msalter@cygnus.com>
3443 * gdb.base/break.exp: Fix "stub continue" pattern.
3445 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3447 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3449 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3451 * gdb.base/display.exp ("finish"): Add timeout clause.
3453 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3454 plain prompt clause, so this doesn't have to time out in order to
3457 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3458 breakpoint hit messages include an address.
3460 * gdb.base/display.exp: Don't forget to escape parens in regular
3461 expressions. Unix regexp notatation sucks.
3463 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3465 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3466 order for 'signalled' message.
3468 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3470 From Jimmy Guo <guo@cup.hp.com>:
3471 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3472 * gdb.base/annota1.c: Add code for tests to work with.
3474 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3476 * gdb.base/remote.exp: New test for remote downloading settings.
3477 * gdb.base/remote.c: New file with large .data.
3479 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3481 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3482 for LinuxThreads support, merged from the Code Fusion branch.
3484 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3486 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3487 containing exp_continue into a while within an expect. Don't
3488 attempt a start more than three times. Check return value from
3491 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3493 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3496 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
3498 * gdb.base/break.c (main): Added a statement that we can step
3500 * gdb.base/break.exp: Added tests for setting a breakpoint
3501 at an offset and stepping onto a breakpoint.
3503 1999-10-01 Fred Fish <fnf@cygnus.com>
3505 * gdb.base/help.exp (help add-symbol-file): Update to match current
3508 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3510 * gdb.base/break.exp: Code locations are in hex, don't forget!
3513 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3515 * condbreak.exp: Use break.c as test program.
3516 * condbreak.c: Remove, redundant with break.c.
3518 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3520 * config/monitor.exp (gdb_target_monitor): Disable X- and
3521 Z-packets if the target needs it.
3523 1999-09-13 James Ingham <jingham@leda.cygnus.com>
3525 * gdb.c++/overload.exp: Added tests for listing overloaded
3526 functions with function pointers in the arg, explicitly calling
3527 out the version you want.
3529 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3531 * long_long.exp: Add variations of test cases that work for
3532 targets with 16-bit ints and 32-bit doubles.
3534 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3536 * break.c (main): Compare a possibly-uninitialized argc with an
3537 unlikely value that fits in 16 bits.
3539 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3541 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3542 0xfeeb, don't want negative numbers if ints are 16 bits.
3544 * lib/gdb.exp (skip_cplus_tests): New proc.
3545 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3546 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3547 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3548 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3549 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3550 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3551 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3552 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3554 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3556 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3558 * gdb.base/corefile.exp (up): Allow a parameter to appear
3559 in the frame that we're going up to.
3561 From Jim Blandy <jimb@cygnus.com>:
3563 * gdb.base/default.exp (info float): Expect some output now.
3565 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3566 returning floating-point values to fail on the x86.
3567 * gdb.base/callfwmall.exp (do_function_calls): Same.
3569 * gdb.base/list.exp (test_listsize): Correct expectations for
3570 listing line 1 with listsize 2. Also, listing a single line
3571 works now, as does listing three lines. [Kevin's note: There
3572 were a number of other cases fixed too where the expectations
3575 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3577 * gdb.base/selftest.exp: Add case for when version prints as
3578 constant string instead of char pointer.
3580 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3582 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3583 stepping out of main.
3585 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3588 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3589 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3591 * gdb.c++/ovldbreak.exp: Update match string in test that
3592 includes a warning of multiple breakpoints.
3594 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3596 * gdb.base/display.exp: Improve precision of step-after-finish
3599 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3602 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3603 configs when using G++, not just hppa*.
3605 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3607 * gdb.base/async.c: New file.
3608 * gdb.base/async.exp: New file.
3610 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3612 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3615 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3617 * gdb.base/display.exp: "finish" can leave us mid-line on many
3618 targets, deal with it. Add a small constant to main, instead of
3619 1000 since main+1000 may not be a valid address in the target.
3621 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3624 * gdb.base/attach.exp: Handle another hpux11 error message variant
3625 when attaching to a process that does not exist.
3627 1999-08-19 J.T. Conklin <jtc@redback.com>
3629 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3630 characters in 'continue to 1241' test.
3632 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3634 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3635 stop in print_long_arg_list, define and use a whitespace
3636 variable in print_small_structs test, add an XFAIL for Solaris.
3637 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3638 interested enough to fix.
3640 1999-08-13 Keith Seitz <keiths@cygnus.com>
3642 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3643 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3644 proc knows about targets other than the natives.
3645 (test_assign): Use "gdb_run_cmd" to "run" the target.
3646 Check that we've actually hit the breakpoint at main.
3647 When we attempt to assign a value to a local variable, check
3648 that the variable is in the current scope, i.e., don't use
3649 a test with an empty result.
3651 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3653 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3656 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3658 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3659 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3660 gdb.compat, gdb.threads-hp.
3661 gdb.hp/configure, gdb.hp/configure.in: New files.
3662 gdb.hp/Makefile.in: Recurse into new subdirs.
3663 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3664 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3666 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3668 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3670 * gdb.base/display.exp: Help expect by putting a newline in the
3671 funky printf, remove a bogus p/a test.
3673 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3675 * gdb.base/display.exp: Make sure that when we say 'run', we are
3676 connected to the target. This is necessary when running not
3679 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3681 * gdb.base/step-test.exp: Removed some extraneous messages.
3683 * gdb.base/long_long.exp: Don't run memory examination tests
3684 on little-endian targets (they will need a different set of
3687 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3689 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3690 until somebody decides to fix GDB.
3692 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3694 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3695 matches for a couple x/2 commands.
3697 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3699 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3700 by merging in ref-types2 tests.
3701 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3703 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3704 * gdb.c++/Makefile.in: Add standard actions.
3705 (EXECUTABLES): Rename from PROGS, update list.
3706 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3708 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3710 * gdb.c++/anon-union.exp: Fix tests to match.
3711 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3712 expect matches to handle output variations.
3713 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3714 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3715 output, add HP alternatives for new and delete prints.
3716 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3717 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3718 * gdb.c++/demangle.exp: Use $style when reporting failure.
3719 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3720 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3722 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3724 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3725 * gdb.c++/method.exp: Add match alternatives.
3726 * gdb.c++/misc.cc: Add bool types.
3727 * gdb.c++/misc.exp: Add tests for bool types.
3728 * gdb.c++/overload.exp: Add xfails.
3729 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3730 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3731 add some more template parameter tests (only for HP currently).
3732 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3733 * gdb.c++/virtfunc.cc: Add return type and value for main.
3734 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3737 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3739 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3741 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3743 * gdb.base/signals.exp: Don't expect getting a backtrace from
3744 within a signal handler to fail on Linux.
3746 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3748 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3749 * lib/gdb.exp: Remove some gratuitious semicolons.
3750 (delete_breakpoints): Increase timeout.
3751 (gdb_expect): Add -notransfer option.
3752 (gdb_test): Use -notransfer option.
3753 (get_compiler_info): Add f77 case.
3754 (get_compiler): New proc, split out from gdb_preprocess, add f77
3756 (gdb_preprocess): Call get_compiler.
3758 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3759 * gdb.base/attach.exp, gdb.base/display.exp,
3760 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3761 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3762 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3763 third arg to gdb_test.
3764 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3765 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3766 HP-UX xfails, add others.
3767 * gdb.base/completion.exp: Reflect name change of self-test.
3768 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3769 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3770 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3772 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3773 useless HP-UX 10.30 references.
3774 * gdb.base/maint.exp: Loosen matches.
3775 * gdb.base/pointers.c (main): Declare more_code.
3776 * gdb.base/pointers.exp: Match on output of a `next'.
3777 * gdb.base/structs.c: Add prototypes.
3778 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3779 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3781 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3783 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3786 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3788 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3789 Fix run to main failures. Watchpoint can be hardware watchpoint.
3791 * gdb.base/annota1.exp: Clean up some more, in case printf has
3792 debug info. Deal with lack of signal hanlder info in stack.
3794 From Jim Kingdon <kingdon@redhat.com>:
3795 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3797 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3799 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3800 gdb.base/foll-vfork.exp: Don't run for crosses.
3802 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3804 * gdb.base/configure.in: Check for gdbvars.exp instead of
3806 * gdb.base/configure: Re-generate.
3808 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3810 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3811 in trying to run first and name is too long.
3813 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3814 pointers2.c and pointers2.exp, respectively.
3815 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3818 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3820 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3821 callfuncs2.c and callfuncs2.exp.
3823 * gdb.base/list.exp: Remove mistaken xfails.
3824 * gdb.base/list0.h: Add optional prototypes.
3826 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3828 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3830 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3831 * ptype.exp: Move test for get_debug_format to before its first
3834 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3836 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3837 * gdb.base/annota2.cc, annota2.exp: Move from here.
3838 * gdb.c++/annota2.cc, annota2.exp: To here.
3839 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3841 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3843 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3844 a consistent format.
3846 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3848 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3849 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3850 HP compilers, also set the globals $true and $false.
3852 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3853 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3854 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3855 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3856 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3857 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3858 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3859 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3860 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3861 whatis.c} Add C++ compatible function definitions and return
3862 types, add includes for library functions.
3863 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3864 * gdb.base/step-test.c (myglob): Rename from glob.
3865 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3866 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3867 files, move here from gdb.hp.
3868 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3869 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3870 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3871 Adjust line numbers in regexps.
3873 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3874 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3877 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3878 foll-vfork.exp: New files, move here from gdb.hp.
3879 * gdb.base/page.exp: New file, test of pagination command.
3881 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3883 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3885 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3886 gdb.base/solib.exp: Fix compiler invocation process.
3888 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3889 HP-UX 11, turn off overload resolution explicitly.
3890 * gdb.base/commands.exp: Set argument list explicitly, add
3892 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3894 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3895 expressions properly.
3896 * gdb.base/corefile.exp: Loosen the match slightly.
3897 * gdb.base/default.exp: Allow "Error accessing memory" message
3899 * gdb.base/display.exp: Skip over x/0 j if PA64.
3900 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3901 * gdb.base/interrupt.exp: Ditto.
3902 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3904 * gdb.base/list.exp: Add xfails for HP-UX.
3905 * gdb.base/long_long.exp: Refine some of the numeric matches.
3906 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3907 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3908 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3909 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3910 * gdb.base/ptype.exp: Succeed on more varieties of output.
3911 * gdb.base/scope.exp: Add xfails for HP-UX.
3912 * gdb.base/sect-cmd.exp: Add more cases.
3913 * gdb.base/setvar.exp: Add xfails for HP-UX.
3914 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3915 * gdb.base/signals.exp: Match on void symbolically.
3916 * gdb.base/step-test.exp: Add case for PA64.
3917 * gdb.base/term.exp: Add exit and restart.
3918 * gdb.base/twice.exp: Clean up after self.
3919 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3920 * gdb.base/whatis.exp: Allow more ways to pass tests.
3922 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3925 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3927 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3929 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3930 print_double_array(double_array)", "continuing to breakpoint
3931 1018", "print print_double_array(array_d)" and "continuing to
3934 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3936 * Makefile.in: Add empty html and install-html targets.
3938 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3940 * config/mt-*: Remove, these haven't been used since 1996.
3942 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3944 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3945 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3946 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3948 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3950 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3951 simpler match case for the ptype of the big class.
3953 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3955 * gdb.exp: Fix test for gdb_prompt existence.
3957 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3959 * gdb.exp (gdb_test): Add fail after calls to perror.
3961 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3963 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3965 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3967 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3969 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3971 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3972 malloc() is linked in.
3974 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3976 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3979 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3981 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3983 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3985 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3987 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3988 * gdb.base/mips_pro.exp: Likewise.
3990 1999-06-02 Keith Seitz <keiths@cygnus.com>
3992 * gdb.c++/templates.cc: Change all "new" operators to throw
3994 * gdb.c++/cplusfuncs.cc: Likewise.
3996 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3998 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4000 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4001 * gdb.base/ending-run.exp: When stepping out of main, accept a
4002 step into an arbitrary assembler file.
4004 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4006 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
4007 "breakpoint-invalid" to be printed.
4008 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
4009 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4010 * gdb.base/annota2.cc: Initialize a.x to 0.
4012 1999-05-17 Keith Seitz <keiths@cygnus.com>
4014 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4015 when "skip_float_tests" set.
4016 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4017 "print print_ten_doubles", and "step into print_long_arg_list".
4018 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4019 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4020 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4021 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4022 "skip_float_tests" is set.
4023 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4024 when "skip_float_tests" set.
4026 1999-05-06 Keith Seitz <keiths@cygnus.com>
4028 * gdb.base/annota2.cc: Include stdio.h.
4030 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4032 * gdb.base/crossload.exp: Remove, this has been disabled ever
4033 since BFD stopped including all targets, and cross-GDB gets
4034 plenty of testing anyway.
4035 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4036 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4037 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4038 * gdb.base/README: Remove, was doc for this.
4039 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4042 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4044 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4047 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4048 * gdb.base/annota2.exp: New file. More annotation tests.
4049 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4050 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4052 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
4054 * config/cfdbug.exp: New file.
4056 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4058 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4059 Marcus Daniel's and Dale Hawkins's demangler crashes.
4061 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4062 test_lucid_style_demangling, test_arm_style_demangling,
4063 test_hp_style_demangling): Try Tom Tromey's core-dumping
4064 identifier under each demangling style.
4066 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4068 * gdb.c++/demangle.exp: Include the current demangling style
4070 (current_demangling_style): New global variable.
4071 (set_demangling_style, test_demangling_core, test_demangling,
4072 test_demangling_exact): New functions.
4073 (test_gnu_style_demangling, test_lucid_style_demangling,
4074 test_arm_style_demangling, test_hp_style_demangling): Use those,
4075 instead of calling gdb_test and gdb_test_exact directly.
4076 (catch_demangling_errors): New function, which reports errors
4077 signalled by the demangling test functions in an orderly way.
4078 (do_tests): Use catch_demangling_errors.
4080 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4082 * gdb.base/signals.exp (test_handle_all_print): Use () for
4083 grouping in expressions, not {}.
4085 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4088 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4090 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4093 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4095 * gdb.stabs/weird.exp: Test for CC being defined before
4096 looking at its value.
4098 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4100 * gdb.base/call-ar-st.exp: Remove stray '#'.
4101 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4102 "short int" and "long int".
4103 * gdb.c++/overload.cc: Cast the string added in the previous
4104 change, to mollify finicky HP compiler.
4105 * gdb.hp/reg-test.exp (testfile): Fix file name.
4106 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
4108 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4109 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4110 alternate form of enum ptype.
4112 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4114 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4115 * gdb.hp/*.exp: Change all to run compiler probe only after
4116 passing skip_hp_tests, so as not to waste time on guaranteed
4119 * gdb.c++/overload.cc: Pass string instead of char addr, always
4121 * gdb.c++/templates.cc: Fix syntax error.
4123 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4125 * gdb.base/commands.exp: Add test for correct position of '>'
4126 when issuing the 'commands' command after a 'while' or 'if'
4129 1999-03-18 James Ingham <jingham@cygnus.com>
4131 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4133 * gdb.c++/method.exp: It was testing an uninitialized int on the
4134 stack and assuming it was positive.
4136 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4138 * gdb.base/step-test.exp: Catch a case where finish is broken and
4139 keep it from killing the rest of the tests.
4140 Use gdb_continue_to_end.
4142 * gdb.base/sigall.exp: use gdb_continue_to_end.
4144 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4146 * gdb.base/display.exp: use runto_main, not run.
4148 * gdb.base/default.exp: Check for the current error message in the
4149 r abbreviation test.
4150 Add strongarm to the targets that know info float.
4152 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
4153 run which doesn't work with monitors.
4155 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4157 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4159 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
4160 program. Traps the case (in Cygmon) when the program never really
4161 exits. Same as Mark's continue_to_exit, but I had put it in a lot
4162 more places, so I used my name. Sorry Mark...
4164 * config/monitor.exp (gdb_target_monitor): added another
4165 target_info parameter: remotebinarydownload. This will set the
4166 remotebinarydownload flag if this is causing some boards trouble.
4168 1999-03-18 Mark Salter <msalter@cygnus.com>
4170 * lib/gdb.exp (continue_to_exit): New function.
4172 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4173 * gdb.base/ending-run.exp: Ditto.
4174 * gdb.base/step-test.exp: Ditto.
4176 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4178 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4179 (suggested by Art Haas <ahaas@neosoft.com>).
4181 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4183 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4185 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4187 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4188 descriptions of types (short unsigned int vs unsigned short, etc).
4190 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4192 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4193 a call to strlen; sometimes we do have sources.
4195 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4197 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4198 character, so GDB won't print garbage after its end.
4200 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4201 breakpoint there instead. Sometimes GCC emits memcpy to handle
4202 the large structures being passed by value, so we step into that
4203 instead of sum_array_print, which obscures what we're really testing.
4204 * gdb.base/step-test.exp: However, we do want a test that notices
4205 the bizarre steps into memcpy, so do that here. Add check for
4206 stepping into function calls that pass large structures by value.
4207 ("Is that a noun clause, or are you just happy to see me?")
4208 Remove all references to specific line numbers.
4209 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4210 New type and function.
4211 (main): Call large_struct_by_value, passing it a large struct by value.
4212 * lib/gdb.exp (gdb_get_line_number): New function.
4214 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4217 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4219 * lib/gdb.exp: Doc fixes.
4221 1999-03-05 Nick Clifton <nickc@cygnus.com>
4223 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
4225 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4227 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4228 commands. They're not germane to this test, and they don't work
4229 that way on remote targets.
4231 1999-03-01 James Ingham <jingham@cygnus.com>
4233 * Changelog entries merged over from gdb development branch.
4235 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4237 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4238 for outputting results of test run.
4240 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
4242 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
4244 1999-02-25 Felix Lee <flee@cygnus.com>
4246 * lib/gdb.exp (debug_format): initialize
4248 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4250 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4251 * gdb.base/call-rt-st.c: Ditto.
4253 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4255 * gdb.threads/pthreads.exp (horiz): New variable.
4256 (test_startup): Fix regexps that capture thread numbers.
4258 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4260 * gdb.base/smoke.exp: Disambiguate two test case names (both
4263 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4265 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4268 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4270 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4271 actual output formatting.
4272 * gdb.base/smoke.exp: GDB removes leading 0's.
4273 * gdb.base/volatile.exp: Don't check type of remuneration;
4274 that variable is no longer defined in constvars.c.
4275 * gdb.base/step-test.c (main): Exit with explicit exit code.
4276 * gdb.base/step-test.exp: Remove two nexti checks--they are
4279 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4281 * gdb.base/help.exp ("help delete display"): Fix test to match
4284 * gdb.base/long_long.c (known_types): Initialize values to zero.
4285 * gdb.base/long_long.exp: Step one more line
4286 so 'dec' is initialized in "get to known place". GDB removes
4287 leading zeros. Explicitly ask for hex formatting. Use
4288 unique test case names.
4290 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4292 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
4294 * gdb.c++/method.exp: Add missing close brace.
4296 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4298 * gdb.base/maint.exp: Use 'set height 0' to disable page
4299 prompting, not 'set height 400'.
4301 Fix a bunch of timeouts.
4302 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4303 four separate tests, so expect doesn't take forever to match a ton
4304 of text against a regexp with lots of .* forms.
4305 ("maint print psymbols", "maint print symbols"): Make some of
4306 these greps more selective, so that expect doesn't try to wade
4307 through huge piles of output and time out.
4309 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4311 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4312 tests: one which doesn't expect shlib events to be reported, and
4313 another which does, but is XFAIL for all platforms other than
4316 * gdb.base/break.exp: Teach the test suite that the `catch
4317 fork', `catch vfork', and `catch exec' commands produce error
4318 messages on platforms that don't provide these features.
4320 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4322 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4323 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4324 (shortening names from solib_threshold.exp etc), won't run on
4325 anything but HP-UX for the foreseeable future.
4326 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4329 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4331 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4332 gdb.trace/Makefile.in (clean): Remove all test executables.
4334 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4336 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4337 successfully re-sets breakpoints in shared libraries.
4338 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4340 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4342 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4343 and compiled w/o GCC.
4345 * gdb.hp/watch-cmd.exp: ditto.
4347 * gdb.hp/watch-hp.exp: ditto.
4349 * gdb.hp/xdb1.exp: ditto.
4351 * gdb.hp/xdb2.exp: ditto.
4353 * gdb.hp/dbx.exp: ditto.
4355 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4357 * constvars.c: Remove C++-isms.
4358 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4361 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4363 The following changes are part of the HP merge.
4365 * gdb.base/break.exp: new tests to verify that catchpoints for
4366 fork, vfork, and exec don't trigger inappropriately.
4368 * gdb.base/opaque.exp: compile one file at a time, then link.
4370 * gdb.base/signals.exp: be more restrictive about which hppa
4371 systems receive a setup_xfail. new tests.
4373 * gdb.base/solib_threshold.build: new file.
4374 * gdb.base/solib_threshold.exp: new file.
4375 * gdb.base/solib_threshold.link_opts: new file.
4376 * gdb.base/solib_threshold.mk: new file.
4377 * gdb.base/gen_solib_threshold.c: new file.
4379 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4380 tests. New tests for enums inside classes.
4382 * gdb.c++/compiler.cc: indicate support of template debugging.
4384 * gdb.c++/demangle.exp: run hp style demangling tests.
4386 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4389 * gdb.c++/misc.cc: changes to support new tests.
4391 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4392 to support new tests.
4394 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4395 gcc, then skip these tests.
4397 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4399 The following files are part of the HP merge; some had longer
4400 names at HP, but have been renamed to be no more than 14
4401 characters in length.
4403 * gdb.hp/ambiguous.cc: new file.
4404 * gdb.hp/ambiguous.exp: new file.
4405 * gdb.hp/attach.exp: new file.
4406 * gdb.hp/attach2.exp: new file.
4407 * gdb.hp/classes-hp.exp: new file.
4408 * gdb.hp/ctti.exp: new file.
4409 * gdb.hp/ctti-add.cc: new file.
4410 * gdb.hp/ctti-add1.cc: new file.
4411 * gdb.hp/ctti-add2.cc: new file.
4412 * gdb.hp/ctti-add3.cc: new file.
4413 * gdb.hp/dbx.exp: new file.
4414 * gdb.hp/exception.cc: new file.
4415 * gdb.hp/exception.exp: new file.
4416 * gdb.hp/foll-exec.c: new file.
4417 * gdb.hp/foll-exec.exp: new file.
4418 * gdb.hp/foll-fork.c: new file.
4419 * gdb.hp/foll-fork.exp: new file.
4420 * gdb.hp/foll-vfork.c: new file.
4421 * gdb.hp/foll-vfork.exp: new file.
4422 * gdb.hp/inherit-hp.exp: new file.
4423 * gdb.hp/more-steps.exp: new file.
4424 * gdb.hp/namespace.cc: new file.
4425 * gdb.hp/namespace.exp: new file.
4426 * gdb.hp/optimize.exp: new file.
4427 * gdb.hp/pxdb.c: new file.
4428 * gdb.hp/pxdb.exp: new file.
4429 * gdb.hp/quicksort.exp: new file.
4430 * gdb.hp/reg-test.exp: new file.
4431 * gdb.hp/reg-test.s: new file.
4432 * gdb.hp/sized-enum.c: new file.
4433 * gdb.hp/sized-enum.exp: new file.
4434 * gdb.hp/start-stop.exp: new file.
4435 * gdb.hp/templ-hp.cc: new file.
4436 * gdb.hp/templ-hp.exp: new file.
4437 * gdb.hp/thr-lib.c: new file.
4438 * gdb.hp/thr-lib.exp: new file.
4439 * gdb.hp/thr-lib.h: new file.
4440 * gdb.hp/thr-liblib.c: new file.
4441 * gdb.hp/virtfun-hp.c: new file.
4442 * gdb.hp/virtfun-hp.exp: new file.
4443 * gdb.hp/watch-cmd.exp: new file.
4444 * gdb.hp/watch-hp.exp: new file.
4445 * gdb.hp/xdb1.exp: new file.
4446 * gdb.hp/xdb2.exp: new file.
4447 * gdb.hp/xdb3.exp: new file.
4449 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4451 The following files are part of the HP merge; some had longer
4452 names at HP, but have been renamed to be no more than 14
4453 characters in length.
4455 * gdb.base/ss.h: new file.
4456 * gdb.base/call-ar-st.c: new file.
4457 * gdb.base/call-ar-st.exp: new file.
4458 * gdb.base/call-rt-st.c: new file.
4459 * gdb.base/call-rt-st-exp: new file.
4460 * gdb.base/call-strs.exp: new file.
4461 * gdb.base/ena-dis-br.exp: new file.
4462 * gdb.base/environ.exp: new file.
4463 * gdb.base/long_long.exp: new file.
4464 * gdb.base/sect-cmd.exp: new file.
4465 * gdb.base/shlib-cl2.exp: new file.
4466 * gdb.base/smoke.exp: new file.
4467 * gdb.base/so-impl-ld.c: new file.
4468 * gdb.base/so-impl-ld.exp: new file.
4469 * gdb.base/so-indr-cl.c: new file.
4470 * gdb.base/so-indr-cl.exp: new file.
4471 * gdb.base/varargs.exp: new file.
4472 * gdb.base/volatile.exp: new file.
4473 * gdb.base/whatis-exp.exp: new file.
4474 * gdb.base/display.exp: new file.
4475 * gdb.c++/derivation.exp: new file.
4476 * gdb.c++/local.exp: new file.
4477 * gdb.c++/member-ptr.exp: new file.
4478 * gdb.c++/overload.exp: new file.
4479 * gdb.c++/ovldbreak.exp: new file.
4480 * gdb.c++/ref-types.exp: new file.
4481 * gdb.c++/ref-types2.exp: new file.
4482 * gdb.c++/userdef.exp: new file.
4484 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4486 * gdb.base/default.exp: Reflect wording change in remote.c.
4488 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
4490 * gdb.base/help.exp: Update to reflect current text.
4492 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4494 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4495 they're stack variables and contain garbage.
4496 * gdb.c++/anon-union.exp: new file.
4498 The following changes were made by David Taylor
4499 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4500 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4503 * gdb.base/bitops.exp: new file.
4504 * gdb.base/default.exp: change expected messages for catch and
4505 info catch tests to reflect HP merge changes.
4506 * gdb.base/enable-disable-break.exp
4507 * gdb.base/ending-run.c: new file.
4508 * gdb.base/long_long.c: new file.
4509 * gdb.base/maint.exp: new file.
4510 * gdb.base/pointers2.exp: new file.
4511 * gdb.base/shlib-call2.exp: new file.
4512 * gdb.base/solib.exp: new file.
4513 * gdb.base/step-test.c: new file.
4514 * gdb.c++/anon-union.cc: new file.
4515 * gdb.c++/local.cc: new file.
4516 * gdb.c++/member-pointer.cc: new file.
4517 * gdb.c++/method.cc: new file.
4518 * gdb.c++/ref-types.cc: new file.
4519 * gdb.c++/ref-types2.cc: new file.
4520 * gdb.c++/userdef.cc: new file.
4522 * gdb.base/scope.exp: compile one file at a time, then link.
4523 * gdb.base/langs.exp: ditto.
4524 * gdb.base/list.exp: ditto.
4526 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4528 The following changes were made by David Taylor
4529 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4530 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4533 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4534 skip tests. When compiling pass c++ flag to gdb_compile.
4537 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4538 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4539 (skip_hp_tests): new function.
4540 (gdb_preprocess): new function.
4542 * configure.in (hpdir): decide whether to configure gdb.hp.
4543 * configure: regenerated.
4545 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4547 (EXECUTABLES): update to reflect new additions.
4548 * gdb.base/commands.exp: update message expected.
4549 * gdb.base/default.exp: add copyright notice.
4550 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4551 * gdb.base/help.exp: update messages to reflect current text.
4552 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4553 targets for recurse tests.
4554 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4557 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4558 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4560 * gdb.c++/misc.exp: ditto.
4561 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4562 run the tests. tell gdb_compile that it's a c++ compilation.
4564 * gdb.threads/pthreads.exp: fix typo in message.
4566 * gdb.base/all-bin.exp: new file.
4567 * gdb.base/arithmet.exp: new file.
4568 * gdb.base/assign.exp: new file.
4569 * gdb.base/completion.exp: new file.
4570 * gdb.base/cond-expr.exp: new file.
4571 * gdb.base/condbreak.exp: new file.
4572 * gdb.base/define.exp: new file.
4573 * gdb.base/dollar.exp: new file.
4574 * gdb.base/environment.exp: new file.
4575 * gdb.base/eval-skip.exp: new file.
4576 * gdb.base/jump.exp: new file.
4577 * gdb.base/logical.exp: new file.
4578 * gdb.base/pointers.exp: new file.
4579 * gdb.base/relational.exp: new file.
4580 * gdb.base/section_command.exp: new file.
4581 * gdb.base/whatis-expr.exp: new file.
4583 * gdb.base/all-types.c: new file.
4584 * gdb.base/call-array-struct.c: new file.
4585 * gdb.base/call-return-struct.c: new file.
4586 * gdb.base/call-strings.c: new file.
4587 * gdb.base/callfuncs2.c: new file.
4588 * gdb.base/condbreak.c: new file.
4589 * gdb.base/constvars.c: new file.
4590 * gdb.base/display.c: new file.
4591 * gdb.base/int-type.c: new file.
4592 * gdb.base/jump.c: new file.
4593 * gdb.base/miscexprs.c: new file.
4594 * gdb.base/pointers.c: new file.
4595 * gdb.base/pointers2.c: new file.
4596 * gdb.base/shmain.c: new file.
4597 * gdb.base/shr1.c: new file.
4598 * gdb.base/shr2.c: new file.
4599 * gdb.base/solib.c: new file.
4600 * gdb.base/solib1.c: new file.
4601 * gdb.base/solib2.c: new file.
4602 * gdb.base/varargs.c: new file.
4603 * gdb.c++/derivation.cc: new file.
4604 * gdb.c++/overload.cc: new file.
4605 * gdb.c++/ovldbreak.cc: new file.
4606 * gdb.hp/attach.c: new file.
4607 * gdb.hp/attach2.c: new file.
4608 * gdb.hp/average.c: new file.
4609 * gdb.hp/compiler.c: new file.
4610 * gdb.hp/compiler.cc: new file.
4611 * gdb.hp/execd-program.c: new file.
4612 * gdb.hp/follow-exec.c: new file.
4613 * gdb.hp/follow-fork.c: new file.
4614 * gdb.hp/follow-vfork-and-exec.c: new file.
4615 * gdb.hp/misc-hp.cc: new file.
4616 * gdb.hp/more-steps.c: new file.
4617 * gdb.hp/optimize.c: new file.
4618 * gdb.hp/quicksort.c: new file.
4619 * gdb.hp/run-hp.c: new file.
4620 * gdb.hp/start-stop.c: new file.
4621 * gdb.hp/sum.c: new file.
4622 * gdb.hp/templates-hp.cc: new file.
4623 * gdb.hp/thread-local-in-lib.c: new file.
4624 * gdb.hp/thread-local-in-lib.h: new file.
4625 * gdb.hp/thread-local-in-lib.lib.c: new file.
4626 * gdb.hp/vforked-program.c: new file.
4627 * gdb.hp/virtfunc-hp.cc: new file.
4628 * gdb.hp/watchpoint-hp.c: new file.
4629 * gdb.hp/xdb.c: new file.
4630 * gdb.hp/xdb0.c: new file.
4631 * gdb.hp/xdb0.h: new file.
4632 * gdb.hp/xdb1.c: new file.
4634 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4636 The following change was made by Edith Epstein
4637 <eepstein@cygnus.com> as part of a project to merge in changes
4638 originally made by HP; HP did not create ChangeLog entries.
4640 * gdb.c++/demangle.exp: changed the expected output for some
4641 ARM-style mangling -- removed second reference to datatype.
4642 For example, maint demangle __dt__11T1__pt__2_cFv
4643 T1<char>::~T1<char>(void)
4645 maint demangle __dt__11T1__pt__2_cFv
4648 (test_hp_style_demangling): new hp specific demangling test cases.
4650 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4652 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4653 * gdb.trace/backtrace.exp: Likewise.
4654 * gdb.trace/circ.exp: Likewise.
4655 * gdb.trace/collection.exp: Likewise.
4656 * gdb.trace/deltrace.exp: Likewise.
4657 * gdb.trace/infotrace.exp: Likewise.
4658 * gdb.trace/limits.exp: Likewise.
4659 * gdb.trace/packetlen.exp: Likewise.
4660 * gdb.trace/passc-dyn.exp: Likewise.
4661 * gdb.trace/passcount.exp: Likewise.
4662 * gdb.trace/report.exp: Likewise.
4663 * gdb.trace/save-trace.exp: Likewise.
4664 * gdb.trace/tfind.exp: Likewise.
4665 * gdb.trace/tracecmd.exp: Likewise.
4666 * gdb.trace/while-dyn.exp: Likewise.
4667 * gdb.trace/while-stepping.exp: Likewise.
4669 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4671 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4673 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4676 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4679 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4681 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4682 remote dos host testing right.
4684 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4686 * gdb.base/corefile.exp: remove some xfails.
4688 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4690 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4691 have different timestamps.
4693 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4695 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4696 gdb.base/default.exp: Replace "exec" with "executable".
4698 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4700 * gdb.base/default.exp: Change else if to elseif from previous
4703 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4705 * gdb.base/default.exp: Add brace missing from previous delta.
4707 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4709 * gdb.base/default.exp: Support test for info float for all
4710 varieties of arm toolchain.
4712 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
4714 * gdb.trace/*.exp: remove "remote_download" command.
4716 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
4718 * gdb.trace/*.exp: remove -gdwarf from compile.
4720 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4722 * gdb.trace/configure.in(AC_INIT): typo
4723 * gdb.trace/configure: regenerated
4725 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
4727 * config/m68k-emc.exp: New file.
4728 * lib/<emc-support.exp trace-support.exp}: New files.
4729 * configure.in: add new test directory gdb.trace.
4730 * gdb.trace/{configure configure.in Makefile.in}: New files.
4731 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4732 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4733 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4734 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4735 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4736 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4737 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
4739 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
4741 * gdb.c++/classes.exp: Change all regular expressions to match
4742 arbitrary combinations of newline/carriage-return, so that they
4743 will work equally well on Unix and Windows.
4744 * gdb.c++/inherit.exp: ditto.
4745 * gdb.c++/virtfunc.exp: ditto.
4747 1998-08-11 Dawn Perchik <dawn@cygnus.com>
4749 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4751 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4753 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4754 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4755 to use a0-a3/d0-d3 as needed.
4757 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4759 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4760 * gdb.disasm/am33.exp: Corresponding changes.
4762 1998-07-11 Felix Lee <flee@cygnus.com>
4764 * gdb.base/callfuncs.exp: add cmp10 test.
4765 * gdb.base/callfuncs.c (cmp10): new function.
4767 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4769 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
4770 into two parts to get around a synchronization problem in expect.
4772 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4774 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4776 * configure.in: Add options for gdbtk testsuite.
4778 * configure: Regenerate.
4780 * gdb.gdbtk: New directory to hold gdbtk tests.
4782 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4784 * gdb.fortran/types.exp: Escape brackets in expect patterns
4785 for test_float_literal_types_accepted tests.
4786 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4789 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4791 * am33.exp: Just compile, do not link the testcase.
4792 * am33.s: Add ".am33" pseudoop to force am33 mode.
4794 1998-06-25 Felix Lee <flee@cygnus.com>
4796 * gdb.base/setshow.exp: make sure $pc is sane.
4798 * gdb.stabs/weird.exp: split expect patterns properly.
4800 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4802 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4803 * gdb.disasm/am33.exp: Run it.
4805 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
4807 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4808 match processing (and eliminate spurious timeouts when running).
4810 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
4812 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4813 exception test, but conditionalize it on target [mach | gnu].
4815 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
4817 * gdb.base/overlays.exp: fixup compile line for linker script.
4819 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4821 * gdb.fortran/types.exp: don't guess at float size.
4823 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4825 * gdb.base/exprs.exp: delete test that depends on int size.
4827 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4829 * config/sim.exp: Removed checks for target triplets.
4830 (gdb_target_sim): Use gdb,target_sim_options.
4832 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4834 * gdb.base/reread.exp: New file.
4835 * gdb.base/reread1.c: New file.
4836 * gdb.base/reread2.c: New file.
4838 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4840 * config/sim.exp: Use 'target sim -sparclite' when running
4843 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4845 * gdb.base/structs2.exp: New file.
4846 * gdb.base/structs2.c: New file.
4848 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4850 * gdb.asm/common.inc: New file.
4851 * gdb.asm/d10v.inc: New file.
4852 * asm-source.exp: Pass -I's to gas to find .inc files.
4853 Update line numbers in expected output.
4854 * asmsrc1.s: Rewrite.
4855 * asmsrc2.s: Rewrite.
4856 * configure.in: Create arch.inc symlink.
4857 * configure: Regenerate.
4858 * Makefile.in (distclean): Delete arch.inc.
4860 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4862 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4863 (t_enum_value2): ditto
4864 (t_enum_value3): ditto
4866 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4868 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4869 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4871 Use gdb_test instead of send_gdb/gdb_expect sequences.
4873 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4875 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4878 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4880 * gdb.base/branches.c: Code with lots of loops and
4881 subroutines. Used to test gdbs ability to single step through PC
4882 changes, especially to test mips-tdep.c:mips_next_pc
4884 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4886 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4887 more rigorous EGCS C++ error checking.
4889 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4891 * gdb.base/help.exp: Clean up `help set args' and `help show args'
4893 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
4894 function when asleep.
4895 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
4896 for i*86 Linux and SVR4 signal handling problems.
4897 Remove linux xfail for `next to handler in signals_tests_1', fixed
4898 by recent infrun.c change.
4899 Limit backtrace to 10 frames to avoid timeout problems with infinite
4901 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4904 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4906 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4907 for a newline from gdb before continuing.
4908 (default_gdb_exit): Just look for y or n.
4909 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4910 it does, fail the rests of the tests in the file.
4912 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4914 * config/cygmon.exp: New file.
4916 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4918 * gdb.base/list.exp: Fix problem with "list default lines around
4919 main" test on remote targets.
4921 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4922 run test on remote targets.
4924 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4926 * gdb.asm: New directory.
4927 * configure.in: Configure it.
4928 * configure: Regenerate.
4929 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4930 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4932 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4934 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4936 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
4938 * gdb.base/overlays (several files): Merge the two overlay
4939 managers into one. Change variables (foox, barx, bazx, grbxx)
4940 back into ints but force them to load in their proper sections.
4942 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4944 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4945 on-chip insn memory and IMAP1 to upper 128k.
4946 (D10VCopy): Handle memory regions crossing 16k boundaries.
4947 (D10VCopy): Transfer data in 32 bit chunks.
4949 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4951 * gdb.base/overlays.c (main): Exit normally when result is
4954 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4955 map. Include space for printf in .text segment.
4957 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4958 updated d10v memory VMA/LMA map.
4959 (D10VCopy): Call D10VTranslate.
4961 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4963 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4965 * gdb.base/bar.c (barx, bar): Change variable to small array so
4966 that it won't be put into the .sdata - small data -
4967 section. Update reference.
4968 * gdb.base/baz.c (bazx, baz): Ditto.
4969 * gdb.base/foo.c (foox, foo): Ditto.
4970 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4972 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4975 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
4977 * gdb.base/overlays.exp: fix up and get working again.
4978 Add tests for backtraces from an overlay function.
4980 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4982 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4983 "calling function with watchpoint enabled".
4985 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4987 * gdb.base/break.exp (test_next_with_recursion): Remove
4988 gdb_suppress_tests for d10v-*-*.
4989 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4990 pending review of whether it is useful or not.
4992 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4994 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4996 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4998 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4999 * config/dve.exp: New file to support Densan boards.
5001 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5003 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5006 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5008 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5011 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5013 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5015 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5018 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5019 target_sizeof_long and target_bigendian_p.
5020 (structs_by_value, structs_by_reference): Check values according
5021 to targets word size and endianess.
5023 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5025 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5028 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5030 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5031 Update test of set args help to match source change.
5033 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5035 * gdb.base/default.exp: Expect help system output to be in
5037 * gdb.base/help.exp: Ditto.
5039 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5041 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5042 "i*86-pc-linux-gnu*".
5043 * gdb.base/interrupt.exp: Ditto.
5044 * gdb.base/corefile.exp: Ditto.
5046 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5047 define vxworks when building the testcase.
5049 * gdb.base/ptype.exp: Fix testnames to be unique.
5050 * gdb.base/radix.exp: Ditto.
5051 * gdb.base/term.exp: Ditto.
5052 * gdb.base/whatis.exp: Ditto.
5053 * gdb.c++/classes.exp: Ditto.
5055 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5057 * gdb.base/callfuncs.exp: Fix indentation.
5059 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5060 suppress_flag has been set.
5061 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5064 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5066 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5069 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5070 set_debug_traps() and breakpoint().
5071 * gdb.c++/misc.cc (main): Ditto.
5072 * gdb.c++/templates.cc (main): Ditto.
5073 * gdb.c++/virtfunc.cc (main): Ditto.
5075 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5077 * lib/gdb.exp(gdb_step_for_stub): New function.
5078 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5079 exists, reload the executable and do a "continue" instead of
5081 (runto_main): Use gdb_step_for_stub.
5083 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5084 tests to have unique names.
5085 * gdb.base/callfuncs.exp: Ditto.
5086 * gdb.base/commands.exp: Ditto.
5087 * gdb.base/default.exp: Ditto.
5088 * gdb.base/help.exp: Ditto.
5089 * gdb.base/list.exp: Ditto.
5090 * gdb.base/opaque.exp: Ditto.
5091 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5094 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5095 * gdb.c++/cplusfuncs.cc: Ditto.
5096 * gdb.c++/virtfunc.cc: Ditto.
5098 * config/monitor.exp: Keep track of the last file we saw, rather
5099 than trying to get the info from gdb.
5101 * gdb.fortran/types.exp: Move comment to previous line.
5103 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5105 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5108 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5111 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5112 string from GDB when it connects.
5114 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5116 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5118 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5119 if we can't get a debug format from GDB (we may be testing an
5120 older GDB). Use a 10 second timeout when checking for the format.
5122 * gdb.stabs/weird.exp: Fix quoting.
5124 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5126 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5128 * config/arm-ice.exp: New file.
5130 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5132 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5133 until it has been modified to work with the new testsuite.
5135 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
5136 testcase won't compile, cause all of the testcases in the file to
5139 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5140 (gdb_clear_suppressed): New procedure.
5141 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5142 it contains a positive value.
5144 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5146 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5148 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5150 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5152 * lib/gdb.exp (setup_xfail_format): New function.
5153 (get_debug_format): New function to get debug format.
5154 (debug_format): New global variable to hold last value set
5155 by get_debug_format.
5156 * gdb.base/list.exp: Call get_debug_format and expect some
5157 tests to fail for DWARF 1 and COFF formats.
5158 * gdb.c++/ptype.exp: Ditto.
5159 * gdb.c++/classes.exp: Ditto.
5160 * gdb.c++/cplusfuncs.exp: Ditto.
5161 * gdb.c++/inherit.exp: Ditto.
5162 * gdb.c++/templates.exp: Ditto.
5163 * gdb.c++/virtfunc.exp: Ditto.
5165 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5167 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5168 host doesn't have a currently-open connection.
5170 * config/sparclet.exp: Cleanups and fixes to make it generic for
5171 any gdb stub target. Handle cases where gdb doesn't respond when
5172 interrupted in a sane fashion.
5174 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5175 same thing in a totally different way.
5177 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5179 (gdb_start): We set the global gdb_prompt variable in
5180 default_gdb_init now.
5182 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5184 * gdb.base/printcmds.exp: Fix "check for floating addition"
5185 regexp to accept results within approx +/- .01 of exact value.
5186 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5188 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5190 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5192 (gdb_expect): Add optional timeout parameter, and add timeout
5193 value to various calls.
5194 (gdb_suppress_tests): Only give one warning message per group.
5196 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5198 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5199 global variables. Handle getting a value for $timeout more
5202 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5204 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5206 (default_gdb_init): New procedure; allow gdb_init to be overridden
5207 by a target configuration file.
5208 (gdb_expect): Pass the timeout to remote_expect.
5210 * config/monitor.exp(gdb_load): Fix typo in regexp.
5212 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5214 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5216 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5218 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5219 here. Call gdb_target_exec before rebooting the target, to make
5220 sure the connection to the target is closed.
5221 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5222 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5223 Also detect "Timeout reading from remote" error.
5225 * config/gdbserver.exp: Pass the executable being loaded to
5226 gdb_target_monitor. Don't call gdb_file_cmd here; let
5227 gdb_target_monitor do it.
5229 * gdb.disasm/hppa.exp: Don't use exec_output.
5231 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5233 * gdb.base/list.exp: If we're debugging a non-native target,
5234 try to set the pc register to point to the start of the
5235 program before doing the first list command.
5237 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5238 test_calls after restarting.
5240 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5243 * gdb.base/watchpoint.exp: Fix typo.
5245 * gdb.base/setshow.exp: Check for use_gdb_stub.
5247 * gdb.base/break.exp: Fix continue until exit test for the gdb
5249 * gdb.base/langs.exp: Ditto.
5251 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5252 gdb_load_offset. If we weren't given a file to load, figure out
5253 what the current file is and use it.
5255 * config/i386-bozo.exp: New file.
5257 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5259 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5262 * config/proelf.exp: New entry.
5264 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5266 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5269 * gdb.base/watchpoint.exp: Don't run the test_stepping
5270 tests if gdb can't call functions on the target.
5272 * gdb.base/setshow.exp: Don't run the set prompt tests if
5273 the board has gdb_prompt set.
5275 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5277 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5278 * gdb.base/commands.exp: Likewise.
5279 * gdb.base/setshow.exp: Likewise.
5281 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5283 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5286 * config/i960.exp: New file.
5288 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5290 * gdb.base/funcargs.exp: Check for gdb,short_int target
5291 feature instead of looking for explicit target triplets.
5293 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
5295 * gdb.base/printcmds.exp: add a couple more tests a la
5296 "p 123DEADBEEF", to check parse_number.
5297 * top.c: change "to enable to enable" to "to enable" in a couple
5300 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5302 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5305 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5307 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5308 where the test executable is run with explicit args.
5309 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5311 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5313 * gdb.base/run.c: Use FAKEARGV to build test executable that
5314 does not require a command line arg, since most simulators
5315 don't currently support passing such an arg into the simulated
5317 * gdb.base/commands.exp: Change tests to insert the proper
5318 value as the arg to the first recursive factorial call. Change
5319 compilation line to define FAKEARGV at compile time.
5321 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5323 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5324 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5325 function with watchpoint enabled" test.
5327 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5329 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5330 Don't call gdb_test when the command doesn't return to a gdb prompt.
5332 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5333 "Tests restarted" messages.
5335 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5337 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5339 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
5341 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5342 for INFO SYMBOL; add help tests for OVERLAY commands.
5343 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5344 add tests for OVERLAY commands
5345 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5346 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5347 * gdb.base/sigall.c: add usestubs code frag
5348 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
5350 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5352 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5354 (gdb_stop_suppressing_tests): Note that tests have restarted.
5356 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5358 * config/h8300.exp: New file.
5360 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5362 * gdb.base/setshow.exp: Check for the existence of a
5363 feature, not its value.
5365 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5367 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5369 * gdb.base/scope.exp: It's now init0(), not init().
5371 * gdb.base/scope0.c: For now, change init() to be init0().
5373 * config/monitor.exp: Use gdb_serial in preference to serial
5376 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5377 and it's not already set.
5379 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5381 * gdb.base/setshow.exp: Only test the run command if the target
5382 isn't using a stub and if it supports argument passing.
5384 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5386 * config/udi.exp(gdb_start): Make sure UDICONF is set
5387 properly before starting gdb.
5389 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5391 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5392 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5393 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5395 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5397 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5398 specialized code to reboot the board, use remote_reboot instead.
5400 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5402 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5404 * config/monitor.exp: Make sure we disconnect from the target.
5405 Also, try a reboot/reload cycle instead of failing if the
5408 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5410 * gdb.base/default.exp: Don't set match_max.
5411 * gdb.base/help.exp: Ditto.
5412 * gdb.base/list.exp: Ditto.
5413 * gdb.base/signals.exp: Ditto.
5415 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5416 set, use remote_ld to download the testcase instead of
5419 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5421 * config/vr5000.exp: New file.
5423 * config/monitor.exp(gdb_target_monitor): Add pattern for
5424 "Ending remote" to detect errors in connecting.
5426 * gdb.base/setshow.exp: Add .* within auto language test.
5428 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5431 * config/monitor.exp(gdb_load): Check for a failure when loading,
5432 and reboot the board if necessary.
5434 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5435 a set of tests. Remove print.* from the patterns being checked.
5437 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5439 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5440 refer to gdb_spawn_id.
5442 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5444 * config/sparclet.exp: Ditto.
5445 * config/sparclet-old.exp: Ditto.
5446 * config/slite.exp: Ditto.
5447 * config/sim.exp: Ditto.
5448 * gdb.base/funcargs.exp: Ditto.
5450 * lib/gdb.exp:Remove references to gdb_spawn_id.
5451 (gdb_expect): Move to remote.exp.
5453 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5455 * config/monitor.exp: Detect the "Couldn't establish connection"
5458 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5460 * gdb.base/bitfields.exp: Use runto instead of explicit
5461 gdb_run_cmd/gdb_expect sequences.
5463 * gdb.base/break.exp(text_next_with_recursion): Add match for
5466 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5467 We also need to handle the "A program is being debugged already"
5468 prompt from gdb. Use gdb_test to set the baud rate.
5470 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5471 to 20000. Really. I mean it.
5473 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5475 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5476 fails. If suppress_flag is set, skip perror message about not
5477 being able to send to GDB.
5478 (send_gdb): If suppress_flag is set, don't try to send commands to
5480 (gdb_expect): If suppress_flag is set, always fail immediately.
5481 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5482 (gdb_init): Call gdb_stop_suppressing_tests.
5483 (default_gdb_exit): Ditto.
5484 (default_gdb_start): Ditto.
5486 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5487 gdb_stop_suppressing_tests as appropriate.
5488 * gdb.base/break.exp: Ditto.
5489 * gdb.base/callfuncs.exp: Ditto.
5490 * gdb.base/commands.exp: Ditto.
5491 * gdb.base/exprs.exp: Ditto.
5492 * gdb.base/funcargs.exp: Ditto.
5493 * gdb.base/list.exp: Ditto.
5494 * gdb.base/recurse.exp: Ditto.
5495 * gdb.base/scope.exp: Ditto.
5496 * gdb.base/structs.exp: Ditto.
5497 * gdb.c++/inherit.exp: Ditto.
5499 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5501 * config/vr4300.exp: New file.
5503 * gdb.*/*.exp: Call gdb_expect instead of expect.
5505 * lib/gdb.exp(gdb_expect): New function.
5507 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5509 * lib/gdb.exp(gdb_init): New function.
5511 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5512 for each individual variable set.
5514 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5517 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5519 * gdb.base/scope.exp: Use gdb_test.
5521 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5522 aborting; the testsuite driver will do that for us (see
5523 gdb_finish). Also, use gdb_test in a few more places.
5525 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5527 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5529 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5531 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5532 and "add_tests" are not at the same address.
5534 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5536 * gdb.base/ptype.exp: Use gdb_test.
5538 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5540 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5541 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5542 left in. No longer expect them to fail.
5544 * gdb.stabs/*.mt; Deleted, no longer used.
5545 * gdb.stabs/configure.in: Remove references to target makefile
5547 * gdb.stabs/configure: Rebuilt.
5549 * gdb.disasm/*.mt: Deleted, no longer used.
5550 * gdb.disasm/configure.in: Remove references to target makefile
5551 frags. Use "sh3.s" as the unique filename for this directory.
5552 * gdb.disasm/configure: Rebuilt.
5554 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5555 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5556 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5558 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5560 * config/udi.exp: Use mondfe,name instead of remote_host.
5562 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5564 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5565 a function with a watchpoint enabled on the mn10200.
5567 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5568 before trying to create it!
5570 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5572 * config/vx.exp: Use hostname instead of netport.
5574 * config/vxworks.exp: New file.
5576 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5578 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5579 gdb before assuming everything worked. Send a ^C if a timeout
5582 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5583 $gdb_spawn_id directly.
5584 (gdb_run_cmd): Try _start as well as start. Use the target feature
5585 gdb,start_symbol as the symbol to start from when jumping.
5587 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5589 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5592 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5593 it doesn't lose for 16bit integer systems.
5595 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5597 * gdb.fortran/types.exp: If the target doesn't support "double"
5598 data types, then expect "real" types to only be 4 bytes.
5600 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5601 call tests if the target doesn't support inferior function calls.
5603 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5606 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5608 * gdb.base/help.exp: Disable "help set", "help show", and
5609 "help support". Simplify regexp for "help stack".
5611 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5612 to 60 seconds. Temporarily set match_max to 15000 around the
5613 "info copying" test.
5615 * gdb.base/nodebug.exp: Don't try to do an inferior function
5616 call if the target doesn't support them.
5617 * gdb.base/printcmds.exp: Likewise.
5618 * gdb.base/setvar.exp: Likewise.
5619 * gdb.base/structs.exp: Likewise.
5620 * gdb.c++/templates.exp: Likewise.
5621 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5623 * gdb.base/recurse.exp: Enable for the mn10200.
5625 * configure.in: Do configure gdb.stabs directory for *-*-elf
5627 * configure: Rebuilt.
5629 * gdb.base/break.exp: Check for gdb,noresults before testing
5630 exit status and/or results from the target.
5631 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5632 * lib/gdb.exp: Remove old (now bogus) initialization of
5633 noinferior, noargs, noresults and nosignals.
5635 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5637 * config/sh.exp: New file.
5639 * config/slite.exp: Try to connect multiple times to the board
5640 before rebooting. Only send a "monitor run" if need_monitor_run
5643 * gdb.base/break.exp: Don't do the "stub continue" test if
5644 the target has gdb_stub set.
5646 * gdb.base/callfuncs.exp: Increase the timeout.
5648 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5649 if the target has gdb,noinferiorio set.
5651 * gdb.base/list.exp: Increase match_max to 10000 characters.
5653 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5655 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5658 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5660 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5662 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5663 trying to delete the copy of gdb. Catch the file delete so we
5664 don't die if the delete fails; also, the file should be copied to
5665 the host, not to the build.
5667 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5669 * lib/gdb.exp(gdb_test): Surround the result pattern with
5670 parenthesis in case it contains multiple regexps separated
5673 * gdb.base/watchpoint.exp: Use gdb_test.
5674 * gdb.base/default.exp: Ditto.
5676 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5678 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
5680 * gdb.base/scope.exp: Use gdb_test.
5681 * gdb.c++/classes.exp: Ditto.
5682 * gdb.c++/inherit.exp: Ditto.
5684 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5686 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5687 remote_exec instead.
5688 * gdb.base/corefile.exp: Don't be ridiculous.
5689 * gdb.base/*.c: Add missing stub invocations.
5691 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5693 * config/slite.exp: Miscellaneous fixes.
5695 * lib/gdb.exp: Fix runto.
5697 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5700 * gdb.base/watchpoint.exp: Fix regexp.
5702 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5703 close and wait commands, as the descriptor may now be
5704 invalid. Always call "remote_close host".
5706 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5708 Major rewrite for testsuite revision.
5710 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5711 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5712 instead of relying on spawn_id to always contain a valid
5714 (get_compiler_info): New procedure to build the ${binfile}.ci
5715 file, instead of replicating this in N different places.
5716 (gdb_compile): New procedure.
5718 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5719 appropriate arguments) instead of compile. Use gdb_test in a lot
5720 more places. Use send_gdb instead of send. Always run gdb_start
5721 at the start of a testcase, as this is no longer done magically.
5723 config/*-gdb.exp: Rename without the -gdb suffix.
5725 config/mips.exp: Use remote_close instead of exit_remote_shell.
5726 config/monitor.exp: Use target_info instead of looking at
5728 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5730 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5732 * gdb.c++/templates.exp (test_ptype_of_templates),
5733 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5734 Update expect patterns for destructors and assignment operators
5735 to match corresponding c-typeprint.c changes.
5736 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5737 to destructor breakpoint test, GDB should be able to set the
5738 destructor breakpoint without specifying arguments.
5740 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5742 * gdb.threads/pthreads.exp: Change result for failure to compile due
5743 to lack of pthreads runtime support from an error to simply an
5744 unsupported test, per dejagnu standards.
5746 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5748 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5749 where GDB exits to reduce pattern match time.
5750 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5752 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5754 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
5756 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5757 * gdb.base/default.exp: ditto.
5758 * gdb.base/nodebug.exp: ditto.
5759 * gdb.base/printcmds.exp: ditto.
5760 * gdb.base/ptype.exp: ditto.
5761 * gdb.base/setvar.exp: ditto.
5762 * gdb.base/structs.exp: ditto.
5763 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5765 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5767 * configure, */configure: Rebuild with autoconf 2.12.
5769 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5771 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5772 use new i*86-pc-linux*-gnu quads.
5773 * gdb.base/corefile.exp: Ditto.
5774 * gdb.base/signals.exp: Ditto.
5775 * gdb.base/sigall.exp: Ditto.
5776 * gdb.base/interrupt.exp: Ditto.
5778 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5779 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5782 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5783 linux. This allows the test case to at least compile on latest
5784 linux, but still not run due to missing the threads runtime library.
5786 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5788 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5789 directory to search gdb directory. Accept and step over conditional
5790 stack alignment code. Consume $prompt in failure cases.
5791 Reset timeout to $oldtimeout instead of some arbitrary value.
5792 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5793 timeout problems with infinite stack backtraces.
5794 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5795 Accept function parameters for linkfunc member.
5797 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5799 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5800 (CXXFLAGS): Remove, unreferenced.
5801 (B_OPTIONS): Add for -B options and add code to initialize with
5802 previous -B options and also add -B option to pick up cross compiled
5804 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5805 doing cross compiles.
5806 (target_alias): Declare global.
5807 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5808 to verify that gcc exists in build tree, and if so set CC to that
5809 gcc and to use B_OPTIONS and TARGET_INCLUDES.
5811 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5813 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5814 ptype test for anonymous union. Fixup testcase to match
5815 current gcc debug output.
5817 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5819 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5820 force argument to an unsigned long type.
5822 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5824 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5825 tests and anonymous union print/ptype tests.
5826 * gdb.base/list.exp (test_forward-search): Increase timeout by
5827 5 minutes for the "search extremely long line" case.
5828 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5829 completely optional and that the pass/fail messages use the command as
5830 the message if that third arg is a null string.
5831 (gdb_test_exact): Arrange that a null string pattern means match a
5832 null string output rather than any output, which might include random
5834 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5836 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5837 always failing and failure is now exposed by gdb.exp changes.
5839 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5841 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5842 weren't being noted.
5844 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5846 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5847 * gdb.stabs/weird.exp: Remove v_comb xfails.
5849 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
5851 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5852 list.exp scope.exp watchpoint.exp]
5853 Make all timeout error msgs explicitly say "(timeout)".
5855 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
5857 * config/monitor.exp: Increase download timeout to 1000 seconds.
5859 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
5861 * config/m32r.exp: Increase timeout to 120 seconds.
5863 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5865 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5866 and accept older ordering as obsolescent gcc or gdb.
5867 * gdb.c++/templates.exp: Ditto.
5868 * gdb.c++/virtfunc.exp: Ditto.
5870 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5872 * gdb.base/coremaker.c: Add code to mmap some data so we
5873 can check that it ends up in the core file.
5874 * gdb.base/corefile.exp: Add test to read mmapped data
5877 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
5879 * config/m32r.exp: New file.
5881 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5883 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5884 that cflags can contains -gstabs, and work correctly for other tests.
5886 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
5888 * gdb.base/setshow.exp: New file, tests show and set.
5889 * gdb.base/setshow.c: New file, tests show and set.
5890 * gdb.base/help.exp: Add test for help set|show annotate.
5891 * gdb.base/default.exp: Add test for set|show annotate.
5893 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5895 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5897 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5900 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5902 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5903 and width commands. This is done elsewhere.
5904 * (gdb_start): Don't call gdb_start_sim here. That's already
5905 done in gdb_load. This fixes lots of failures in default.exp.
5907 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5909 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5910 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5911 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5912 in the same we we treat other failures (since it may be an expected
5913 condition), rather than as an error.
5914 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5917 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5919 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5920 (distclean maintainer-clean realclean): No need to remove files
5921 twice. Nuke the duplicates.
5922 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
5923 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
5924 Remove config.h along with other config files.
5926 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5928 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5929 "p func1 ()" and note that rests of tests are skipped.
5930 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5931 setup_xfails for "print func2::coremaker_local".
5932 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5933 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5934 affected by the previous run test.
5935 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5936 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5937 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5938 "pass int powerset tuple" and "pass modeless int powerset tuple".
5939 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5940 "real write 4" and "real write 8".
5941 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5942 setup_xfails for "print vs1 after tuple assign 2",
5943 "print \$i after tuple assign 2", and
5944 "print vs2 after tuple assign 2".
5945 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5946 meaningful error message and return -1 so the caller can
5947 suppress further tests and avoid a cascade of errors.
5949 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5951 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5952 format for printing version.
5953 * gdb.base/default.exp: Ditto.
5954 * gdb.base/interrupt.exp: Fix problem with cascade of
5955 errors if child process dies while calling a function.
5957 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5959 * Makefile.in (VPATH): Add
5960 * Makefile.in (Makefile, config.status): Fix rules so things get
5961 remade when necessary.
5963 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5965 * Makefile.in (just-check): Add path to sibling expect dir
5966 to environment variable specified by RPATH_ENVVAR.
5968 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5970 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5971 (just-check): Add shared library paths for libstdc++, tk,
5972 tcl, bfd, and opcodes to the environment variable specified
5974 * configure.in: Add support to recognize --enable-shared flag
5975 and generate correct value for RPATH_ENVVAR.
5976 * configure: Regenerated with autoconf.
5978 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5980 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5981 include all osf versions.
5982 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5983 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5984 when target is linux. When failing to build pthreads test
5985 executable, give more meaningful message.
5986 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5987 arg for pthread_create.
5989 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5991 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5992 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5993 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5994 and -lpthreads (everybody else).
5995 (test_startup): Fail gracefully if threads are not supported.
5996 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5997 "p/c array_index("abcdef",2)" when not gcc compiled.
5998 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5999 "print func2::coremaker_local" when not gcc compiled.
6000 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6001 "ptype on opaque struct tagname (statically)",
6002 "ptype on opaque struct tagname (dynamically) 1", and
6003 "ptype on opaque struct tagname (dynamically) 2"
6004 for not compiled with gcc.
6005 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6006 backtrace when compiled with gcc.
6007 * lib/gdb.exp (runto_main): Return result of "runto main" rather
6008 than always return success.
6010 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6012 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6014 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6016 * gdb.base/structs.exp: Undo last change.
6018 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6020 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6021 encapsulate all the steps/nexts done during self test, starting
6022 at main, and makes them less sensitive to optimization issues.
6023 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6024 signal handler" test.
6025 * gdb.threads/pthreads.exp: Only run this for native configs.
6026 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6027 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6029 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6030 for "runto test_calls(void)" test.
6032 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6034 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6035 and don't expect address info in breakpoint confirmations.
6037 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6039 * gdb.base/list.exp (test_forward_search): Increase timeout
6040 temporarily by 60 seconds for searching extremely long line,
6041 and then reset to old value when done. Increase expect input
6044 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6046 * gdb.base/list.exp (test_forward_search): Fix to handle very
6047 long source line without overflowing expect's input buffer.
6049 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6051 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6054 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6057 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6060 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6063 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6065 * configure.in (configdirs): Add gdb.threads.
6066 * configure: Regenerated with autoconf.
6067 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6068 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6069 * gdb.threads/configure: New, generated with autoconf.
6071 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6073 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6075 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6077 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6078 each signal's status in the output of "handle all print".
6079 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6080 the \r\n sequence that immediately precedes the gdb prompt.
6081 * gdb.base/a1-selftest.exp: Save original timeout and restore
6084 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6086 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6089 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6091 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6093 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6095 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6096 timeout by 60 seconds.
6098 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6100 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6101 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6104 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6106 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6107 gdb initialization, also report how long dejagnu waited. Restore
6108 old timeout before doing error return. Temporarily increase timeout
6109 by 3 minutes to allow for slow startups over heavy NFS use.
6111 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6113 * lib/gdb.exp: Report timeout value for verbosity level 2.
6114 * config/gdbserver.exp: Ditto.
6115 * config/hppro.exp: Ditto.
6116 * config/mips-gdb.exp: Ditto.
6117 * config/monitor.exp: Ditto.
6118 * config/netware.exp: Ditto.
6119 * config/sim-gdb.exp: Ditto.
6120 * config/slite-gdb.exp: Ditto.
6121 * config/udi-gdb.exp: Ditto.
6122 * config/unix-gdb.exp: Ditto.
6123 * config/vx-gdb.exp: Ditto.
6124 * gdb.base/a1-selftest.exp: Ditto.
6125 * gdb.base/a2-run.exp: Ditto.
6126 * gdb.base/break.exp: Ditto.
6127 * gdb.base/corefile.exp: Ditto.
6128 * gdb.base/list.exp: Ditto.
6129 * gdb.base/recurse.exp: Ditto.
6130 * gdb.base/scope.exp: Ditto.
6131 * gdb.base/signals.exp: Ditto.
6133 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6135 * gdb.threads/Makefile.in (docdir): Removed.
6137 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6139 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
6140 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
6142 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
6143 autoconf 2.5 or higher.
6144 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6146 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6148 * configure: Regenerated.
6149 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6150 avoid name clashes with SunOS headers.
6152 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6154 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6156 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6158 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6159 prototype information ends up in the compiler info file.
6161 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6163 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6164 attempting to regenerate it. Eliminate use of a temporary file
6165 and just generate the info file directly. Source it immediately,
6166 for consistency of use.
6167 * gdb.base/corefile.exp: Ditto
6168 * gdb.base/exprs.exp: Ditto.
6169 * gdb.base/funcargs.exp: Ditto.
6170 * gdb.base/langs.exp: Ditto.
6171 * gdb.base/list.exp: Ditto.
6172 * gdb.base/mips_pro.exp: Ditto.
6173 * gdb.base/nodebug.exp: Ditto.
6174 * gdb.base/opaque.exp: Ditto.
6175 * gdb.base/ptype.exp: Ditto.
6176 * gdb.base/scope.exp: Ditto.
6177 * gdb.base/setvar.exp: Ditto.
6178 * gdb.base/signals.exp: Ditto.
6179 * gdb.base/whatis.exp: Ditto.
6180 * gdb.c++/templates.exp: Ditto.
6181 * gdb.c++/virtfunc.exp: Ditto.
6182 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6183 whether or not to add -lstdc++ to the compile command line args.
6185 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6187 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6188 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6189 Increase timeout, a lot of single stepping might be needed if the
6190 target has no hardware watchpoints.
6192 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6194 * gdb.base/break.exp: Ignore compiler warnings when compiling
6196 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6197 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6199 * gdb.base/exprs.exp: Add h8300 xfails.
6200 * gdb.base/funcargs.exp: Likewise.
6201 * gdb.base/nodebug.exp: Likewise.
6202 * gdb.base/printcmds.exp: Likewise.
6203 * gdb.base/ptype.exp: Likewise.
6204 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6206 * gdb.base/return.exp: Handle float/double precision problems
6208 * gdb.base/funcargs.c: Explicitly make last constant argument to
6209 call_after_alloca_subr an unsigned long type.
6210 * gdb.base/return.c: Include stdio.h.
6212 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6214 * config/abug.exp: New file for the older Motorola Bug monitor
6215 that runs on the mvme13x series VME boards.
6216 * config/monitor.exp: Use the new config array for target settings
6219 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6221 * sim-gdb.exp: Make the SH simulator allocate less space when
6224 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6226 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6229 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6231 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6232 "rs6000-*-*" for "list function in include file" when gcc compiled.
6233 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6234 for "p ctable1[120]".
6235 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6236 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6237 Remove setup_xfail for "rs6000-*-*" for
6238 "print 'scope0.c'::filelocal before run".
6239 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6240 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6241 since some compilers don't allow both options to be given
6242 on the same command line. Create object file and move it.
6244 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6246 * gdb.base/corefile.exp: Always regenerate the core file, since
6247 we always regenerate the coremaker program. Detect special case
6248 where registers cannot be read from core file.
6250 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6252 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6253 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6254 * gdb.c++/templates.exp: Only match on basename of file since
6255 some formats like xcoff don't encode directory information.
6256 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6257 and rs6000 AIX xcoff targets.
6258 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6259 * configure: Regenerate.
6260 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6261 here, rather than in distclean.
6263 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6265 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6266 defined, and use it to compile the test case with -O2. The
6267 native compilation still uses no optimization.
6268 * gdb.base/mips_pro.c: Remove inline assembly code since
6269 it is compiled PIC by default, which results in assembler
6270 warnings that make the testsuite think the compilation
6273 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6275 * gdb.c++/misc.exp: Add note to message for
6276 "print s.a for foo struct" that this is a known gcc 2.7.2
6279 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6281 * gdb.base/break.exp: Fix pattern for matching "Delete all
6282 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6283 setup_xfail for deleting all breakpoints test. Fix various
6284 timeout messages to include "(timeout)".
6285 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6286 for "p t_float_values2(3.14159,float_val2)".
6287 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6288 for "continue to call2g" when gcc compiled.
6289 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6290 "up to foo in langs.exp", "show language at foo in langs.exp",
6291 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6292 and "show language at fsub in langs.exp".
6293 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6294 "list line 1 in include file", "list message for lines past EOF",
6295 "list function in include file", "list list0.h:foo", and
6296 "list filename:function; nonexistant function".
6297 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6298 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6299 and "ptype t_char_array" to be for native cc only.
6301 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6303 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
6304 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6305 "print func2::coremaker_local", and "backtrace in corefile.exp".
6307 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6309 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6310 "bt in signals.exp". This problem only appears when running
6311 the testsuite, and then only intermittently.
6313 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6315 * gdb.base/return.exp (return_tests): Differentiate between
6316 two tests of continuing.
6318 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6320 * */Makefile.in (maintainer-clean): Remove config.log.
6321 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6322 * gdb.c++/Makefile.in (PROGS): Add inherit.
6323 (clean): Remove *.ci.
6325 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6327 * gdb.c++/misc.cc: Add test code from Mike Stump.
6328 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6330 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6332 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6333 to "alpha-*-osf2*" and add comment.
6334 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6335 setup_xfail for "step over execarg initialization" and
6336 "step over corearg initialization".
6337 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6338 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6339 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6340 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6341 "print func2::coremaker_local", and "backtrace in corefile.exp".
6342 * gdb.base/signals.exp: Build and source signals.ci.
6343 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6345 * lib/gdb.exp: Move verbose statements outside conditionals.
6347 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6349 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6350 Feb 3 procfs.c change.
6352 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6354 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6356 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6358 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6359 from dejagnu's apparent default of 10 seconds, which gives random
6360 results when running the tests over NFS on moderately loaded systems.
6361 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6363 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6365 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6366 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6369 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6371 * configure.in (CY_AC_PATH_TCLH): Remove.
6372 * configure: Regenerate.
6374 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6376 * gdb.c++/Makefile.in (clean): Add missing '{'.
6378 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6380 * lib/gdb.exp: Provide a default value for noinferior.
6382 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6385 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6387 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6388 the executable, not the .o to run the tests from.
6390 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6392 * gdb.base/break.exp: Don't test for program exit or exit status
6393 if $noresults if nonzero.
6394 * gdb.base/langs.exp: Likewise.
6395 * gdb.base/watchpoint.exp: Likewise.
6397 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6398 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6399 trying to compile the testcase.
6401 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6403 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6404 * gdb.base/signals.exp (continue to handler): Likewise.
6406 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6408 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6410 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6412 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6414 * gdb.base/corefile.exp: Recognize "not found" as failure
6415 when trying to determine if a core file was generated.
6416 If no core file was generate the first time, try again without
6417 the ulimit -c to work around braindamaged shells.
6419 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6421 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6422 [] tests with "test" and enclose string in quotes.
6423 * gdb.stabs/configure: Rebuild
6425 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6427 Changes in sync with expect:
6428 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6429 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6430 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6431 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6432 argument to AC_REQUIRE.
6433 * configure: Regenerated.
6435 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6437 * gdb.base/corefile.exp: When generating a core, discard any
6438 error messages about ulimit not found and the "core dumped"
6439 message from the shell that runs the coredumper.
6441 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6443 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6445 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6446 which sed script to run. Expect failure for v_comb test
6449 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6451 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6452 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6454 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6456 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6457 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6458 "sparc-sun-solaris*" xfails for "p v_comb".
6459 * lib/gdb.exp (default_gdb_start): Fix typo.
6460 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6461 messages to not include the full program name that caused
6462 the core dump since some systems (such as solaris) apparently
6463 truncate this path to about 80 characters.
6464 When generating a core file first try increasing the core file
6465 size limit to unlimited since some systems may default it to
6466 zero, and it is harmless to try it. Move the test for failing
6467 to generate a core file to where it will actually get executed.
6468 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6469 new gdb result from g++ debug info improvements and make old
6470 pattern obsolescent. Also account for size_t differences
6471 (may be int or long).
6472 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6473 initialization before function call is placed in the delay slot
6474 and thus appears to be skipped over by commands such as "next".
6476 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6478 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6480 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6482 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6483 input source file; fix code to compile test to deal with this
6485 * gdb.c++/*.exp: Likewise.
6487 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6489 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6490 "bt in signals.exp".
6492 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6494 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6495 "step over execarg initialization" and
6496 "step over corearg initialization".
6498 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6500 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6501 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6503 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6505 From Rob Savoye (rob@poseidon.cygnus.com)
6506 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6507 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6508 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6509 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6510 configure.in}: Major reworking for autoconfig.
6511 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6512 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6514 * config/unix-gdb.exp: Make GDB global.
6515 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6516 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6517 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6518 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6519 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6520 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6521 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6522 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6523 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6524 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6525 pr-8136.exp, result.exp, string.exp, tuples.exp},
6526 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6527 to returns as necessary, arrange for test to compile own testcase
6529 * lib/gdb.exp: Changes for testsuite to compile own test cases.
6531 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6533 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6534 clear_xfail at end of test which might not call either pass or fail.
6535 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6536 "backtrace through signal handler".
6538 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6540 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6541 continuing from a job control stop signal.
6542 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6544 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6546 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6547 * gdb.base/corefile.exp: Likewise.
6548 * gdb.base/funcargs.exp: Likewise.
6550 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6552 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6553 * config/monitor.exp: Add support for setting baud rate.
6555 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6557 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6558 i*86-*-linux* xfails for "backtrace through signal handler".
6559 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6560 "print func2::coremaker_local".
6561 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6562 alpha-dec-osf2* xfail for
6563 "delete all breakpoints when none".
6565 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6567 * gdb.base/break.exp: Change test that deletes all breakpoints
6568 when no user breakpoints are installed. A post 4.15 change
6569 causes gdb to no longer prompt in this case.
6571 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6573 * gdb.base/return.exp (return_tests): Change xfail for test
6574 "correct value returned double test" to stop xfailing at
6575 Solaris 2.5. Apparently the bug has been fixed.
6577 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6579 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6580 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6582 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6584 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6585 * gdb.disasm/hppa.s: Corresponding changes.
6587 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6589 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6591 * config/mt-hpux: Deleted.
6593 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6595 * Many files: When warning about suppressed tests due to a
6596 nonexistant test binary, avoid incrementing the warning count.
6598 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6600 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
6602 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6604 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6605 "sparc-*-solaris2*".
6607 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6609 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6610 Add global and local variables and initialize them.
6611 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6612 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6613 extracts the file name and terminating signal from the core file.
6614 * TODO: Remove note about tests for correct mapping of corefile.
6615 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6616 from optimizing it away.
6617 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6618 handles common blocks.
6620 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6622 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6623 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6625 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6627 * Makefile.in (maintainer-clean): New target, synonym for
6629 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6630 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6631 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6632 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6633 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6634 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6636 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6638 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6639 xfails when not gcc compiled for "print foo::funclocal".
6640 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6641 "print foo::funclocal at foo",
6642 "print 'scope1.c'::foo::funclocal at foo",
6643 "print foo::funclocal_bss at foo",
6644 "print 'scope1.c'::foo::funclocal_bss at foo",
6645 "print foo::funclocal_ro at foo",
6646 "print 'scope1.c'::foo::funclocal_ro at foo",
6647 "print bar::funclocal at foo" and
6648 "print 'scope1.c'::bar::funclocal at foo".
6649 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6650 gcc compiled for "print foo::funclocal at bar".
6651 Expand all messages to ensure that they identify that
6652 the test is at bar().
6653 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6655 "ptype on opaque struct pointer (statically)",
6656 "ptype on opaque struct tagname (statically)",
6657 "ptype on opaque struct pointer (dynamically) 1",
6658 "ptype on opaque struct tagname (dynamically) 1",
6659 "ptype on opaque struct pointer (dynamically) 2" and
6660 "ptype on opaque struct tagname (dynamically) 2
6661 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6667 "whatis bsslocal", and
6669 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6670 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6671 when not gcc compiled.
6672 * gdb.base/funcargs.exp (float_and_integral_args): Add
6673 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6675 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6676 "backtrace from call6a" when not gcc compiled.
6677 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6678 "backtrace from call7a" when not gcc compiled.
6679 * gdb.base/callfuncs.exp (do_function_calls):
6680 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6681 "p t_char_array_values(char_array_val2,char_array_val1)",
6682 "p t_char_array_values(char_array_val1,char_array_val2)",
6683 "p t_char_array_values("carray 1","carray 2")",
6684 "p t_char_array_values("carray 1",char_array_val2)",
6685 "p t_char_array_values(char_array_val1,"carray 2")",
6686 "p sum_args(1,{2})",
6687 "p sum_args(2,{2,3})",
6688 "p sum_args(3,{2,3,4})",
6689 "p sum_args(4,{2,3,4,5})"
6690 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6691 "backtrace in corefile.exp" when not gcc compiled.
6693 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6695 * gdb.base/signals.exp: Rewrite `handle all print' test as
6696 a procedure. Accept blanks or TABs as whitespace, increase
6697 timeout and expect input buffer size for the large output
6698 from the command. Remove "i*86-*-bsdi2.0" xfail.
6700 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6702 * gdb.base/setvar.exp: Add new testcases for truncation when
6703 assigning invalid values to bitfields.
6705 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6707 * gdb.base/callfuncs.exp (do_function_calls): Remove
6708 mips-sgi-irix* xfail for
6709 "call inferior func with struct - returns char *"
6710 and fix test so that an optional (unsigned char *) cast is
6711 accepted in the result.
6713 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6715 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6716 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6717 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6718 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6719 that accidentally got checked in.
6721 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6723 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
6724 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6726 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6727 Add mips-sgi-irix5* xfail for not gcc compiled.
6728 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6729 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6730 "p top", "whatis top", "p middle", and "whatis middle".
6731 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6732 "whatis signed char" for not gcc compiled.
6733 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6734 "set variable signed char=-1 (-1)" and
6735 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6736 * gdb.base/funcargs.exp (float_and_integral_args):
6737 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6738 Add mips-sgi-irix* xfail when not gcc compiled for
6739 "continue to call2b".
6740 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6741 "continue to call2g".
6742 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6743 "backtrace from call6a"
6744 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6745 "backtrace from call7k".
6746 Add mips-sgi-irix5* xfail when not gcc compiled for
6747 "backtrace from call7a".
6748 (localvars_after_alloca): Fix gdb_test cmds for
6749 "print * after runto ...".
6750 Remove rs6000-*-* xfails for
6751 "print i after runto localvars_after_alloca" and
6752 "print l after runto localvars_after_alloca"
6754 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6755 when not compiled with gcc, for:
6756 "print signed char == (minus)",
6757 "print signed char != (minus)",
6758 "print signed char < (minus)",
6759 "print signed char > (minus)".
6760 * gdb.base/callfuncs.exp (do_function_calls):
6761 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6762 "call inferior func with struct - returns char *".
6763 * gdb.base/return.exp (return_tests): Change xfail for
6764 "correct value returned double test" to include Solaris 2.4.
6765 * gdb.base/funcargs.exp (float_and_integral_args):
6766 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6768 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6770 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6771 enumeration bitfields if compiling with GNU C.
6772 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6775 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6777 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6778 test for PRO targets.
6780 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6781 breakpoints in the inferior at any given time by making
6782 two groups of breakpoints for call2*, call6* and call7*
6785 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6787 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6788 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6789 from optimizing it away.
6790 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6791 "call inferior func with struct".
6793 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6795 * configure.in: Only configure gdb.chill for particular targets.
6797 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6799 * gdb.base/Makefile.in: Add action to .c.o transformation
6800 rule that generates a .ci file for each .o file and remove
6801 explicit .c.o rules except for callfuncs.o.
6802 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6803 generates a .ci file for each .o file and remove explicit
6805 (clean): Remove *.tmp *.ci files.
6806 (EXECUTABLES): Remove templ-info.exp.
6807 * gdb.base/compiler.c: New file.
6808 * gdb.c++/compiler.cc: New file
6809 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6810 Change rs6000-*-* xfail for
6811 "print 'scope0.c'::filelocal_ro" and
6812 "print 'scope1.c'::filelocal" and
6813 "print 'scope1.c'::filelocal_bss" and
6814 "print 'scope1.c'::filelocal_ro" and
6815 "print 'scope1.c'::foo::funclocal" and
6816 "print 'scope1.c'::foo::funclocal_ro" and
6817 "print 'scope1.c'::bar::funclocal" and
6818 "print 'scope0.c'::filelocal_ro" and
6819 "print 'scope1.c'::filelocal at foo" and
6820 "print 'scope1.c'::filelocal_bss at foo" and
6821 "print 'scope1.c'::filelocal_ro at foo" and
6822 "print 'scope1.c'::foo::funclocal at foo" and
6823 "print 'scope1.c'::foo::funclocal_bss at foo" and
6824 "print 'scope1.c'::foo::funclocal_ro at foo" and
6825 "print 'scope1.c'::bar::funclocal at foo" and
6826 "print 'scope0.c'::filelocal_ro" and
6827 "print 'scope1.c'::filelocal" and
6828 "print 'scope1.c'::filelocal_bss" and
6829 "print 'scope1.c'::filelocal_ro" and
6830 "print 'scope1.c'::foo::funclocal" and
6831 "print 'scope1.c'::foo::funclocal_bss" and
6832 "print 'scope1.c'::foo::funclocal_ro" and
6833 "print 'scope1.c'::bar::funclocal" and
6834 "print 'scope1.c'::bar::funclocal_bss"
6835 to only be xfail'd when not compiled with gcc.
6836 Add rs6000-*-* xfail for
6837 "print 'scope0.c'::filelocal_bss before run"
6838 when compiled with gcc.
6839 (test_at_main): Add rs6000-*-* xfail for
6840 "print filelocal_ro in test_at_main"
6841 when compiled with gcc.
6842 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
6843 Add rs6000-*-aix* xfail for
6844 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6845 "ptype t_char_array", not compiled with gcc.
6846 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6847 xfail for "list foo (in include file)" when gcc compiled.
6848 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6849 (integral_args): Add rs6000-*-* xfail for
6850 "run to call0a" if not compiled with gcc.
6851 (unsigned_integral_args): Add rs6000-*-* xfail for
6852 "run to call1a" if not compiled with gcc.
6853 (float_and_integral_args): Add rs6000-*-* xfail for
6854 "run to call2a" if not compiled with gcc and for
6855 "continue to call2b" for any compiler.
6856 Add rs6000-*-* xfail to
6857 "print f1 after run to call2a" for gcc compiled.
6858 (discard_and_shuffle): Add rs6000-*-* xfail for
6860 (shuffle_round_robin): Add rs6000-*-* xfail for
6861 "backtrace from call7a" if not compiled with gcc.
6862 Add rs6000-*-* xfail for
6863 "backtrace from call7b" if compiled with gcc.
6864 (call_after_alloca): Add rs6000-*-* xfail for
6865 "print c in call_after_alloca" and
6866 "print s in call_after_alloca" and
6867 "backtrace from call_after_alloca_subr"
6868 if not compiled with gcc.
6869 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6870 "print c in localvars_in_indirect_call" and
6871 "print c in localvars_in_indirect_call" and
6872 "backtrace in indirectly called function" and
6873 "stepping into indirectly called function"
6874 if not compiled with gcc.
6875 (localvars_after_alloca): Add rs6000-*-* xfail for
6876 "print c after runto localvars_after_alloca" and
6877 "print s after runto localvars_after_alloca" and
6878 "print i after runto localvars_after_alloca" and
6879 "print l after runto localvars_after_alloca"
6881 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6882 than whatis-info.exp.
6883 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6884 than opaque-info.exp.
6885 Setup rs6000-*-* xfail for
6886 "ptype on opaque struct pointer (statically)" and
6887 "ptype on opaque struct pointer (dynamically)" when
6888 not compiled with gcc.
6889 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6890 rather than callf-info.exp.
6891 (do_function_calls): Add clear_xfail for rs6000-*-* for
6892 "p t_float_values2(3.14159,float_val2)". Seems to work
6893 fine there, both with xlc and gcc. Need to find out what
6894 it is doing right and fix other platforms.
6895 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6896 "call inferior func with struct - returns int",
6897 "call inferior func with struct - returns long",
6898 "call inferior func with struct - returns float",
6899 "call inferior func with struct - returns double",
6900 "call inferior func with struct - returns char *",
6901 but only if not gcc compiled (presumes xlc compiled).
6902 Change rs6000-*-* xfails for
6903 "call inferior func with struct - returns char" and
6904 " call inferior func with struct - returns short" to only
6905 xfail if not using gcc.
6906 (clean mostlyclean): Remove *.ci and *.tmp files.
6907 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6908 than templ-info.exp.
6909 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6910 Add rs6000-*-* xfail for "up to foo in langs.exp"
6911 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6912 when not gcc compiled.
6914 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6916 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6917 * gdb.base/corefile.exp: Likewise.
6918 * gdb.base/list.exp: Likewise.
6919 * gdb.base/scope.exp: Likewise.
6920 * gdb.base/siganls.exp: Likewise.
6922 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6924 * gdb.base/whatis.exp: Likewise.
6926 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6928 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6929 failure (opcode table has been fixed to match reality).
6931 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6933 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6934 "call inferior func with struct - returns char",
6935 "call inferior func with struct - returns short"
6937 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6938 "print 'scope0.c'::filelocal at main",
6939 "print 'scope0.c'::filelocal_bss in test_at_main",
6940 "print 'scope0.c'::filelocal at foo",
6941 "print 'scope0.c'::filelocal_bss in test_at_foo",
6942 "print 'scope0.c'::filelocal at bar",
6943 "print 'scope0.c'::filelocal_bss in test_at_bar"
6945 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6946 in source file 1". This bug seems to have been fixed with both
6947 gcc and native cc (was native assembler bug?).
6949 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6951 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6952 "backtrace through signal handler" to "i*86-*-sysv4*".
6953 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6954 continue" case. Add "known SVR4 bug" to fail message.
6955 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6956 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6957 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6958 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6959 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6960 "up to foo in langs.exp", "show language at foo in
6961 langs.exp", "up to cppsub_ in langs.exp", "show
6962 language at cppsub_ in langs.exp", "up to fsub in
6963 langs.exp", and "show language at fsub in langs.exp".
6964 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6965 "bactrace in corefile.exp".
6966 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6967 "call inferior function with struct - returns float" and
6968 "call inferior function with struct - returns double".
6970 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6972 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6973 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6974 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6975 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6977 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6979 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6980 (or overriden) "CHILL" macro rather then bare "gcc".
6981 Also look for ../../gcc/xgcc since that is what we will
6982 actually need, not "Makefile". Remove following assignment
6983 of CHILL to CHILL_FOR_TARGET because that results in
6984 recursive definition.
6986 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6988 * gdb.base/corefile.exp: Change xfail for backtrace in
6989 corefile.exp from linuxaout to all linux.
6990 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6991 cases where we miss the breakpoint at the signal handler
6992 for some reason. Setup xfail for linuxoldld/linuxaout and
6993 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6994 hitting SIGURG breakpoint.
6995 * gdb.base/signals.exp: Setup xfail for "next" acting like
6996 continue to add linuxoldld. Setup xfail for all linux for
6997 "next to handler in signals_tests_1", "backtrace in
6998 signals_tests_1", "continue to func1", "pass SIGUSR1",
6999 and continue to handler".
7001 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7003 * Update all FSF addresses except those in COPYING* files.
7005 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7007 * gdb.base/a2-run.exp: Change messages to be more explicit about
7008 the status of args, and quote binfile in results.
7010 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7012 * gdb.base/callfuncs.exp: Add tests for passing structs to
7013 inferior functions and return various types.
7014 * gdb.base/callfuncs.c: Add functions to receive a struct
7015 and return a member of the struct, in various types.
7017 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7019 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7021 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7023 * config/vxworks29k.exp: New file, sources vxworks.exp.
7025 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7027 * config/gdbremote.exp: New file. Testing framework using
7030 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7032 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7033 "call function when asleep" and "send end of file".
7034 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7035 for "backtrace in corefile.exp".
7036 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7037 for "backtrace through signal handler".
7038 * gdb.base/corefile.exp: Make sure we actually generate a core file
7039 before trying the core tests. Some systems allow the user to suppress
7040 generation of core files and default to that (linux for example).
7041 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7042 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7044 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7046 * gdb.threads: New directory with some crude multi-threaded
7047 gdb tests (step.exp and step2.exp).
7048 * config/mt-lynx (STEP_EXECUTABLE): Define.
7049 (THREADFLAGS): Define.
7051 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7053 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7055 * gdb.base/signals.exp: Disable whole file for lynx until
7058 * gdb.base/signals.exp: xfail test where "next" acts like
7059 "continue" for lynx.
7061 * gdb.base/interrupt.exp: xfail test for calling function while
7062 inferior is asleep for lynx.
7064 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7065 than one cr-lf after each command.
7067 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7069 * configure.in: Reinstate setting of stabsdirs variable, fix
7070 typo in setting up configdirs for native builds.
7072 * gdb.base/return.exp: Fix typo in return double test.
7073 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7074 compiler from optimizing them away.
7076 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7078 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7079 sequences to be echo'd by gdb when using gdb_test.
7080 * gdb.chill/chexp.exp: Likewise.
7081 * gdb.fortran/exprs.exp: Likewise
7083 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7085 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7086 after the inferior gdb has started.
7088 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7090 * gdb.base/funcargs.exp: Likewise.
7091 * gdb.base/gdbvars.exp: Likewise.
7092 * gdb.base/interrupt.exp: Likewise.
7093 * gdb.base/list.exp: Likewise.
7094 * gdb.base/watchpoint.exp: Likewise.
7095 * gdb.c++/demangle.exp: Likewise.
7096 * gdb.c++/inherit.exp: Likewise.
7097 * gdb.chill/chexp.exp: Likewise.
7098 * gdb.fortran/exprs.exp: Likewise.
7100 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7101 test if we can't handle IO to/from the inferior.
7103 * gdb.c++/misc.exp: Always check for a program already being
7104 started after sending a "run" command to gdb.
7106 * gdb.base/twice.exp: Start with a fresh gdb.
7108 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7109 only depend on gdb's expression code, not the chill runtime.
7111 * gdb.base/return.c: Put return values into variables so we
7112 can have gdb print them rather than depending on the program
7114 * gdb.base/return.exp: Corresponding changes.
7116 * lib/gdb.exp: Provide default value for noinferiorio.
7117 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7120 * gdb.base/break.exp: Always check for a program already being
7121 started after sending a "run" command to gdb.
7122 (text_next_with_recursion): Don't check the output from the
7123 program's printf statement. Instead just make sure the program
7126 * gdb.base/commands.exp: Protect tests which need arguments with
7127 $noargs conditionals.
7129 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7131 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7132 of structure member arrays to match gdb/valops.c:value_addr change.
7134 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7136 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7139 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7141 * configure.in (configdirs): Remove gdb.chill from default list
7142 of subdirs and then add it back in only if doing a native build.
7143 The current chill compiler does not yet work in any cross build.
7144 * Revert all signal changes from Jul 6.
7145 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7146 for sh-hms targets, allowing these tests to link, with no other
7147 changes. Testing is suppressed by setting "nosignals" in site.exp.
7149 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7151 * configure.in (signaldirs): Define and add to configdirs for all
7152 targets except some specific ones that are known to not support signals.
7153 Also clean up formatting.
7154 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7155 (signals, sigall): Remove rules to build.
7156 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7157 Moved to new gdb.signals directory.
7158 * gdb.signals: New test directory.
7159 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7160 signals.c signals.exp}: New or moved files.
7162 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7164 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7166 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7168 * gdb.base/return.exp: Xfail `return double' test failure
7169 on at least Solaris 2.3 and handle future/past versions on
7170 a case by case basis as appropriate. Also update message
7171 to include i*86 failures.
7173 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7175 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7177 * lib/gdb.exp: Fix comment which erroneously identified
7178 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7179 gdb_file_cmd not gdb_load).
7180 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7182 * gdb.base/setvar.exp: Make test names consistent between pass and
7183 fail cases. Use gdb_test more.
7185 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7187 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7189 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7191 * gdb.base/help.exp: Fix expected help string for `show commands'.
7193 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7195 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7197 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7200 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7202 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7203 that loop eventually terminates. Fix Connection refused logic so
7204 that testsuite will expire nicely.
7206 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7208 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7209 config/rom68k.exp: New tcl glue for the appropriate monitors.
7210 These all just end up calling monitor.exp.
7211 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7212 refused' by retrying. Cleanup some timeout issues.
7213 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7214 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7215 callers don't have to set/restore global timeout variable.
7217 * The following set of changes centralizes management of the global
7218 timeout variable. This way, it can be set in one target dependent
7219 place instead of dozens of places scattered throughout the test suite.
7220 If you need to lengthen a timeout, then you should either set timeout
7221 in one of the config/{target}.exp files, or multiply it by a factor.
7222 Setting it to an absolute value is always going to lose for some
7224 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7225 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7226 * gdb.base/funcargs.exp: Don't set timeout.
7227 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7228 * gdb.base/printcmds.exp (test_print_string_constants
7229 test_print_array_constants): Don't set timeout.
7230 * gdb.base/ptype.exp: Don't set timeout.
7231 * gdb.base/recurse.exp: Don't set timeout.
7232 * gdb.base/return.exp: Don't set timeout.
7233 * gdb.base/watchpoint.exp: Don't set timeout.
7234 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7235 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7237 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7239 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7241 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7243 * lib/gdb.exp: Disable chill tests for irix5.
7245 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7247 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7248 each test pass or fail.
7250 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7252 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7255 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7257 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7259 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7261 * config/est.exp: Fix copyright and comments. Remove dead code.
7262 Use targetname, serialport and baud variables instead of fixed
7264 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7265 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7267 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7269 * gdb.base/watchpoint.exp: Don't run
7270 test_watchpoint_triggered_in_syscall for sunos.
7272 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7274 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7275 they don't seem to exist. Do include stdio.h.
7277 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7279 * gdb.base/a1-selftest.exp: Add alpha xfail.
7281 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7283 * gdb.base/watchpoint.c (main): Prompt before calling read().
7284 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7285 Revise accordingly. Remove cruft about sending "123" several
7286 times, until it gets noticed. Clean up the "print buf[0]" stuff
7287 so that it passes or fails, and waits for prompts in the usual way.
7289 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7291 * gdb.base/recurse.exp: Fix comment.
7293 * TODO: Remove item about printing variables in nodebug.exp. Add
7294 item about enabling tests which are only run on some targets.
7296 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7297 fail, make test names unique, use new gdb_test convention
7298 regarding pattern, use gdb_test more, etc.).
7300 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7301 fail, make test names unique, etc.).
7303 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7305 * gdb.base/nodebug.c: Change return type of top and middle to
7307 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7308 are fixed by the recent mdebugread.c changes. Allow `short ()'
7309 as type for top and middle.
7311 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7313 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7314 nearly as I can tell, the whole thing was an accident in Stu's
7315 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7316 to replace a send/expect pair with gdb_test, but ended up only
7317 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7318 of 30 Mar 1995 took care of it, but left this vestigial comment
7319 which I am now nuking.
7321 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7323 * gdb.base/break.exp: Look for different line number for
7324 breakpoint at main depending on usestubs.
7326 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7328 * gdb.base/list.exp: Adjust some alternate expect patterns to
7329 match recent list0.c change. Add alternate expect pattern for
7330 output from `list default lines around main' for optimizing
7333 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7335 * lib/gdb.exp: If nosignals is not set, set it to 0.
7337 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7339 * config/slite-gdb.exp: Responds to load symbol table prompt.
7340 * gdb.base/break.exp: Adjust line number, fix rerun.
7341 * gdb.base/langs0.c: Add #ifdef usestubs.
7343 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7345 * gdb.base/list.exp: Adjust line contents after adding new lines in
7346 list0.c. Also fix a syntax error.
7348 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7349 * gdb.base/break.exp: ditto.
7350 * gdb.base/list.exp: ditto.
7351 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7352 * gdb.base/run.c: ditto.
7353 * gdb.base/list0.c: ditto.
7354 * gdb.base/funcargs.c: ditto.
7356 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7358 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7359 $targetname, $serialport and $baud instead of hardwired variables.
7360 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7361 target doesn't support signals.
7363 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7365 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7367 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7369 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7370 Don't rely on the value of an auto variable before it has been
7371 initialized. Use gdb_test more.
7373 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7375 * lib/gdb.exp (default_gdb_version): A version number must start
7376 with a digit, but other than that contains all characters up to
7377 the first whitespace character.
7379 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7381 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7383 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7385 * gdb.c++/*.exp: Warn if executable does not exist. The original
7386 reason for skipping the warning was that configure.in sometimes
7387 intentionally skipped building the executables but the tcl code
7388 had no way of knowing. That (a) was always bogus with respect to
7389 error handling, (b) is no longer true (right now there is no way
7392 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7394 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7396 * gdb.base/list.exp: Add expect patterns for output from
7397 SunPRO compiled executables.
7398 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7401 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7403 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7404 number (we are already testing that the correct source line text
7407 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7408 that is what is intended, but something needed to be done to get
7409 sunos4 native working again.
7411 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7413 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7414 apparently went with a (very) old xfail.
7416 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7418 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7419 runto_main is a proc in gdb.exp that will do 'step' for target use
7421 * gdb.base/exprs.exp: ditto.
7422 * gdb.base/interrupt.exp: ditto.
7423 * gdb.base/opaque.exp: ditto.
7424 * gdb.base/printcmds.exp: ditto.
7425 * gdb.base/ptype.exp: ditto.
7426 * gdb.base/scope.exp: ditto.
7427 * gdb.base/setvar.exp: ditto.
7428 * gdb.base/signals.exp: ditto.
7429 * gdb.base/twice.exp: ditto.
7430 * gdb.c++/classes.exp: ditto.
7431 * gdb.c++/inherit.exp: ditto.
7432 * gdb.c++/templates.exp: ditto.
7433 * gdb.base/break.exp: no run and hit main for stubs. Change line
7434 numbers for breakpoints and info breakpoint.
7435 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7437 * gdb.base/callfuncs.c: ditto.
7438 * gdb.base/exprs: ditto.
7439 * gdb.base/interrupt.c: ditto.
7440 * gdb.base/opaque0.c: ditto.
7441 * gdb.base/printcmds.c: ditto.
7442 * gdb.base/ptype.c: ditto.
7443 * gdb.base/scope0.c: ditto.
7444 * gdb.base/setvar.c: ditto.
7445 * gdb.base/signals.c: ditto.
7446 * gdb.base/twice.c: ditto.
7447 * gdb.c++/misc.cc: ditto.
7448 * gdb.c++/templates.cc: ditto.
7450 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7452 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7454 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7455 somewhere between `read' and `main.c'. I'm pretty sure the
7456 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7457 and it isn't particularly useful.
7459 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7461 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7463 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7465 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7467 * config/mt-slite: add LIBS and -nostdlib.
7468 * config/slite-gdb.exp: add this new file to support sparclite target.
7470 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7472 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7474 * gdb.base/a2-run.exp: Change argument to istarget from
7475 "*-*-vxworks" to "*-*-vxworks*".
7476 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7478 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7480 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7481 will not runto main but do a 'step' to step out of breakpoint().
7482 * config/mt-slite: add -Dusestubs.
7484 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7486 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7489 * gdb.base/signals.exp: Add test for "handle all print".
7490 * TODO: Remove "handle all print". Also remove item about
7491 checking copyright date (I don't like the idea of a spurious FAIL
7492 based on when we run the tests).
7494 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7495 for SunOS4 (reason for failure not investigated). Remove
7496 redundant test for $binfile.
7498 * gdb.base/nodebug.c (array_index): Call malloc.
7500 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7502 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7504 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7505 conventions and slightly simplify the matching regexp.
7507 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7509 * gdb.base/break.exp: Update gdb_test invocation to use new
7512 * lib/gdb.exp: If noargs is not set, set it to 0.
7514 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7517 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7519 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7521 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7522 one argument of type "<non-float parameter>".
7524 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7526 * config/rom68k.exp: New file to support Motorola IDP board.
7527 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7528 * gdb.base/break.c: Change things around so that this program
7529 doesn't depend upon args. This is necessary to make remote
7530 targets work (in general, they can't take args).
7531 * gdb.base/break.exp: Don't try to send args to program. Don't
7532 expect output. Also, replace lots of code with gdb_test.
7534 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7536 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7537 printing of '\'' (which is what the comment says we are testing,
7538 even though we were not), not '''.
7539 (test_integer_literals_rejected): Test that printing ''' is an error.
7541 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7542 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7543 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7544 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7545 Use gdb_test not test_print_accept.
7546 * lib/gdb.exp: Remove test_print_accept.
7548 * gdb.base/signals.exp (signal_tests_1): Make pass message
7549 consistent with fail message.
7551 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7552 unsigned char; the bug (PR 1821) is fixed.
7554 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7556 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7557 successful tests--makes xfailing them work right.
7559 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7561 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7562 only \r\n, not .*. The test can pass .* as the last thing in
7563 $pattern if that is what it wants. In addition to providing this
7564 flexibility, this change should speed up pattern matching in cases
7565 where the pattern already ended with .* (there were a number of
7566 them). This change also helps catch bad patterns--in the old
7567 scheme the typo "char \*" instead of "char \\*" would pass. Now
7569 * Many .exp files: Update callers.
7571 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7572 clearer and does not spuriously match multiple ('s. Likewise for
7575 * gdb.base/nodebug.exp: Test ability to call a function and pass
7576 it a string (even with no debugging info).
7578 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7579 "p '\'", which is the same as "p ''" once tcl gets done with
7580 quoting, to "p '\\'", which I suspect is what is intended (one
7581 backslash gets sent to GDB).
7583 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7585 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7587 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7588 1817) was fixed literally years ago.
7590 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7592 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7593 test, it causes stepping out of call_after_alloca_subr with
7594 optimizing compilers.
7595 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7598 * gdb.c++/templates.exp: Source templ-info.exp only if
7599 the templates executable exists.
7601 * gdb.c++/misc.cc (class Contains_static_instance,
7602 class Contains_nested_static_instance),
7603 gdb.c++/classes.exp (test_static_members): Test printing of
7604 a class that contains a static instance of the class.
7606 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7608 * gdb.base/langs2.c (cppsub_): Don't prototype.
7609 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7612 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7614 * lib/gdb.exp (skip_chill_tests): New procedure.
7616 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7618 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7620 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7621 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7623 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7625 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7627 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7628 disassemble 8, not 16, instructions for part 4.
7630 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7631 support the latter anymore.
7633 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7635 * gdb.base/callfuncs.c: Control use of prototypes based on
7636 NO_PROTOTYPES, not __STDC__.
7637 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7638 t_float_values2 tests if prototypes in use.
7640 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7641 t_double_values): When checking differences against DELTA, check
7642 that difference is within the range (-DELTA,DELTA), not just
7645 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7647 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7648 'file' command firts, then 'target', then 'load', this is due to gdb
7650 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7652 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7654 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7655 FP load/store variants.
7656 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7658 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7660 * gdb.base/term.exp: Do not give a warning if not native, it is
7661 not an abnormal condition.
7663 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7665 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7668 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7670 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7671 are getting the version number.
7673 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7674 if not native, it is not an abnormal condition.
7676 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7678 * lib/gdb.exp: Just use "file exists", rather than undocumented
7679 dejagnu procedure "findfile".
7681 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7683 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7684 (LDFLAGS): Set to -Xlinker -Ur.
7686 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7687 Removed, these values are set by lib/gdb.exp.
7689 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7691 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7693 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7694 of replicating gdb startup code.
7696 * config/mt-vxworks (LDFLAGS): Set to -r.
7697 (CFLAGS_FOR_TARGET): Removed.
7699 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7700 (gdb) and gdb for vxworks uses (vxgdb).
7702 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7703 executable is not in the tree and host != target, use sed and
7704 program_transform_name to determine the gdb name used by the
7707 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7708 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7710 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7712 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7713 floats, chars, and shorts where there are ANSI-style function
7716 * gdb.base/langs.exp, gdb.base/langs*: New test.
7717 * gdb.base/Makefile.in: Build it.
7718 * TODO: Remove item about checking that C names don't get C++
7719 demangling applied; this test tests it.
7721 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7723 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7724 went with the const70 xfail. The xfail went away a year ago.
7726 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7728 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7731 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7733 * gdb.base/a1-selftest.exp: Don't run on hp300.
7735 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7737 * Makefile.in (site.exp): Set host_alias and target_alias as well
7738 as host_triplet and target_triplet.
7740 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7742 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7744 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7745 places as other ecoff systems).
7747 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7750 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7752 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7754 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7755 variable and "variable" in addition to "data variable".
7756 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7758 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7760 * gdb.base/list1.c (long_line): Add additional statement at start
7762 * gdb.base/list.exp (test_forward_search): Update line number to
7763 reflect new statement.
7765 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7767 * gdb.base/signals.exp: Reinitialize searched source directories
7768 after gdb_start call.
7770 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7772 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7773 * gdb.stabs/Makefile.in: Likewise.
7775 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7776 change. Instead split the tests into smaller pieces.
7777 * gdb.disasm/hppa.s: Corresponding changes.
7779 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7781 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7782 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7784 * gdb.base/funcargs.exp: Modify many tests so that every test
7785 either passes or fails. Make some test names unique.
7787 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7789 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7790 Call stty to set interrupt character.
7792 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7793 for HP assembler versus GNU assembler based on actual behavior of
7794 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7796 * TODO: Suggest a few more stepping tests.
7798 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7800 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7801 restart GDB for h8300 after a continue.
7802 (return): Add pattern to match a29k-udi behavior.
7803 * gdb.base/nodebug.exp: Remove obsolete comment.
7804 * gdb.base/regs.exp: New file, testing of register displays.
7805 * gdb.base/return.exp: Fix typo in reference to $objdir.
7806 * gdb.base/whatis.exp: Always start with a fresh GDB.
7808 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7810 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7811 higher, these tests generate a lot of output.
7813 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7815 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7816 code following the catch silently ignored some errors; without the
7817 catch they should be thrown like any other tcl error. Also, the
7818 catch used "" instead of {} which meant all the callers who wanted
7819 to include one of the characters "[]$ had to quote it an extra time.
7820 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7821 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7822 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7823 Remove extra quoting.
7825 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7827 * gdb.base/commands.exp: Make test names unique; every test either
7828 passes or fails. Update some comments.
7830 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7832 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7834 The following fixes a FAIL caused by the fact that the alpha stabs
7835 configuration didn't use the ".if alpha" code in weird.def.
7836 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7837 bit pointer, so the 32 bit version works even on the alpha.
7838 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7839 Remove the stuff which allowed us to have separate versions for
7840 alpha and everything else.
7842 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7843 regexp which "info func operator\[\](" is supposed to match. Fix
7844 string to send to GDB. Note that GDB still doesn't work right. Add a
7845 new test for "info func .perator\[\](" which GDB does handle correctly.
7847 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7849 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7851 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7852 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7853 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7854 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7855 it makes the tests harder to understand and confuses test-o-matic.
7856 The preferred style is that each test provides a PASS or a FAIL,
7857 and has a unique message (e.g. "continue #54" not just "continue")
7858 which is the same for the pass and the fail.
7859 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7860 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7862 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7863 prt_accept which was basically the same thing. Likewise for
7864 test_print_reject and prt_reject.
7865 * lib/gdb.exp (test_print_reject): Add some more error message
7866 patterns to match from the former printcmds.exp (prt_reject).
7867 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7868 One defect of the passcount stuff is that some of it failed to
7869 report XPASS where appropriate.
7870 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7871 stuff before and after arg in expected pattern.
7872 (test_paddr_operator_functions): Re-do test without print_addr_of;
7873 this is the only test which seems to want extra stuff there.
7875 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7877 * gdb.base/nodebug.exp: Update new tests to reflect improved
7878 wording of gdb output.
7880 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7881 and "ptype" work on variables in files compiled without -g.
7882 Replaces commented out "maint print msymbol" tests.
7884 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7886 * gdb.base/setvar.c (dummy): Call malloc.
7888 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7889 losing with the irix4 sed.
7891 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7894 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7896 * TODO: Remove items about corefile.exp testing new exec-file and
7897 backtrace; both are now done. Add items about printing enums.
7899 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7901 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7902 "get signal $thissig" test fails.
7904 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7906 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7908 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7909 compiler warning with dec alpha compiler.
7911 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7912 extra \n from gdb_test call (this explains why the prompt test
7913 that I removed yesterday was there).
7914 (user_defined_command_test): Remove extra \n and prompt test.
7916 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7917 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7919 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7920 Also remove alpha workaround, which turns out to be because
7923 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7925 * gdb.base/help.exp: Don't test "help show".
7927 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7929 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7930 "set print address" is on.
7931 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7932 pass prompt to gdb_test; gdb_test already looks for the prompt.
7934 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7936 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7937 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7938 was to make sure that gdb can read a core file. But (a) the "read
7939 the corefile" part didn't make it to a1-selftest.exp, we just
7940 delete the corefile after creating it, and (b) we test reading
7941 corefiles in corefile.exp anyway. Also, this test left around a
7942 xgdb process on Solaris.
7944 * gdb.base/corefile.exp: Also test backtrace.
7946 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7948 * gdb.base/commands.exp: Test a simple user defined command with
7949 arguments and if/while statements; verify the full user command is
7950 printed by "show user".
7952 * gdb.base/commands.exp: Test if/while commands as part of a
7953 breakpoint command list; verify they appear in breakpoint
7956 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7958 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7959 than by dividing by zero.
7961 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7963 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7964 performing an inferior call with watchpoints enabled.
7965 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7968 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7970 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7973 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7974 Add additional pattern for when "int operator int(void);" appears
7975 in a different order.
7977 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7979 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7981 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7982 and "signal" with ".*".
7984 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7986 * TODO: Add note about "handle all nostop".
7988 * gdb.base/{sigall.c, sigall.exp}: New test.
7989 * gdb.base/Makefile.in: Add it.
7991 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7993 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7994 when invoking GDB, suppresses any windowing interface.
7996 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7998 * config/sim-gdb: New file, simulator testing support.
8000 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8002 * gdb.base/interrupt.exp: Test calling func1 twice.
8004 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8006 * gdb.base/list.exp (test_forward_search): Set timeout higher
8007 when we'll be getting lots of output from gdb.
8009 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8010 "init_malloc" to after the expect statement. Run it if that
8011 regexp is taken, but also for two others which happen if source
8014 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8016 * gdb.base/printcmds.exp: New test, for printing register before
8019 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8021 * gdb.base/list.exp: Correct some alternate expect patterns
8022 to reflect changes in list1.c.
8024 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8026 * TODO: Add item regarding large frames.
8028 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8030 * TODO: Remove item about enabling return.exp; it
8031 is enabled. Suggest a few more "return" tests.
8033 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8035 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8038 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8040 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8041 and pr-5646.o, so "make" is the same as "make all", not "make
8044 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8046 * gdb.base/list.exp: Adjust expectations to reflect changes in
8048 (test_forward_search): New test proc.
8049 * gdb.base/list1.c (long_line): New function, has long source line.
8051 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8053 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8054 additional line of code that was added.
8056 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8058 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8059 tests so as not to overflow expect's input buffers.
8060 * gdb.disasm/hppa.exp: Corresponding changes.
8062 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8064 Beginnings of template debugging tests.
8065 * gdb.c++/templ-info.cc: New file to test for template
8066 debugging capability of the compiler.
8067 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8069 * gdb.c++/templates.cc: Add explicit template instantiations
8070 to enable compiling with -fno-implicit-templates. Add destructor
8071 and 'value' method to T5 class for template tests.
8072 * gdb.c++/templates.exp: Add testcases for printing of template
8073 types, setting breakpoints on template methods and calling a
8076 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8078 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8079 branch target since some assemblers (gas-2.5) may emit a
8080 relocation for the branch instead of resolving it in the
8083 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8085 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8086 through signal handler.
8088 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8090 * configure.in (*-*-netware): Use config/mt-netware.
8092 * config/mt-netware: New file.
8093 * config/mt-i386-netware: Removed, separate configs for different
8094 netware architectures are no longer needed now that we have
8097 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8099 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8100 by the recent changes to use ANSI C arithmetic conversions.
8102 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8104 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8105 bug involving using inferior_pid to figure out whether to select a
8108 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8110 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8111 match the current disassembler output.
8113 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8115 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8116 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8117 types, expect "int" as type of integer values (for now).
8119 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8121 * gdb.base/commands.exp: New tests for if/while commands.
8123 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8125 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8126 by .*, since hex values have different syntax in Chill mode.
8128 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8130 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8131 linefeed from expect pattern for repeated types with indices > 9.
8133 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8135 First part of Fortran test suite.
8136 * gdb.fortran: New directory.
8137 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8139 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8141 * gdb.base/default.exp: Update expect pattern for load command
8144 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8146 * configure.in: Change i386 to i[345]86.
8147 * gdb.base/configure.in: Likewise.
8148 * gdb.c++/configure.in: Likewise.
8149 * gdb.chill/configure.in: Likewise.
8151 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8153 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8154 patterns, since that is not a valid context for comments.
8156 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8158 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8159 repeated types and repeated types with indices > 9.
8161 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8163 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8164 2417; old bug has been fixed.
8166 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8168 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8169 send the newline ourselves instead of assuming gdb_test will do
8170 so when passed an empty input string.
8172 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8175 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8177 * lib/gdb.exp (gdb_test): Don't send anything if the first
8178 argument is an empty string. This makes cases where we want to
8179 match output that is already in expect's buffers (for example,
8180 matching a breakpoint after gdb_run_cmd has been called) work
8183 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8185 * config/netware.exp: New file.
8187 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8189 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8190 the -B and -L prefixes so we can find the debugging stub.
8192 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8193 there and we are using the gcc from the tree.
8195 * gdb.base/types.c: Removed.
8197 * gdb.base/configure.in: Look for makefile fragments in ../config.
8198 Recognize i386-*-netware.
8199 * gdb.c++/configure.in: Likewise.
8201 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8203 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8204 the correct TCL syntax.
8206 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8208 * gdb.base/opaque.exp: use runto instead of messing around with
8209 breakpoints. Simplify by using gdb_test.
8211 * gdb.base/bitfields.exp: restart between tests on netware targets
8212 because breakpoints aren't relocated after target death. Run
8213 processes to completion.
8215 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8217 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8219 * Makefile.in: Remove extra tabs that confuse some versions
8220 of "make". Use the newly built gdb to test with by default,
8221 rather than the first one in the tester's search path.
8223 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8225 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8227 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8230 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8232 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8234 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8236 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8237 * gdb.base/funcargs.exp: Likewise.
8239 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8240 * gdb.base/funcargs.exp: Likewise.
8242 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8245 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8247 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8248 return,signals,twice}.exp: Handle non-existant binaries
8251 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8252 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8253 might testing a cross development system.
8255 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8257 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8258 runtest script is relative to ${srcdir}, not ${rootdir}.
8260 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8262 * gdb.base/signals.exp: Allow for optionality of breakpoint
8265 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8267 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8269 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8271 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8272 for size_t definition.
8273 * gdb.c++/templates.cc: Likewise
8275 * config/mt-i386-netware: New file.
8277 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8280 * gdb.base/Makefile.in: Added support for systems that name core
8281 files by appending "core" to the program name.
8282 * gdb.base/a1-selftest.exp: Likewise.
8284 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8286 * gdb.base/return.exp: Add comment and message for `return double'
8287 test failure on Sparc Solaris.
8289 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8291 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8293 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8295 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8296 from optimizing them away.
8297 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8298 patterns to include default constructors and assignment operators,
8299 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8300 character in the output of the virtual base pointer.
8302 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8304 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8305 expression match in print_addr_of to avoid unintented matches.
8306 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8307 versions up to 2.5.8.
8309 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8311 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8312 included file to run under newer versions of expect.
8313 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8314 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8315 Remove xfail for the virtual table of BDDHookV.
8317 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8319 * lib/gdb.exp (string_to_regexp): Set a default result.
8320 (default_gdb_start): Fix misleading message.
8322 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8324 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8325 Remove all CC, etc definitions.
8326 * config/mt-hpux: New file.
8327 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8328 (CFLAGS, LDFLAGS): Define.
8329 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8331 * Makefile.in (site.exp): Don't insert host_os, etc.
8332 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8333 (distclean): Check existence of subdir.
8334 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8335 * gdb.base/Makefile.in: General cleanup and simplification.
8336 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8337 to build executables. Use default rule to build .o files.
8338 (EXPECT, RUNTEST, CC): Fix relative pathname.
8339 (site.exp): Don't insert host_os, etc.
8340 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8341 and/or SIGUSR1 defined.
8342 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8343 * gdb.c++/Makefile.in: General cleanup and simplification.
8344 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8346 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8348 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8350 * gdb.base/recurse.exp: Misc changes to get tests running again
8351 after Kung's changes to the watchpoint code.
8352 * gdb.base/watchpoint.exp: Likewise.
8354 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8356 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8358 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8360 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8361 * lib/gdb.exp (default_gdb_start): Define.
8362 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8363 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8364 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8365 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8366 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8367 Don't call gdb_target_udi in between tests.
8369 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8371 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8372 (which was basically just a local version of the same thing). In
8373 addition to avoiding duplication, gdb_test_exact is faster.
8374 * lib/gdb.exp (gdb_test_exact): Fix typo.
8376 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8377 don't give an error.
8379 * gdb.base/term.exp: Call delete_breakpoints before starting.
8381 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8384 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8386 Reorganization of the GDB Test Suite.
8388 * gdb.base: New directory, contains all the basic tests.
8389 * gdb.c++: New directory, tests specific to C++.
8390 * gdb.chill: New directory, tests specific to Chill.
8391 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8392 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8393 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8394 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8395 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8397 * */gdbme.*: Rename to match appropriate expect scripts.
8398 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8399 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8400 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8401 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8402 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8403 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8404 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8405 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8406 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8407 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8408 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8409 gdb.c++/virtfunc.cc: New names of C++ files.
8410 * gdb.chill/chillvars.ch: New name of Chill file.
8411 * gdb.base/configure.in, gdb.c++/configure.in,
8412 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8413 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8414 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8415 * configure.in (configdirs): Update to reflect directory changes.
8416 (target_abbrev): No longer define for any configuration.
8417 * Makefile.in: Cosmetic improvements to header comments.
8419 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8421 Various changes to gdb.t31:
8423 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8424 * gdbme.ch: Make all key-words and predefineds be upper-case.
8425 * chillvars.exp: Expect key-words and predefinds in upper-case.
8427 * chillvars.exp: Use gdb_test_exact many places.
8428 Change expected output for arrays (which now includes index labels).
8430 * pr-5020.exp, gdme.ch (module PR_5020):
8431 New test, for PR-5020.
8433 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8435 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8436 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8438 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8440 * Makefile.in: Fix bit-rot in definitions of CHILL,
8441 CHILL_FOR_TARGET and Chill_LIB.
8442 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8443 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8444 CHILL, and CHILL_LIB.
8446 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8448 * Revert the previous changes. Please see Rob's directory
8449 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8451 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8453 * Makefile.in, configure.in, config/mips-gdb.exp,
8454 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8455 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8456 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8457 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8458 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8459 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8460 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8461 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8462 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8463 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8464 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8465 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8466 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8467 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8468 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8471 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8473 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8474 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8475 Rob's new testing fragments.
8477 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8479 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8480 lib/gdb.exp: Replace error proc calls with perror.
8482 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8484 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8485 version also, match on casted version strings, and match on
8486 gdb startup case where the line numbers might be messed up.
8488 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8490 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8491 (CFLAGS): Delete it from here.
8493 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8495 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8497 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8499 * Makefile.in (RUNTEST): Default to just "runtest".
8501 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8503 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8504 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8505 the code has been restructured.
8507 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8509 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8510 \n, not just one of each.
8512 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8513 /bin/cc gives a warning if you do.
8515 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8517 * gdb.t24/demangle.exp: change expect pattern of
8518 __t10ListS_link1ZUiRCUiPT0
8520 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8522 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8523 on local variables in recursive functions.
8525 * gdb.t07/Makefile.in: Build the new test.
8527 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8529 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8530 directly. Instead compare the return values from actual calls.
8532 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8534 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8536 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8538 * From Peter Schauer with minor modifications.
8539 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8540 stops in mid-line in the caller. Add xfail for returning a float
8541 value on X86 targets.
8543 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8545 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8546 to avoid expect lossage.
8547 (fmem_LRbug_tests): Likewise.
8548 * gdb.disasm/hppa.s: Corresponding changes.
8550 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8551 conditions to work with latest dejagnu/expect.
8553 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8554 expected to fail on the PA.
8555 (backtrace in call with trampolines): Explicitly require main
8556 to be frame #1 (no trampolines should show up in backtrace).
8558 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8560 * gdb.t06/break.exp: Likewise.
8561 * gdb.t07/watchpoint.exp: Likewise.
8562 * gdb.t13/bitfields.exp: Likewise.
8563 * gdb.t15/{funcargs,return}.exp: Likewise.
8564 * gdb.stabs/weird.exp: Likewise.
8565 * config/{mips,udi}-gdb.exp: Likewise.
8567 * hppa.sed: Enclose comments within a sed command to avoid
8568 losing with the old OSF1 sed.
8570 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8572 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8574 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8575 * gdb.t15/funcargs.exp: Conditionally step again to really
8576 finish from marker_call_with_trampolines. Handle the case where
8577 the first step from within call_with_trampolines already steps
8579 * gdb.t15/gdbme.c: Add comment to closing brace of
8580 call_with_trampolines for funcargs.exp.
8582 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8584 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8587 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8589 * gdb.t07/gdbme.c: More code for watchpoint testing.
8591 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8592 "Hardware watchpoint" throughout file.
8593 (test_watchpoint_triggered_in_syscall): New test.
8594 (test_complex_watchpoint): New test.
8596 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8598 * gdbme.c (call_with_trampolines): New function to try and step
8599 into. Tests trampoline problems on the PA.
8601 * funcargs.exp (localvars_in_indirect_call): No longer expect
8602 stepping into indirect call to fail on PAs.
8603 (test_stepping_over_trampolines): New test.
8605 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8607 * TODO: Add suggestions for static member function tests, and
8610 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8612 * TODO: Add suggestions for "p/a" tests.
8614 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8615 (default_gdb_exit): Replace all the hair with sending "quit" to
8616 the process with a simple close.
8618 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8620 * TODO: Add suggestions for shared library tests.
8622 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8624 * TODO: Add suggestions for x/s tests.
8626 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8628 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8629 "enable once", and "enable breakpoints once" with ".*".
8631 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8633 * TODO: Add suggestions about structure passing tests.
8635 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8637 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8638 the primary1 test, use work around if __GNUC__ < 2.
8639 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8640 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8641 Test for bad output rather than waiting for timeout. Issue
8642 second continue only if first continue failed.
8644 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8646 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8647 operator[] test with gdb_test because the old code didn't seem to
8648 be getting the quoting right with the new dejagnu.
8650 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8652 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8654 * Makefile.in: Use a fresh expect if there is one, use runtest
8655 from the src tree if there is one.
8657 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8659 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8660 next over recursive call. Revise the tests from that point on
8661 (which had been skipped) to match GDB's actual (correct) output.
8663 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8664 with next over a breakpoint whose condition is false.
8666 * gdb.t00/help.exp: Comment out "help set print" tests just like
8667 (and for same reason as) "help set" test.
8669 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8671 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8672 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8674 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8676 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8677 necessary gdb_target_udi.
8679 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8681 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8682 1838 and 2417; they are fixed.
8684 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8685 gdb.t03/ptype.exp (ptype structure, ptype union):
8686 Remove xfails; the test is looser than when the xfails were added.
8688 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8689 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8691 * gdb.t01/run.exp: Only run shell test if isnative.
8693 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8694 since "run" automatically loads if necessary. Call gdb_target_udi
8695 after the "file" since "file" kills any execution target.
8697 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8698 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8699 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8702 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8704 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8706 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8708 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8710 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8711 properly quoting regexps. This makes the second argument to
8712 demangle a fixed string, which matches the callers, instead of a
8713 shell-style pattern which is what the previous implementation
8714 used. Update some of the callers.
8716 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8718 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8719 (comib_nullified_tests): Fix typo.
8720 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8721 strings. No longer expected to fail.
8723 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8724 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8725 strings. No longer expected to fail.
8727 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8728 string. No longer expected to fail.
8730 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8732 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8733 No longer expected to fail.
8735 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8736 string. No longer expected to fail.
8738 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8740 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8741 only in the names (I probably got most of them). I was even
8742 generous with some which differed in underscores in names, and
8743 probably missed a few, and I *still* was able to remove almost a
8744 third of the file with almost no impact on testsuite coverage.
8746 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8748 * gdb.t00/default.exp: Match udi_attach error message as well as
8749 the one from child_attach.
8751 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8753 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8755 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8756 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8758 * Move test with enums and partial symbols back to
8759 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8760 Reverts the change of 26 May 93. Per today's change to
8761 stabs.texinfo, the behavior that weird.exp was expecting was
8762 unreasonable; what is important is that the compiler+gdb get
8763 things right, which happens with a recent gcc. Also fix the test
8764 to deal with native compilers which put out the stab gdb can't
8767 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8769 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8770 in the names. The main thing these accomplish is to slow things down.
8771 Many more such duplicates surely remain.
8773 * gdb.t00/help.exp: Comment out "help support" test just like
8774 (and for same reason as) "help set" test.
8776 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8778 * gdb.t06/break.exp: Remove setup_xfails for
8779 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8780 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8781 about known bug in gcc to include up through 2.5.8.
8782 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8784 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8785 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8786 with latest gcc and gdb.
8787 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8790 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8792 * configure.in (hppa*-*-*): Also configure and build stabs-only
8795 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8797 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8798 * gdb.t10/configure.in (hppa*-*-*): Use it.
8800 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8802 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8804 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8806 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8807 versions prior to 1.13.5.
8809 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8811 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8812 the prompt is at the start of a line.
8814 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8816 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8817 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8818 in the copr tests now.
8819 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8820 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8823 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8825 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8826 gdb.t31/chillvars.exp, lib/gdb.exp:
8827 Tweak to run under either version of expect.
8828 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8829 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8830 * gdb.t11/list.exp: Remove extraneous whitespace.
8832 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8834 * gdb.t16/printcmds.exp (test_print_strings): Accept
8835 "(unsigned char *) " before the string.
8837 * TODO: Add notes about printing of fancy types and GDB expressions.
8839 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8841 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8842 * gdb.t06/configure.in: Don't try to compile signals test program
8843 if doing mips-idt-ecoff.
8845 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8847 * Most .exp files: Tweak to run under either version of expect.
8849 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8851 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8852 xfails; I'm not sure why they are failing, but not because of PR 1806.
8854 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8856 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8857 defined in lib/gdb.exp.
8859 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8861 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8862 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8863 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8864 have to be typeless.
8866 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8868 * TODO: Add suggestion for copyright year test.
8870 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8872 * configure.in (*-*-lynxos*): Add stabs tests.
8874 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8876 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8877 so insert a tab before any assembler directive in column zero.
8879 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8881 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8883 (fpu_short_memory_tests): Likewise.
8885 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8887 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8888 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8889 .stabs directives in comments.
8891 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8893 * TODO: New file, describing tests we could write.
8894 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8896 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8898 * gdb.t06/signals.exp: Add kludge to force re-sync.
8900 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8901 to xgdb instead of gdb, get out of gdb.
8903 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8905 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8908 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8910 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8911 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8912 * gdb.stabs/hppa.sed: New sed script for the PA.
8914 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8916 * gdb.stabs: Re-write weird.def and configuration to use sed
8917 instead of cpp. sed is portable and POSIX; cpp is neither.
8919 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8921 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8923 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8925 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8927 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8929 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8931 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8932 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8934 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8936 * lib/gdb.exp: Comment out code which depends on non-existent
8937 `transform' procedure.
8939 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8941 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8942 * lib/gdb.exp: Transform tool name.
8943 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8944 1.1's new error handling system.
8946 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8948 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8950 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8952 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8953 They made pattern matching so slow that timeouts happened on
8954 heavily loaded systems. Now any output from "show print" which
8955 gets us back to the GDB prompt is a PASS.
8957 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8959 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8961 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8963 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8965 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8966 It is not from PR 3220.
8968 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8970 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8971 just started failing because they depended on the order the
8972 subcommands are presented, or exact docstring text. This kind of
8973 test is a pain and has minimal benefit.
8975 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8977 * gdb.t09/corefile.exp: At end of test, use "core" command with
8980 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8982 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8983 17}/Makefile.in: Make it possible to run the testsuite with Sun
8984 make and CC = cross gcc by adding explicit build rules for .o
8987 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8989 * gdb.t15/funcargs.exp: Don't put comments on same line as
8990 setup_xfail (@#$*%& tcl braindamage!).
8992 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8994 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8996 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8998 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8999 * gdb.t20/inherit.exp: remove three dumplicate entries.
9001 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9003 * gdb.t06/break.exp: For "next over recursive call", fail on any
9004 incorrect output, not just on "factorial (value=2)".
9006 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9008 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9009 working now. Add an xfail if accesing a bss variable causes
9010 a memory error if the target is not yet run.
9012 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9014 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9015 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9016 name of __st* demangling (2 strings). Did Kung really get the
9017 more than 95 others right without testing them?
9019 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9021 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9023 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9025 * configure.in (configdirs): Add gdb.disasm
9026 * gdb.disasm: New directory for GDB disassembler tests.
9027 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9029 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9031 * gdb.t00/help.exp: Don't test "help set".
9033 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9034 from within expect statements. None of these happen anymore and
9035 they cause regressions to be silently unnoticed.
9037 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9038 messages) about known failures with gcc cygnus-2.4.5-930417.
9040 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9041 comp-info.exp so it gets built if it doesn't exist.
9043 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9044 it is no longer used.
9045 * gdb.t13/comp-info.c: Removed.
9047 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9049 * gdb.t06/signals.exp: Add xfail for sun3.
9051 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9053 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9054 relevant because ^C doesn't get sent but failure can be reproduced
9057 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9059 * gdb.stabs/alpha.mt: New configuration file for alpha.
9060 * gdb.stabs/configure.in: Use it.
9061 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9062 sharing with alpha.mt, redefine long to word via preprocessor.
9063 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9065 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9067 * gdb.t00/teststrategy.exp: Change expect string so that we
9068 consume the `(xgdb)' from the command echo and from the gdb prompt.
9069 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9070 gdb currently compares all values as long, so this failure probably
9071 applies to any configuration where LONGEST is bigger than a target int.
9072 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9074 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9075 to handle opaque pointers, gcc is.
9076 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9077 as first argument. Include <sys/types.h> and change all operator
9078 new definitions to use size_t.
9079 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9080 now that we use size_t.
9082 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9084 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9085 a long or float array cast all array members to the same type.
9086 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9088 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9090 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9092 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9094 * gdb.t24 (demangle.exp): Constructors of templates have names like
9095 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9096 section 14.6 of the ARM.
9098 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9099 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9100 accomplish little and slow down the testsuite.
9102 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9103 Accept spaces various places.
9105 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9107 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9108 with watchpoint enabled.
9110 * Makefile.in: Remove definition of CC and remove the second
9111 definition of CXX (the "CXX = gcc" one remains). These definitions
9112 were causing backquotes to be expanded within backquotes, which
9115 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9117 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9119 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9121 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9122 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9123 by mips cc and contains no stabs entries.
9125 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9127 * config/vx-gdb.exp: Use fake device to load files rather than
9129 * lib/gdb.exp: New proc to do "file" command.
9130 * config/unix-gdb.exp: Use new "file" proc.
9132 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9134 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9135 Rework board rebooting slightly.
9136 (gdb_exit): Don't exit from the remote shell; there isn't one.
9137 * gdb.stabs/weird.exp: If a program is being debugged already,
9139 * gdb.t04/setvar.exp: Stop and restart gdb.
9140 * gdb.t05/expr.exp: Likewise.
9141 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9142 restart gdb and reload the program.
9143 * gdb.t08/opaque.exp: Likewise.
9144 * gdb.t12/scope.exp: Likewise.
9145 * gdb.t13/bitfields.exp: Likewise.
9146 * gdb.t15/funcargs.exp: Likewise.
9147 * gdb.t20/classes.exp: Likewise.
9148 * gdb.t03/ptype.exp: Increase timeout.
9149 * gdb.t16/printcmds.exp (test_print_string_constants,
9150 test_print_array_constants): Likewise.
9151 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9152 * gdb.t20/classes.exp (do_tests): Likewise.
9153 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9155 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9157 * gdb.stabs: Renamed *wierd* to *weird*.
9159 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9161 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9162 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9164 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9166 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9167 (do_tests): Remove xfail for whatis on one_var and two_var.
9169 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9171 * Makefile.in: Made cross building work better by adding
9172 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9174 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9176 * gdb.t15/{return.c,return.exp,Makefile.in}:
9177 New test, currently commented out.
9179 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9181 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9182 still running and removes the leftover named socket so GDb can do
9185 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9187 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9189 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9190 cross testing works better with "make check"
9191 * config/unix-gdb: Use default procedures for exit and version.
9192 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9193 with the newest VxWorks.
9195 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9197 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9200 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9201 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9203 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9205 * config/unix-gdb.exp: Remove this version of gdb_exit
9206 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9207 Rob says he'll look at it when he gets back to testing boards.
9209 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9211 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9212 an expected fail for certain ptype commands.
9214 * gdb.t20/classes.exp: Update expected results of "ptype class
9215 Base1" to account for the constructor that now appears in the type.
9217 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9219 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9220 disappeared from list.
9221 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9222 "alldone" proc with call to cleanup and exit.
9223 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9224 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9225 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9226 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9227 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9228 "alldone" proc with simple returns that suppress remaining
9229 tests. The alldone proc went away many months ago.
9231 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9233 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9235 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9237 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9239 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9240 as vax gdb will display them.
9242 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9244 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9247 * scope.exp: Change "bad value for localval" messages so each one
9250 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9251 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9253 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9255 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9257 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9258 doesn't exist (due to optimization).
9260 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9262 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9263 contains \r because the filename is long.
9265 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9266 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9268 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9270 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9271 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9273 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9275 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9277 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9279 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9281 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
9282 to match does not match the passing case but still matches the
9285 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9287 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9289 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9291 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9292 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9293 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9294 Remove various versions of gdb_exit.
9295 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9297 * config/unix-gdb.exp: gdb_exit remains here, and should override
9298 the generic version, since it's doing a lot of wierd stuff that
9299 the other versions aren't. FIXME, fold it in, or abandon this
9302 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9304 * gdb.t24/demangle.exp: Add tests for PR 3220.
9306 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9308 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9310 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9312 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9313 "i386-*-*". Works for i486 as well.
9315 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9316 bug, and expand domain of xfail to all SVR4 systems, since the
9317 actual problem is likely to be in generic SVR4 /proc support.
9319 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9321 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9323 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9325 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9326 xfails for other systems. Match a missing 'Continuing.' as an
9327 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9329 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9330 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9331 Only issue warning for missing executables if -all option is used.
9333 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9334 file if -all option is used. It's like an unpredictable XFAIL.
9336 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9338 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9339 for dynamically linked binaries.
9341 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9343 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9345 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9346 to state that this is a known bug in old versions of g++.
9348 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9350 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9351 while waiting for `Continuing'.
9353 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9355 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9356 in text, data, and bss.
9357 * gdb.t10/nodebug.c: Add local and global test variables for
9358 initialized and uninitialized data.
9360 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9362 * config/unix-gdb.exp (gdb_exit): Add "wait".
9364 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9366 * gdb.t06/signals.exp: xfail the continue from the handler for all
9369 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9370 function with watchpoints enabled, the i386 call dummy starts with
9373 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9374 386 bsd names its corefiles.
9376 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9378 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9379 compilers don't grok it.
9380 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9381 with small octal ints rather than character constants, which
9382 are signed and might not fit if first promoted to int.
9384 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9386 * gdb.t09/Makefile.in (clean): Remove corefile.
9388 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9390 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9392 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9393 and Jim Kingdon (kingdon@cygnus.com)
9395 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9396 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9397 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9399 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9401 * gdb.t17/interrupt.exp: Add xfail for hppa.
9403 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9405 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9406 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9407 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9408 to determine signed-ness of bitfields and use the result to setup
9410 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9411 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9412 call line is reached if necessary.
9414 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9416 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9418 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9420 * gdb.t06/break.exp: Also test `clear' command.
9422 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9424 * gdb.t00/teststrategy.exp: Remove extra quote.
9426 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9427 watchpoint enabled to be for all non-68k machines.
9429 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9431 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9433 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9434 targets use aout.mt instead of ecoff.mt as gas understands
9435 standard aout format.
9437 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9439 * lib/gdb.exp (runto): Don't insist that function we are running to
9440 was compiled with -g.
9442 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9444 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9445 to get back into the read system call.
9446 Accept leading newline in case where we woke it up.
9448 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9450 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9451 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9452 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9453 enable ecoff configuration.
9455 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9457 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9459 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9461 * gdb.t16/printcmds.exp: Add another printf test.
9463 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9465 * configure.in: If configured -with-stabs on any target, add
9466 stabsdirs to configdirs.
9468 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9470 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9471 fun" so pattern does not match the command itself.
9473 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9475 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9477 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9479 * gdb.t17/interrupt.exp: Test for more things.
9481 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9483 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9484 compiler arranges the code and line numbers.
9486 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9488 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9490 * gdb.t00/help.exp: Increase expect input buffer size.
9492 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9494 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9496 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9498 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9500 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9501 [0-9]*, not just [0-9].
9503 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9505 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9507 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9509 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9511 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9513 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9515 * gdb.t06/signals.c: Add xfails for sun3.
9517 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9519 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9520 test_stepping tests.
9522 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9524 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9526 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9528 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9529 rather than actually putting it through cpp twice.
9531 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9533 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9535 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9538 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9540 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9542 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9543 C++ features prints as "struct", make it a pass, not an xfail.
9545 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9547 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9548 Don't require VA to print as "class" rather than "struct".
9550 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9552 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9554 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9556 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9558 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9560 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9563 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9565 * gdb.t16/printcmds.exp: Add printf tests.
9567 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9569 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9571 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9573 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9574 pass counts, to counteract any existing or future setup_xfails.
9576 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9578 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9579 {BEGIN,END}_COMMON for common block instead of STAB.
9580 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9582 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9583 intp_var should be N_GSYM not N_LSYM.
9584 wierd-aout.S: Use a label for the value of the N_SO.
9585 wierd.def: Remove all backslashes.
9586 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9588 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9590 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9591 get the expected next to inheritance3.
9593 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9595 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9596 now that gcc-2.4 gets it right.
9598 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9600 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9602 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9603 generating comp-info.exp which works for cross-compilation.
9605 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9607 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9610 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9612 * gdb.t01/run.exp: Start with a fresh gdb.
9613 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9616 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9618 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9619 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9620 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9621 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9624 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9626 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9627 test cases from bug reports.
9629 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9631 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9632 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9633 avoid spurious xfails.
9634 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9635 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9636 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9638 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9640 * gdb.t00/teststrategy.exp: Rework to provide more useful
9641 description of each test, fix problem with systems that define
9642 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9643 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9644 results for "next over recursive call" so timeouts aren't taken
9647 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9649 * gdb.t12/scope.exp: Test printing of variables before run.
9651 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9652 printed in wrong order due to sorting.
9654 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9656 * gdb.t00/teststrategy.exp: Fix expected results for printing
9657 user entered string constant. Is array of char, prints with no
9660 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9662 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9663 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9664 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9665 of struct of char arrays.
9666 * gdb.t00/radix.exp: New tests for radix commands.
9668 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9670 * gdb.t16/printcmd.exp: Print a variable before running program
9671 (with xfail for AIX).
9673 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9675 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9677 * gdb.t16/printcmd.exp: Don't print variables before running program.
9679 * gdb.t06/break.exp: Don't require envp argument to main.
9681 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9683 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9684 Add xfails for rs6000.
9686 * gdb.t02/whatis.exp: Change other tests not to re-test something
9689 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9690 each type used has a variable of that type.
9692 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9694 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9696 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9698 * configure.in: change srctrigger to be a file, not a directory
9700 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9702 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9704 * gdb.t11/list.exp: Fixed a couple of typos.
9706 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9708 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9709 is fixed and PR is closed.
9710 * gdb.t16 (gdbme.c): Add simple test string variable.
9711 * gdb.t16 (printcmds.exp): Add tests with simple test string
9712 variable, primarily for boundaries on "set print elements".
9714 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9716 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9717 Make leading 0's optional and don't expect a tab in the middle
9720 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9722 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9723 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9724 don't end command passed to gdb_test with newline.
9726 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9727 signed keyword away, don't expect signed bitfields to be signed.
9729 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9730 printing with only as many 1's as are in the field as well as printing
9731 with 32 1's (see comment).
9733 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9735 * gdb.t00/default.exp: Start with a fresh gdb.
9736 * configure.in (configdirs): Remove gdb.t31 until the chill
9737 compiler works again. It no longer is able to find chillrt0
9738 since it isn't in libchill.a anymore.
9739 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9740 wierd.o, make more modular.
9741 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9742 spurious newlines that caused problems.
9744 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9746 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9747 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9748 gdb.stabs/wierd.{exp,def}: Many new tests.
9750 * gdb.t00/default.exp: update info line for new message.
9752 * gdb.t02/{whatis.exp,gdbme.c}:
9753 Test that "char *" doesn't print as "caddr_t".
9755 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9757 * gdb.t00/help.exp: Use .* in place of some help messages which
9759 gdb.t00/default.exp: Update "info frame" test for new message.
9760 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9763 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9765 * gdb.t03/{gdbme.c,ptype.exp}:
9766 Add tests for typedef'd struct and union without tags.
9767 Also check "whatis" on a variable of a typedef'd enum without a tag.
9769 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9770 PRMS 1823; the bug still exists but isn't reproduced by this test
9771 anymore), and remove rs6000 XFAIL (the bug is fixed).
9773 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9774 duplicated from whatis.exp. For those that are left, accept
9775 "long", "long int", or "int" for long variables (whatis.exp already
9776 has an XFAIL for "int", so no need to fail it here).
9778 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9779 Deal with GCC's names for types now that GDB uses the compiler's names.
9781 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9782 setup_xfail's for sunos4. If we #defined the signed keyword away,
9783 don't expect GDB to know that char it is signed.
9785 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9787 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9789 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9790 should work on any system, regardless of debugging format.
9791 * gdb.t21/demangle.exp: Move to gdb.t24.
9792 * gdb.t24/demangle.exp: Move from gdb.t21.
9793 * gdb.t24/{Makefile.in, configure.in}: New files.
9795 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9797 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9798 * gdb.stabs: New directory.
9800 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9802 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9803 not just "Quit anyway?".
9805 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9807 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9808 that all setup_xfails are immediately followed by clear_xfails.
9810 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9812 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9813 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9814 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9815 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9816 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9817 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9818 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9819 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9820 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9821 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9822 gdb.t31/chillvars.exp, lib/gdb.exp:
9823 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9824 bug-gdb@prep.ai.mit.edu.
9826 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9828 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9829 with 0.0, not integer 0.
9831 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9833 * gdb.t06/break.exp: Update for "Kill the program" message change.
9835 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9837 * Makefile.in (GDBFLAGS): Set to -nx.
9838 * Makefile.in (site.exp): Use GDBFLAGS.
9840 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9842 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9844 (check): depend on just-check.
9845 (just-check): added so that tests can be run without a noop
9848 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9850 Switch to using configure's configdirs.
9851 * Makefile.in (Makefile): add configure.in dependency.
9852 (SUBDIRS): removed redundant assignment.
9853 * configure.in: switch subdirs assignment to configdirs.
9854 * gdb.t*/configure.in: new files.
9856 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9858 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9861 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9863 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9864 in explicit rules. Apparently this is not supported by some makes.
9866 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9868 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9870 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9872 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9875 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9877 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9879 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9881 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9882 watchpoint problem that is now fixed.
9883 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9884 uninitialized convenience variables.
9885 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9888 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9890 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9891 which causes expect to get out of sync with gdb on long output
9893 * gdb.t09/corefile.exp: Make expected pattern for core file
9894 failing signal and frame output format less sun specific.
9896 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9898 * gdb.t31/chillvars.exp: Add and remove initial dummy
9899 breakpoint, so that symbol table is forced in.
9900 (Needed at least on Sunos4, though it seems not SVR4.)
9901 * gdb.t31/chillvars.exp: Update for changed output format.
9903 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9905 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9907 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9909 * Makefile.in: Added --srcdir when invoking runtest, removed the
9910 need for a local config file. (optional now)
9912 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9914 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9915 failure count used to force early termination. Add some more
9916 expected failures for gnu style demangling.
9918 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9920 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9921 pmi variable from gdb.t20/gdbme to get optimized away.
9922 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9923 Check for written corefile upon timeout _and_ eof.
9925 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9927 * config/unix-gdb.exp: Add missing return 0.
9929 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9931 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9934 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9936 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9939 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9941 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9942 time as i860 support works.
9944 * gdb.t15/funcargs.exp: Fix expected outputs to include
9945 "backtrace 100\r" rather than just "backtrace\r", to match last
9948 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9950 * config/udi-gdb.exp (gdb_exit): Remove close command.
9951 (gdb_target_udi): New procedure to set the UDI target.
9952 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9953 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9954 Added waits for prompts after several question responses. Added
9955 some more responses used by a29k-amd-udi-gdb.
9956 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9957 pass different arguments, restart UDI connection after program
9959 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9960 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9961 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9962 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9963 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9964 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9965 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9966 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9967 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9968 after program completion.
9969 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9970 compiled with a SELECT_VECS setting.
9971 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9974 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9975 Added checks for COFF results, and made them expected failures for
9976 all targets. It would be better to make them expected failures
9977 for COFF targets only.
9979 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9981 * Makefile.in: add null dvi target, don't bother to recurse
9982 through test directories for info and install-info; rename
9983 $(datadir) to be dejagnu instead of deja-gnu
9985 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9987 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9988 compiler to coredump.
9989 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9992 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9994 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9996 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9999 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10001 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10002 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10003 which in a shell. Deletes xgdb when done.
10004 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10005 Tests the return from the "set height" or "set width" commands.
10006 Added a few return codes where needed.
10008 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10010 * Makefile.in (SUBDIRS): Add gdb.t17.
10011 * configure.in (subdirs): Add gdb.t17.
10012 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10013 files to test gdb's calling of functions in the inferior with
10014 the correct arguments and gdb's ability to retrieve any
10017 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10019 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10020 may be called after gdb goes away. Previous versions of expect
10021 needed these to avoid file descriptor leaks, but they cause
10022 errors with the current revision of expect.
10023 * gdb.t00/gdbvars.exp: Use -re on expected output after
10024 setting sevenbit-strings.
10025 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10026 to set sevenbit-strings consistent across tests.
10027 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10028 set sevenbit-strings consistent across tests.
10030 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10032 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10033 expected output to match current "expect" expectations.
10035 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10037 * gdb.t00/default.exp: Change expected output for default "source"
10038 command, to match new gdb behavior which requires a filename to
10041 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10043 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10044 expected fail for i486-*-* that misses the marker2 function.
10045 * gdb.t10/crossload.exp (bfddefault): Allow successful
10046 recognition of a format to pass even if no symbols are found.
10047 Explicitly catch failures where the format is not recognized
10048 or is ambiguous, and add the reason to the fail message.
10049 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10050 the cause is and invalid target and add reason to failure message.
10051 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10052 elf32-i386, elf32-sparc, and elf32-i860.
10053 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10054 Set up expected failure for 'filename'::variable scope resolution,
10055 which is now apparently broken on all targets.
10056 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10057 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10058 gdb.t23/templates.exp: Change failure for missing binfile into
10060 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10063 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10065 * gdb.t00/default.exp: Add expected output for default "source"
10066 command, to match new gdb behavior.
10067 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10069 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10071 * config/*-gdb.exp: returns an error, rather than exiting on
10074 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10076 * gdb.t03/gdbme.c: Add pointer to struct variable.
10077 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10078 referencing struct members.
10080 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10082 * configure.in (mips-idt-ecoff): New target.
10083 * config/mips-gdb.exp: New file for remote board using MIPS remote
10084 debugging protocol.
10086 * Redid configuration scheme. Removed gdb.t*/configure.in.
10087 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10088 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10089 distclean targets. Built executables via .o files. Adjusted
10090 tests to account for source files in $(srcdir) rather than
10092 * lib/gdb.exp (runto): Don't expect () after the function name,
10093 because it may have arguments.
10095 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10097 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10098 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10099 expected failures for mips-idt-* and mips-sgi-*.
10100 * gdb.t00/default.exp (attach): Kill process if requested.
10101 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10102 that does not read core files.
10103 * gdb.t01/run.exp: Removed checks for exit status code.
10104 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10106 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10107 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10108 appropriate, rather than doing it by hand.
10109 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10111 * gdb.t10/crossload.exp: Kill existing program if needed.
10112 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10113 appropriate, rather than doing it by hand. Always increase
10114 timeout for this test, not just for VxWorks.
10116 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10118 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10119 of Chill STRUCT types and STRUCT values.
10120 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10122 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
10123 struct2): New struct definitions and initializations to test
10124 simple Chill STRUCT types.
10126 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10128 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10129 the null byte at the end of strings.
10130 * gdb.t00/default.exp: Make show version insensitive to copyright
10132 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10133 to avoid dependencies on target char signedness.
10134 * gdb.t16/printcmds.exp: Update expected results for explicitly
10136 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10138 * gdb.t21/demangle.exp: Add many more patterns for template
10139 demangling, most of them being expected failures.
10140 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10141 string we are matching for, to match on the whole string.
10142 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10143 and fix a whole bunch that had incorrect expected output but were
10144 passing anyway because of the bug in "proc demangle".
10145 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10147 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10149 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10151 * gdb/testsuite: made modifications to testcases, etc., to allow
10152 them to work properly given the reorganization of deja-gnu and the
10153 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10155 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10157 * gdb/testsuite: Initial creation of gdb/testsuite.
10158 Migrated dejagnu testcases and support files for testing nm to
10159 gdb/testsuite from deja-gnu. These files were moved "as is"
10160 with no modifications. This migration is part of a major overhaul
10161 of dejagnu. The modifications to these testcases, etc., which
10162 will allow them to work with the new version of dejagnu will be
10163 made in a future update.
10166 mode: indented-text
10169 version-control: never