1 2004-07-13 Andrew Cagney <cagney@gnu.org>
3 * gdb.gdb/observer.exp: Update copyright.
4 (setup_test): Use gdb_test_multiple.
5 (attach_first_observer, attach_second_observer)
6 (attach_third_observer, detach_first_observer)
7 (detach_second_observer, detach_third_observer)
8 (reset_counters, check_counters): Make $message a prefix.
9 (test_normal_stop_notifications): Add "args" parameter - a list of
10 init functions to be called. Make $message a prefix,
11 (test_observer_normal_stop): Change the message prefixes so that
12 they are unique, pass the attach / detach procedures to
13 test_normal_stop_notifications.
15 * gdb.base/signull.exp (test_segv): Prefix all tests with
16 "${name}". Clean up test messages.
18 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20 * gdb.base/ena-dis-br.exp: Update copyright.
21 (break_at): New function. Replace send_gdb with gdb_test,
22 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
23 ignore count, not stopped at bpt", with KFAIL.
25 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
27 * gdb.base/attach.exp: Remove cleanupfile handling.
29 2004-07-12 Andrew Cagney <cagney@gnu.org>
31 * gdb.base/annota1.exp: Cleanup corefile test name.
32 * gdb.base/annota3.exp: Ditto.
34 2004-07-12 Andrew Cagney <cagney@gnu.org>
36 * gdb.base/signals.exp: Clean up copyright, re-indent.
38 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
39 gdb_test and gdb_test_multiple.
41 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
43 * gdb.java/jmain.exp: Fix expected line number for main to
44 break at. Set XFAIL for break at main test since gcj does not
45 provide line number info for first statement in main.
47 2004-07-08 Andrew Cagney <cagney@gnu.org>
49 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
51 * gdb.base/sigbpt.exp: Make the common part of each test name a
52 prefix instead of suffix.
54 2004-07-07 Bob Rossi <bob_rossi@cox.net>
56 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
57 test from test_tbreak_creation_and_listing to
58 test_file_list_exec_source_file
59 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
60 Changed name of test from test_tbreak_creation_and_listing to
61 test_file_list_exec_source_file
63 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
65 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
66 the jmisc() constructor instead of <init>.
67 * gdb.java/jmisc1.exp: Ditto.
69 2004-07-07 Andrew Cagney <cagney@gnu.org>
71 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
74 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
76 * gdb.cp/templates.exp: Accept whitespace change in demangler
79 2004-07-06 Andrew Cagney <cagney@gnu.org>
81 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
83 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
85 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
86 * lib/compiler.cc: Likewise.
88 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
90 * lib/compiler.cc: Work around string preprocessing problem
91 with old hp c++ compiler.
92 * lib/compiler.c: Likewise.
94 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
96 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
97 directives to conditionalize symbol prefixing.
98 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
99 additional_flags handling. Add underscore prefix for Cygwin.
100 * gdb.arch/i386-unwind.c: Use preprocessor directives to
101 conditionalize symbol prefixing.
102 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
103 additional_flags handling. Add underscore prefix for Cygwin.
105 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
107 * gdb.base/bigcore.exp: Skip test on Cygwin.
109 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
111 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
112 formats for "info register". Use gdb_test_multiple. Fix
113 the "invalid register" test.
115 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
117 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
118 PID for Cygwin. Add Cygwin specific strings to check for in some
120 (do_attach_tests): Add a test for user interaction when attaching
121 to a process with no matching symbol table already loaded.
123 2004-06-26 Andrew Cagney <cagney@gnu.org>
125 Test PR java/1567 and PR java/1565.
126 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
127 * gdb.java/jmisc2.exp: Delete file.
129 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
131 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
133 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
135 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
138 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
140 * gdb.cp/pr-1553.exp: Remove.
142 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
144 * gdb.cp/pr-1553.cc: Remove.
145 * gdb.cp/pr-1553.exp: Disable this test.
147 2004-06-20 Jim Blandy <jimb@redhat.com>
149 Fix PR testsuite/1680.
150 * gdb.arch/i386-sse.exp: Properly quote curly braces in
153 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
155 Fix PR testsuite/1679.
156 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
157 Issue an UNSUPPORTED result instead.
159 2004-06-18 Jim Blandy <jimb@redhat.com>
161 * gdb.base/charset.exp: Only send a control-C if we see a new
162 prompt and incomplete command.
164 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
166 * gdb.cp/pr-574.cc: Add copyright notice.
168 2004-06-17 Jim Blandy <jimb@redhat.com>
170 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
171 cases where the regexp has no groups; this grabs random text from
172 the previous test suite, whatever that was.
174 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
176 * gdb.cp/printmethod.cc: Add copyright notice.
178 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
180 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
182 2004-06-16 Andrew Cagney <cagney@gnu.org>
184 * gdb.base/signull.c: Update copyright. Include <string.h>.
185 (bowler): Replace data_pointer with data_read
186 and data_write cases. Add code_descriptor case.
187 (zero, desc): New array and pointer.
188 (data, code): Change to simple pointers.
189 * gdb.base/signull.exp: Fix probe pattern matching a function
190 descriptor SIGSEGV. Replace data_pointer with data_read and
193 2004-06-16 Andrew Cagney <cagney@gnu.org>
195 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
197 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
199 * gdb.base/long_long.c: Add copyright notice.
201 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
203 * gdb.base/long_long.exp: Remove reference to
204 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
205 to gdb_breakpoint and gdb_continue_to_breakpoint.
207 2004-06-14 Jim Blandy <jimb@redhat.com>
209 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
212 2004-06-14 Andrew Cagney <cagney@gnu.org>
214 * gdb.base/gcore.exp (capture_command_output): Delete the always
215 passing tests containing inferior values.
216 * gdb.base/ending-run.exp: Do not include the breakpoint address
217 in the test message. Update copyright.
218 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
219 size in the test name, use gdb_test_multiple. Update copyright.
221 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
223 * gdb.cp/ref-types.cc: Add copyright notice.
225 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
227 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
229 * lib/compiler.cc: Likewise.
230 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
231 'set' commands. Log diagnostics for other lines. Set
232 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
234 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
236 * gdb.cp/try_catch.cc: Add copyright notice.
238 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
240 * gdb.cp/userdef.cc: Add copyright notice.
242 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
244 * gdb.cp/virtfunc.cc: Add copyright notice.
246 2004-06-11 Randolph Chung <tausq@debian.org>
248 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
251 2004-06-10 Andrew Cagney <cagney@gnu.org>
253 * lib/compiler.cc, lib/compiler.c: Append either
254 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
255 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
258 2004-06-09 Andrew Cagney <cagney@gnu.org>
260 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
261 gdb/1455, bug is specific to "long long" and "double".
263 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
264 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
265 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
268 2004-06-09 Andrew Cagney <cagney@gnu.org>
270 * gdb.base/structs.exp (test_struct_returns): Replace
271 "return_value_unknown" and "finish_value_unknown" by
272 "return_value_known" and "finish_value_known". Instead of
273 "return_value_unknown" iff "finish_value_unknown", check
274 "return_value_known" implies "finish_value_known".
276 2004-06-08 Martin Hunt <hunt@redhat.com>
278 * gdb.base/float.exp: Add pattern for mips targets.
280 2004-06-08 Randolph Chung <tausq@debian.org>
282 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
283 message for unknown architectures more clear.
285 2004-06-08 Joel Brobecker <brobecker@gnat.com>
287 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
288 start the execution of the program.
290 2004-06-07 Jim Blandy <jimb@redhat.com>
292 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
293 * gdb.arch/i386-cpuid.h: New helper file.
295 2004-06-07 Randolph Chung <tausq@debian.org>
297 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
300 2004-06-04 Roland McGrath <roland@redhat.com>
303 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
304 differently to be robust to output buffering differences.
306 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
308 * gdb.threads/pthreads.exp: Update copyright years.
309 (check_control_c): Change asynchronous 'after' to synchronous.
311 2004-06-04 Roland McGrath <roland@redhat.com>
313 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
316 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
319 * gdb.threads/manythreads.exp: Change asynchronous 'after'
320 calls to synchronous.
322 2004-05-26 Jim Blandy <jimb@redhat.com>
324 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
326 2004-05-24 Randolph Chung <tausq@debian.org>
328 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
329 * gdb.asm/pa.inc: New file.
331 2004-05-22 Mark Kettenis <kettenis@gnu.org>
333 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
335 2004-05-21 Joel Brobecker <brobecker@gnat.com>
336 Daniel Jacobowitz <drow@mvista.com>
338 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
341 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
343 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
344 setjmp/longjmp. Use sigaction instead of signal.
346 2004-05-19 J. Brobecker <brobecker@gnat.com>
347 Michael Snyder <msnyder@redhat.com>
349 * gdb.threads/pthread_cond_wait.c: New file.
350 * gdb.threads/pthread_cond_wait.exp: New testcase.
352 2004-05-13 Andrew Cagney <cagney@redhat.com>
354 * gdb.base/signull.exp, gdb.base/signull.c: New files.
355 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
357 2004-05-11 Andrew Cagney <cagney@redhat.com>
359 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
360 fixed but revealed gdb/1639.
362 2004-05-10 Andrew Cagney <cagney@redhat.com>
364 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
365 func1" and "next to 2nd alarm", kernel bug avoided.
367 2004-05-10 Daniel Jacobowitz <dan@debian.org>
370 * gdb.base/bigcore.exp: Check the size of the dumped core file.
371 XFAIL if it is smaller than bytes_allocated.
372 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
373 (main): Make chunks_allocated unsigned. Correct comment.
375 2004-05-07 Joel Brobecker <brobecker@gnat.com>
377 * gdb.arch/powerpc-aix-prologue.c: New file.
378 * gdb.arch/powerpc-aix-prologue.exp: New file.
380 2004-05-07 Jim Blandy <jimb@redhat.com>
382 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
383 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
385 2004-05-06 Joel Brobecker <brobecker@gnat.com>
387 * gdb.base/sep.exp: No longer setup_kfail when the program was
390 2004-05-05 Jim Ingham <jingham@apple.com>
392 * gdb.base/pending.exp: Make sure pending breakpoints
393 preserve the ignore count.
395 2004-04-27 Jerome Guitton <guitton@gnat.com>
397 * i386-prologue.exp: Add testcase for jump instruction as first
398 instruction of the real code.
399 * i386-prologue.c (jump_at_beginning): New function.
401 2004-04-28 Mark Kettenis <kettenis@gnu.org>
403 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
406 2004-04-28 Mark Kettenis <kettenis@gnu.org>
408 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
411 2004-04-25 Mark Kettenis <kettenis@gnu.org>
413 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
414 expression that checks the return type.
416 2004-04-23 Andrew Cagney <cagney@redhat.com>
418 * gdb.base/call-sc.exp: New test of scalar call/return values.
419 * gdb.base/call-sc.c: Ditto.
421 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
423 * gdb.threads/manythreads.c: Reduce thread stack size.
425 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
427 * gdb.threads/manythreads.c: Add copyright notice.
429 2004-04-23 Andrew Cagney <cagney@redhat.com>
431 * gdb.base/siginfo.exp: Better handle step out of signal.
432 * gdb.base/sigstep.exp: Ditto.
434 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
435 Daniel Jacobowitz <drow@mvista.com>
437 * gdb.threads/manythreads.c: New testcase.
438 * gdb.threads/manythreads.exp: Ditto.
440 2004-04-22 Jim Blandy <jimb@redhat.com>
442 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
443 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
445 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
447 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
449 2004-04-21 Andrew Cagney <cagney@redhat.com>
451 * gdb.base/sigstep.c: New file.
452 * gdb.base/sigstep.exp: New file.
454 2004-04-16 Joel Brobecker <brobecker@gnat.com>
456 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
457 call to observer_notify_normal_stop.
459 2004-04-15 Andrew Cagney <cagney@redhat.com>
461 * gdb.base/siginfo.c: New file.
462 * gdb.base/siginfo.exp: New file.
464 2004-04-12 J. Brobecker <brobecker@gnat.com>
466 * gdb.base/sep.exp: Fix typo in comment.
468 2004-04-12 J. Brobecker <brobecker@gnat.com>
470 * gdb.base/sep.c: New file.
471 * gdb.base/sep-proc.c: New file.
472 * gdb.base/sep.exp: New testcase.
474 2004-04-09 Mark Kettenis <kettenis@gnu.org>
476 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
479 2004-04-05 Andrew Cagney <cagney@redhat.com>
481 * gdb.base/sigaltstack.c: New file.
482 * gdb.base/sigaltstack.exp: New file.
484 2004-04-04 Joel Brobecker <brobecker@gnat.com>
486 * gdb.base/foll-fork.exp: Update the expected output for
487 "help set follow-fork-mode", to match a change that was made
488 to the help of this variable on 2004-01-13.
490 2004-04-01 Joel Brobecker <brobecker@gnat.com>
492 * lib/ada.exp: Add copyright notice.
495 * null_record.adb: Likewise.
496 * null_record.exp: Likewise.
497 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
499 2004-04-01 Joel Brobecker <brobecker@gnat.com>
501 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
502 * configure: Regenerate.
504 2004-04-01 Joel Brobecker <brobecker@gnat.com>
506 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
507 to build the application. Remove the message printed when in
508 verbose mode, redundant with the UNSUPPORTED message above.
510 2004-03-31 Joel Brobecker <brobecker@gnat.com>
512 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
513 * gdb.ada (null_record.exp): New testcase.
515 2004-03-31 Joel Brobecker <brobecker@gnat.com>
517 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
519 2004-03-31 Joel Brobecker <brobecker@gnat.com>
521 * gdb.ada: New subdirectory.
522 * gdb.ada/Makefile.in: New file.
523 * gdb.ada/gnat_ada.gpr.in: New file.
525 2004-03-31 Joel Brobecker <brobecker@gnat.com>
527 * lib/ada.exp: New file.
529 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
531 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
532 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
534 2004-03-22 Andrew Cagney <cagney@redhat.com>
536 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
537 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
538 Problem identified by Ulrich Weigand.
540 2004-03-17 David Carlton <carlton@kealia.com>
542 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
545 2004-03-16 Roland McGrath <roland@redhat.com>
547 * gdb.base/auxv.exp: New file.
548 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
550 2004-03-12 David Carlton <carlton@kealia.com>
552 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
553 * gdb.cp/pr-1553.cc: Ditto.
554 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
557 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
559 * gdb.cp/templates.exp: Accept more template types.
561 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
563 From Corinna Vinschen with modifications.
564 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
565 local variable obj_with_enum.
566 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
567 results with obj_with_enum.
569 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
571 * gdb.cp/classes.cc: New file, copied from misc.cc.
572 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
574 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
576 * gdb.cp/misc.cc: Add copyright notice.
578 2004-03-05 David Carlton <carlton@kealia.com>
580 * gdb.cp/rtti.exp: Add 'print *obj3' test.
581 * gdb.cp/rtti.h: Update copyright.
582 (namespace n2::n3): New.
583 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
584 (n2::n3::func3): New.
585 (main): Call n2::n3::func3.
586 * gdb.cp/rtti2.cc: Update copyright.
589 2004-03-04 Mark Kettenis <kettenis@gnu.org>
591 * gdb.asm/openbsd.inc: Fix typo.
593 2004-03-03 Fred Fish <fnf@redhat.com>
595 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
596 "val" instead of unused "size". Update copyright year.
598 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
600 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
601 to use unsigned char.
602 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
603 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
605 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
607 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
610 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
612 * gdb.base/relocate.c (dummy): Initialize.
614 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
616 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
617 a breakpoint at exit.
619 2004-02-27 Fred Fish <fnf@redhat.com>
621 * gdb.base/chng-syms.exp: Add expect condition to match failing
622 case that isn't a timeout.
624 2004-02-27 Andrew Cagney <cagney@redhat.com>
626 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
629 2004-02-26 Fred Fish <fnf@redhat.com>
631 * gdb.arch/gdb1431.c: Remove.
632 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
633 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
634 of "until" incorrectly.
636 2004-02-26 J. Brobecker <brobecker@gnat.com>
638 * gdb.cp/class2.cc (empty): New class.
639 (refer): New function.
640 (main): Declare an object of type empty and use it.
641 * gdb.cp/class2.exp: Print the value of an object of type empty.
643 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
645 * gdb.base/langs.exp: Update query string to match the
646 new nquery format used for pending breakpoints.
648 2004-02-26 Andrew Cagney <cagney@redhat.com>
651 * gdb.base/charset.c: Update copyright notice.
652 (main, init_string): Remove the escape character '\e' tests.
653 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
654 * gdb.base/charset.exp (valid_host_charset): Ditto.
655 * gdb.base/setvar.exp: Ditto.
657 2004-02-24 Andrew Cagney <cagney@redhat.com>
659 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
660 mmapped data in core file" PASS and FAIL messages consistent.
662 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
663 setting a breakpoint. Work around PR java/1565.
665 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
667 * lib/gdb.exp (gdb_breakpoint): Update query string to match
669 * gdb.base/pending.exp: Ditto.
671 2004-02-22 Mark Kettenis <kettenis@gnu.org>
673 * configure.in: Run stabs tests on *BSD.
674 * configure: Regenerated.
676 2004-02-21 Mark Kettenis <kettenis@gnu.org>
678 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
680 2004-02-20 Fred Fish <fnf@redhat.com>
682 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
683 blank in test for "returns short", for consistency with other
684 "returns xxx" tests. Update copyright year.
686 2004-02-19 Fred Fish <fnf@redhat.com>
688 New testcase for PR breakpoint/1558.
689 * gdb.arch/gdb1558.exp: New file.
690 * gdb.arch/gdb1558.c: New file.
692 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
694 * gdb.base/nodebug.exp: Fix typo.
696 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
698 Committed by Jim Blandy <jimb@redhat.com>.
700 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
702 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
704 * gdb.base/float.exp: Support s390*-*-* targets.
706 2004-02-17 Adam Fedor <fedor@gnu.org>
708 * gdb.base/gdb1555.exp: New file.
709 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
711 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
713 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
715 2004-02-16 Fred Fish <fnf@redhat.com>
717 * gdb.arch/gdb1291.c: Remove
718 * gdb.arch/gdb1291.s: New test input file.
719 * gdb.arch/gdb1291.exp: Expand test to check case that should not
720 fail. Test for correct result, known incorrect result, other
721 failures and timeouts.
723 2004-02-16 Andrew Cagney <cagney@redhat.com>
725 * gdb.base/bigcore.exp: New file.
726 * gdb.base/bigcore.c: New file.
728 2004-02-13 Andrew Cagney <cagney@redhat.com>
730 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
731 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
732 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
733 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
734 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
735 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
736 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
737 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
738 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
739 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
741 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
743 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
744 executed is an alloc instruction.
746 2004-02-11 David Carlton <carlton@kealia.com>
748 * gdb.cp/breakpoint.exp: New.
749 * gdb.cp/breakpoint.cc: New.
751 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
753 Partial fix for PR gdb/1543.
754 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
755 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
756 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
757 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
758 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
759 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
760 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
761 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
762 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
763 to bug-gdb@prep.ai.mit.edu .
764 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
765 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
766 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
769 2004-02-10 Andrew Cagney <cagney@redhat.com>
771 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
772 using gdb_internal_error_resync.
774 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
776 * gdb.threads/thread-specific.exp: Stop early if no threads are
779 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
781 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
783 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
785 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
788 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
790 * config/sim.exp (gdb_load): Handle $arg == "".
791 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
792 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
794 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
796 * gdb.base/maint.exp: Update test to reflect
799 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
801 * gdb.base/pendshr.c (pendfunc): New function that calls
803 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
805 2004-02-04 Fred Fish <fnf@redhat.com>
807 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
808 function symbols and update copyright years.
809 * gdb.arch/gdb1291.c: Ditto.
811 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
813 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
815 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
817 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
819 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
821 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
823 2004-02-02 Fred Fish <fnf@redhat.com>
825 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
826 remote targets. Update copyright years.
828 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
830 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
832 * gdb.base/langs.exp: Fix test which attempts to create
833 breakpoint on non-existent function to handle new pending
835 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
837 * gdb.base/pending.exp: New test.
838 * gdb.base/pending.c: New file.
839 * gdb.base/pendshr.c: Ditto.
841 2004-02-02 David Carlton <carlton@kealia.com>
843 * gdb.cp/overload.exp: Add overloadNamespace tests.
844 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
845 (overloadNamespace, XXX): New.
846 (main): Call XXX::marker2.
848 2004-02-01 Fred Fish <fnf@redhat.com>
850 * gdb.base/dump.exp: Use runto_main instead of "runto main".
851 * gdb.base/finish.exp: Ditto.
852 * gdb.base/gcore.exp: Ditto.
853 * gdb.base/huge.exp: Ditto.
854 * gdb.base/info-proc.exp: Ditto.
855 * gdb.base/return2.exp: Ditto.
856 * gdb.threads/gcore-thread.exp: Ditto.
858 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
860 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
862 2004-02-01 Mark Kettenis <kettenis@gnu.org>
864 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
865 that opening the file succeeds on OpenBSD.
867 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
869 * gdb.threads/thread-specific.c: New file.
870 * gdb.threads/threads-specific.exp: New test script.
871 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
874 2004-02-01 Mark Kettenis <kettenis@gnu.org>
876 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
877 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
878 only on the "print_small_structs from print_long_arg_list" test.
880 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
882 * gdb.base/completion.exp: Kill a stray backslash.
884 From Jim Ingham <jingham@apple.com>:
885 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
886 agrees with the result from sending a tab.
888 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
890 * gdb.base/chng-syms.exp: Remove stray newline.
892 2004-01-31 Mark Kettenis <kettenis@gnu.org>
894 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
896 * gdb.asm/openbsd.inc: New file.
898 2004-01-30 Mark Kettenis <kettenis@gnu.org>
900 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
901 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
902 *-*solaris2*. Remove commented out default settings for
903 asm-flags. Replace gdb_compile with target_link.
905 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
907 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
908 for all tests. Remove old hp-ux and cygnus xfail cases.
910 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
912 * gdb.base/chng-syms.exp: New file.
913 * gdb.base/chng-syms.c: New file.
915 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
917 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
918 Provide arms for current output in all my configurations.
920 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
922 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
923 * lib/compiler.cc: Likewise.
924 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
925 get the right preprocessor. Eval the output directly. Remove
926 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
927 hp_f77_compiler and hp_f90_compiler completely.
928 (gdb_preprocess): Delete.
929 (get_compiler): Delete.
931 2004-01-24 Mark Kettenis <kettenis@gnu.org>
933 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
936 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
938 * gdb.mi/mi-stack.exp: Update copyright.
940 2004-01-23 David Carlton <carlton@kealia.com>
942 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
943 test for cp_lookup_transparent_type.
944 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
947 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
949 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
952 2004-01-23 David Carlton <carlton@kealia.com>
954 * gdb.cp/namespace.cc (C::ensureRefs): New.
955 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
957 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
959 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
960 case "-stack-list-locals 2".
961 * gdb.mi/mi-var-child.exp: Test for case
962 "-var-list-children --all-values NAME".
964 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
966 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
968 2004-01-18 Mark Kettenis <kettenis@gnu.org>
970 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
971 used with gdb_test_multiple.
973 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
974 read at address 0. This fixes PR testsuite/1504.
976 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
978 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
979 Remove downloading, guessing the host executable, the calls to
980 gdb_file_cmd and gdb_target_cmd, and "load" support.
981 (infer_host_exec): New function broken out from gdb_load.
982 (gdb_load): New wrapper for gdbserver_gdb_load.
983 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
984 gdb_target_cmd. Use -target-select.
985 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
986 Download binaries to the host. Clear last_mi_remote_file when
987 we load a new binary.
988 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
989 call gdbserver_gdb_load and mi_gdb_target_cmd.
991 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
993 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
996 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
998 * gdb.cp/templates.exp: Fix typo in test name of
999 "print Foo<volatile char*>::foo".
1001 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1003 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
1005 2004-01-16 Ben Elliston <bje@wasabisystems.com>
1007 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
1008 (clean mostlyclean): Remove empty rm.
1010 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1012 * gdb.base/setvar.exp: Add copyright years.
1014 2004-01-14 David Carlton <carlton@bactrian.org>
1016 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
1017 PR c++/1511 and update coment.
1018 * gdb.cp/templates.exp: Update patterns to match current output.
1019 If changes involve something other than whitespace, KFAIL
1020 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
1022 2004-01-14 David Carlton <carlton@kealia.com>
1024 * gdb.cp/namespace.exp: Add tests involving classes defined within
1026 * gdb.cp/namespace.cc (C::CClass): New.
1027 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
1029 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
1031 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
1032 what debug info we have. Print a better message if something goes
1033 wrong while producing the separate debug info file.
1035 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1037 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
1039 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1041 * gdb.base/callfuncs.c: Add copyright notice.
1043 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
1045 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
1046 inheritance. PR gdb/1498, PR gcc/13539.
1048 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
1050 * gdb.threads/gcore-thread.exp: Prefix name of binary with
1052 * gdb.mi/gdb669.exp: Ditto.
1053 * gdb.mi/mi-pthreads.exp: Ditto.
1054 * gdb.mi/mi1-pthreads.exp: Ditto.
1055 * gdb.mi/mi2-pthreads.exp: Ditto.
1057 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1059 * gdb.cp/member-ptr.cc: Add copyright notice.
1061 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1063 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
1064 some patterns for recent versions of gcc and hpacc. Delete
1065 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
1066 Delete tests that access a NULL pointer-to-member-data. This
1067 script is still disabled for gcc.
1069 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
1071 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
1074 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
1076 * gdb.base/sepdebug.exp: New file.
1077 * gdb.base/sepdebug.c: New file.
1078 * lib/gdb.exp (separate_debug_filename): New procedure.
1079 (gdb_gnu_strip_debug): New procedure.
1081 2004-01-12 Andrew Cagney <cagney@redhat.com>
1083 * gdb.mi/ChangeLog: Delete file. Renamed to ...
1084 * gdb.mi/ChangeLog-1999-2003: New file.
1086 2004-01-12 Andrew Cagney <cagney@redhat.com>
1088 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
1089 "Renaming a directory to a non-empty directory returns ENOTEMPTY
1090 or EEXIST", treat EBUSY as an XFAIL.
1092 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
1094 * gdb.base/scope.exp: Remove obsolete setup_xfail for
1097 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1099 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
1102 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1104 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
1105 and "(aCC)" decorations. Remove obsolete doco about old
1108 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1110 * gdb.cp/exception.exp: Fix typo in doco.
1112 2004-01-09 Mark Kettenis <kettenis@gnu.org>
1114 * gdb.base/gdb1476.exp: Fix typo.
1116 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1118 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
1121 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1123 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
1124 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
1125 Use gdb_compile. Remove restriction on gcc. Add some patterns
1126 for recent version of gdb. Delete second half, which was a copy
1127 of the first half with different build flags. This test is
1128 still disabled because it is still not ready for production.
1130 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1132 * gdb.cp/exception.cc: Add copyright notice.
1133 * gdb.cp/exception.exp: Add a notice that this file is broken
1134 because of line number changes caused by addition of copyright
1137 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1139 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
1140 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
1142 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1144 * gdb.cp/classes.exp: Accept gnu abi 2.
1145 * gdb.cp/derivation.exp: Likewise.
1146 * gdb.cp/overload.exp: Likewise.
1147 * gdb.cp/virtfunc.exp: Likewise.
1149 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1151 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
1152 semicolon after end of function.
1154 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1156 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
1157 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
1158 boilerplate code for compiling and running the program under
1159 test. Add some string method tests.
1161 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1163 * gdb.cp/bs15503.cc: Add copyright notice.
1164 * gdb.cp/bs15503.exp: Adjust line number.
1166 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1168 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
1169 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
1171 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1173 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
1176 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1178 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
1179 * gdb.cp/ctti.exp: Use the marker instead of "next".
1180 With gcc, run further before bailing.
1182 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1184 * gdb.cp/cttiadd.cc: Add copyright notice.
1185 * gdb.cp/cttiadd1.cc: Likewise.
1186 * gdb.cp/cttiadd2.cc: Likewise.
1187 * gdb.cp/cttiadd3.cc: Likewise.
1189 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1191 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
1192 Use gdb_test, gdb_test_multiple. Use floating-point values that
1193 have exact representations in IEEE-ish formats.
1195 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1197 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
1198 compilers. Delete duplicate call to get_compiler_info.
1199 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
1200 * gdb.base/volatile.exp: Likewise.
1202 2004-01-07 Mark Kettenis <kettenis@gnu.org>
1204 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1205 memory at address 0.
1207 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1209 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1210 to test for hp-ux assembler. Fix copyright years.
1212 2004-01-07 Andrew Cagney <cagney@redhat.com>
1214 * gdb.base/fileio.c (strerrno): Add "EBUSY".
1216 2004-01-07 Andrew Cagney <cagney@redhat.com>
1218 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1219 when creating the read-only file. From analysis by Roland McGrath
1222 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1224 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1226 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1228 * gdb.base/cvexpr.c: Be type-safe with function pointers and
1231 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1233 * gdb.cp/m-static.exp: Compile one source file at a time.
1234 Delete unused call to get_compiler_info.
1236 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1238 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1239 * gdb.base/call-rt-st.exp: Likewise.
1240 * gdb.base/nodebug.exp: Likewise.
1241 * gdb.base/volatile.exp: Likewise.
1242 * gdb.cp/ref-types.exp: Likewise.
1243 * gdb.cp/templates.exp: Likewise.
1245 2004-01-05 Mark Kettenis <kettenis@gnu.org>
1247 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1249 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
1251 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1254 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1256 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1259 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1260 sparc64-*-* and sparc*-solaris2*.
1262 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1264 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1265 return ${tests}" test. The ${tests} already mentions the
1268 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1270 * gdb.cp/local.exp: Accept gcc abi 2.
1272 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1274 * gdb.cp/templates.exp: Accept gcc abi 2.
1276 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1278 * lib/compiler.cc: Remove supports_template_debugging.
1279 * gdb.cp/templates.exp: Do not test supports_template_debugging.
1281 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1283 * gdb.cp/namespace.exp: Accept gcc abi 2.
1285 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1287 * gdb.cp/method.exp: Accept gcc abi 2.
1289 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1291 * gdb.cp/classes.exp: Generate identical results as old version.
1292 * gdb.cp/derivation.exp: Likewise.
1293 * gdb.cp/overload.exp: Likewise.
1294 * gdb.cp/virtfunc.exp: Likewise.
1296 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1298 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
1299 mysterious bug with sourceware version of expect.
1301 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1303 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
1304 current versions of gcc, including gcc abi 2. Remove gratuitous
1305 restart of test program. Use gdb_test_multiple and gdb_test for
1306 all tests. Add patterns to xfail missing "const" in "const char *"
1307 and kfail PR gdb/1155.
1309 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1311 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
1312 current versions of gcc, including gcc abi 2. Remove gratuitous
1313 restart of test program. Use gdb_test_multiple and gdb_test for
1314 all tests. Add patterns to kfail PR gdb/1498.
1316 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1318 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1319 current versions of gcc, including gcc abi 2. Use "breakpoint"
1320 and "continue" instead of restarting the target program. Use
1321 gdb_test_multiple and gdb_test for all tests.
1323 2004-01-01 Mark Kettenis <kettenis@gnu.org>
1325 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1328 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1330 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1331 current versions of gcc, including gcc abi 2. Use "breakpoint"
1332 and "continue" instead of restarting the target program several
1333 times. Use gdb_test_multiple and gdb_test for all tests.
1335 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1337 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1340 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1342 * gdb.base/environ.exp: Handle compiling test case from multiple
1345 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1347 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1349 2003-12-17 Jim Blandy <jimb@redhat.com>
1351 * gdb.base/freebpcmd.c: Add copyright notice.
1353 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1355 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1357 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1359 2003-12-13 Jim Blandy <jimb@redhat.com>
1361 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1363 2003-12-12 Kevin Buettner <kevinb@redhat.com>
1365 * gdb.asm/frv.inc: New file.
1366 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1368 2003-12-09 Fred Fish <fnf@redhat.com>
1370 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1371 functions to break1.c and leave prototypes behind. Add more
1372 "set breakpoint NN here" comments.
1373 * gdb.base/break1.c: New file.
1375 * gdb.base/break.exp: Handle compiling test case from multiple
1376 source files and change source file references as needed.
1377 * gdb.base/completion.exp: Ditto.
1378 * gdb.base/condbreak.exp: Ditto.
1379 * gdb.base/define.exp: Ditto.
1380 * gdb.base/ena-dis-br.exp: Ditto.
1381 * gdb.base/info-proc.exp: Ditto.
1382 * gdb.base/maint.exp: Ditto.
1383 * gdb.base/until.exp: Ditto.
1385 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1386 hardcoded line numbers.
1387 * gdb.base/define.exp: Ditto.
1388 * gdb.base/ena-dis-br.exp: Ditto.
1389 * gdb.base/maint.exp: Ditto.
1390 * gdb.base/until.exp: Ditto.
1392 * gdb.base/completion.exp: Use "break1" for completion tests since
1393 "break" is no longer a unique prefix.
1395 2003-12-06 Andrew Cagney <cagney@redhat.com>
1397 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1398 "return_value_unimplemented". When an unimplemented struct return
1399 architecture, report incorrect values as a KFAIL
1401 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1403 * gdb.cp/rtti.exp: Accept new wording of warning from
1404 cp_lookup_rtti_type.
1406 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1408 Partial fix for PR testsuite/1456.
1409 * gdb.base/scope.exp (test_at_main): Replace references to
1410 gcc_compiled with calls to test_compiler_info.
1411 (test_at_foo): Likewise.
1412 (test_at_bar): Likewise.
1414 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1416 Partial fix for PR testsuite/1456.
1417 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1418 to test_compiler_info.
1420 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1422 * gdb.base/so-impl-ld.exp: Update copyright notice.
1424 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1426 Partial fix for PR testsuite/1456.
1427 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1428 to test_compiler_info.
1430 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1432 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1433 from current versions of gdb. Clean up regular expressions.
1434 Delete redundant timeout case.
1436 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1438 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1439 from current versions of gdb. Clean up regular expressions.
1440 Delete redundant timeout case.
1442 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1444 Partial fix for PR testsuite/1456.
1445 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1446 gcc_compiled with call to test_compiler_info.
1448 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1450 Partial fix for PR testsuite/1456.
1451 * gdb.base/list.exp (test_list_function): Delete unused declaration
1454 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1456 Partial fix for PR testsuite/1456.
1457 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1458 call to test_compiler_info.
1460 2003-11-29 Mark Kettenis <kettenis@gnu.org>
1462 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1463 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1464 it to create the appropriate note.inc.
1465 * gdb.asm/asmsrc1.s: Include "note.inc".
1466 * gdb.asm/netbsd.inc: New file.
1467 * gdb.asm/empty.inc: New file.
1469 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1471 Partial fix for PR testsuite/1456.
1472 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1473 calls to test_compiler_info.
1475 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1477 Partial fix for PR testsuite/1456.
1478 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1479 calls to test_compiler_info.
1481 2003-11-27 Mark Kettenis <kettenis@gnu.org>
1483 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1484 pattern for the KFAILs.
1486 2003-11-25 Adam Fedor <fedor@gnu.org>
1488 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1489 * gdb.objc/objcdecode.m: New file.
1491 2003-11-25 Adam Fedor <fedor@gnu.org>
1493 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1494 * gdb.objc/nondebug.m: New file.
1496 2003-11-26 Ben Elliston <bje@wasabisystems.com>
1498 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1499 NetBSD as it does on FreeBSD. Modelled on a similar change by
1500 Mark Kettenis on 2003-05-30.
1501 (link-flags): Set to "--entry _start" regardless of target.
1502 Special linker flags are to be appended to $link-flags.
1503 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1505 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1507 * gdb.cp/method.exp: Accept output of new demangler.
1509 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1511 * gdb/class2.exp: New file.
1512 * gdb/class2.cc: New file.
1514 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1516 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1519 2003-11-23 Mark Kettenis <kettenis@gnu.org>
1521 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1524 2003-11-23 Mark Kettenis <kettenis@gnu.org>
1526 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1527 "continue" into "run".
1529 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1531 Partial fix for PR testsuite/1456.
1532 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1533 call to test_compiler_info.
1534 * gdb.cp/ctti.exp: Likewise.
1535 * gdb.cp/derivation.exp: Likewise.
1536 * gdb.cp/member-ptr.exp: Likewise.
1537 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1538 reference to gcc_compiled.
1540 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1542 Fix PR testsuite/1463.
1543 * gdb.base/structs.exp (start_structs_test): Call
1544 get_debug_format before using the debug format.
1546 2003-11-22 Andrew Cagney <cagney@redhat.com>
1548 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1549 * gdb.base/structs.exp: Use gdb_test_multiple.
1551 2003-11-20 Andrew Cagney <cagney@redhat.com>
1553 * gdb.base/structs.exp: Handle and recover from internal errors.
1554 Replace "foo${n}" with "foo<n>" in test messages.
1556 * gdb.base/structs.exp: Update copyright. Rewrite.
1557 * gdb.base/structs.c: Update copyright. Rewrite.
1559 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1560 resync count exceeded.
1562 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1563 from the internal error.
1564 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1565 Original from Jim Blandy.
1566 (gdb_test_multiple): Use gdb_internal_error_resync.
1568 2003-11-19 Andrew Cagney <cagney@redhat.com>
1570 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1573 2003-11-17 Mark Kettenis <kettenis@gnu.org>
1575 New testcase for PR backtrace/1435.
1576 * gdb.arch/i386-unwind.exp: New file.
1577 * gdb.arch/i386-unwind.c: New file.
1579 2003-11-17 Andrew Cagney <cagney@redhat.com>
1581 * lib/gdb.exp (compiler_info): New global.
1582 (test_compiler_info): New function.
1583 (get_compiler_info): Set compiler_info.
1584 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1585 "compiler_info" to gcc-<major>-<minor>.
1587 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1589 * gdb.trace/configure: Remove.
1591 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
1593 * gdb.base/break.c: Add comments to aid finding line numbers for
1595 * gdb.base/break.exp: Remove all references to explicit line
1598 2003-11-11 Nick Clifton <nickc@redhat.com>
1600 * gdb.base/shreloc.exp: Do not run for targets which do not
1601 support shared objects.
1603 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
1605 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1606 Don't run tests if nofileio flag is given.
1608 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
1610 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1611 as well as 'Watchpoint'.
1613 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
1615 Reported by Jim Ingham <jingham@apple.com>:
1616 * gdb.base/annota1.exp: Match at least one occurrence of the
1617 signal handler annotation.
1619 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
1621 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1622 as well as 'Watchpoint'.
1624 2003-11-05 Michael Chastain <mec@shout.net>
1626 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1628 2003-11-03 Kris Warkentin <kewarken@qnx.com>
1630 * gdb.arch/gdb1291.c: New test file.
1631 * gdb.arch/gdb1291.exp: New test script.
1632 * gdb.arch/gdb1431.c: New test file.
1633 * gdb.arch/gdb1431.exp: New test script.
1635 2003-10-22 Michael Chastain <mec@shout.net>
1637 * gdb.mi/pthreads.c: Add copyright notice.
1639 2003-10-22 Michael Chastain <mec@shout.net>
1641 * gdb.threads/pthreads.c: Add copyright notice.
1643 2003-10-20 Michael Chastain <mec@shout.net>
1645 * gdb.base/gdb1056.exp: New test script.
1647 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1649 * gdb.threads/killed.exp: Use gdb_run_cmd.
1651 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1653 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1655 * gdb.threads/gcore-thread.exp: Likewise.
1657 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
1659 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1660 type, based on char type.
1661 (struct bit_flags_short_t): New bitfield type, based on short type.
1662 (init_bit_flags_char): New fuction.
1663 (init_bit_flags_short): Ditto.
1664 (print_bit_flags_char): Ditto.
1665 (print_bit_flags_short): Ditto.
1666 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1668 2003-10-11 Michael Chastain <mec@shout.net>
1670 * gdb.base/call-rt-st.exp: Update copyright year.
1672 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1674 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1675 * gdb.disasm/sh3.s: Ditto.
1677 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
1679 * gdb.threads/switch-threads.exp: New test.
1680 * gdb.threads/switch-threads.c: New source file.
1682 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
1684 * gdb.base/ending-run.exp: Add sh specific case.
1686 2003-10-06 Andrew Cagney <cagney@redhat.com>
1688 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1689 * gdb.disasm/mn10200.exp: Delete obsolete file.
1691 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
1693 * ChangeLog: Correct an entry command.exp -> commands.exp.
1694 * gdb.base/commands.exp (bp_deleted_in_command_test)
1695 (temporary_breakpoint_commands): Check noargs.
1697 2003-09-25 David Carlton <carlton@kealia.com>
1699 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1700 of some print tests, where appropriate. Add tests for C::D::cd,
1701 E::ce, F::cXfX, G::XgX.
1702 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1704 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
1706 * lib/java.exp (java_init): Import target_alias before using it.
1708 2003-09-25 David Carlton <carlton@kealia.com>
1710 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1712 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
1714 * gdb.base/selftest.exp: Accomodate more instruction reordering
1717 2003-09-17 Michael Chastain <mec@shout.net>
1719 * gdb.cp/gdb1355.exp: New file.
1720 * gdb.cp/gdb1355.c: New file.
1722 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
1724 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1725 * gdb.asm/sh.inc: New file.
1727 2003-09-11 David Carlton <carlton@kealia.com>
1729 * gdb.cp/namespace.exp: Add tests for namespace types.
1730 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
1731 (test_namespace): New.
1733 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
1735 * gdb.base/relocate.exp: Handle new gdb output at startup.
1736 * gdb.stabs/weird.exp: Ditto.
1738 2003-09-08 Michael Chastain <mec@shout.net>
1740 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1742 2003-09-07 Michael Chastain <mec@shout.net>
1744 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1747 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1749 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1751 2003-08-30 Michael Chastain <mec@shout.net>
1753 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1754 * gdb.gdb/observer.exp: Ditto.
1755 * gdb.gdb/xfullpath.exp: Ditto.
1757 2003-08-29 Mark Kettenis <kettenis@gnu.org>
1759 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1762 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1764 * gdb.base/dump.exp: Skip for ia64.
1766 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1768 * gdb.asm/asm-source.exp: Add ia64 support.
1769 * gdb.asm/ia64.inc: New file.
1771 2003-08-22 Michael Chastain <mec@shout.net>
1773 * gdb.cp: New directory.
1774 * gdb.cp/*: Copy from gdb.c++/*.
1775 * gdb.c++/*: Remove.
1776 * Makefile.in: Change gdb.c++ to gdb.cp.
1777 * configure.in: Ditto.
1778 * configure: Regnerate.
1780 2003-08-18 Mark Kettenis <kettenis@gnu.org>
1782 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1783 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1785 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1787 * mi-var-display.exp (-var-list-children weird): Accept function
1788 pointers with argument types.
1789 * mi1-var-display.exp (-var-list-children weird): Likewise.
1790 * mi2-var-display.exp (-var-list-children weird): Likewise.
1792 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1794 * gdb.base/annota3.exp: Add missing newline.
1796 2003-08-06 Michael Chastain <mec@shout.net>
1798 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1800 2003-08-12 Michael Snyder <msnyder@redhat.com>
1802 * gdb.base/float.exp: Add test for SH.
1804 2003-08-10 Mark Kettenis <kettenis@gnu.org>
1806 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1808 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1810 * gdb.base/completion.exp: Remove reduntant completion test
1813 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1815 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1816 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1817 gdb.trace/save-trace.exp: Make sure that full pathnames are
1820 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1822 * configure.in: Don't generate config.h from config.hin.
1823 * configure: Regenerate.
1824 * config.hin: Remove file.
1825 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1826 * gdb.threads/pthreads.c: Ditto.
1828 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
1830 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1831 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1832 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1833 Replace ld24 with seth/add3.
1835 2003-08-02 Andrew Cagney <cagney@redhat.com>
1837 * gdb.base/annota3.exp: New file.
1838 * gdb.base/annota3.c: New file.
1839 * gdb.c++/annota3.exp: New file.
1840 * gdb.c++/annota3.cc: New file.
1842 2003-07-29 Michael Chastain <mec@shout.net>
1844 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1846 (do_pass): Likewise.
1847 * gdb.threads/tls.exp: Always initialize no_of_threads.
1849 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
1851 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1853 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1854 * gdb.threads/tls.exp: Recognize one case of the host library not
1857 2003-07-27 Andrew Cagney <cagney@redhat.com>
1859 * gdb.base/fileio.exp: Use SH when running commands using
1862 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
1864 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1865 * gdb.base/relocate.c (dummy): New padding array.
1867 2003-07-22 Michael Snyder <msnyder@redhat.com>
1869 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1871 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1872 patterns to be more general, accepting old and new output.
1873 Some output chars (such as '+') also must be quoted.
1874 Some addresses are displayed numerically instead of
1877 2003-07-23 Michael Snyder <msnyder@redhat.com>
1879 * gdb.base/return2.exp: Don't test long-long return.
1881 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1882 * gdb.disasm/t01_mov.exp: Ditto.
1883 * gdb.disasm/t02_mova.s: Ditto.
1884 * gdb.disasm/t02_mova.exp: Ditto.
1885 * gdb.disasm/t03_add.s: Ditto.
1886 * gdb.disasm/t03_add.exp: Ditto.
1887 * gdb.disasm/t04_sub.s: Ditto.
1888 * gdb.disasm/t04_sub.exp: Ditto.
1889 * gdb.disasm/t05_cmp.s: Ditto.
1890 * gdb.disasm/t05_cmp.exp: Ditto.
1891 * gdb.disasm/t06_ari2.s: Ditto.
1892 * gdb.disasm/t06_ari2.exp: Ditto.
1893 * gdb.disasm/t07_ari3.s: Ditto.
1894 * gdb.disasm/t07_ari3.exp: Ditto.
1895 * gdb.disasm/t08_or.s: Ditto.
1896 * gdb.disasm/t08_or.exp: Ditto.
1897 * gdb.disasm/t09_xor.s: Ditto.
1898 * gdb.disasm/t09_xor.exp: Ditto.
1899 * gdb.disasm/t10_and.s: Ditto.
1900 * gdb.disasm/t10_and.exp: Ditto.
1901 * gdb.disasm/t11_logs.s: Ditto.
1902 * gdb.disasm/t11_logs.exp: Ditto.
1903 * gdb.disasm/t12_bit.s: Ditto.
1904 * gdb.disasm/t12_bit.exp: Ditto.
1905 * gdb.disasm/t13_otr.s: Ditto.
1906 * gdb.disasm/t13_otr.exp: Ditto.
1908 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1910 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1912 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1914 * gdb.threads/tls.c : New file.
1915 * gdb.threads/tls.exp : New file.
1916 * gdb.threads/tls-main.c : New file.
1917 * gdb.threads/tls-shared.c : New file.
1918 * gdb.threads/tls-shared.exp : New file.
1920 2003-07-22 Andreas Schwab <schwab@suse.de>
1922 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1924 2003-07-20 Andreas Schwab <schwab@suse.de>
1926 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1927 due to insn reordering.
1929 2003-07-15 Andrew Cagney <cagney@redhat.com>
1931 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1933 2003-07-15 Michael Chastain <mec@shout.net>
1935 * gdb.base/gdb1250.exp: New file.
1936 * gdb.base/gdb1250.c: New file.
1938 2003-07-09 Michal Ludvig <mludvig@suse.cz>
1940 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1941 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1943 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1945 * gdb.threads/tls.c: New file.
1946 * gdb.threads/tls.exp: New file.
1947 * gdb.threads/tls-main.c: New file.
1948 * gdb.threads/tls-shared.c: New file.
1949 * gdb.threads/tls-shared.exp: New file.
1951 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1953 * gdb.base/annota1.exp: Make sure that we properly escape the
1954 full path of the source file. Xfail more permissive patterns,
1955 due to a compiler debug info problem.
1957 2003-07-07 Andreas Schwab <schwab@suse.de>
1959 * gdb.asm/m68k.inc: New file.
1960 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1962 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1963 arguments"): Also match negative number.
1965 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1967 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
1969 * gdb.base/store.c (charest): New typedef.
1970 (add_char): Rename to add_charest, update.
1971 (wack_char): Rename to wack_charest, update types. Return l + r
1972 to keep r live across the call.
1973 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1974 (wack_double, wack_doublest): Return l + r to keep r live across
1976 * gdb.base/store.exp: Accomodate store.c changes.
1978 2003-06-30 David Carlton <carlton@kealia.com>
1980 * gdb.c++/maint.exp (test_invalid_name): New.
1981 (test_first_component): Add tests for invalid names.
1983 2003-06-29 Michael Chastain <mec@shout.net>
1985 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1986 output of '<VTT for class>' for virtual base classes.
1988 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1990 * gdb.base/completion.exp: Tab-complete "complet" instead of
1992 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1994 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1996 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1997 * gdb.base/volatile.exp: Likewise.
1999 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
2001 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
2004 2003-06-28 Michael Chastain <mec@shout.net>
2005 Daniel Jacobowitz <drow@mvista.com>
2007 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
2008 initial line count of 'captured_main' from 26 to 32.
2009 (test_with_self): Allow xmalloc call to be interleaved with the
2010 preceding two lines.
2012 2003-06-24 Joel Brobecker <brobecker@gnat.com>
2014 * gdb.base/bang.exp: New testcase.
2016 2003-06-23 Joel Brobecker <brobecker@gnat.com>
2018 * gdb.base/langs.exp: Add some tests for the "minimal" language
2021 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
2023 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
2026 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
2028 * gdb.base/relocate.exp: Test add-symbol-file with a variable
2031 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
2033 * gdb.c++/pr-1210.cc: New file.
2034 * gdb.c++/pr-1210.exp: New file.
2036 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
2038 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
2041 2003-06-15 Mark Kettenis <kettenis@gnu.org>
2043 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
2044 on *-*-*bsd* instead of *-*-freebsd*.
2046 2003-06-14 Andrew Cagney <cagney@redhat.com>
2048 * gdb.base/store.exp: Test longest and doublest. Test all
2049 parameters. Weaken return statement match.
2050 * gdb.base/store.c: Add longest and doublest - aka long long and
2051 long double functions. Put all parameters into local register
2052 variables. Use negative values.
2054 2003-06-14 Andrew Cagney <cagney@redhat.com>
2056 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
2057 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
2059 * gdb.base/fileio.exp: Disable target when nointerrupts and
2060 noinferiorio, instead of limiting it to remote. Use remote_exec
2063 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
2065 * gdb.base/float.exp: Add ia64 support.
2067 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
2069 * gdb.base/fileio.exp: Run only on remote targets.
2071 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
2073 * gdb.base/fileio.c: New file, testing File-I/O.
2074 * gdb.base/fileio.exp: Ditto.
2076 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
2078 * gdb.base/shreloc.exp: New file, check symbol values obtained from
2079 shared objects after relocation at load time (gdb PR/1132).
2080 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
2081 as above, part of the shared object relocation test.
2083 2003-06-08 Mark Kettenis <kettenis@gnu.org>
2085 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
2086 fully filled history list.
2087 * gdb.base/gdb_history: New file.
2089 * gdb.base/signals.exp: XFAIL "continue to func1" on
2092 * gdb.base/attach.exp: When trying to attach to a nonexistent
2093 process, make it possible to specify the PID based on the target,
2094 and do so for *-*-freebsd*.
2096 2003-06-02 Richard Henderson <rth@redhat.com>
2098 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
2100 2003-06-02 Richard Henderson <rth@redhat.com>
2102 * gdb.base/selftest.exp: Next over lim_at_start initialization.
2104 2003-06-02 Richard Henderson <rth@redhat.com>
2106 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2108 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
2110 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
2113 2003-06-01 Mark Kettenis <kettenis@gnu.org>
2115 * gdb.asm/asm-source.exp: Check for memory read errors in
2116 disassembler test on *BSD too.
2118 2003-06-01 Richard Henderson <rth@redhat.com>
2120 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
2122 (gdbasm_call): Lose ldgp.
2123 (gdbasm_startup): Add frame information.
2124 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2126 2003-05-31 Mark Kettenis <kettenis@gnu.org>
2128 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
2131 2003-05-30 Mark Kettenis <kettenis@gnu.org>
2133 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2136 2003-05-29 Richard Henderson <rth@redhat.com>
2138 * gdb.asm/alpha.inc: New file.
2139 * gdb.asm/asm-source.exp: Use it.
2141 2003-05-29 Jim Blandy <jimb@redhat.com>
2143 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
2146 2003-05-22 Jim Blandy <jimb@redhat.com>
2148 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
2151 2003-05-20 David Carlton <carlton@math.stanford.edu>
2153 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
2156 2003-05-19 David Carlton <carlton@bactrian.org>
2158 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
2159 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2161 2003-05-19 David Carlton <carlton@bactrian.org>
2163 * gdb.c++/namespace.exp: Add namespace scope and anonymous
2165 Bump copyright date.
2166 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
2167 (main): Call C::D::marker2.
2168 * gdb.c++/namespace1.cc: New file.
2170 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
2172 Roland McGrath <roland@redhat.com>
2173 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
2174 there is no manager thread.
2176 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
2178 * gdb.threads/schedlock.exp: Remove assumption that all threads
2179 will run in a particular small time slice. Also ensure we break
2180 in one of the child threads rather than the main thread.
2182 2003-05-07 Jim Blandy <jimb@redhat.com>
2184 Add support for assembly source testing on the s390x.
2185 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
2187 * gdb.asm/s390x.inc: New file.
2189 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
2190 succession of 'if' statements.
2192 2003-05-05 Andrew Cagney <cagney@redhat.com>
2194 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2196 2003-05-05 Andrew Cagney <cagney@redhat.com>
2198 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
2199 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2201 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
2203 * gdb.base/charset.exp: Update based on new behavior of set/show
2206 2003-05-01 Andrew Cagney <cagney@redhat.com>
2208 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2209 variable do not give memory errors.
2211 2003-04-30 Adam Fedor <fedor@gnu.org>
2213 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2214 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2215 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2216 gdb.objc/basicclass.m: : New files
2218 * lib/gdb.exp (gdb_compile_objc): New procedure.
2220 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
2222 * gdb.base/signals.exp: Make backtrace tests more specific.
2224 2003-04-23 David Carlton <carlton@bactrian.org>
2226 * gdb.c++/maint.exp (test_first_component): Add tests for
2227 'operator' in more locations.
2229 2003-04-16 Kevin Buettner <kevinb@redhat.com>
2231 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2233 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
2235 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2236 func marke' instead. Update test name.
2238 2003-04-15 David Carlton <carlton@math.stanford.edu>
2240 * gdb.c++/maint.exp: New file.
2242 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
2244 * gdb.threads/schedlock.c: Change type of thread function argument
2245 to long, to avoid warnings on 64-bit platforms.
2247 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
2249 * gdb.base/attach.exp: Add new message from ptrace in case of
2250 attaching to nonexistent process.
2252 2003-04-11 Jim Blandy <jimb@redhat.com>
2254 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2255 gdb.c++/userdef.cc: Place comments on the lines to which the
2256 marker function might return.
2257 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2258 gdb.c++/userdef.exp: Look for those comments to check that we've
2259 returned to the right place, instead of checking line numbers.
2261 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
2263 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2264 match on sourcefile name, instead of directory name.
2266 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
2268 * gdb.base/completion.exp: Use string_to_regexp to match the
2269 working directory name.
2271 2003-04-09 Jim Blandy <jimb@redhat.com>
2273 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2274 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
2275 after an inferior function call, report the failure, but allow the
2278 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2280 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2283 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2285 * gdb.base/break.exp: Revert last patch.
2287 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
2289 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2292 2003-04-02 Andrew Cagney <cagney@redhat.com>
2294 * gdb.base/callfuncs.exp: Make "print add" messages unique.
2295 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
2296 matching directories by the name breakpoint.
2297 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
2298 Make "continue to marker1" consistent.
2299 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
2301 * lib/gdb.exp: Put "the program is no longer running", and "the
2302 program exited" in parenthesis.
2303 * lib/mi-support.exp: Ditto.
2305 2003-04-02 Bob Rossi <bob_rossi@cox.net>
2307 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2309 2003-03-29 Andrew Cagney <cagney@redhat.com>
2311 * gdb.base/sizeof.c (main): Print the value of '\377'.
2312 * gdb.base/sizeof.exp: Check the sign of '\377'.
2314 2003-03-27 Michael Chastain <mec@shout.net>
2316 * gdb.base/gdb1090.exp: New file.
2317 * gdb.base/gdb1090.cc: New file.
2319 2003-03-27 J. Brobecker <brobecker@gnat.com>
2321 * gdb.gdb/observer.exp: New regression test.
2323 2003-03-27 Michael Chastain <mec@shout.net>
2325 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2326 * gdb.base/ptype.exp: Likewise.
2328 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
2330 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2332 2003-03-26 Michael Chastain <mec@shout.net>
2334 * gdb.base/ptype.exp: Actually use some typedef'd types.
2336 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2338 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2339 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2341 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
2343 * gdb.base/default.exp: Fix regular expression.
2345 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
2347 * gdb.base/args.exp: Fix regular expression.
2349 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
2351 * gdb.base/help.exp: Allow Win32 child process.
2353 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
2355 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2356 when stepping out of main().
2358 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
2360 * gdb.base/default.exp: Check for win32 specific message when calling
2361 "run" without executable.
2363 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
2365 * gdb.base/args.exp: Expect .exe in output.
2367 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
2369 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2372 2003-03-17 Andrew Cagney <cagney@redhat.com>
2374 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2376 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2377 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2379 2003-03-17 David Carlton <carlton@math.stanford.edu>
2381 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2382 test, for PR breakpoints/38.
2383 Call test_watchpoint_and_breakpoint.
2384 * gdb.base/watchpoint.c (func3): New function.
2387 2003-03-04 David Carlton <carlton@math.stanford.edu>
2389 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2390 Garply<Garply<char> >:: garply".
2391 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2392 with respect to PR c++/1111; note also PR c++/1113.
2393 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2394 respect to PR c++/1062.
2395 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2397 2003-03-03 David Carlton <carlton@math.stanford.edu>
2399 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2400 with respect to PR c++/57.
2401 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2403 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2404 respect to PR c++/57.
2406 2003-03-03 David Carlton <carlton@math.stanford.edu>
2408 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2409 respect to PR c++/33 into FAILs.
2411 2003-03-03 Michael Chastain <mec@shout.net>
2413 * configure.in: Update copyright years.
2415 2003-03-03 Michael Chastain <mec@shout.net>
2417 * Makefile.in: Update copyright years.
2419 2003-02-28 David Carlton <carlton@math.stanford.edu>
2421 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2422 print class instead of struct and/or superfluous protection
2423 specifiers, as long as the resulting output is equivalent to the
2425 Delete FIXME from end of messages on tests that don't need
2428 2003-02-28 David Carlton <carlton@math.stanford.edu>
2430 * gdb.c++/templates.exp (do_tests): Allow const in the two
2431 Foo<volatile char *>::foo tests.
2433 2003-02-27 Michael Snyder <msnyder@redhat.com>
2435 * gdb.base/restore.c (main): Return zero, so exit code
2438 2003-02-26 David Carlton <carlton@math.stanford.edu>
2440 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2441 char *>::foo" test with respect to PR c++/33. Create a new test
2442 which is identical to that one except that it doesn't put the
2443 space between the "char" and the "*"; KFAIL it, too.
2445 2003-02-26 David Carlton <carlton@math.stanford.edu>
2447 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2448 template types into either PASSes or KFAILs (corresponding to PR
2449 c++/57). Tweak indentation. Update copyright.
2451 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2453 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2455 2003-02-13 Michael Chastain <mec@shout.net>
2457 * gdb.base/exprs.exp: Remove i960 remnants.
2458 * gdb.base/funcargs.exp: Likewise.
2459 * gdb.base/list.exp: Likewise.
2460 * gdb.base/ptype.exp: Likewise.
2462 2003-02-14 David Carlton <carlton@math.stanford.edu>
2464 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2465 pEe->D::vg()" from XFAIL to KFAIL.
2467 2003-02-13 Jason Molenda (jmolenda@apple.com)
2469 * gdb.base/maint.exp: Update maint print statistics regexp to include
2472 2003-02-13 Michael Chastain <mec@shout.net>
2474 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2476 2003-02-12 Michael Chastain <mec@shout.net>
2478 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2479 * gdb.c++/inherit.exp: Likewise.
2480 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2481 * gdb.c++/templates.exp: Likewise.
2482 * gdb.c++/virtfunc.exp: Likewise.
2484 2003-02-06 Jason Molenda (jason-cl@molenda.com)
2486 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2487 why the code is written that way.
2489 2003-02-05 Michael Chastain <mec@shout.net>
2491 * gdb.base/dump.exp: Add missing copyright line.
2493 2003-02-05 Jason Molenda (jason-cl@molenda.com)
2495 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
2496 at the beginning so the breakpoint doesn't get set on the loop.
2498 2003-02-05 Michael Chastain <mec@shout.net>
2500 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2501 output for configurations with gcc 2.95.3.
2503 2003-02-05 Keith Seitz <keiths@redhat.com>
2504 Andrew Cagney <ac131313@redhat.com>
2506 * gdb.mi/mi-cli.exp: New file.
2508 2003-02-04 Michael Chastain <mec@shout.net>
2510 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2511 Call perror and then continue.
2513 2003-02-03 Michael Chastain <mec@shout.net>
2515 * gdb.c++/pr-1023.cc: New file.
2516 * gdb.c++/pr-1023.exp: New file.
2518 2003-02-05 Jim Blandy <jimb@redhat.com>
2520 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2521 it's local to foobar. Check for it there, and check that it's not
2523 * gdb.c++/local.cc (marker2): New function.
2524 (foobar): Call marker1.
2525 (main): Call marker2 instead of marker1.
2527 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2529 * gdb.disasm/mn10200.exp: Obsolete file.
2530 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2531 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2532 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2534 2003-02-04 David Carlton <carlton@math.stanford.edu>
2536 * gdb.c++/overload.exp: Test intToChar(1).
2537 * gdb.c++/overload.cc (intToChar): New.
2538 (main): Call intToChar.
2540 2003-02-03 David Carlton <carlton@math.stanford.edu>
2542 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2544 KFAIL some of the continue_to_bp_overloaded calls, according to
2547 2003-02-01 Michael Chastain <mec@shout.net>
2549 * gdb.base/advance.c (marker1): New marker function.
2550 * gdb.base/advance.exp: When the 'advance' command lands on the
2551 return breakpoint, it can legitimately stop on either the
2552 current line or the next line. Accommodate both outcomes.
2553 * gdb.base/until.exp: Likewise.
2555 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2557 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2558 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2559 now a list, not a tuple.
2560 * gdb.mi/mi-var-display.exp: Ditto.
2561 * gdb.mi/gdb792.exp: Ditto.
2563 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2565 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2566 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2568 * gdb.mi/mi-syn-frame.c: Part of same.
2570 2003-02-01 Mark Kettenis <kettenis@gnu.org>
2572 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2573 gdb.mi/mi1-pthreads.exp: Return instead of calling
2574 gdb_suppress_entire_file.
2576 2003-02-01 Mark Salter <msalter@redhat.com>
2578 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2580 2003-01-31 Mark Salter <msalter@redhat.com>
2582 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2585 2003-01-30 Michael Chastain <mec@shout.net>
2587 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2588 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2589 has been fixed in gdb/readline on 2003-01-09.
2591 2003-01-29 Michael Snyder <msnyder@redhat.com>
2593 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2594 * gdb.base/display.exp: Allow for leading underscore in symbol.
2595 * gdb.base/args.exp: Skip if target does not support args passing.
2597 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
2599 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2600 gdb_test. Accept a list of expect arguments as the third
2604 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
2606 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2607 allow for different test tree configurations. Update some
2608 tescases accordingly.
2609 * gdb.arch/altivec-regs.exp: Ditto.
2610 * gdb.asm/asm-source.exp: Ditto.
2611 * gdb.base/advance.exp: Ditto.
2612 * gdb.base/display.exp: Ditto.
2613 * gdb.base/long_long.exp: Ditto.
2614 * gdb.base/mips_pro.exp: Ditto.
2615 * gdb.base/overlays.exp: Ditto.
2616 * gdb.base/relocate.exp: Ditto.
2617 * gdb.base/setshow.exp: Ditto.
2618 * gdb.base/step-line.exp: Ditto.
2619 * gdb.base/step-test.exp: Ditto.
2620 * gdb.base/until.exp: Ditto.
2621 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2623 2003-01-17 David Carlton <carlton@math.stanford.edu>
2625 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2626 corresponding to PR c++/945.
2629 2003-01-17 David Carlton <carlton@math.stanford.edu>
2631 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2632 corresponding to PR c++/68.
2634 2003-01-17 David Carlton <carlton@math.stanford.edu>
2636 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2637 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2638 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2640 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2642 * gdb.base/break.exp: Fix change of default location, because of
2643 removal of until tests.
2644 * gdb.base/help.exp: Update test for new 'until' help message.
2645 Add test for help on 'advance'.
2646 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2648 2003-01-15 Mark Kettenis <kettenis@gnu.org>
2650 * gdb.base/default.exp: Adapt "info float" test for recent changes
2651 to that command. Add test for "info vector".
2652 * gdb.base/float.exp: New file. Add test for "info float" that
2653 resembles the old test in gdb.base/default.exp.
2655 2003-01-15 David Carlton <carlton@math.stanford.edu>
2657 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2659 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2661 * gdb.base/break.exp: Move the tests of until command from here...
2662 * gdb.base/until.exp: ... to here. New file. Add other tests.
2663 * gdb.base/advance.c: New file.
2664 * gdb.base/advance.exp: New file.
2666 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
2668 * gdb.base/args.c: New file.
2669 * gdb.base/args.exp: New file.
2671 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2673 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2675 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2677 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2679 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2681 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2684 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2686 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2688 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2690 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2692 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2694 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2696 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2697 * gdb.mi/mi1-console.exp: Likewise.
2699 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2701 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2702 * gdb.mi/mi1-console.exp: Likewise.
2704 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2706 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2708 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2710 * gdb.base/detach.exp: New test.
2712 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2714 * Makefile.in (ALL_SUBDIRS): New variable.
2715 (subdirs, clean, distclean): Use it.
2716 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2717 regenerating Makefile, since it is generated from the top level.
2718 * gdb.asm/Makefile.in: Likewise.
2719 * gdb.base/Makefile.in: Likewise.
2720 * gdb.c++/Makefile.in: Likewise.
2721 * gdb.disasm/Makefile.in: Likewise.
2722 * gdb.java/Makefile.in: Likewise.
2723 * gdb.mi/Makefile.in: Likewise.
2724 * gdb.threads/Makefile.in: Likewise.
2725 * gdb.trace/Makefile.in: Likewise.
2727 2003-01-09 David Carlton <carlton@math.stanford.edu>
2729 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2730 Add copyright year 2003.
2732 2003-01-06 Michael Chastain <mec@shout.net>
2734 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2735 When selecting a thread, 'line' and 'file' are optional.
2736 * gdb.mi/mi1-pthreads.exp: Likewise.
2738 2003-01-06 Andreas Schwab <schwab@suse.de>
2740 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2743 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2746 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2747 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2749 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2750 instead of calling gdb_suppress_entire_file.
2751 * gdb.threads/print-threads.exp: Likewise.
2752 * gdb.threads/schedlock.exp: Likewise.
2754 * gdb.threads/killed.exp: Return instead of calling
2755 gdb_suppress_entire_file.
2756 * gdb.threads/linux-dp.exp: Likewise.
2757 * gdb.threads/pthreads.exp: Likewise.
2759 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2761 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2763 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2764 * gdb.base/whatis.exp: Always allow (void) after function names.
2766 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2768 * gdb.c++/casts.exp: Correct regexp.
2770 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2772 * configure.in: Call AC_CONFIG_HEADER. Don't call
2773 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2774 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2775 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2776 aforementioned directories in the AC_OUPUT call.
2777 * config.hin: New file.
2778 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2779 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2780 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2781 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2782 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2783 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2784 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2785 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2786 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2787 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2788 gdb.threads/configure.in, gdb.threads/configure,
2789 gdb.threads/config.in, gdb.trace/configure.in,
2790 gdb.trace/configure: Removed.
2792 2003-01-03 Michael Chastain <mec@shout.net>
2794 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2795 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2797 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
2799 * gdb.base/store.exp: Fix regular expressions.
2801 2002-12-28 Mark Kettenis <kettenis@gnu.org>
2803 * configure.in: Rewrite.
2804 * configure: Regenerated.
2806 2003-01-03 David Carlton <carlton@math.stanford.edu>
2808 * gdb.base/psymtab.exp: New file.
2809 * gdb.base/psymtab1.c: Ditto.
2810 * gdb.base/psymtab2.c: Ditto.
2812 2002-12-23 Adam Fedor <fedor@gnu.org>
2814 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2816 2002-12-23 David Carlton <carlton@math.stanford.edu>
2818 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2819 and current_directory initialization.
2821 2002-12-22 Jim Blandy <jimb@redhat.com>
2823 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2824 rather than as part of the output file name.
2826 * gdb.base/attach.exp: There's no need to copy the test program to
2827 /tmp; that was only ever necessary on HP/UX, and this test is
2828 entirely disabled there anyway.
2830 2002-12-21 Jim Blandy <jimb@redhat.com>
2832 * gdb.c++/psmang.exp: Doc fix.
2834 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2837 2002-12-20 David Carlton <carlton@math.stanford.edu>
2839 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2841 2002-12-18 Michael Chastain <mec@shout.net>
2843 * gdb.c++/annota2.exp: Add copyright year 2002.
2845 2002-12-17 David Carlton <carlton@math.stanford.edu>
2847 * gdb.c++/try_catch.cc: Add marker comments.
2848 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2849 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2850 * gdb.c++/m-static.cc: Ditto.
2851 * gdb.c++/m-static1.cc: Ditto.
2852 * gdb.c++/try_catch.cc: Ditto.
2854 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2856 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2857 to see whether we are using the new -environment-directory
2858 command which resets via -r or the old version of the command
2859 which may prompt the user. Part of fix for gdb/741.
2861 2002-12-13 Andrew Cagney <ac131313@redhat.com>
2863 * gdb.fortran/types.exp: Update obsolete comment.
2864 * gdb.fortran/exprs.exp: Ditto.
2865 * lib/gdb.exp: Delete obsolete code.
2866 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2867 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2868 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2869 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2870 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2871 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2872 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2873 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2874 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2875 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2876 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2877 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2878 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2879 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2880 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2881 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2882 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2883 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2884 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2885 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2886 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2887 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2888 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2889 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2890 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2891 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2892 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2893 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2894 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2895 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2896 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2897 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2898 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2899 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2900 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2901 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2902 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2904 2002-12-11 David Carlton <carlton@math.stanford.edu>
2906 * gdb.c++/m-data.exp: Add test for members that shadow global
2907 variables: see PR gdb/804.
2908 * gdb.c++/m-data.cc: Ditto.
2910 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
2912 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2914 2002-12-06 David Carlton <carlton@math.stanford.edu>
2916 * gdb.base/store.c: Don't declare functions static.
2918 2002-12-04 Andrew Cagney <ac131313@redhat.com>
2920 * gdb.base/store.exp, gdb.base/store.c: New files.
2922 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2924 * gdb.base/selftest.exp: Update for current gdb.
2926 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2928 * gdb.base/maint.exp: Only dump symbols from one source file
2931 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2933 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2936 2002-11-25 Jim Blandy <jimb@redhat.com>
2938 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2939 function appearing in error message.
2941 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
2943 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2945 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2947 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2948 for mi1 and current mi is in correct format. New mi startup message
2949 should be in mi console format. This is part of fix for PR gdb/604.
2951 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2953 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2954 which explicitly prints the zero offset as "+0".
2956 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
2958 * gdb.threads/schedlock.c (args): Make unsigned.
2960 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
2962 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2963 numbers. Allow "foo2|selected stack frame".
2964 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2965 * gdb.asm/asmsrc2.s: Likewise.
2966 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2968 * gdb.asm/mips.inc: New file.
2970 2002-10-18 Adam Fedor <fedor@gnu.org>
2972 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2973 * gdb.base/help.exp: Likewise.
2975 2002-10-17 Kevin Buettner <kevinb@redhat.com>
2977 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2978 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2980 2002-10-02 Jim Blandy <jimb@redhat.com>
2982 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2984 2002-10-01 Andrew Cagney <ac131313@redhat.com>
2986 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2987 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2988 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2989 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2990 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2991 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2992 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2994 2002-09-29 Andrew Cagney <ac131313@redhat.com>
2996 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2997 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2998 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2999 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
3000 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
3001 * mi0-var-block.exp, mi0-var-child.exp: Delete.
3002 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
3004 2002-09-27 Kevin Buettner <kevinb@redhat.com>
3006 * gdb.base/annota1.exp (info break): Make directory components of
3007 path optional since not all compilers emit this debug information.
3009 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
3010 step ends up stepping out of the function instead of stopping on
3013 2002-09-26 Keith Seitz <keiths@redhat.com>
3015 * lib/insight-support.exp (gdbtk_start): Figure out where
3016 the insight executable is based on where gdb is. Use this
3017 executable to start insight instead of gdb.
3019 2002-09-25 Andrew Cagney <cagney@redhat.com>
3021 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
3023 2002-09-24 Andrew Cagney <ac131313@redhat.com>
3025 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
3026 test_isolated_complaints.
3027 (test_empty_complaint): New function.
3028 (test_empty_complaints): New function. Check no output when no
3031 2002-09-19 Jim Blandy <jimb@redhat.com>
3033 * gdb.base/charset.exp, gdb.base/charset.c: New files.
3035 2002-09-19 Andrew Cagney <ac131313@redhat.com>
3037 * gdb.gdb/complaints.exp: New file.
3039 2002-09-18 Andrew Cagney <ac131313@redhat.com>
3041 * gdb.base/maint.exp: Check `help maint internal-warning'.
3043 2002-09-18 David Carlton <carlton@math.stanford.edu>
3045 * gdb.c++/m-static.exp: Remove breakpoints depending on line
3046 numbers, and replace them by a single breakpoint after the
3047 constructors are all finished.
3049 * gdb.c++/m-static.cc: Add test 4.
3050 * gdb.c++/m-static.h: New file.
3051 * gdb.c++/m-static1.cc: New file.
3053 * gdb.c++/printmethod.exp: New file.
3054 * gdb.c++/printmethod.cc: New file.
3056 * gdb.c++/pr-574.exp: New file.
3057 * gdb.c++/pr-574.cc: New file.
3059 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
3061 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
3062 embedded targets which never actually exit.
3064 2002-09-18 Fernando Nasser <fnasser@redhat.com>
3066 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
3067 "don't step after run" as unresolved or unsupported, instead of xfail.
3069 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
3071 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
3072 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
3073 Add newline to expected string in "step out of main (status wrapper)"
3076 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
3078 * lib/gdb.exp (rerun_to_main): Allow restarting application.
3079 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
3081 2002-09-17 Tom Tromey <tromey@redhat.com>
3083 * gdb.base/printcmds.exp (test_print_string_constants): Expect
3084 \000, not \0, in double-quoted string.
3086 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
3088 * gdb.base/commands.exp: Don't expect a "Program exited normally"
3089 string after running the commands execution on breakpoint tests.
3091 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
3093 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
3095 2002-09-12 Joel Brobecker <brobecker@gnat.com>
3097 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
3099 2002-09-10 Keith Seitz <keiths@redhat.com>
3101 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
3103 (mi_run_to_main): Use mi_runto.
3104 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
3106 2002-09-10 Keith Seitz <keiths@redhat.com>
3108 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
3109 regexp for stopping at main. Could have multiple event notifications.
3110 Don't assume that main was declared with no parameters.
3111 (mi_next): Use mi_step_to.
3112 (mi_step): Use mi_next_to.
3114 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
3116 * gdb.base/default.exp: Fix expected string in `info float' test.
3118 2002-09-09 Ben Elliston <bje@redhat.com>
3120 * config/mips.exp: Update comments.
3121 * config/mips-idt.exp: Likewise.
3122 * config/nind.exp: Likewise.
3123 * config/slite.exp: Likewise.
3124 * config/sparclet.exp: Likewise.
3125 * config/udi.exp: Likewise.
3126 * config/vx.exp: Likewise.
3127 * config/vxworks29k.exp: Likewise.
3129 2002-09-05 Jim Blandy <jimb@redhat.com>
3131 * gdb.threads/killed.exp: Fix test failure message.
3133 2002-09-04 Keith Seitz <keiths@redhat.com>
3135 * lib/mi-support.exp: Update copyright.
3136 (mi_gdb_test): Increase the priority of the expected pattern
3137 so that it matches gdb_test.
3139 2002-09-03 Keith Seitz <keiths@redhat.com>
3141 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
3142 Use integer comparison instead of string comparison for testing
3143 whether binary was built.
3145 2002-09-03 Jim Blandy <jimb@redhat.com>
3147 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
3149 2002-08-29 Jim Blandy <jimb@redhat.com>
3151 * gdb.threads/pthreads.exp: Move the portable thread compilation
3152 code into a function in lib/gdb.exp, and call that from here.
3153 * lib/gdb.exp (gdb_compile_pthreads): New function.
3155 2002-08-29 Keith Seitz <keiths@redhat.com>
3157 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
3158 expect_out so that callers can get at it.
3160 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
3162 * gdb.threads/print-threads.c: New file.
3163 * gdb.threads/print-threads.exp: New file.
3164 * gdb.threads/schedlock.c: New file.
3165 * gdb.threads/schedlock.exp: New file.
3167 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
3169 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
3172 2002-08-17 Mark Kettenis <kettenis@gnu.org>
3174 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
3175 targets. The problem should be fixed now.
3177 2002-08-15 Mark Kettenis <kettenis@gnu.org>
3179 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
3180 2002-07-24 change that removes final dots from error messages.
3182 2002-08-13 Tom Tromey <tromey@redhat.com>
3184 * gdb.base/readline.exp: New file.
3186 2002-08-01 Andrew Cagney <ac131313@redhat.com>
3188 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
3191 2002-08-01 Andrew Cagney <cagney@redhat.com>
3193 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
3194 CHILL_FOR_TARGET and CHILL_LIB.
3195 * configure.in (configdirs): Remove gdb.chill.
3196 * configure: Regenerate.
3197 * lib/gdb.exp: Obsolete references to chill.
3198 * gdb.fortran/types.exp: Ditto.
3199 * gdb.fortran/exprs.exp: Ditto.
3201 2002-07-30 Kevin Buettner <kevinb@redhat.com>
3203 * gdb.base/shlib-call.exp (additional_flags): Conditionally
3204 set Irix-specific compile and link flags.
3206 2002-07-29 Kevin Buettner <kevinb@redhat.com>
3208 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3209 source files. The ``-o'' option doesn't work with the ``-E'' option
3210 when using the Irix compiler.
3212 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
3214 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
3215 Improve support for reusing an exec file. Copy exec file
3216 to target, and run gdbserver on the target instead of on the host.
3218 2002-07-18 Jim Blandy <jimb@redhat.com>
3220 * gdb.base/ending-run.exp: Don't expect to see the program end in
3221 some orderly fashion when we're running on a real stand-alone
3224 * gdb.base/interrupt.exp: Correct logic for skipping tests on
3225 targets that don't support interrupts.
3227 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
3229 * gdb.base/attach.exp: Add patterns to match output from /proc-based
3231 Move comments in expect statements to inside the actions, so that they
3232 don't get matched against.
3234 2002-07-10 Mark Kettenis <kettenis@gnu.org>
3236 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3237 function when asleep" test.
3239 2002-07-10 Andrew Cagney <ac131313@redhat.com>
3241 * gdb.base/page.exp: Rewrite to handle problems with very long
3242 `info set' output. Update copyright.
3244 2002-06-26 Andrew Cagney <ac131313@redhat.com>
3246 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3248 * gdb.hp/configure: Regenerate.
3249 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3250 * gdb.hp/gdb.threads-hp/configure: Delete file.
3251 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3253 2002-06-22 Andrew Cagney <ac131313@redhat.com>
3255 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3256 setlocale, bindtextdomain and textdomain.
3258 2002-06-11 Jim Blandy <jimb@redhat.com>
3260 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3261 preprocessor macro information is present.
3263 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
3266 2002-06-06 Michael Snyder <msnyder@redhat.com>
3268 * gdb.base/overlays.exp: Record addresses of overlay
3269 functions in TCL variables rather than in GDB variables,
3270 to avoid having GDB convert them to pointers (with loss
3273 * gdb.base/d10v.ld: Merge in several years worth of
3274 default linker script changes.
3275 * gdb.base/long_long.exp: Add check for sizeof (long double).
3277 2002-06-06 Michal Ludvig <mludvig@suse.cz>
3279 * gdb.asm/asm-source.exp: Add x86-64 target.
3280 * gdb.asm/x86_64.inc: New.
3282 2002-05-30 Michael Chastain <mec@shout.net>
3284 From Benjamin Kosnik <bkoz@redhat.com>:
3285 * gdb.c++/m-static.cc: New file.
3286 * gdb.c++/m-static.exp: New file.
3288 2002-05-28 Michael Snyder <msnyder@redhat.com>
3290 * gdb.base/call-ar-st.exp: Allow for reduced floating point
3293 2002-05-27 Michael Chastain <mec@shout.net>
3295 From Benjamin Kosnik <bkoz@redhat.com>:
3296 * gdb.c++/m-data.cc: New file.
3297 * gdb.c++/m-data.exp: New file.
3299 2002-05-27 Michael Chastain <mec@shout.net>
3301 From Benjamin Kosnik <bkoz@redhat.com>:
3302 * gdb.c++/try_catch.cc: New file.
3303 * gdb.c++/try_catch.exp: New file.
3305 2002-05-27 Michael Chastain <mec@shout.net>
3307 * gdb.c++/local.exp: Accept more nested types in output.
3309 2002-05-26 Michael Chastain <mec@shout.net>
3311 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3313 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
3315 * lib/gdb.exp (gdb_wrapper_init): Just because
3316 gdb_wrapper_file exists, this does not mean that the file
3317 should not be rebuilt. That is what gdb_wrapper_initialized
3319 (default_gdb_init): Reset gdb_wrapper_initialized.
3321 2002-05-23 Michael Snyder <msnyder@redhat.com>
3323 * gdb.base/all-bin.exp: Revise previous patch by just reducing
3324 the precision of the floating point test results.
3325 * gdb.base/call-rt-st.exp: Ditto.
3327 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3328 * gdb.base/call-rt-st.exp: Ditto.
3330 2002-05-19 Michael Chastain <mec@shout.net>
3332 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3334 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
3336 * configure.in (configdirs): Add gdb.arch.
3337 * configure: Regenerate.
3339 2002-05-17 Jim Blandy <jimb@redhat.com>
3341 * gdb.base/completion.exp: Recognize the more detailed error
3342 messages produced by the macro expander's lexical analyzer.
3344 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
3346 * gdb.arch/altivec-abi.c: New file.
3347 * gdb.arch/altivec-abi.exp: New file.
3348 * gdb.arch/altivec-regs.c: New file.
3349 * gdb.arch/altivec-regs.exp: New file.
3351 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
3353 * gdb.base/maint.exp (maint print type): Update for new type
3356 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
3358 * gdb.arch: New directory.
3359 * gdb.arch/configure.in: New file.
3360 * gdb.arch/configure: New file.
3361 * gdb.arch/Makefile.in: New file.
3363 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
3365 * gdb.asm/asm-source.exp: Add v850 as supported target.
3366 * gdb.asm/v850.inc: New file.
3368 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
3370 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3372 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
3374 * gdb.base/break.exp: Check 'break "marker2"'.
3376 2002-05-10 Michael Snyder <msnyder@redhat.com>
3378 * gdb.base/long_long.exp: Fix typo.
3380 2002-05-10 Jim Blandy <jimb@redhat.com>
3382 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3385 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3386 Recognize more detailed error message produced by the macro
3387 expander's lexical analyzer.
3388 * lib/gdb.exp (test_print_reject): Same.
3390 2002-05-09 Mark Kettenis <kettenis@gnu.org>
3392 * gdb.c++/method.exp: Fix typo.
3394 2002-05-08 Michael Snyder <msnyder@redhat.com>
3396 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3397 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
3398 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
3399 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3400 Add iftarget clause for strongarm.
3402 2002-05-06 Michael Snyder <msnyder@redhat.com>
3404 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3405 (gdb_continue_to_end): Accept output from status wrapper.
3406 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3407 Clean up fail messages to match pass messages.
3409 Enable the "needs_status_wrapper" testsuite feature.
3410 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3411 (gdb_compile): Conditionally call gdb_wrapper_init.
3412 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3413 * gdb.c++/method.exp: Recognize output from status wrapper.
3415 2002-05-06 Ben Elliston <bje@redhat.com>
3416 From Graydon Hoare <graydon@redhat.com>
3418 * config/sid.exp: Include support for "rawsid" protocol.
3420 2002-05-03 Jim Blandy <jimb@redhat.com>
3422 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3423 * gdb.c++/hang3.C: New file.
3425 2002-05-04 Andrew Cagney <ac131313@redhat.com>
3427 * gdb.base/default.exp: Remove obsolete code.
3428 * gdb.c++/misc.exp: Ditto. Update copyright.
3429 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3430 * gdb.base/whatis.exp: Ditto. Update copyright.
3431 * gdb.base/scope.exp: Ditto. Update copyright.
3432 * gdb.base/ptype.exp: Ditto. Update copyright.
3433 * gdb.base/printcmds.exp: Ditto. Update copyright.
3434 * gdb.base/opaque.exp: Ditto. Update copyright.
3435 * gdb.base/list.exp: Ditto.
3436 * gdb.base/funcargs.exp: Ditto. Update copyright.
3437 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3438 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3439 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3440 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3441 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3442 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3444 2002-05-02 Michael Snyder <msnyder@redhat.com>
3446 * gdb.base/watchpoint.exp: Add xscale target.
3447 * gdb.base/long_long.exp: Add xscale target.
3448 * gdb.base/default.exp: Add xscale target.
3450 2002-05-01 Jim Blandy <jimb@redhat.com>
3452 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3453 gdb.c++/hang.exp: New test.
3455 2002-05-01 Fred Fish <fnf@redhat.com>
3457 * gdb.base/completion.exp: Handle completions of "./Make" for
3458 more than one completion possibility, as is the case when we
3459 build and test in the source tree.
3461 2002-04-29 Anthony Green <green@redhat.com>
3463 * gdb.java/jmisc1.exp: New file.
3464 * gdb.java/jmisc2.exp: New file.
3466 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
3468 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3470 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
3472 * gdb.base/help.exp: Change 'help status' to allow for target
3473 dependent output differences.
3475 2002-04-22 Michael Chastain <mec@shout.net>
3477 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3479 2002-04-22 Michael Chastain <mec@shout.net>
3481 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3483 2002-04-17 David S. Miller <davem@redhat.com>
3485 * gdb.asm/sparc64.inc: New file.
3486 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3488 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
3490 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3491 instruction file directly into the build tree. Clean up at end of
3494 2002-04-18 David S. Miller <davem@redhat.com>
3496 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3497 handle 64-bit platforms correctly.
3498 * gdb.base/maint.exp: Likewise.
3500 2002-04-18 Kevin Buettner <kevinb@redhat.com>
3502 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3503 ``-fpic'' when compiling files comprising a shared library, but
3504 it does need additional linker flags in order to find shared
3505 libraries at run time.
3507 2002-04-18 Kevin Buettner <kevinb@redhat.com>
3509 * gdb.base/cvexpr.c (use): New function.
3510 (main): Invoke use() on all global variables to prevent
3511 some linkers from deleting these otherwise unused symbols.
3513 2002-04-17 Michael Chastain <mec@shout.net>
3514 From David S. Miller <davem@redhat.com>
3516 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3517 handle 64-bit platforms correctly.
3519 2002-04-12 Michael Snyder <msnyder@redhat.com>
3520 From Jim Blandy <jimb@redhat.com>
3521 * gdb.base/foo.c (foox): Remove section attribute; the linker
3522 script can handle this instead.
3523 * gdb.base/bar.c (barx): Same.
3524 * gdb.base/baz.c (bazx): Same.
3525 * gdb.base/grbx.c (grbxx): Same.
3527 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3528 manager doesn't automatically unmap overlays unnecessarily.
3530 2002-04-10 Martin M. Hunt <hunt@redhat.com>
3532 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3533 stepping out of main.
3535 2002-04-09 Michael Chastain <mec@shout.net>
3537 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3538 scope so that the nested scope tests will make sense.
3539 * gdb.c++/local.exp: Write patterns that actually work with gcc
3540 (the HP patterns "were never known to work with gcc").
3541 Keep the old aCC patterns too.
3543 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
3545 * gdb.base/attach.exp: Correct target board test.
3547 2002-04-08 Michael Chastain <mec@shout.net>
3549 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3550 in a const method. Add some xfail and fail cases for configurations
3551 that do not emit the "const ...".
3553 2002-04-07 Michael Chastain <mec@shout.net>
3555 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3556 Accept "A * const" and "const A * const" as type of "this".
3557 Fix spelling of getFunky throughout. Make messages uniform.
3559 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
3561 Work around for PR gdb/285:
3562 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3564 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
3566 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3567 instructions file at run time instead of configure time.
3568 Sometimes we run the test in a directory that is not the one we
3570 * gdb.asm/configure.in: Delete creation of symlink.
3571 * gdb.asm/configure: Regenerate.
3573 2002-04-05 J. Brobecker <brobecker@gnat.com>
3575 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3576 xfullpath () function.
3578 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
3580 * gdb.asm/Makefile.in: Correct dependencies.
3582 * gdb.asm/powerpc.inc: New file.
3583 * gdb.asm/asm-source.exp: Add PowerPC.
3584 * gdb.asm/configure.in: Likewise.
3585 * gdb.asm/configure: Regenerated.
3587 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
3589 * gdb.base/relocate.exp: New file.
3590 * gdb.base/relocate.c: New file.
3592 2002-04-04 Fred Fish <fnf@redhat.com>
3594 * gdb.base/step-test.exp: Update comment regarding stopping in
3595 memcpy/bcopy calls inserted as part of the compiler runtime.
3597 2002-04-04 Michael Snyder <msnyder@redhat.com>
3599 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3601 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
3603 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3604 (gdb_expect): Remove $notransfer hack.
3606 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
3608 * gdb.c++/classes.exp ("calling method for small class"): Match
3609 updated register output.
3611 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
3614 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3615 when finished. Make gdb_file_cmd send "exec-file" when
3618 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
3620 * gdb.base/attach.exp: Remove extra setup_xfail.
3622 2002-03-26 Michael Snyder <msnyder@redhat.com>
3624 * gdb.base/default.exp: Add tests for dump, append, and restore.
3625 * gdb.base/help.exp: Add tests for dump, append, and restore.
3626 * gdb.base/dump.exp: New file, test dump, append and restore.
3627 * gdb.base/dump.c: New file.
3629 2002-03-27 Michael Snyder <msnyder@redhat.com>
3631 * gdb.base/help.exp: Modify expect strings to reflect
3632 clean-ups in help messages.
3634 2002-03-26 Fred Fish <fnf@redhat.com>
3636 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3637 have debugging info for those functions and the compiler uses them
3638 internally to copy structs around.
3640 2002-03-26 Fred Fish <fnf@redhat.com>
3642 * gdb.base/list.exp: Revert the change made yesterday and add note
3643 about why we don't list the default lines for remote targets.
3645 2002-03-25 Michael Snyder <msnyder@redhat.com>
3647 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3649 2002-03-25 Fred Fish <fnf@redhat.com>
3651 * gdb.base/list.exp: This test works on remote targets so remove
3652 the short circuit for remote targets. Update copyright.
3654 2002-03-25 Fred Fish <fnf@redhat.com>
3656 * gdb.base/attach.exp: Fix logic error that was suppressing this
3657 test for all non hppa*-*-hpux* targets, instead of the hp target.
3658 Move comments closer to the suppression point. Also now need to
3659 check that we are running natively.
3661 2002-03-22 Michael Snyder <msnyder@redhat.com>
3663 * gdb.base/default.exp: Add test for gcore. Update copyright.
3664 * gdb.base/help.exp: Add test for gcore. Update copyright.
3666 2002-03-06 Fred Fish <fnf@redhat.com>
3668 * gdb.base/funcargs.c: Remove extraneous ';' character.
3669 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3671 2002-03-04 Michael Chastain <mec@shout.net>
3673 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3674 accommodate gcc v3 function signature.
3675 * gdb.mi/mi0-var-cmd-exp: Ditto.
3677 2002-02-24 Andrew Cagney <ac131313@redhat.com>
3679 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3680 ``GNU/Linux'' or ``Linux kernel''
3681 * testsuite/gdb.threads/pthreads.c: Ditto.
3683 2002-02-24 Michael Chastain <mec@shout.net>
3685 * gdb.threads/pthreads.c (thread1): Add a return statement.
3686 (thread2): Likewise.
3689 2002-02-23 Michael Chastain <mec@shout.net>
3691 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3694 2002-02-23 Michael Chastain <mec@shout.net>
3696 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3697 test "ptype bint". The test passes on all my stabs configurations.
3699 2002-02-21 Jim Blandy <jimb@redhat.com>
3701 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3702 filename at a time, and watch for the ones we want to see.
3704 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3705 types of pointers to prototyped functions.
3707 2002-02-20 Andrew Cagney <ac131313@redhat.com>
3709 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3710 signed, unsigned and straight char.
3711 (padding_char, padding_short, padding_int, padding_long,
3712 padding_long_long, padding_float, padding_double,
3713 padding_long_double): New global variables.
3714 (fill, fill_structs): New functions.
3716 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3717 for correctly sized writes. Update copyright.
3718 (get_valueof): New procedure.
3719 (get_sizeof): Call get_valueof.
3720 (check_valueof): New procedure.
3721 (check_padding): New procedure.
3723 2002-02-20 Michael Chastain <mec@shout.net>
3725 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3726 to setup_xfail. Document some of the remaining calls.
3728 2002-02-18 Michael Chastain <mec@shout.net>
3730 * gdb.c++/userdef.exp: Update copyright year.
3732 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
3734 * gdb.c++/userdef.exp: Test overloaded operators properly.
3737 2002-02-14 Michael Snyder <msnyder@redhat.com>
3739 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3741 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
3743 * gdb.base/a2-run.exp: Check for a remote target properly.
3744 * gdb.base/annota1.exp: Likewise.
3745 * gdb.base/list.exp: Likewise.
3746 * gdb.base/reread.exp: Likewise.
3747 * gdb.base/scope.exp: Likewise.
3748 * gdb.base/shlib-call.exp: Likewise.
3749 * gdb.base/term.exp: Likewise.
3750 * gdb.c++/annota2.exp: Likewise.
3752 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
3754 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3756 2002-02-10 Michael Chastain <mec@shout.net>
3758 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3759 (call_after_alloca): Ditto.
3761 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
3763 * gdb.base/ending-run.exp: Guard "cont" test with
3764 gdb_skip_stdio_test.
3766 2002-02-06 Jim Blandy <jimb@redhat.com>
3768 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3770 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3771 To here. Disable this test on non-HP platforms. Add big comment.
3773 2002-02-04 Michael Snyder <msnyder@redhat.com>
3775 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3776 other than d10v and m32r.
3778 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
3780 * gdb.base/default.exp: Rewrite test patterns to reduce time
3781 taken to match them.
3783 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3785 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3786 Allow a start function above main.
3787 * gdb.threads/linux-dp.exp: Fix copyright date.
3789 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3791 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3792 (check_philosopher_stack): Check for manager thread before checking
3793 for a just-starting thread.
3795 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3797 From Neil Booth <neil@daikokuya.demon.co.uk>:
3798 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3801 2002-01-21 Fred Fish <fnf@redhat.com>
3803 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3806 2002-01-21 Jim Blandy <jimb@redhat.com>
3808 * gdb.base/reread.exp: Check that GDB properly re-reads the
3809 executable file when it changes while no inferior is running.
3811 2002-01-21 Fred Fish <fnf@redhat.com>
3813 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3814 optionally accept the "shlib events" variation.
3816 2002-01-21 Jim Blandy <jimb@redhat.com>
3818 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3819 call `fflush' after every `printf', so that the output is produced
3820 at predictable points, regardless of whatever buffering does (or
3821 doesn't) take place.
3822 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3823 at different points.
3825 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3827 * gdb.c++/inherit.exp: Update copyright years.
3828 * gdb.c++/method.exp: Likewise.
3830 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3832 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3833 artificial methods/arguments.
3834 * gdb.c++/derivation.exp: Likewise.
3835 * gdb.c++/inherit.exp: Likewise.
3836 * gdb.c++/method.exp: Likewise.
3837 * gdb.c++/virtfunc.exp: Likewise.
3839 2002-01-18 Andrew Cagney <ac131313@redhat.com>
3841 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3842 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3843 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3844 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3845 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3846 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3848 2002-01-17 Jim Blandy <jimb@redhat.com>
3850 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3851 anchoring the pattern matching the entry point symbol's name.
3853 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3855 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3856 continue/quit query. Update copyright.
3858 2002-01-14 Michael Snyder <msnyder@redhat.com>
3860 * gdb.base/gcore.exp: Remove extra debugging output.
3862 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3864 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3865 for slightly dubious v2 mangled string.
3867 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3869 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3871 2002-01-10 Jason Merrill <jason@redhat.com>
3873 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
3875 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3877 * gdb.c++/derivation.exp: Likewise.
3878 * gdb.c++/templates.exp: Likewise.
3879 * gdb.c++/virtfunc.exp: Likewise.
3881 2002-01-10 Michael Snyder <msnyder@redhat.com>
3883 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
3885 2002-01-08 Michael Snyder <msnyder@redhat.com>
3887 * gdb.base/gcore.exp: New test for generate-core-file command.
3888 * gdb.base/gcore.c: Testcase for above.
3889 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3891 2002-01-08 Jason Merrill <jason@redhat.com>
3893 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3895 2002-01-07 Fred Fish <fnf@redhat.com>
3897 * gdb.c++/overload.exp: Remove unconditional xfails for:
3898 print foo_instance1.overloadargs(1)
3899 print foo_instance1.overloadargs(1, 2)
3900 print foo_instance1.overloadargs(1, 2, 3)
3901 print foo_instance1.overloadargs(1, 2, 3, 4)
3902 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3903 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3904 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3905 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3906 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3907 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3908 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3909 print foo_instance1.overload1arg()
3910 print foo_instance1.overload1arg((char)arg2)
3911 print foo_instance1.overload1arg((signed char)arg3)
3912 print foo_instance1.overload1arg((unsigned char)arg4)
3913 print foo_instance1.overload1arg((int)arg7)
3914 print foo_instance1.overload1arg((unsigned int)arg8)
3915 print foo_instance1.overload1arg((float)arg11)
3916 print foo_instance1.overload1arg((double)arg12)
3918 2002-01-07 Michael Snyder <msnyder@redhat.com>
3920 * gdb.base/huge.exp: New test. Print a very large target data object.
3921 (skip_huge_test): New test variable. Define if you want to skip this
3922 test. The test reads an 8 megabyte data object from the target, so it
3923 might be very time consuming on remote targets with a slow connection.
3924 * gdb.base/huge.c: New file. Test case for above.
3926 2002-01-07 Fred Fish <fnf@redhat.com>
3928 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3929 g_instance.bfoo, and g_instance.cfoo.
3931 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3933 * gdb.base/break.c (multi_line_if_conditional): New function.
3934 (multi_ilne_while_conditional): Likewise.
3935 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3936 IF or WHILE condition puts the breakpoint at the start of
3939 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3940 hppa*-*-hpux* expected failure.
3941 * gdb.base/structs.exp (do_function_calls): Similarly.
3943 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3946 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3949 * gdb.base/structs.exp: Replace skip for a29k with skip for
3950 gdb,cannot_call_functions.
3951 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3952 * gdb.base/callfuncs.exp: Ditto.
3953 * gdb.base/call-rt-st.exp: Ditto.
3954 * gdb.base/call-strs.exp: Ditto.
3955 * gdb.base/callfwmall.exp: Ditto.
3956 * gdb.base/scope.exp: Obsolete xfail a29k.
3957 * gdb.c++/misc.exp: Ditto.
3958 * gdb.c++/cplusfuncs.exp: Ditto.
3959 * gdb.base/ptype.exp: Ditto.
3960 * gdb.base/printcmds.exp: Ditto.
3961 * gdb.base/opaque.exp: Ditto.
3962 * gdb.base/list.exp: Ditto.
3963 * gdb.base/funcargs.exp: Ditto.
3964 * gdb.base/default.exp: Ditto.
3966 2002-01-04 Michael Snyder <msnyder@redhat.com>
3968 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
3969 * gdb.base/maint.exp: Add tests for maint info sections options.
3971 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3973 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3975 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
3977 * gdb.asm/arm.inc: New file.
3978 * gdb.asm/asm-source.exp: Add arm targets.
3979 * gdb.asm/configure.in: Ditto.
3980 * gdb.asm/configure: Recreated from configure.in.
3982 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3984 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3986 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3987 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3988 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3989 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3991 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3992 either HP's compilers or GCC.
3994 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3995 a SIGBUS or SIGSEGV.
3997 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3999 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
4000 can be compiled with either HP's compiler or GCC.
4002 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
4003 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
4004 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
4006 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
4007 to match current gdb output. Update due to using auto-solib-limit
4008 for limiting instead of overloading auto-solib-add.
4009 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
4012 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
4013 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
4014 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
4015 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
4016 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
4017 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
4018 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
4019 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
4020 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
4021 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
4022 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
4023 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
4024 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
4026 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
4027 a SIGTRAP to the inferior.
4029 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
4031 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
4032 Substitute call to target_link by call to gdb_compile.
4034 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
4036 * gdb.base/break.exp: Fix HP specific search string when testing
4037 backtracing in a called function.
4039 * gdb.base/constvars.exp: Only set lang to C++ if we're
4040 compiling the test with HP's compilers.
4041 * gdb.base/volatile.exp: Similarly.
4043 2001-12-19 Jim Blandy <jimb@redhat.com>
4045 * gdb.base/printcmds.exp: Expect the null character to be printed
4046 as '\0', and the '\013' to be printed as '\v'.
4047 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
4048 * gdb.base/setvar.exp: Same.
4050 2001-12-17 Jim Blandy <jimb@redhat.com>
4052 * gdb.base/completion.exp: Rather than completing very long
4053 filenames, which can make the readline library produce output we
4054 don't recognize, cd to the directory first, and then complete
4055 using nice, short relative paths.
4057 * gdb.base/completion.exp: On some systems, there is, in fact, a
4058 variable named `b' in scope, since GDB treats all static
4059 variables as being in scope. So use `no_var_named_this'
4062 * gdb.base/corefile.exp: Recognize the message saying that GDB
4063 can't find the core file's registers as a failure.
4065 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
4067 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
4068 test expect string more specific.
4070 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
4072 * gdb.asm/asm-source.exp: Add support for xstormy16.
4073 * gdb.asm/configure.in: Ditto.
4074 * gdb.asm/configure: Rebuild.
4075 * gdb.asm/xstormy16.inc: New file.
4077 2001-12-10 Fred Fish <fnf@redhat.com>
4079 * gdb.base/maint.exp: Update to match changes in type dumping code.
4081 2001-12-10 Jim Blandy <jimb@redhat.com>
4083 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
4084 matching the entry point symbol's name at the beginning of the
4087 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
4089 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
4090 gdb.c++/inherit.exp, gdb.c++/method.exp,
4091 gdb.c++/namespace.exp, gdb.c++/templates.exp,
4092 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
4093 and class layout support.
4095 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
4097 * gdb.c++/classes.exp: Add test for static member function.
4098 * gdb.c++/misc.cc: Add class with static member function.
4100 2001-12-07 Jim Blandy <jimb@redhat.com>
4102 If GDB says it can't find the struct the function returned, report
4103 those tests as `unsupported'.
4104 * gdb.base/call-rt-st.exp (print_struct_call): New function.
4105 Rewrite subsequent tests to use it.
4107 If GDB says it can't find the struct the function returned, report
4108 those tests as `unsupported'.
4109 * gdb.base/structs.exp (call_struct_func): New function.
4110 (do_function_calls): Use call_struct_func to call the functions
4113 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
4114 whether functions are prototyped or not, so we can't possibly pass
4115 arguments to t_float_values2 properly.
4117 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
4118 value of `timeout' for targets other than the mips*tx39-*.
4120 2001-12-06 Michael Snyder <msnyder@redhat.com>
4122 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
4123 and detect whether the start symbol has a leading underscore.
4125 2001-12-04 Jim Blandy <jimb@redhat.com>
4127 * gdb.base/completion.exp: Clarify indentation.
4129 2001-12-03 Jim Blandy <jimb@redhat.com>
4131 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
4132 variables on the S/390, not `.word'.
4134 2001-11-30 Jim Blandy <jimb@redhat.com>
4136 Add assembly-source tests for s390-ibm-linux.
4137 * gdb.asm/s390.inc: New file.
4138 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
4139 the S/390 architecture.
4140 * gdb.asm/configure: Regenerated.
4142 2001-11-30 Michael Snyder <msnyder@redhat.com>
4144 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
4145 next, info source, info sources, info line, global and static
4146 variables, and static functions.
4147 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
4148 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
4149 * gdb.asm/asmsrc1.s: Add a static function and some variables.
4150 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
4151 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
4152 (gdbasm_leave): Restore frame pointer.
4153 (gdbasm_startup): Copy stack set-up from crt0.S.
4155 2001-11-26 Fernando Nasser <fnasser@redhat.com>
4157 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
4158 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
4159 to a local (non-static) variable. Copy tstruct.a to a static buffer
4160 and return a pointer to that buffer.
4161 * gdb.base/callfwmall.c (t_structs_a): Ditto.
4163 2001-11-24 Mark Kettenis <kettenis@gnu.org>
4165 * gdb.asm/configure.in: Fix recognition of ix86 target.
4166 * gdb.asm/configure: Regenerate.
4168 2001-11-21 Michael Snyder <msnyder@redhat.com>
4170 * gdb.asm/sparc.inc: New file.
4171 * gdb.asm/asm-source.exp: Recognize sparc target.
4172 * gdb.asm/configure.in: Recognize sparc target.
4173 * gdb.asm/configure: Regenerate.
4175 2001-11-21 Michael Snyder <msnyder@redhat.com>
4177 * gdb.asm/m32r.inc: New file.
4178 * gdb.asm/asm-source.exp: Recognize m32r target.
4179 * gdb.asm/configure.in: Recognize m32r target.
4180 * gdb.asm/configure: Regenerate.
4182 2001-11-20 Michael Snyder <msnyder@redhat.com>
4184 * gdb.asm/i386.inc: New file.
4185 * gdb.asm/asm-source.exp: Recognize ix86 target.
4186 * gdb.asm/configure.in: Recognize ix86 target.
4187 * gdb.asm/configure: Regenerate.
4189 * gdb.c++/namespace.exp: Fix quotes in output messages.
4191 2001-11-14 Michael Snyder <msnyder@redhat.com>
4193 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
4194 qualifier in a type cast expression, to designate an address
4195 in the instruction space (Harvard architecture).
4197 2001-11-13 Michael Snyder <msnyder@redhat.com>
4199 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4200 Tests for expressions using 'const' and 'volatile'.
4202 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
4204 * gdb.asm/asm-sources.exp: Allow defining linker flags.
4206 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
4208 * lib/mi-support.exp (mi_run_to_helper): Move comments
4209 outside of gdb_expect.
4211 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
4213 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
4214 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
4215 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
4216 mi0_run_to): New functions.
4217 * gdb.mi/mi-simplerun.exp: Use them.
4218 * gdb.mi/mi0-simplerun.exp: Likewise.
4219 * gdb.mi/mi-var-cmd.exp: Likewise.
4220 * gdb.mi/mi0-var-cmd.exp: Likewise.
4222 2001-11-10 Andrew Cagney <ac131313@redhat.com>
4224 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4225 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4227 2001-11-09 Andrew Cagney <ac131313@redhat.com>
4229 * gdb.base/restore.exp: Include $expected value in restored test
4232 2001-11-09 Andrew Cagney <ac131313@redhat.com>
4234 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4237 2001-11-08 Michael Snyder <msnyder@redhat.com>
4239 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4240 Add pass/fail message for stop at breakpoint in call dummy function.
4242 2001-11-07 Michael Snyder <msnyder@redhat.com>
4244 * gdb.c++/templates.exp (test_template_breakpoints):
4245 If we get an overload menu, but it does not match what
4246 we expect, we still need to issue the "cancel" command.
4247 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4248 making the whitespace optional. Argument for "new" may be
4249 "unsigned" as well as "unsigned int/long".
4250 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
4251 making the whitespace optional. Also replace "(void) with
4252 "((void|)), making the keyword "void" optional.
4253 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
4254 making the whitespace optional. Also replace "(void) with
4255 "((void|)), making the keyword "void" optional.
4256 * gdb.base/callfuncs.c (t_float_values): This function must
4257 _not_ be prototyped, and the following function (t_float_values2)
4258 must be prototyped (if the compiler supports it), so that GDB
4259 can be tested against both cases. Usually one case involves
4260 promotion of float to double, while the other does not.
4261 * gdb.base/callfwmall.c: Ditto.
4262 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4263 includes a stack frame for "start".
4265 2001-11-05 Jim Blandy <jimb@redhat.com>
4267 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
4268 pointers are 32 bits long, and that offsets of relocs are always
4269 stored in the data (REL-style), and not in the reloc entry itself
4271 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
4274 2001-11-01 Michael Snyder <msnyder@redhat.com>
4276 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
4277 and regular expression operators by using quoting.
4279 2001-10-31 Michael Snyder <msnyder@redhat.com>
4281 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
4282 depending on what the symbol table contains.
4283 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
4284 the output of the ptype command. Similarly, accept both "const &"
4287 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
4289 * gdb.base/miscexprs.c (main): Add usage of preprocessor
4290 symbol `STORAGE' to allow to choose the storage class of
4291 the local datastructures.
4292 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
4295 2001-10-30 Michael Snyder <msnyder@redhat.com>
4297 * gdb.base/jump.exp: Allow it to run for all targets.
4299 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
4301 * gdb.base/call-ar-st.c (print_double_array): Match for loop
4302 with new double_array size.
4303 (main): Change storage class of all local variables to static.
4304 Reduce size of double_array to 9.
4305 * gdb.base/call-ar-st.exp: Increase timeout value.
4306 Change expected output for double array to match new size in
4309 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
4311 * gdb.base/ending-run.exp: Create identical output when passing
4312 `step to end of run' case. Add regular expression branch satisfying
4315 2001-10-28 Mark Kettenis <kettenis@gnu.org>
4317 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4318 that we catch the expected failure under Linux/x86.
4320 2001-10-29 Orjan Friberg <orjanf@axis.com>
4322 * gdb.base/setvar.exp: Escape curly braces.
4323 * gdb.stabs/weird.exp: Ditto.
4325 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
4327 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4328 * gdm.mi/mi0-hack-cli.exp: Likewise.
4330 2001-10-25 Andrew Cagney <ac131313@redhat.com>
4332 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4335 2001-10-21 Andrew Cagney <ac131313@redhat.com>
4337 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4338 checking MI enabled.
4340 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
4342 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4344 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
4346 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4347 if gdb child process crashes, just signal an error.
4349 2001-10-02 Jim Blandy <jimb@redhat.com>
4351 * lib/gdb.exp (test_xfail_format): Simplify.
4353 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4354 front of the variable name `format'. Simplify `if'.
4356 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
4358 * gdb.threads/pthreads.exp: Wait for output and delay
4361 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
4363 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4364 some incorrect output instead of timing out.
4365 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4367 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
4369 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4370 check to allow additional `int'.
4372 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
4374 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4375 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4377 2001-09-27 Michael Snyder <msnyder@redhat.com>
4379 * lib/gdb.exp (test_debug_format): New proc.
4380 (setup_xfail_format): Use new proc test_debug_format.
4381 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4382 proc; use new service proc test_debug_format.
4383 Replace all other "gcc_compiled" tests with this test.
4384 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4385 proc; use new service proc test_debug_format.
4386 Replace all other "gcc_compiled" tests with this test.
4388 2001-09-27 Michael Snyder <msnyder@redhat.com>
4390 * gdb.base/cvexpr.exp: New file.
4391 * gdb.base/cvexpr.c: New file
4392 Test for expressions using const and volatile keywords.
4394 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
4396 * gdb.base/constvars.exp: Check for different orders of keywords
4397 and additional "int" strings in output.
4399 2001-09-22 Andrew Cagney <ac131313@redhat.com>
4401 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4402 responses from "help maint".
4404 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
4406 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4407 to localhost:NNN instead of :NNN, in case Xvfb is listening
4410 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
4412 * gdb.base/recurse.exp: When checking leaving the watchpoint
4413 scope, recognize when gdb is in function's epilogue and pass.
4415 2001-09-18 Keith Seitz <keiths@redhat.com>
4417 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4418 support for running tests against sid targets.
4419 (gdbtk_done): Ditto.
4421 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
4423 * gdb.base/ending-run.c (main): Set stdout buffersize
4424 to the same reasonable value for any target.
4425 * gdb.base/ending-run.exp: Add a regular expression
4426 to make testsuite happy on Sanyo Stormy16 target.
4428 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
4430 * gdb.base/display.c (do_loops): Add float variable `f'.
4431 Increment f in loop.
4432 * gdb.base/display.exp: Increment timeout by 60 seconds.
4433 Change float display test to use variable `f'.
4435 2001-09-17 Jim Blandy <jimb@redhat.com>
4437 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4438 overflowing the limited breakpoint tables on some ROM monitors
4441 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
4443 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4444 the "-ac" (disable access control) flag.
4446 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
4448 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4451 2001-08-30 Keith Seitz <keiths@redhat.com>
4453 * lib/gdb.exp: Move all insight-related functionality into
4455 * lib/insight-support.exp: New file.
4457 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
4459 * config/sid.exp (sid_start): Never set sid verbosity; disable
4460 expect_background {} that consumed its stdout; tolerate </dev/null.
4461 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4463 2001-08-18 Andrew Cagney <ac131313@redhat.com>
4465 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4466 CLI jump command to start it.
4467 (mi_run_to_main): Fail immediatly when unexpected output.
4469 2001-08-18 Andrew Cagney <ac131313@redhat.com>
4471 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4472 beginning of function. Fix PR gdb/191.
4474 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
4476 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4477 what to force sid endianness to.
4479 2001-08-15 Keith Seitz <keiths@redhat.com>
4481 * lib/gdb.exp (gdbtk_start): Don't set environment
4482 variables for TCL_LIBRARY and friends. Insight will
4483 now figure these out for itself.
4485 2001-08-02 Michael Snyder <msnyder@redhat.com>
4487 * gdb.base/completion.exp: Remove the symbol "a64l" from
4488 the expect string; this is target-specific, and not related
4489 to what is being tested.
4491 2001-08-02 Dave Brolley <brolley@redhat.com>
4493 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4495 2001-07-25 Michael Snyder <msnyder@redhat.com>
4497 * gdb.base/consecutive.exp: New file. Test stepping over
4498 breakpoints on consecutive instructions.
4499 * gdb.base/consecutive.c: New file.
4501 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4502 curly braces in regular expressions.
4504 2001-07-25 Michael Snyder <msnyder@redhat.com>
4506 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4507 legitimate output from stepping out of main.
4509 2001-07-22 Keith Seitz <keiths@redhat.com>
4511 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4512 the empty string, do not run the tests.
4514 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4516 * gdb.base/long_long.exp: Detect size of pointer. Take into
4517 account 2-byte pointers when testing for p/a results.
4519 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4521 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
4522 and defined to 1K for m68hc11.
4523 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4524 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4525 (sizeof_random_data): New variable to tell the size of the data table;
4526 don't test past this size; always run to main.
4528 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4530 * gdb.base/return2.exp: return of long long and double fails for
4531 68HC11; don't execute these tests on that platform.
4532 * gdb.base/return.exp: Return of a double fails for 68hc11.
4534 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4536 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4537 tests that print a float.
4538 * call-rt-st.exp: Likewise.
4540 2001-07-12 Mark Kettenis <kettenis@gnu.org>
4542 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4543 running this test on Linux.
4545 2001-06-24 Michael Chastain <chastain@redhat.com>
4547 * gdb.base/arithmet.exp: Remove some tests to make all test names
4550 2001-07-03 Michael Snyder <msnyder@redhat.com>
4552 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4553 the output of the ptype command.
4555 2001-07-02 Michael Snyder <msnyder@redhat.com>
4557 * gdb.base/completion.exp: Don't assume that break.c is the only
4558 source file that may contain functions named "marker".
4559 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4561 2001-06-28 Andrew Cagney <ac131313@redhat.com>
4563 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4566 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4567 * gdb.disasm/h8300s.exp: New file.
4568 gdb.disasm/h8300s.s: Likewise.
4570 2001-06-27 Andrew Cagney <ac131313@redhat.com>
4572 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4573 empty breakpoint tables.
4575 2001-06-25 Andrew Cagney <ac131313@redhat.com>
4577 * lib/mi-support.exp: Update args=... part of stop-reason
4578 patterns. Accept either a list or a tuple.
4580 2001-06-23 Andrew Cagney <ac131313@redhat.com>
4582 * lib/mi-support.exp: Remove local emacs variable defining
4583 change-log-default-name.
4585 2001-06-22 Michael Chastain <chastain@redhat.com>
4587 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4588 This is operationally compatible with the previous version.
4590 2001-06-13 Jim Blandy <jimb@redhat.com>
4592 * lib/gdb.exp (gdb_test): Doc fix.
4594 2001-06-10 Michael Chastain <chastain@redhat.com>
4596 * gdb.base/exprs.exp: Remove a duplicate test.
4598 2001-06-06 Jim Blandy <jimb@redhat.com>
4600 * gdb.base/return2.exp (main): Use values to test float and double
4601 returns that are not NaN's, to avoid being confused by IEEE
4604 2001-06-04 Michael Snyder <msnyder@redhat.com>
4606 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
4607 non-zero if control_c fails. Terminate the test on failure,
4608 rather than wait for 12 more tests to time out.
4610 2001-06-06 Jim Blandy <jimb@redhat.com>
4612 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
4613 Don't forget to match the GDB prompt.
4615 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4617 2001-06-04 Jim Blandy <jimb@redhat.com>
4619 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4622 2001-05-31 Kevin Buettner <kevinb@redhat.com>
4624 * gdb.base/annota1.exp (info break): Match four or more spaces
4627 2001-05-31 Michael Chastain <chastain@redhat.com>
4629 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4630 (dm_type_int_star): Likewise.
4631 (dm_type_long_star): Likewise.
4632 (dm_type_void_star): Likewise.
4634 2001-05-29 Kevin Buettner <kevinb@redhat.com>
4636 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4637 to a known value in order to get consistent results regardless
4638 of the setting of INPUTRC or the presence or contents of .inputrc.
4640 2001-05-24 Michael Snyder <msnyder@redhat.com>
4642 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4643 Don't require that the main thread and the manager thread are the
4646 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4647 debugging. If test fails, issue an "unsupported" not a "fail".
4649 2001-05-24 Jim Blandy <jimb@redhat.com>
4651 Don't assume that short is shorter than int.
4652 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4653 assume that shorts are smaller than ints. On a 16-bit machine,
4655 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4656 an int, is not equal to ~0 stored in an unsigned char. This tests
4657 the same thing that the previous test meant to, but works on
4658 16-bit machines, too.
4659 ("print unsigned char != (~0)"): Same test, complemented.
4661 2001-05-24 Michael Snyder <msnyder@redhat.com>
4663 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
4664 test for (full_coverage == 0). This makes the test run faster,
4665 and prevents dejagnu getting out of step.
4667 2001-05-23 Kevin Buettner <kevinb@redhat.com>
4669 * gdb.base/finish.exp (finish_void): Revise pattern for
4670 stopping on the call statement to not permit stopping at
4671 the start of the instructions comprising the call sequence.
4673 2001-05-19 Michael Chastain <chastain@redhat.com>
4675 * gdb.base/callfuncs.exp: Make all test names unique.
4676 * gdb.base/commands.exp: Make all test names unique.
4677 * gdb.base/condbreak.exp: Make all test names unique.
4678 * gdb.base/dbx.exp: Make all test names unique.
4679 * gdb.base/default.exp: Make all test names unique.
4680 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4681 and TIMEOUT messages to their corresponding PASS message.
4682 * gdb.base/ending-run.exp: Make all test names unique.
4683 * gdb.base/long_long.exp: Remove duplicate test.
4685 2001-05-21 Kevin Buettner <kevinb@redhat.com>
4687 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4688 stop on the call statement as well as the statement after the
4691 2001-05-21 Michael Snyder <msnyder@redhat.com>
4693 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4695 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4697 * gdb.base/completion.exp: Revamp test. Make it execute on all
4700 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4702 * config/gdbserver.exp (gdb_load): Handle the case
4703 in which the arguments to gdbserver are given in the
4704 baseboard configuration file.
4705 Also handle the case in which the server needs to do a
4708 2001-05-07 Keith Seitz <keiths@cygnus.com>
4710 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4711 set up the display for testing.
4712 (gdbtk_start): Convert all paths to paths that tcl will like.
4713 Export target information to environment.
4714 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4716 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4717 (to_tcl_path): New proc to convert a given pathname into
4718 a path acceptible as an argument to a tcl command.
4719 (_gdbtk_export_target_info): New proc to export target info
4720 into the environment for gdbtk testing.
4721 (gdbtk_done): New proc to signal end-of-test.
4723 2001-05-06 Jim Blandy <jimb@redhat.com>
4725 * restore.c: Make the code of caller0 correspond to its comment.
4727 2001-05-03 Michael Snyder <msnyder@redhat.com>
4729 * config/sid.exp (gdb_target_sid): Check for error messages.
4730 On error or timeout, don't make expect exit (which will terminate
4731 all subsequent tests); instead just make gdb exit.
4732 (gdb_load): Check for error messages. On error or timeout,
4733 return a negative value.
4735 2001-04-24 Jim Blandy <jimb@redhat.com>
4737 * gdb.c++/templates.exp: If we see the prompt for the overload
4738 list, but we haven't recognized any of the longer patterns,
4739 arrange for this test to fail, not hang.
4741 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4744 2001-04-22 Michael Chastain <chastain@redhat.com>
4746 * gdb.c++/local.exp: Use the 'runto' library function.
4747 * gdb.c++/namespace.exp: Likewise.
4748 * gdb.c++/overload.exp: Likewise.
4750 2001-03-26 Kevin Buettner <kevinb@redhat.com>
4752 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4753 * gdb.base/step-line.exp: New file. Test step/next in presence of
4755 * gdb.base/step-line.c: New file. Test program for the above.
4756 * gdb.base/step-line.inp: New file. We pretend that this file has
4757 been transformed by some other tool into step-line.c.
4759 2001-03-21 Jim Blandy <jimb@redhat.com>
4761 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4762 unmangled operator names.
4764 2001-03-20 Jim Blandy <jimb@redhat.com>
4766 * gdb.threads/linux-dp.exp: Recognize an additional message
4767 generated by GDB when it doesn't understand how to debug threads
4768 on the target system.
4770 2001-03-19 Andrew Cagney <ac131313@redhat.com>
4772 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4774 2001-03-12 Michael Chastain <chastain@redhat.com>
4776 * gdb.c++/derivation.exp: Use the 'runto' library function.
4778 2001-03-12 Michael Chastain <chastain@redhat.com>
4780 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4782 2001-02-24 Michael Chastain <chastain@redhat.com>
4784 * gdb.c++/ref-types.exp: Change handwritten code to library
4787 2001-03-16 Orjan Friberg <orjanf@axis.com>
4789 * gdb.base/signals.exp: Set count to 0 explicitly.
4791 2001-03-15 Mark Salter <msalter@redhat.com>
4793 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4794 (gdb_target_monitor): Add check of gdb_target_cmd return value.
4795 (gdb_load): Add support for additional target_info: gdb_download_size
4796 and gdb_load_timeout.
4798 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4800 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4801 file -- to prevent failing when the compile fails but we have no
4802 intention of running the tests anyway.
4804 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4807 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4810 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4811 * gdb.c++/namespace.exp: Ditto.
4813 2001-03-07 Orjan Friberg <orjanf@axis.com>
4815 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4816 * gdb.base/pointers.exp: Relax pattern match of decimals.
4818 2001-03-06 Kevin Buettner <kevinb@redhat.com>
4820 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4821 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4822 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4823 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4824 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4825 config/sh.exp, config/sid.exp, config/slite.exp,
4826 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4827 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4828 config/vxworks.exp, config/vxworks29k.exp,
4829 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4830 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4831 gdb.base/arithmet.exp, gdb.base/assign.exp,
4832 gdb.base/async.exp, gdb.base/attach.exp,
4833 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4834 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4835 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4836 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4837 gdb.base/commands.exp, gdb.base/completion.exp,
4838 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4839 gdb.base/constvars.exp, gdb.base/corefile.exp,
4840 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4841 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4842 gdb.base/ending-run.exp, gdb.base/environ.exp,
4843 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4844 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4845 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4846 gdb.base/funcargs.exp, gdb.base/help.exp,
4847 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4848 gdb.base/logical.exp, gdb.base/long_long.exp,
4849 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4850 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4851 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4852 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4853 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4854 gdb.base/regs.exp, gdb.base/relational.exp,
4855 gdb.base/remote.exp, gdb.base/reread.exp,
4856 gdb.base/restore.exp, gdb.base/return2.exp,
4857 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4858 gdb.base/selftest.exp, gdb.base/setshow.exp,
4859 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4860 gdb.base/sigall.exp, gdb.base/signals.exp,
4861 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4862 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4863 gdb.base/step-test.exp, gdb.base/structs.c,
4864 gdb.base/structs.exp, gdb.base/structs2.exp,
4865 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4866 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4867 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4868 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4869 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4870 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4871 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4872 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4873 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4874 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4875 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4876 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4877 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4878 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4879 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4880 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4881 gdb.trace/circ.exp, gdb.trace/collection.exp,
4882 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4883 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4884 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4885 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4886 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4887 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4888 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4891 2001-02-27 Michael Snyder <msnyder@cygnus.com>
4893 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4894 first arg is int not float.
4896 2001-02-22 Michael Snyder <msnyder@cygnus.com>
4898 * gdb.base/reread.exp: Unsupported for non-native targets;
4899 doesn't work for remote debugging.
4901 2001-02-19 Fernando Nasser <fnasser@redhat.com>
4903 From Drew Moseley <dmoseley@redhat.com>
4904 * gdb.base/ending-run.exp: Properly handle the BSP state when
4905 stepping past the end of main.
4907 2001-02-19 John Moore <jmoore@redhat.com>
4909 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4910 Converted HPUX fix for non-expected items following multiple
4911 step commands into general solution for all platforms.
4913 2001-02-18 Michael Chastain <chastain@redhat.com>
4915 * gdb.c++/classes.exp (do_tests): Change runto statements
4916 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4917 statements demangler agnostic.
4918 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4919 (gdb_virtfunc_restart): Likewise.
4921 2001-02-14 Michael Chastain <chastain@redhat.com>
4923 * gdb.c++/inherit.exp (do_tests): Change runto statements
4924 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4925 statements demangler agnostic.
4927 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4929 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4930 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4931 before calling common_routine 15 times'' tests.
4933 2001-02-11 Michael Chastain <chastain@redhat.com>
4935 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4936 Helps the test script figure out which demangler is in use.
4937 (dm_type_foo_ref): Ditto.
4938 (dm_type_int_star): Ditto.
4939 (dm_type_long_star): Ditto.
4940 (dm_type_unsigned_int): Ditto.
4941 (dm_type_void): Ditto.
4942 (dm_type_void_star): Ditto.
4943 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
4944 Probe the gdb demangler and set variables to accommodate
4945 formatting differences.
4946 (info_func_regexp): New function. Same as info_func, but
4947 matches against a regexp.
4948 (info_func): Match against a literal string.
4949 (print_addr_2): New function. Match against a literal string,
4950 which can be different from the input to gdb.
4951 (print_addr): Simply call print_addr_2 with the same argument twice.
4952 (test_lookup_operator_functions): Use demangler formatting variables.
4953 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4954 the tests in the same order as the C++ class declaration.
4955 (test_paddr_operator_functions): Ditto.
4956 (test_paddr_overloaded_functions): Ditto.
4957 (test_paddr_hairy_functions): Use demangler formatting variables.
4958 Add reference to gdb/19 for related tests.
4959 (do_tests): Call probe_demangler.
4961 2001-01-30 Kevin Buettner <kevinb@redhat.com>
4963 * gdb.c++/templates.cc (printf): Remove unused function definition.
4965 2001-01-26 Felix Lee <flee@redhat.com>
4967 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4969 2001-01-25 matthew green <mrg@redhat.com>
4971 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4973 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4975 2001-01-25 matthew green <mrg@redhat.com>
4977 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4978 Deprecate $sid_spawn_id.
4979 (sid_exit): Remove code necessary only for `spawn.'
4981 2001-01-25 matthew green <mrg@redhat.com>
4983 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4985 2001-01-28 Michael Chastain <chastain@redhat.com>
4987 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4988 to call when tests fail. It takes gdb out of the overloaded
4989 function choice menu back to the main prompt, so that the test
4990 program stays synchronized.
4991 (set_bp_overloaded): New proc to collect all the common
4992 code for setting a breakpoint on an overloaded name. Calls
4993 take_gdb_out_of_choice_menu when needed.
4994 (menu_overload1arg): New variable to collect the repeated
4995 instances of the expected menu for an overloaded name. Change
4996 the regular expression to handle changes in g++ type encoding:
4997 "void" can be either "void" or "", and "unsigned int" can be
4998 either "unsigned int" or "unsigned".
4999 (continue_to_bp_overloaded): Change regular expressions to handle
5000 changes in g++ type encoding.
5001 (no proc): Call take_gdb_out_of_choice_menu when needed.
5002 Remove redundant calls to "info break". Accept either "canceled"
5003 or "cancelled". Change regular expressions in "info break"
5004 calls to handle changes in g++ type encoding. Give all tests
5007 2001-01-17 Ben Elliston <bje@redhat.com>
5009 * config/sid.exp: New file.
5011 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
5013 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
5015 2000-12-21 Michael Snyder <msnyder@cygnus.com>
5017 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
5018 Add a RE to accept a non-ascii char if one is ever presented.
5020 2000-12-20 Fernando Nasser <fnasser@redhat.com>
5022 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
5024 2000-12-18 Michael Snyder <msnyder@cygnus.com>
5026 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
5027 in regexp. One '\' does not suffice on Linux.
5029 2000-12-09 Michael Chastain <chastain@redhat.com>
5031 * gdb.base/break.exp (test_clear_command): Use a marker function
5032 rather than 'main' for the test function. Also move this
5033 test to an execution point where the marker function names are
5034 guaranteed to be bound to functions. (Executing tests after a
5035 'finish' from main runs into name conflicts with local names
5036 in __libc_start_main).
5038 2000-12-07 Michael Snyder <msnyder@cygnus.com>
5040 * gdb.base/finish.exp: New test for gdb's "finish" command.
5041 * gdb.base/return2.exp: New test for gdb's "return" command.
5042 * gdb.base/return2.c: New source file for above.
5044 2000-12-05 Michael Snyder <msnyder@cygnus.com>
5046 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
5047 * gdb.base/miscexprs.exp: Ditto.
5048 * gdb.base/pointers.exp: Ditto.
5049 * gdb.c++/derivation.exp: Ditto.
5050 * gdb.c++/local.exp: Ditto.
5051 * gdb.c++/namespace.exp: Ditto.
5052 * gdb.c++/overload.exp: Ditto.
5053 * gdb.c++/ref-types.exp: Ditto.
5055 2000-12-05 Michael Snyder <msnyder@cygnus.com>
5057 * gdb.base/constvars.exp: Test result of "up" command.
5058 * gdb.base/miscexprs.exp: Ditto.
5059 * gdb.base/pointers.exp: Ditto.
5060 * gdb.base/scope.exp: Ditto.
5061 * gdb.c++/derivation.exp: Ditto.
5062 * gdb.c++/local.exp: Ditto.
5063 * gdb.c++/namespace.exp: Ditto.
5064 * gdb.c++/overload.exp: Ditto.
5065 * gdb.c++/ref-types.exp: Ditto.
5067 2000-11-22 Michael Chastain <chastain@redhat.com>
5069 * mips_pro.exp: Accept either "middle -> top -> main" or
5070 "middle -> main" in the backtrace, because gcc can optimize
5071 tail calls to jumps. Remove setup_xfail for the hppa case.
5072 Add a comment with the original warning messages from PR 3016,
5073 which was filed in 1993, to preserve them for posterity.
5075 2000-11-17 Nick Duffek <nsd@redhat.com>
5077 * lib/gdb.exp (gdb_test): Override timeout with board info.
5079 2000-11-17 Nick Duffek <nsd@redhat.com>
5081 * gdb.base/display.exp: Don't kill running stub. Add "again" to
5082 the second kill and detach messages.
5084 2000-11-17 Nick Duffek <nsd@redhat.com>
5086 * configure.in: Add AC_EXEEXT.
5087 * configure: Regenerate.
5088 * Makefile.in (just-check): Export EXEEXT.
5089 * lib/gdb.exp ($EXEEXT): Import from environment.
5090 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
5091 expect "maint dump-me" on Cygwin.
5092 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
5095 2000-11-17 Nick Duffek <nsd@redhat.com>
5097 * gdb.base/break.exp: Test backtrace and finish from called
5098 function on all platforms, not just HP-UX.
5100 2000-11-03 Michael Snyder <msnyder@cygnus.com>
5102 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
5103 code from gdb_target_monitor, so it can be used independantly
5104 for gdbserver. Also comment out an unnecessary PUTS.
5106 2000-11-03 Michael Snyder <msnyder@cygnus.com>
5108 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
5109 * gdb.base/corefile.exp: Expect the message "Program is being
5110 debugged already" when we send the "corefile" command, since
5111 the preceeding gdb_load may have connected gdb to a remote target.
5112 * gdb.base/display.exp: Disable hardware watchpoints if new
5113 board info variable "no_hardware_watchpoints" is true.
5114 Replace single-letter commands with more readable ones.
5115 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
5116 if new board info variable "no_hardware_watchpoints" is true.
5117 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
5118 to see if stdio (printf) testing is possible.
5119 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
5120 board info variable "no_hardware_watchpoints" is true. Use new
5121 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
5123 2000-11-13 Fernando Nasser <fnasser@redhat.com>
5125 From Orjan Friberg <orjanf@axis.com>:
5126 * gdb.base/printcmds.exp: Escape curly braces followed by a number
5127 in array print pattern match.
5129 2000-11-09 Fernando Nasser <fnasser@redhat.com>
5131 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
5132 spelling "cancelled" to U.S. spelling "canceled" to match changes
5134 * gdb.c++/ovldbreak.exp: Ditto.
5136 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5138 * gdb.base/callfuncs.c (main): Moved to end of file, call
5139 t_double_values to initialize the FPU before inferior calls are made.
5140 * gdb.base/callfuncs.exp: Test for register preservation after calling
5141 inferior functions. Add tests for continuining, finishing and
5142 returning from a stop in a call dummy.
5144 2000-10-24 Michael Snyder <msnyder@cygnus.com>
5146 * gdb.base/commands.exp: Break up long lines, and re-indent.
5148 2000-10-19 Michael Snyder <msnyder@cygnus.com>
5150 * config/gdbserver.exp: Rewritten from the ground up, to make it
5151 compatible with the current dejagnu tree, and to make it work with
5152 the new "gdbserver" in libremote.
5154 2000-10-16 Michael Snyder <msnyder@cygnus.com>
5156 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
5157 * gdb.base/varargs.exp: Skip entire test if no printf support.
5158 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
5159 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
5161 2000-10-13 Michael Snyder <msnyder@cygnus.com>
5163 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
5164 no floating point support.
5165 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
5166 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
5167 * gdb.base/call-rt-st.exp: Ditto.
5168 * gdb.base/call-strs.exp: Ditto.
5170 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
5172 * gdb.base/sizeof.c: include <stdio.h>.
5174 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
5175 'finish', otherwise uncaptured gdb_prompt would potentially
5176 throw remaining test points out of sync.
5178 2000-07-26 Scott Bambrough <scottb@netwinder.org>
5180 * gdb.base/recurse.exp: Run tests for all targets.
5181 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
5182 gnu-oldld case on ARM.
5183 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
5186 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
5188 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
5189 * gdb.java/configure: Rebuild.
5191 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
5193 * gdb.java/jv-exp.exp: New file.
5195 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
5197 * configure: Rebuilt.
5198 * configure.in (configdirs): Add gdb.java.
5199 * gdb.java/jmisc.java: New file.
5200 * gdb.java/jmisc.exp: New file.
5201 * gdb.java/Makefile.in: New file.
5202 * gdb.java/configure: Rebuilt.
5203 * gdb.java/configure.in: New file.
5204 * lib/java.exp: New file.
5206 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5208 * gdb.base/exprs.exp: Test casts to a pointer including over and
5211 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
5213 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
5214 and the compilers sizes.
5216 2000-07-09 Nick Duffek <nsd@redhat.com>
5218 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5219 (use_methods): New function.
5220 (main): Call use_methods().
5221 * gdb.c++/classes.exp (test_method_param_class): New procedure.
5222 (do_tests): Call test_method_param_class.
5224 2000-07-09 Nick Duffek <nsd@redhat.com>
5226 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5228 (test_enums): New procedure. Move enum tests from end of script
5229 to here. Set breakpoint on function name instead of line number.
5230 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5231 (enums2): New marker function.
5232 (enums1): New function.
5233 (main): Call enums1(). Move enum tests to enums1().
5235 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
5237 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5238 compile/link program. Update line numbers.
5239 * gdb.asm/d10v.inc: Define ``startup''.
5240 * gdb.asm/asmsrc1.s: Add definition of _start.
5242 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
5244 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5246 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5248 * gdb.base/maint.exp: Add 'maint print architecture' item to output
5249 of 'help maint print' command.
5251 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
5253 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5254 they use gdb_expect_list.
5256 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5258 * gdb.base/commands.exp: Use ``set remote
5259 memory-read-packet-size'' instead of ``set endian big'' to test
5262 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
5264 * gdb.c++/templates.exp (do_tests): Make all of these work under
5265 g++, and stop skipping them.
5267 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5270 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
5273 2000-06-02 Michael Snyder <msnyder@cygnus.com>
5275 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
5276 the regular expression: accept an (almost) arbitrary sequence of
5277 "frames-invalid" and "breakpoints-invalid" messages both before
5278 and after the "starting" message.
5280 2000-06-02 Michael Snyder <msnyder@cygnus.com>
5282 * gdb.c++/local.exp: This test has never been known to work with g++.
5284 2000-05-18 Michael Snyder <msnyder@cygnus.com>
5286 * gdb.base/annota1.exp (annotate-signal-handler-caller):
5287 Relax the regular expression a little, make it pass on Solaris 8.
5289 2000-05-12 Kevin Buettner <kevinb@redhat.com>
5291 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
5292 a call, do not require that gdb stop on the line after the call.
5293 Instead, it is permissible for gdb to stop on the line of the
5296 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
5298 * gdb.base/break.exp (bp on small function, optimized file):
5299 Add a second pass pattern. The behavior differs here between stabs
5300 and dwarf for one-line functions. Stabs preserves two line symbols
5301 (one before the prologue and one after) with the same line number,
5302 but dwarf regards these as duplicates and discards one of them.
5303 Therefore the address after the prologue (where the breakpoint is)
5304 has no exactly matching line symbol, and GDB reports the breakpoint
5305 as if it were in the middle of a line rather than at the beginning.
5307 2000-05-08 Michael Snyder <msnyder@cygnus.com>
5309 * gdb.base/interrupt.exp: Make "pass" message say "send"
5310 rather than "send_gdb" (for consistancy).
5312 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5314 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
5315 * gdb.c++/templates.cc: Properly check for GCC version number.
5316 * lib/compiler.cc: Likewise
5318 2000-04-28 Michael Snyder <msnyder@cygnus.com>
5320 * gdb.base/break.exp: When compiled with -O2 optimization,
5321 gdb may not stop at the first line of main, due to code motion.
5323 2000-04-26 Michael Snyder <msnyder@cygnus.com>
5325 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5326 This test depends on parsing the printf output from the target.
5327 Since the sparclet stub doesn't do stdio, this will never work.
5328 * gdb.base/call-rt-st.exp: ditto.
5329 * gdb.base/call-strs: ditto.
5331 2000-04-24 Michael Snyder <msnyder@cygnus.com>
5333 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5335 * gdb.base/ending-run.exp: After connecting to a remote target,
5336 but before running, the target will appear to be in a random
5337 location. Specify both a file and a line for breakpoints.
5338 Also, the function that calls main may be called 'init'
5339 rather than 'start'.
5341 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5343 * gdb.base/help.exp: Update output for add-symbol-file command.
5345 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
5347 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5348 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5350 2000-04-07 J.T. Conklin <jtc@redback.com>
5352 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5354 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5356 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5358 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5359 values that can be represented exactly.
5360 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5361 above change, and to not check against the directory part of the source
5363 (step into print_long_arg_list): Likewise.
5364 (print print_small_structs from print_long_arg_list): Likewise.
5365 (print print_long_arg_list): Likewise.
5367 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5369 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
5371 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5373 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5375 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
5377 * gdb.base/commands.exp (deprecated_command_test): Add test for
5378 deprecate with no arguments.
5380 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5382 * gdb.base/break.exp: Add new test for setting breakpoints on
5383 optimized code so we can test breakpoints work even when function
5384 prologues may be optimized away
5386 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5388 From David Whedon <dwhedon@gordian.com>
5389 * gdb.base/commands.exp : Added command deprecator tests.
5391 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
5393 * gdb.base/help.exp: Added test for new apropos command.
5395 2000-03-21 Kevin Buettner <kevinb@redhat.com>
5397 * gdb.base/pointers.c (usevar): New function.
5398 (main): Make sure that global variables v_int_pointer2, rptr,
5399 and y are all referenced someplace in the program by calling
5400 usevar() on them. [Some linkers delete symbols which are
5401 never referenced. The space remains, but there's no way to
5402 get a (symbolic) handle on the variable from the debugger.]
5404 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5406 * gdb.base/printcmds.c: Add typedeffed arrays.
5408 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5409 procedure to test arrays that are typedef'd.
5411 2000-03-13 James Ingham <jingham@leda.cygnus.com>
5413 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
5414 the library directories.
5416 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5418 * configure.in (configdirs): Add sub directory gdb.mi.
5419 * configure: Re-generate.
5421 * gdb.mi: New directory.
5423 2000-02-25 Scott Bambrough <scottb@netwinder.org>
5425 * gdb.base/long_long.exp: Correct test suite failure when printing
5426 a long long value as a double on ARM platforms.
5428 2000-02-16 Jim Blandy <jimb@redhat.com>
5430 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5431 default source file is set properly before running this test.
5433 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5435 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5436 gdbtk/library directory, not in gdbtcl2.
5438 2000-02-04 Jim Blandy <jimb@redhat.com>
5440 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5441 backslash from regexp pattern.
5443 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5444 procedure. Use it to run all the "continue to bp overloaded"
5445 tests. Note that this changes the names of the tests slightly.
5446 If the breakpoint hit message includes a hex PC value, because
5447 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5448 from the real source code, still consider that a pass.
5450 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5451 XFAIL here if the breakpoint message contains a hex address. Note
5452 similar change on 1999-11-02.
5454 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5456 * gdb.base/ptype.exp: Establish a default source file before
5457 calling get_debug_format.
5459 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5461 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5463 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5465 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5466 of successive stepi commands -- while in the prologue we should see
5467 the function entry bracket.
5469 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5471 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5472 reach __change_mode() when stepping through the end of main().
5474 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5476 * gdb.base/default.exp: Fix expected pattern.
5477 * gdb.base/help.exp: Same.
5479 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5481 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5482 Don't use xfail's because that affects only the following test.
5484 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5487 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5489 2000-01-07 Michael Snyder <msnyder@cygnus.com>
5491 * gdb.base/display.exp: Some yacc parsers like to say
5492 "A syntax error" rather than "A parse error". Accept both.
5494 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5496 * gdb.base/default.exp: Remove OS dependent string from "target
5498 * gdb.base/help.exp: Same for "help target remote" test.
5500 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5502 From Jim Kingdon <kingdon@redhat.com>:
5504 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5505 prompt (cleanup rather than necessity, but still might keep output
5506 from spilling to next test).
5508 2000-01-02 Fred Fish <fnf@cygnus.com>
5510 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5511 AIX, which defines them in <sys/types.h>.
5513 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
5515 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5518 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
5520 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
5522 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5523 outermost frame disallowed".
5525 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5527 * gdb.base/setvar.exp: New tests for setting the value of a struct
5528 with a constant list.
5530 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5532 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5533 require the user to type a cast before setting the value of a struct.
5535 1999-12-06 Jim Blandy <jimb@cygnus.com>
5537 * gdb.base/default.exp: Expect the new 'info float' command on
5540 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5541 LinuxThreads libraries that don't support debugging.
5543 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5545 * gdb.base/remote.c: Fill the buffer with truely random data.
5546 Change the buffer type to ``unsigned char'' to simplify size
5549 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5550 stub only handles 400-1 byte packets. Verify that the download
5553 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5555 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5556 tests, using UNRESOLVED for the untested cases. Also, does not wait
5557 for a timeout if the prompt was received before a recognizable pattern.
5559 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5561 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5563 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5565 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5568 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
5570 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5572 * gdb.c++/local.exp: Be more flexible in recognizing local class
5573 name mangling. Don't allow horribly truncated method names.
5574 * gdb.c++/derivation.exp: Expect protected inheritance.
5575 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5576 * gdb.c++/virtfunc.exp: Likewise.
5577 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5578 when printing a nested enum.
5580 1999-11-22 Jim Blandy <jimb@cygnus.com>
5582 * gdb.base/step-test.exp: Properly await GDB's response to setting
5583 a breakpoint on the call to large_struct_by_value.
5585 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5586 just because we have debug info for the `start' function.
5588 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5590 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5591 "Unknown signal" messages, which indicate (on LinuxThreads) that
5592 GDB doesn't know how to debug threads on this system. This is
5593 better than hanging while philosopher 0 dumps chatter into gdb.log.
5595 1999-11-18 Tom Tromey <tromey@cygnus.com>
5597 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5599 1999-11-18 Fred Fish <fnf@cygnus.com>
5601 * gdb.base/coremaker2.c: Add sample program for generating
5602 cores that is more self contained than coremaker.c. Eventually
5603 I'll add more code to this and tie it into the testsuite.
5605 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5607 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5609 1999-11-10 Jimmy Guo <guo@cup.hp.com>
5611 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5613 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5616 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5618 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
5619 'continue with watch' test point.
5621 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5623 Merged from p2linux-990323-branch:
5625 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5627 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5629 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5630 {limit,fixed}''. Test ``set download-write-size''.
5632 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5634 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5637 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5639 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5641 1999-11-03 Mark Salter <msalter@cygnus.com>
5643 * gdb.base/break.exp: Fix "stub continue" pattern.
5645 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5647 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5649 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5651 * gdb.base/display.exp ("finish"): Add timeout clause.
5653 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5654 plain prompt clause, so this doesn't have to time out in order to
5657 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5658 breakpoint hit messages include an address.
5660 * gdb.base/display.exp: Don't forget to escape parens in regular
5661 expressions. Unix regexp notatation sucks.
5663 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5665 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5666 order for 'signalled' message.
5668 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5670 From Jimmy Guo <guo@cup.hp.com>:
5671 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5672 * gdb.base/annota1.c: Add code for tests to work with.
5674 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5676 * gdb.base/remote.exp: New test for remote downloading settings.
5677 * gdb.base/remote.c: New file with large .data.
5679 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5681 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5682 for LinuxThreads support, merged from the Code Fusion branch.
5684 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5686 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5687 containing exp_continue into a while within an expect. Don't
5688 attempt a start more than three times. Check return value from
5691 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5693 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5696 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
5698 * gdb.base/break.c (main): Added a statement that we can step
5700 * gdb.base/break.exp: Added tests for setting a breakpoint
5701 at an offset and stepping onto a breakpoint.
5703 1999-10-01 Fred Fish <fnf@cygnus.com>
5705 * gdb.base/help.exp (help add-symbol-file): Update to match current
5708 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5710 * gdb.base/break.exp: Code locations are in hex, don't forget!
5713 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5715 * condbreak.exp: Use break.c as test program.
5716 * condbreak.c: Remove, redundant with break.c.
5718 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5720 * config/monitor.exp (gdb_target_monitor): Disable X- and
5721 Z-packets if the target needs it.
5723 1999-09-13 James Ingham <jingham@leda.cygnus.com>
5725 * gdb.c++/overload.exp: Added tests for listing overloaded
5726 functions with function pointers in the arg, explicitly calling
5727 out the version you want.
5729 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5731 * long_long.exp: Add variations of test cases that work for
5732 targets with 16-bit ints and 32-bit doubles.
5734 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5736 * break.c (main): Compare a possibly-uninitialized argc with an
5737 unlikely value that fits in 16 bits.
5739 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5741 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5742 0xfeeb, don't want negative numbers if ints are 16 bits.
5744 * lib/gdb.exp (skip_cplus_tests): New proc.
5745 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5746 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5747 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5748 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5749 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5750 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5751 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5752 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5754 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5756 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5758 * gdb.base/corefile.exp (up): Allow a parameter to appear
5759 in the frame that we're going up to.
5761 From Jim Blandy <jimb@cygnus.com>:
5763 * gdb.base/default.exp (info float): Expect some output now.
5765 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5766 returning floating-point values to fail on the x86.
5767 * gdb.base/callfwmall.exp (do_function_calls): Same.
5769 * gdb.base/list.exp (test_listsize): Correct expectations for
5770 listing line 1 with listsize 2. Also, listing a single line
5771 works now, as does listing three lines. [Kevin's note: There
5772 were a number of other cases fixed too where the expectations
5775 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5777 * gdb.base/selftest.exp: Add case for when version prints as
5778 constant string instead of char pointer.
5780 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5782 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5783 stepping out of main.
5785 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5788 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5789 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5791 * gdb.c++/ovldbreak.exp: Update match string in test that
5792 includes a warning of multiple breakpoints.
5794 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5796 * gdb.base/display.exp: Improve precision of step-after-finish
5799 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5802 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5803 configs when using G++, not just hppa*.
5805 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5807 * gdb.base/async.c: New file.
5808 * gdb.base/async.exp: New file.
5810 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5812 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5815 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5817 * gdb.base/display.exp: "finish" can leave us mid-line on many
5818 targets, deal with it. Add a small constant to main, instead of
5819 1000 since main+1000 may not be a valid address in the target.
5821 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5824 * gdb.base/attach.exp: Handle another hpux11 error message variant
5825 when attaching to a process that does not exist.
5827 1999-08-19 J.T. Conklin <jtc@redback.com>
5829 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5830 characters in 'continue to 1241' test.
5832 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5834 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5835 stop in print_long_arg_list, define and use a whitespace
5836 variable in print_small_structs test, add an XFAIL for Solaris.
5837 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5838 interested enough to fix.
5840 1999-08-13 Keith Seitz <keiths@cygnus.com>
5842 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5843 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5844 proc knows about targets other than the natives.
5845 (test_assign): Use "gdb_run_cmd" to "run" the target.
5846 Check that we've actually hit the breakpoint at main.
5847 When we attempt to assign a value to a local variable, check
5848 that the variable is in the current scope, i.e., don't use
5849 a test with an empty result.
5851 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5853 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5856 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5858 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5859 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5860 gdb.compat, gdb.threads-hp.
5861 gdb.hp/configure, gdb.hp/configure.in: New files.
5862 gdb.hp/Makefile.in: Recurse into new subdirs.
5863 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5864 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5866 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5868 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5870 * gdb.base/display.exp: Help expect by putting a newline in the
5871 funky printf, remove a bogus p/a test.
5873 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5875 * gdb.base/display.exp: Make sure that when we say 'run', we are
5876 connected to the target. This is necessary when running not
5879 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5881 * gdb.base/step-test.exp: Removed some extraneous messages.
5883 * gdb.base/long_long.exp: Don't run memory examination tests
5884 on little-endian targets (they will need a different set of
5887 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5889 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5890 until somebody decides to fix GDB.
5892 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5894 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5895 matches for a couple x/2 commands.
5897 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5899 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5900 by merging in ref-types2 tests.
5901 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5903 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5904 * gdb.c++/Makefile.in: Add standard actions.
5905 (EXECUTABLES): Rename from PROGS, update list.
5906 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5908 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5910 * gdb.c++/anon-union.exp: Fix tests to match.
5911 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5912 expect matches to handle output variations.
5913 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5914 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5915 output, add HP alternatives for new and delete prints.
5916 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5917 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5918 * gdb.c++/demangle.exp: Use $style when reporting failure.
5919 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5920 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5922 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5924 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5925 * gdb.c++/method.exp: Add match alternatives.
5926 * gdb.c++/misc.cc: Add bool types.
5927 * gdb.c++/misc.exp: Add tests for bool types.
5928 * gdb.c++/overload.exp: Add xfails.
5929 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5930 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5931 add some more template parameter tests (only for HP currently).
5932 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5933 * gdb.c++/virtfunc.cc: Add return type and value for main.
5934 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5937 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5939 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5941 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5943 * gdb.base/signals.exp: Don't expect getting a backtrace from
5944 within a signal handler to fail on Linux.
5946 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5948 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5949 * lib/gdb.exp: Remove some gratuitious semicolons.
5950 (delete_breakpoints): Increase timeout.
5951 (gdb_expect): Add -notransfer option.
5952 (gdb_test): Use -notransfer option.
5953 (get_compiler_info): Add f77 case.
5954 (get_compiler): New proc, split out from gdb_preprocess, add f77
5956 (gdb_preprocess): Call get_compiler.
5958 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5959 * gdb.base/attach.exp, gdb.base/display.exp,
5960 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5961 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5962 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5963 third arg to gdb_test.
5964 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5965 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5966 HP-UX xfails, add others.
5967 * gdb.base/completion.exp: Reflect name change of self-test.
5968 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5969 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5970 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5972 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5973 useless HP-UX 10.30 references.
5974 * gdb.base/maint.exp: Loosen matches.
5975 * gdb.base/pointers.c (main): Declare more_code.
5976 * gdb.base/pointers.exp: Match on output of a `next'.
5977 * gdb.base/structs.c: Add prototypes.
5978 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5979 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5981 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5983 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5986 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5988 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5989 Fix run to main failures. Watchpoint can be hardware watchpoint.
5991 * gdb.base/annota1.exp: Clean up some more, in case printf has
5992 debug info. Deal with lack of signal hanlder info in stack.
5994 From Jim Kingdon <kingdon@redhat.com>:
5995 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5997 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5999 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
6000 gdb.base/foll-vfork.exp: Don't run for crosses.
6002 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6004 * gdb.base/configure.in: Check for gdbvars.exp instead of
6006 * gdb.base/configure: Re-generate.
6008 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
6010 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
6011 in trying to run first and name is too long.
6013 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
6014 pointers2.c and pointers2.exp, respectively.
6015 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
6018 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
6020 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
6021 callfuncs2.c and callfuncs2.exp.
6023 * gdb.base/list.exp: Remove mistaken xfails.
6024 * gdb.base/list0.h: Add optional prototypes.
6026 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
6028 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
6030 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
6031 * ptype.exp: Move test for get_debug_format to before its first
6034 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6036 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
6037 * gdb.base/annota2.cc, annota2.exp: Move from here.
6038 * gdb.c++/annota2.cc, annota2.exp: To here.
6039 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
6041 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
6043 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
6044 a consistent format.
6046 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
6048 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6049 * lib/gdb.exp (get_compiler_info): Add detection for assorted
6050 HP compilers, also set the globals $true and $false.
6052 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
6053 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
6054 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
6055 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
6056 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
6057 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
6058 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
6059 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
6060 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
6061 whatis.c} Add C++ compatible function definitions and return
6062 types, add includes for library functions.
6063 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
6064 * gdb.base/step-test.c (myglob): Rename from glob.
6065 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
6066 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
6067 files, move here from gdb.hp.
6068 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
6069 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
6070 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
6071 Adjust line numbers in regexps.
6073 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
6074 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
6077 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
6078 foll-vfork.exp: New files, move here from gdb.hp.
6079 * gdb.base/page.exp: New file, test of pagination command.
6081 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
6083 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
6085 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
6086 gdb.base/solib.exp: Fix compiler invocation process.
6088 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
6089 HP-UX 11, turn off overload resolution explicitly.
6090 * gdb.base/commands.exp: Set argument list explicitly, add
6092 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
6094 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
6095 expressions properly.
6096 * gdb.base/corefile.exp: Loosen the match slightly.
6097 * gdb.base/default.exp: Allow "Error accessing memory" message
6099 * gdb.base/display.exp: Skip over x/0 j if PA64.
6100 * gdb.base/funcargs.exp: Add xfails for HP-UX.
6101 * gdb.base/interrupt.exp: Ditto.
6102 * gdb.base/langs.exp: Add symbolic matches governed by compiler
6104 * gdb.base/list.exp: Add xfails for HP-UX.
6105 * gdb.base/long_long.exp: Refine some of the numeric matches.
6106 * gdb.base/mips_pro.exp: Xfail on HP-UX.
6107 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
6108 * gdb.base/nodebug.exp: Succeed on more varieties of output.
6109 * gdb.base/opaque.exp: Remove some HP-UX xfails.
6110 * gdb.base/ptype.exp: Succeed on more varieties of output.
6111 * gdb.base/scope.exp: Add xfails for HP-UX.
6112 * gdb.base/sect-cmd.exp: Add more cases.
6113 * gdb.base/setvar.exp: Add xfails for HP-UX.
6114 * gdb.base/shlib-call.exp: Loosen some matches slightly.
6115 * gdb.base/signals.exp: Match on void symbolically.
6116 * gdb.base/step-test.exp: Add case for PA64.
6117 * gdb.base/term.exp: Add exit and restart.
6118 * gdb.base/twice.exp: Clean up after self.
6119 * gdb.base/varargs.exp: Disable overload resolution explicitly.
6120 * gdb.base/whatis.exp: Allow more ways to pass tests.
6122 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
6125 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
6127 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
6129 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
6130 print_double_array(double_array)", "continuing to breakpoint
6131 1018", "print print_double_array(array_d)" and "continuing to
6134 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
6136 * Makefile.in: Add empty html and install-html targets.
6138 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
6140 * config/mt-*: Remove, these haven't been used since 1996.
6142 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
6144 * gdb.base/call-strs.c, gdb.base/ending-run.c,
6145 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
6146 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
6148 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
6150 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
6151 simpler match case for the ptype of the big class.
6153 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6155 * gdb.exp: Fix test for gdb_prompt existence.
6157 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6159 * gdb.exp (gdb_test): Add fail after calls to perror.
6161 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6163 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
6165 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6167 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
6169 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
6171 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
6172 malloc() is linked in.
6174 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6176 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
6179 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
6181 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
6183 * gdb.java/jv-print.exp: New file. (Our first Java test!)
6185 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
6187 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
6188 * gdb.base/mips_pro.exp: Likewise.
6190 1999-06-02 Keith Seitz <keiths@cygnus.com>
6192 * gdb.c++/templates.cc: Change all "new" operators to throw
6194 * gdb.c++/cplusfuncs.cc: Likewise.
6196 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
6198 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
6200 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6201 * gdb.base/ending-run.exp: When stepping out of main, accept a
6202 step into an arbitrary assembler file.
6204 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6206 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
6207 "breakpoint-invalid" to be printed.
6208 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
6209 number of "frames-invalid" and "breakpoint-invalid" to be printed.
6210 * gdb.base/annota2.cc: Initialize a.x to 0.
6212 1999-05-17 Keith Seitz <keiths@cygnus.com>
6214 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6215 when "skip_float_tests" set.
6216 Ditto for "print print_double_array(array_d)", "print print_small_structs",
6217 "print print_ten_doubles", and "step into print_long_arg_list".
6218 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
6219 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6220 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
6221 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6222 "skip_float_tests" is set.
6223 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6224 when "skip_float_tests" set.
6226 1999-05-06 Keith Seitz <keiths@cygnus.com>
6228 * gdb.base/annota2.cc: Include stdio.h.
6230 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
6232 * gdb.base/crossload.exp: Remove, this has been disabled ever
6233 since BFD stopped including all targets, and cross-GDB gets
6234 plenty of testing anyway.
6235 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6236 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6237 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6238 * gdb.base/README: Remove, was doc for this.
6239 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6242 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6244 * gdb.base/call-ar-st.exp: Fix one regular expression in test
6247 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6248 * gdb.base/annota2.exp: New file. More annotation tests.
6249 * gdb.base/annota1.c: New file. Source file for annota1.exp.
6250 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6252 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
6254 * config/cfdbug.exp: New file.
6256 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
6258 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6259 Marcus Daniel's and Dale Hawkins's demangler crashes.
6261 * gdb.c++/demangle.exp (test_gnu_style_demangling,
6262 test_lucid_style_demangling, test_arm_style_demangling,
6263 test_hp_style_demangling): Try Tom Tromey's core-dumping
6264 identifier under each demangling style.
6266 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
6268 * gdb.c++/demangle.exp: Include the current demangling style
6270 (current_demangling_style): New global variable.
6271 (set_demangling_style, test_demangling_core, test_demangling,
6272 test_demangling_exact): New functions.
6273 (test_gnu_style_demangling, test_lucid_style_demangling,
6274 test_arm_style_demangling, test_hp_style_demangling): Use those,
6275 instead of calling gdb_test and gdb_test_exact directly.
6276 (catch_demangling_errors): New function, which reports errors
6277 signalled by the demangling test functions in an orderly way.
6278 (do_tests): Use catch_demangling_errors.
6280 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
6282 * gdb.base/signals.exp (test_handle_all_print): Use () for
6283 grouping in expressions, not {}.
6285 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
6288 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
6290 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
6293 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
6295 * gdb.stabs/weird.exp: Test for CC being defined before
6296 looking at its value.
6298 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
6300 * gdb.base/call-ar-st.exp: Remove stray '#'.
6301 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
6302 "short int" and "long int".
6303 * gdb.c++/overload.cc: Cast the string added in the previous
6304 change, to mollify finicky HP compiler.
6305 * gdb.hp/reg-test.exp (testfile): Fix file name.
6306 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
6308 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6309 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6310 alternate form of enum ptype.
6312 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
6314 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6315 * gdb.hp/*.exp: Change all to run compiler probe only after
6316 passing skip_hp_tests, so as not to waste time on guaranteed
6319 * gdb.c++/overload.cc: Pass string instead of char addr, always
6321 * gdb.c++/templates.cc: Fix syntax error.
6323 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6325 * gdb.base/commands.exp: Add test for correct position of '>'
6326 when issuing the 'commands' command after a 'while' or 'if'
6329 1999-03-18 James Ingham <jingham@cygnus.com>
6331 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6333 * gdb.c++/method.exp: It was testing an uninitialized int on the
6334 stack and assuming it was positive.
6336 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6338 * gdb.base/step-test.exp: Catch a case where finish is broken and
6339 keep it from killing the rest of the tests.
6340 Use gdb_continue_to_end.
6342 * gdb.base/sigall.exp: use gdb_continue_to_end.
6344 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6346 * gdb.base/display.exp: use runto_main, not run.
6348 * gdb.base/default.exp: Check for the current error message in the
6349 r abbreviation test.
6350 Add strongarm to the targets that know info float.
6352 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
6353 run which doesn't work with monitors.
6355 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6357 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6359 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
6360 program. Traps the case (in Cygmon) when the program never really
6361 exits. Same as Mark's continue_to_exit, but I had put it in a lot
6362 more places, so I used my name. Sorry Mark...
6364 * config/monitor.exp (gdb_target_monitor): added another
6365 target_info parameter: remotebinarydownload. This will set the
6366 remotebinarydownload flag if this is causing some boards trouble.
6368 1999-03-18 Mark Salter <msalter@cygnus.com>
6370 * lib/gdb.exp (continue_to_exit): New function.
6372 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6373 * gdb.base/ending-run.exp: Ditto.
6374 * gdb.base/step-test.exp: Ditto.
6376 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6378 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6379 (suggested by Art Haas <ahaas@neosoft.com>).
6381 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6383 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6385 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6387 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6388 descriptions of types (short unsigned int vs unsigned short, etc).
6390 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6392 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6393 a call to strlen; sometimes we do have sources.
6395 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6397 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6398 character, so GDB won't print garbage after its end.
6400 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6401 breakpoint there instead. Sometimes GCC emits memcpy to handle
6402 the large structures being passed by value, so we step into that
6403 instead of sum_array_print, which obscures what we're really testing.
6404 * gdb.base/step-test.exp: However, we do want a test that notices
6405 the bizarre steps into memcpy, so do that here. Add check for
6406 stepping into function calls that pass large structures by value.
6407 ("Is that a noun clause, or are you just happy to see me?")
6408 Remove all references to specific line numbers.
6409 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6410 New type and function.
6411 (main): Call large_struct_by_value, passing it a large struct by value.
6412 * lib/gdb.exp (gdb_get_line_number): New function.
6414 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6417 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6419 * lib/gdb.exp: Doc fixes.
6421 1999-03-05 Nick Clifton <nickc@cygnus.com>
6423 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
6425 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6427 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6428 commands. They're not germane to this test, and they don't work
6429 that way on remote targets.
6431 1999-03-01 James Ingham <jingham@cygnus.com>
6433 * Changelog entries merged over from gdb development branch.
6435 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6437 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6438 for outputting results of test run.
6440 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
6442 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
6444 1999-02-25 Felix Lee <flee@cygnus.com>
6446 * lib/gdb.exp (debug_format): initialize
6448 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6450 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6451 * gdb.base/call-rt-st.c: Ditto.
6453 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6455 * gdb.threads/pthreads.exp (horiz): New variable.
6456 (test_startup): Fix regexps that capture thread numbers.
6458 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6460 * gdb.base/smoke.exp: Disambiguate two test case names (both
6463 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6465 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6468 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6470 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6471 actual output formatting.
6472 * gdb.base/smoke.exp: GDB removes leading 0's.
6473 * gdb.base/volatile.exp: Don't check type of remuneration;
6474 that variable is no longer defined in constvars.c.
6475 * gdb.base/step-test.c (main): Exit with explicit exit code.
6476 * gdb.base/step-test.exp: Remove two nexti checks--they are
6479 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6481 * gdb.base/help.exp ("help delete display"): Fix test to match
6484 * gdb.base/long_long.c (known_types): Initialize values to zero.
6485 * gdb.base/long_long.exp: Step one more line
6486 so 'dec' is initialized in "get to known place". GDB removes
6487 leading zeros. Explicitly ask for hex formatting. Use
6488 unique test case names.
6490 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6492 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
6494 * gdb.c++/method.exp: Add missing close brace.
6496 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6498 * gdb.base/maint.exp: Use 'set height 0' to disable page
6499 prompting, not 'set height 400'.
6501 Fix a bunch of timeouts.
6502 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6503 four separate tests, so expect doesn't take forever to match a ton
6504 of text against a regexp with lots of .* forms.
6505 ("maint print psymbols", "maint print symbols"): Make some of
6506 these greps more selective, so that expect doesn't try to wade
6507 through huge piles of output and time out.
6509 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6511 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6512 tests: one which doesn't expect shlib events to be reported, and
6513 another which does, but is XFAIL for all platforms other than
6516 * gdb.base/break.exp: Teach the test suite that the `catch
6517 fork', `catch vfork', and `catch exec' commands produce error
6518 messages on platforms that don't provide these features.
6520 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6522 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6523 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6524 (shortening names from solib_threshold.exp etc), won't run on
6525 anything but HP-UX for the foreseeable future.
6526 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6529 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6531 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6532 gdb.trace/Makefile.in (clean): Remove all test executables.
6534 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6536 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6537 successfully re-sets breakpoints in shared libraries.
6538 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6540 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6542 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6543 and compiled w/o GCC.
6545 * gdb.hp/watch-cmd.exp: ditto.
6547 * gdb.hp/watch-hp.exp: ditto.
6549 * gdb.hp/xdb1.exp: ditto.
6551 * gdb.hp/xdb2.exp: ditto.
6553 * gdb.hp/dbx.exp: ditto.
6555 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6557 * constvars.c: Remove C++-isms.
6558 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6561 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6563 The following changes are part of the HP merge.
6565 * gdb.base/break.exp: new tests to verify that catchpoints for
6566 fork, vfork, and exec don't trigger inappropriately.
6568 * gdb.base/opaque.exp: compile one file at a time, then link.
6570 * gdb.base/signals.exp: be more restrictive about which hppa
6571 systems receive a setup_xfail. new tests.
6573 * gdb.base/solib_threshold.build: new file.
6574 * gdb.base/solib_threshold.exp: new file.
6575 * gdb.base/solib_threshold.link_opts: new file.
6576 * gdb.base/solib_threshold.mk: new file.
6577 * gdb.base/gen_solib_threshold.c: new file.
6579 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6580 tests. New tests for enums inside classes.
6582 * gdb.c++/compiler.cc: indicate support of template debugging.
6584 * gdb.c++/demangle.exp: run hp style demangling tests.
6586 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6589 * gdb.c++/misc.cc: changes to support new tests.
6591 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6592 to support new tests.
6594 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6595 gcc, then skip these tests.
6597 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6599 The following files are part of the HP merge; some had longer
6600 names at HP, but have been renamed to be no more than 14
6601 characters in length.
6603 * gdb.hp/ambiguous.cc: new file.
6604 * gdb.hp/ambiguous.exp: new file.
6605 * gdb.hp/attach.exp: new file.
6606 * gdb.hp/attach2.exp: new file.
6607 * gdb.hp/classes-hp.exp: new file.
6608 * gdb.hp/ctti.exp: new file.
6609 * gdb.hp/ctti-add.cc: new file.
6610 * gdb.hp/ctti-add1.cc: new file.
6611 * gdb.hp/ctti-add2.cc: new file.
6612 * gdb.hp/ctti-add3.cc: new file.
6613 * gdb.hp/dbx.exp: new file.
6614 * gdb.hp/exception.cc: new file.
6615 * gdb.hp/exception.exp: new file.
6616 * gdb.hp/foll-exec.c: new file.
6617 * gdb.hp/foll-exec.exp: new file.
6618 * gdb.hp/foll-fork.c: new file.
6619 * gdb.hp/foll-fork.exp: new file.
6620 * gdb.hp/foll-vfork.c: new file.
6621 * gdb.hp/foll-vfork.exp: new file.
6622 * gdb.hp/inherit-hp.exp: new file.
6623 * gdb.hp/more-steps.exp: new file.
6624 * gdb.hp/namespace.cc: new file.
6625 * gdb.hp/namespace.exp: new file.
6626 * gdb.hp/optimize.exp: new file.
6627 * gdb.hp/pxdb.c: new file.
6628 * gdb.hp/pxdb.exp: new file.
6629 * gdb.hp/quicksort.exp: new file.
6630 * gdb.hp/reg-test.exp: new file.
6631 * gdb.hp/reg-test.s: new file.
6632 * gdb.hp/sized-enum.c: new file.
6633 * gdb.hp/sized-enum.exp: new file.
6634 * gdb.hp/start-stop.exp: new file.
6635 * gdb.hp/templ-hp.cc: new file.
6636 * gdb.hp/templ-hp.exp: new file.
6637 * gdb.hp/thr-lib.c: new file.
6638 * gdb.hp/thr-lib.exp: new file.
6639 * gdb.hp/thr-lib.h: new file.
6640 * gdb.hp/thr-liblib.c: new file.
6641 * gdb.hp/virtfun-hp.c: new file.
6642 * gdb.hp/virtfun-hp.exp: new file.
6643 * gdb.hp/watch-cmd.exp: new file.
6644 * gdb.hp/watch-hp.exp: new file.
6645 * gdb.hp/xdb1.exp: new file.
6646 * gdb.hp/xdb2.exp: new file.
6647 * gdb.hp/xdb3.exp: new file.
6649 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6651 The following files are part of the HP merge; some had longer
6652 names at HP, but have been renamed to be no more than 14
6653 characters in length.
6655 * gdb.base/ss.h: new file.
6656 * gdb.base/call-ar-st.c: new file.
6657 * gdb.base/call-ar-st.exp: new file.
6658 * gdb.base/call-rt-st.c: new file.
6659 * gdb.base/call-rt-st-exp: new file.
6660 * gdb.base/call-strs.exp: new file.
6661 * gdb.base/ena-dis-br.exp: new file.
6662 * gdb.base/environ.exp: new file.
6663 * gdb.base/long_long.exp: new file.
6664 * gdb.base/sect-cmd.exp: new file.
6665 * gdb.base/shlib-cl2.exp: new file.
6666 * gdb.base/smoke.exp: new file.
6667 * gdb.base/so-impl-ld.c: new file.
6668 * gdb.base/so-impl-ld.exp: new file.
6669 * gdb.base/so-indr-cl.c: new file.
6670 * gdb.base/so-indr-cl.exp: new file.
6671 * gdb.base/varargs.exp: new file.
6672 * gdb.base/volatile.exp: new file.
6673 * gdb.base/whatis-exp.exp: new file.
6674 * gdb.base/display.exp: new file.
6675 * gdb.c++/derivation.exp: new file.
6676 * gdb.c++/local.exp: new file.
6677 * gdb.c++/member-ptr.exp: new file.
6678 * gdb.c++/overload.exp: new file.
6679 * gdb.c++/ovldbreak.exp: new file.
6680 * gdb.c++/ref-types.exp: new file.
6681 * gdb.c++/ref-types2.exp: new file.
6682 * gdb.c++/userdef.exp: new file.
6684 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6686 * gdb.base/default.exp: Reflect wording change in remote.c.
6688 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
6690 * gdb.base/help.exp: Update to reflect current text.
6692 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6694 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6695 they're stack variables and contain garbage.
6696 * gdb.c++/anon-union.exp: new file.
6698 The following changes were made by David Taylor
6699 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6700 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6703 * gdb.base/bitops.exp: new file.
6704 * gdb.base/default.exp: change expected messages for catch and
6705 info catch tests to reflect HP merge changes.
6706 * gdb.base/enable-disable-break.exp
6707 * gdb.base/ending-run.c: new file.
6708 * gdb.base/long_long.c: new file.
6709 * gdb.base/maint.exp: new file.
6710 * gdb.base/pointers2.exp: new file.
6711 * gdb.base/shlib-call2.exp: new file.
6712 * gdb.base/solib.exp: new file.
6713 * gdb.base/step-test.c: new file.
6714 * gdb.c++/anon-union.cc: new file.
6715 * gdb.c++/local.cc: new file.
6716 * gdb.c++/member-pointer.cc: new file.
6717 * gdb.c++/method.cc: new file.
6718 * gdb.c++/ref-types.cc: new file.
6719 * gdb.c++/ref-types2.cc: new file.
6720 * gdb.c++/userdef.cc: new file.
6722 * gdb.base/scope.exp: compile one file at a time, then link.
6723 * gdb.base/langs.exp: ditto.
6724 * gdb.base/list.exp: ditto.
6726 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6728 The following changes were made by David Taylor
6729 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6730 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6733 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6734 skip tests. When compiling pass c++ flag to gdb_compile.
6737 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6738 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6739 (skip_hp_tests): new function.
6740 (gdb_preprocess): new function.
6742 * configure.in (hpdir): decide whether to configure gdb.hp.
6743 * configure: regenerated.
6745 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6747 (EXECUTABLES): update to reflect new additions.
6748 * gdb.base/commands.exp: update message expected.
6749 * gdb.base/default.exp: add copyright notice.
6750 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6751 * gdb.base/help.exp: update messages to reflect current text.
6752 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6753 targets for recurse tests.
6754 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6757 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6758 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6760 * gdb.c++/misc.exp: ditto.
6761 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6762 run the tests. tell gdb_compile that it's a c++ compilation.
6764 * gdb.threads/pthreads.exp: fix typo in message.
6766 * gdb.base/all-bin.exp: new file.
6767 * gdb.base/arithmet.exp: new file.
6768 * gdb.base/assign.exp: new file.
6769 * gdb.base/completion.exp: new file.
6770 * gdb.base/cond-expr.exp: new file.
6771 * gdb.base/condbreak.exp: new file.
6772 * gdb.base/define.exp: new file.
6773 * gdb.base/dollar.exp: new file.
6774 * gdb.base/environment.exp: new file.
6775 * gdb.base/eval-skip.exp: new file.
6776 * gdb.base/jump.exp: new file.
6777 * gdb.base/logical.exp: new file.
6778 * gdb.base/pointers.exp: new file.
6779 * gdb.base/relational.exp: new file.
6780 * gdb.base/section_command.exp: new file.
6781 * gdb.base/whatis-expr.exp: new file.
6783 * gdb.base/all-types.c: new file.
6784 * gdb.base/call-array-struct.c: new file.
6785 * gdb.base/call-return-struct.c: new file.
6786 * gdb.base/call-strings.c: new file.
6787 * gdb.base/callfuncs2.c: new file.
6788 * gdb.base/condbreak.c: new file.
6789 * gdb.base/constvars.c: new file.
6790 * gdb.base/display.c: new file.
6791 * gdb.base/int-type.c: new file.
6792 * gdb.base/jump.c: new file.
6793 * gdb.base/miscexprs.c: new file.
6794 * gdb.base/pointers.c: new file.
6795 * gdb.base/pointers2.c: new file.
6796 * gdb.base/shmain.c: new file.
6797 * gdb.base/shr1.c: new file.
6798 * gdb.base/shr2.c: new file.
6799 * gdb.base/solib.c: new file.
6800 * gdb.base/solib1.c: new file.
6801 * gdb.base/solib2.c: new file.
6802 * gdb.base/varargs.c: new file.
6803 * gdb.c++/derivation.cc: new file.
6804 * gdb.c++/overload.cc: new file.
6805 * gdb.c++/ovldbreak.cc: new file.
6806 * gdb.hp/attach.c: new file.
6807 * gdb.hp/attach2.c: new file.
6808 * gdb.hp/average.c: new file.
6809 * gdb.hp/compiler.c: new file.
6810 * gdb.hp/compiler.cc: new file.
6811 * gdb.hp/execd-program.c: new file.
6812 * gdb.hp/follow-exec.c: new file.
6813 * gdb.hp/follow-fork.c: new file.
6814 * gdb.hp/follow-vfork-and-exec.c: new file.
6815 * gdb.hp/misc-hp.cc: new file.
6816 * gdb.hp/more-steps.c: new file.
6817 * gdb.hp/optimize.c: new file.
6818 * gdb.hp/quicksort.c: new file.
6819 * gdb.hp/run-hp.c: new file.
6820 * gdb.hp/start-stop.c: new file.
6821 * gdb.hp/sum.c: new file.
6822 * gdb.hp/templates-hp.cc: new file.
6823 * gdb.hp/thread-local-in-lib.c: new file.
6824 * gdb.hp/thread-local-in-lib.h: new file.
6825 * gdb.hp/thread-local-in-lib.lib.c: new file.
6826 * gdb.hp/vforked-program.c: new file.
6827 * gdb.hp/virtfunc-hp.cc: new file.
6828 * gdb.hp/watchpoint-hp.c: new file.
6829 * gdb.hp/xdb.c: new file.
6830 * gdb.hp/xdb0.c: new file.
6831 * gdb.hp/xdb0.h: new file.
6832 * gdb.hp/xdb1.c: new file.
6834 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6836 The following change was made by Edith Epstein
6837 <eepstein@cygnus.com> as part of a project to merge in changes
6838 originally made by HP; HP did not create ChangeLog entries.
6840 * gdb.c++/demangle.exp: changed the expected output for some
6841 ARM-style mangling -- removed second reference to datatype.
6842 For example, maint demangle __dt__11T1__pt__2_cFv
6843 T1<char>::~T1<char>(void)
6845 maint demangle __dt__11T1__pt__2_cFv
6848 (test_hp_style_demangling): new hp specific demangling test cases.
6850 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6852 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6853 * gdb.trace/backtrace.exp: Likewise.
6854 * gdb.trace/circ.exp: Likewise.
6855 * gdb.trace/collection.exp: Likewise.
6856 * gdb.trace/deltrace.exp: Likewise.
6857 * gdb.trace/infotrace.exp: Likewise.
6858 * gdb.trace/limits.exp: Likewise.
6859 * gdb.trace/packetlen.exp: Likewise.
6860 * gdb.trace/passc-dyn.exp: Likewise.
6861 * gdb.trace/passcount.exp: Likewise.
6862 * gdb.trace/report.exp: Likewise.
6863 * gdb.trace/save-trace.exp: Likewise.
6864 * gdb.trace/tfind.exp: Likewise.
6865 * gdb.trace/tracecmd.exp: Likewise.
6866 * gdb.trace/while-dyn.exp: Likewise.
6867 * gdb.trace/while-stepping.exp: Likewise.
6869 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6871 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6873 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6876 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6879 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6881 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6882 remote dos host testing right.
6884 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6886 * gdb.base/corefile.exp: remove some xfails.
6888 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6890 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6891 have different timestamps.
6893 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6895 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6896 gdb.base/default.exp: Replace "exec" with "executable".
6898 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6900 * gdb.base/default.exp: Change else if to elseif from previous
6903 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6905 * gdb.base/default.exp: Add brace missing from previous delta.
6907 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6909 * gdb.base/default.exp: Support test for info float for all
6910 varieties of arm toolchain.
6912 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
6914 * gdb.trace/*.exp: remove "remote_download" command.
6916 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
6918 * gdb.trace/*.exp: remove -gdwarf from compile.
6920 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6922 * gdb.trace/configure.in(AC_INIT): typo
6923 * gdb.trace/configure: regenerated
6925 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
6927 * config/m68k-emc.exp: New file.
6928 * lib/<emc-support.exp trace-support.exp}: New files.
6929 * configure.in: add new test directory gdb.trace.
6930 * gdb.trace/{configure configure.in Makefile.in}: New files.
6931 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6932 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6933 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6934 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6935 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6936 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6937 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
6939 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
6941 * gdb.c++/classes.exp: Change all regular expressions to match
6942 arbitrary combinations of newline/carriage-return, so that they
6943 will work equally well on Unix and Windows.
6944 * gdb.c++/inherit.exp: ditto.
6945 * gdb.c++/virtfunc.exp: ditto.
6947 1998-08-11 Dawn Perchik <dawn@cygnus.com>
6949 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6951 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6953 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6954 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6955 to use a0-a3/d0-d3 as needed.
6957 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6959 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6960 * gdb.disasm/am33.exp: Corresponding changes.
6962 1998-07-11 Felix Lee <flee@cygnus.com>
6964 * gdb.base/callfuncs.exp: add cmp10 test.
6965 * gdb.base/callfuncs.c (cmp10): new function.
6967 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6969 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
6970 into two parts to get around a synchronization problem in expect.
6972 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6974 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6976 * configure.in: Add options for gdbtk testsuite.
6978 * configure: Regenerate.
6980 * gdb.gdbtk: New directory to hold gdbtk tests.
6982 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6984 * gdb.fortran/types.exp: Escape brackets in expect patterns
6985 for test_float_literal_types_accepted tests.
6986 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6989 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6991 * am33.exp: Just compile, do not link the testcase.
6992 * am33.s: Add ".am33" pseudoop to force am33 mode.
6994 1998-06-25 Felix Lee <flee@cygnus.com>
6996 * gdb.base/setshow.exp: make sure $pc is sane.
6998 * gdb.stabs/weird.exp: split expect patterns properly.
7000 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
7002 * gdb.disasm/am33.s: New disassembler testfile for the am33.
7003 * gdb.disasm/am33.exp: Run it.
7005 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
7007 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
7008 match processing (and eliminate spurious timeouts when running).
7010 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
7012 * gdb.base/signals.exp (test_handle_all_print): put back Mach
7013 exception test, but conditionalize it on target [mach | gnu].
7015 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
7017 * gdb.base/overlays.exp: fixup compile line for linker script.
7019 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
7021 * gdb.fortran/types.exp: don't guess at float size.
7023 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
7025 * gdb.base/exprs.exp: delete test that depends on int size.
7027 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
7029 * config/sim.exp: Removed checks for target triplets.
7030 (gdb_target_sim): Use gdb,target_sim_options.
7032 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
7034 * gdb.base/reread.exp: New file.
7035 * gdb.base/reread1.c: New file.
7036 * gdb.base/reread2.c: New file.
7038 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
7040 * config/sim.exp: Use 'target sim -sparclite' when running
7043 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
7045 * gdb.base/structs2.exp: New file.
7046 * gdb.base/structs2.c: New file.
7048 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
7050 * gdb.asm/common.inc: New file.
7051 * gdb.asm/d10v.inc: New file.
7052 * asm-source.exp: Pass -I's to gas to find .inc files.
7053 Update line numbers in expected output.
7054 * asmsrc1.s: Rewrite.
7055 * asmsrc2.s: Rewrite.
7056 * configure.in: Create arch.inc symlink.
7057 * configure: Regenerate.
7058 * Makefile.in (distclean): Delete arch.inc.
7060 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
7062 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
7063 (t_enum_value2): ditto
7064 (t_enum_value3): ditto
7066 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7068 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
7069 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
7071 Use gdb_test instead of send_gdb/gdb_expect sequences.
7073 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
7075 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
7078 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
7080 * gdb.base/branches.c: Code with lots of loops and
7081 subroutines. Used to test gdbs ability to single step through PC
7082 changes, especially to test mips-tdep.c:mips_next_pc
7084 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
7086 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
7087 more rigorous EGCS C++ error checking.
7089 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7091 * gdb.base/help.exp: Clean up `help set args' and `help show args'
7093 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
7094 function when asleep.
7095 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
7096 for i*86 Linux and SVR4 signal handling problems.
7097 Remove linux xfail for `next to handler in signals_tests_1', fixed
7098 by recent infrun.c change.
7099 Limit backtrace to 10 frames to avoid timeout problems with infinite
7101 Adjust expect pattern in `handle all print' test to match Apr 28 1997
7104 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
7106 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
7107 for a newline from gdb before continuing.
7108 (default_gdb_exit): Just look for y or n.
7109 (gdb_test): Detect abnormal exit from GDB running on DOS; if
7110 it does, fail the rests of the tests in the file.
7112 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
7114 * config/cygmon.exp: New file.
7116 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
7118 * gdb.base/list.exp: Fix problem with "list default lines around
7119 main" test on remote targets.
7121 * gdb.base/scope.exp: Fix problem with filelocal_bss before
7122 run test on remote targets.
7124 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
7126 * gdb.asm: New directory.
7127 * configure.in: Configure it.
7128 * configure: Regenerate.
7129 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
7130 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
7132 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
7134 * config/mn10300-eval.exp: New file to support MN10300 eval board.
7136 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
7138 * gdb.base/overlays (several files): Merge the two overlay
7139 managers into one. Change variables (foox, barx, bazx, grbxx)
7140 back into ints but force them to load in their proper sections.
7142 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
7144 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
7145 on-chip insn memory and IMAP1 to upper 128k.
7146 (D10VCopy): Handle memory regions crossing 16k boundaries.
7147 (D10VCopy): Transfer data in 32 bit chunks.
7149 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
7151 * gdb.base/overlays.c (main): Exit normally when result is
7154 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
7155 map. Include space for printf in .text segment.
7157 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
7158 updated d10v memory VMA/LMA map.
7159 (D10VCopy): Call D10VTranslate.
7161 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
7163 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
7165 * gdb.base/bar.c (barx, bar): Change variable to small array so
7166 that it won't be put into the .sdata - small data -
7167 section. Update reference.
7168 * gdb.base/baz.c (bazx, baz): Ditto.
7169 * gdb.base/foo.c (foox, foo): Ditto.
7170 * gdb.base/grbx.c (grbxx, grbx): Ditto.
7172 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
7175 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
7177 * gdb.base/overlays.exp: fix up and get working again.
7178 Add tests for backtraces from an overlay function.
7180 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
7182 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
7183 "calling function with watchpoint enabled".
7185 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
7187 * gdb.base/break.exp (test_next_with_recursion): Remove
7188 gdb_suppress_tests for d10v-*-*.
7189 * lib/gdb.exp (gdb_suppress_tests): Disable this function
7190 pending review of whether it is useful or not.
7192 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
7194 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
7196 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
7198 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
7199 * config/dve.exp: New file to support Densan boards.
7201 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
7203 * gdb.base/interrupt.exp: Document problem of simulators, signals,
7206 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
7208 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
7211 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7213 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
7215 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7218 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7219 target_sizeof_long and target_bigendian_p.
7220 (structs_by_value, structs_by_reference): Check values according
7221 to targets word size and endianess.
7223 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
7225 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7228 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
7230 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7231 Update test of set args help to match source change.
7233 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
7235 * gdb.base/default.exp: Expect help system output to be in
7237 * gdb.base/help.exp: Ditto.
7239 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
7241 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7242 "i*86-pc-linux-gnu*".
7243 * gdb.base/interrupt.exp: Ditto.
7244 * gdb.base/corefile.exp: Ditto.
7246 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7247 define vxworks when building the testcase.
7249 * gdb.base/ptype.exp: Fix testnames to be unique.
7250 * gdb.base/radix.exp: Ditto.
7251 * gdb.base/term.exp: Ditto.
7252 * gdb.base/whatis.exp: Ditto.
7253 * gdb.c++/classes.exp: Ditto.
7255 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
7257 * gdb.base/callfuncs.exp: Fix indentation.
7259 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7260 suppress_flag has been set.
7261 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7264 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
7266 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7269 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7270 set_debug_traps() and breakpoint().
7271 * gdb.c++/misc.cc (main): Ditto.
7272 * gdb.c++/templates.cc (main): Ditto.
7273 * gdb.c++/virtfunc.cc (main): Ditto.
7275 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
7277 * lib/gdb.exp(gdb_step_for_stub): New function.
7278 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
7279 exists, reload the executable and do a "continue" instead of
7281 (runto_main): Use gdb_step_for_stub.
7283 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
7284 tests to have unique names.
7285 * gdb.base/callfuncs.exp: Ditto.
7286 * gdb.base/commands.exp: Ditto.
7287 * gdb.base/default.exp: Ditto.
7288 * gdb.base/help.exp: Ditto.
7289 * gdb.base/list.exp: Ditto.
7290 * gdb.base/opaque.exp: Ditto.
7291 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
7294 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
7295 * gdb.c++/cplusfuncs.cc: Ditto.
7296 * gdb.c++/virtfunc.cc: Ditto.
7298 * config/monitor.exp: Keep track of the last file we saw, rather
7299 than trying to get the info from gdb.
7301 * gdb.fortran/types.exp: Move comment to previous line.
7303 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
7305 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7308 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
7311 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
7312 string from GDB when it connects.
7314 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7316 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
7318 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7319 if we can't get a debug format from GDB (we may be testing an
7320 older GDB). Use a 10 second timeout when checking for the format.
7322 * gdb.stabs/weird.exp: Fix quoting.
7324 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7326 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
7328 * config/arm-ice.exp: New file.
7330 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7332 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7333 until it has been modified to work with the new testsuite.
7335 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
7336 testcase won't compile, cause all of the testcases in the file to
7339 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7340 (gdb_clear_suppressed): New procedure.
7341 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7342 it contains a positive value.
7344 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7346 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7348 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7350 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7352 * lib/gdb.exp (setup_xfail_format): New function.
7353 (get_debug_format): New function to get debug format.
7354 (debug_format): New global variable to hold last value set
7355 by get_debug_format.
7356 * gdb.base/list.exp: Call get_debug_format and expect some
7357 tests to fail for DWARF 1 and COFF formats.
7358 * gdb.c++/ptype.exp: Ditto.
7359 * gdb.c++/classes.exp: Ditto.
7360 * gdb.c++/cplusfuncs.exp: Ditto.
7361 * gdb.c++/inherit.exp: Ditto.
7362 * gdb.c++/templates.exp: Ditto.
7363 * gdb.c++/virtfunc.exp: Ditto.
7365 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7367 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7368 host doesn't have a currently-open connection.
7370 * config/sparclet.exp: Cleanups and fixes to make it generic for
7371 any gdb stub target. Handle cases where gdb doesn't respond when
7372 interrupted in a sane fashion.
7374 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7375 same thing in a totally different way.
7377 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7379 (gdb_start): We set the global gdb_prompt variable in
7380 default_gdb_init now.
7382 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7384 * gdb.base/printcmds.exp: Fix "check for floating addition"
7385 regexp to accept results within approx +/- .01 of exact value.
7386 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7388 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7390 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7392 (gdb_expect): Add optional timeout parameter, and add timeout
7393 value to various calls.
7394 (gdb_suppress_tests): Only give one warning message per group.
7396 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7398 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7399 global variables. Handle getting a value for $timeout more
7402 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7404 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7406 (default_gdb_init): New procedure; allow gdb_init to be overridden
7407 by a target configuration file.
7408 (gdb_expect): Pass the timeout to remote_expect.
7410 * config/monitor.exp(gdb_load): Fix typo in regexp.
7412 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7414 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7416 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7418 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7419 here. Call gdb_target_exec before rebooting the target, to make
7420 sure the connection to the target is closed.
7421 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7422 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7423 Also detect "Timeout reading from remote" error.
7425 * config/gdbserver.exp: Pass the executable being loaded to
7426 gdb_target_monitor. Don't call gdb_file_cmd here; let
7427 gdb_target_monitor do it.
7429 * gdb.disasm/hppa.exp: Don't use exec_output.
7431 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7433 * gdb.base/list.exp: If we're debugging a non-native target,
7434 try to set the pc register to point to the start of the
7435 program before doing the first list command.
7437 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7438 test_calls after restarting.
7440 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7443 * gdb.base/watchpoint.exp: Fix typo.
7445 * gdb.base/setshow.exp: Check for use_gdb_stub.
7447 * gdb.base/break.exp: Fix continue until exit test for the gdb
7449 * gdb.base/langs.exp: Ditto.
7451 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7452 gdb_load_offset. If we weren't given a file to load, figure out
7453 what the current file is and use it.
7455 * config/i386-bozo.exp: New file.
7457 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7459 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7462 * config/proelf.exp: New entry.
7464 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7466 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7469 * gdb.base/watchpoint.exp: Don't run the test_stepping
7470 tests if gdb can't call functions on the target.
7472 * gdb.base/setshow.exp: Don't run the set prompt tests if
7473 the board has gdb_prompt set.
7475 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7477 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7478 * gdb.base/commands.exp: Likewise.
7479 * gdb.base/setshow.exp: Likewise.
7481 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7483 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7486 * config/i960.exp: New file.
7488 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7490 * gdb.base/funcargs.exp: Check for gdb,short_int target
7491 feature instead of looking for explicit target triplets.
7493 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
7495 * gdb.base/printcmds.exp: add a couple more tests a la
7496 "p 123DEADBEEF", to check parse_number.
7497 * top.c: change "to enable to enable" to "to enable" in a couple
7500 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7502 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7505 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7507 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7508 where the test executable is run with explicit args.
7509 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7511 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7513 * gdb.base/run.c: Use FAKEARGV to build test executable that
7514 does not require a command line arg, since most simulators
7515 don't currently support passing such an arg into the simulated
7517 * gdb.base/commands.exp: Change tests to insert the proper
7518 value as the arg to the first recursive factorial call. Change
7519 compilation line to define FAKEARGV at compile time.
7521 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7523 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7524 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7525 function with watchpoint enabled" test.
7527 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7529 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7530 Don't call gdb_test when the command doesn't return to a gdb prompt.
7532 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7533 "Tests restarted" messages.
7535 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7537 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7539 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
7541 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7542 for INFO SYMBOL; add help tests for OVERLAY commands.
7543 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7544 add tests for OVERLAY commands
7545 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7546 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7547 * gdb.base/sigall.c: add usestubs code frag
7548 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
7550 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7552 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7554 (gdb_stop_suppressing_tests): Note that tests have restarted.
7556 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7558 * config/h8300.exp: New file.
7560 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7562 * gdb.base/setshow.exp: Check for the existence of a
7563 feature, not its value.
7565 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7567 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7569 * gdb.base/scope.exp: It's now init0(), not init().
7571 * gdb.base/scope0.c: For now, change init() to be init0().
7573 * config/monitor.exp: Use gdb_serial in preference to serial
7576 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7577 and it's not already set.
7579 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7581 * gdb.base/setshow.exp: Only test the run command if the target
7582 isn't using a stub and if it supports argument passing.
7584 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7586 * config/udi.exp(gdb_start): Make sure UDICONF is set
7587 properly before starting gdb.
7589 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7591 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7592 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7593 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7595 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7597 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7598 specialized code to reboot the board, use remote_reboot instead.
7600 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7602 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7604 * config/monitor.exp: Make sure we disconnect from the target.
7605 Also, try a reboot/reload cycle instead of failing if the
7608 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7610 * gdb.base/default.exp: Don't set match_max.
7611 * gdb.base/help.exp: Ditto.
7612 * gdb.base/list.exp: Ditto.
7613 * gdb.base/signals.exp: Ditto.
7615 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7616 set, use remote_ld to download the testcase instead of
7619 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7621 * config/vr5000.exp: New file.
7623 * config/monitor.exp(gdb_target_monitor): Add pattern for
7624 "Ending remote" to detect errors in connecting.
7626 * gdb.base/setshow.exp: Add .* within auto language test.
7628 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7631 * config/monitor.exp(gdb_load): Check for a failure when loading,
7632 and reboot the board if necessary.
7634 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7635 a set of tests. Remove print.* from the patterns being checked.
7637 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7639 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7640 refer to gdb_spawn_id.
7642 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7644 * config/sparclet.exp: Ditto.
7645 * config/sparclet-old.exp: Ditto.
7646 * config/slite.exp: Ditto.
7647 * config/sim.exp: Ditto.
7648 * gdb.base/funcargs.exp: Ditto.
7650 * lib/gdb.exp:Remove references to gdb_spawn_id.
7651 (gdb_expect): Move to remote.exp.
7653 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7655 * config/monitor.exp: Detect the "Couldn't establish connection"
7658 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7660 * gdb.base/bitfields.exp: Use runto instead of explicit
7661 gdb_run_cmd/gdb_expect sequences.
7663 * gdb.base/break.exp(text_next_with_recursion): Add match for
7666 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7667 We also need to handle the "A program is being debugged already"
7668 prompt from gdb. Use gdb_test to set the baud rate.
7670 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7671 to 20000. Really. I mean it.
7673 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7675 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7676 fails. If suppress_flag is set, skip perror message about not
7677 being able to send to GDB.
7678 (send_gdb): If suppress_flag is set, don't try to send commands to
7680 (gdb_expect): If suppress_flag is set, always fail immediately.
7681 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7682 (gdb_init): Call gdb_stop_suppressing_tests.
7683 (default_gdb_exit): Ditto.
7684 (default_gdb_start): Ditto.
7686 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7687 gdb_stop_suppressing_tests as appropriate.
7688 * gdb.base/break.exp: Ditto.
7689 * gdb.base/callfuncs.exp: Ditto.
7690 * gdb.base/commands.exp: Ditto.
7691 * gdb.base/exprs.exp: Ditto.
7692 * gdb.base/funcargs.exp: Ditto.
7693 * gdb.base/list.exp: Ditto.
7694 * gdb.base/recurse.exp: Ditto.
7695 * gdb.base/scope.exp: Ditto.
7696 * gdb.base/structs.exp: Ditto.
7697 * gdb.c++/inherit.exp: Ditto.
7699 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7701 * config/vr4300.exp: New file.
7703 * gdb.*/*.exp: Call gdb_expect instead of expect.
7705 * lib/gdb.exp(gdb_expect): New function.
7707 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7709 * lib/gdb.exp(gdb_init): New function.
7711 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7712 for each individual variable set.
7714 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7717 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7719 * gdb.base/scope.exp: Use gdb_test.
7721 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7722 aborting; the testsuite driver will do that for us (see
7723 gdb_finish). Also, use gdb_test in a few more places.
7725 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7727 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7729 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7731 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7732 and "add_tests" are not at the same address.
7734 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7736 * gdb.base/ptype.exp: Use gdb_test.
7738 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7740 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7741 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7742 left in. No longer expect them to fail.
7744 * gdb.stabs/*.mt; Deleted, no longer used.
7745 * gdb.stabs/configure.in: Remove references to target makefile
7747 * gdb.stabs/configure: Rebuilt.
7749 * gdb.disasm/*.mt: Deleted, no longer used.
7750 * gdb.disasm/configure.in: Remove references to target makefile
7751 frags. Use "sh3.s" as the unique filename for this directory.
7752 * gdb.disasm/configure: Rebuilt.
7754 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7755 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7756 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7758 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7760 * config/udi.exp: Use mondfe,name instead of remote_host.
7762 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7764 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7765 a function with a watchpoint enabled on the mn10200.
7767 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7768 before trying to create it!
7770 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7772 * config/vx.exp: Use hostname instead of netport.
7774 * config/vxworks.exp: New file.
7776 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7778 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7779 gdb before assuming everything worked. Send a ^C if a timeout
7782 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7783 $gdb_spawn_id directly.
7784 (gdb_run_cmd): Try _start as well as start. Use the target feature
7785 gdb,start_symbol as the symbol to start from when jumping.
7787 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7789 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7792 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7793 it doesn't lose for 16bit integer systems.
7795 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7797 * gdb.fortran/types.exp: If the target doesn't support "double"
7798 data types, then expect "real" types to only be 4 bytes.
7800 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7801 call tests if the target doesn't support inferior function calls.
7803 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7806 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7808 * gdb.base/help.exp: Disable "help set", "help show", and
7809 "help support". Simplify regexp for "help stack".
7811 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7812 to 60 seconds. Temporarily set match_max to 15000 around the
7813 "info copying" test.
7815 * gdb.base/nodebug.exp: Don't try to do an inferior function
7816 call if the target doesn't support them.
7817 * gdb.base/printcmds.exp: Likewise.
7818 * gdb.base/setvar.exp: Likewise.
7819 * gdb.base/structs.exp: Likewise.
7820 * gdb.c++/templates.exp: Likewise.
7821 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7823 * gdb.base/recurse.exp: Enable for the mn10200.
7825 * configure.in: Do configure gdb.stabs directory for *-*-elf
7827 * configure: Rebuilt.
7829 * gdb.base/break.exp: Check for gdb,noresults before testing
7830 exit status and/or results from the target.
7831 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7832 * lib/gdb.exp: Remove old (now bogus) initialization of
7833 noinferior, noargs, noresults and nosignals.
7835 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7837 * config/sh.exp: New file.
7839 * config/slite.exp: Try to connect multiple times to the board
7840 before rebooting. Only send a "monitor run" if need_monitor_run
7843 * gdb.base/break.exp: Don't do the "stub continue" test if
7844 the target has gdb_stub set.
7846 * gdb.base/callfuncs.exp: Increase the timeout.
7848 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7849 if the target has gdb,noinferiorio set.
7851 * gdb.base/list.exp: Increase match_max to 10000 characters.
7853 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7855 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7858 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7860 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7862 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7863 trying to delete the copy of gdb. Catch the file delete so we
7864 don't die if the delete fails; also, the file should be copied to
7865 the host, not to the build.
7867 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7869 * lib/gdb.exp(gdb_test): Surround the result pattern with
7870 parenthesis in case it contains multiple regexps separated
7873 * gdb.base/watchpoint.exp: Use gdb_test.
7874 * gdb.base/default.exp: Ditto.
7876 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7878 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
7880 * gdb.base/scope.exp: Use gdb_test.
7881 * gdb.c++/classes.exp: Ditto.
7882 * gdb.c++/inherit.exp: Ditto.
7884 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7886 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7887 remote_exec instead.
7888 * gdb.base/corefile.exp: Don't be ridiculous.
7889 * gdb.base/*.c: Add missing stub invocations.
7891 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7893 * config/slite.exp: Miscellaneous fixes.
7895 * lib/gdb.exp: Fix runto.
7897 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7900 * gdb.base/watchpoint.exp: Fix regexp.
7902 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7903 close and wait commands, as the descriptor may now be
7904 invalid. Always call "remote_close host".
7906 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7908 Major rewrite for testsuite revision.
7910 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7911 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7912 instead of relying on spawn_id to always contain a valid
7914 (get_compiler_info): New procedure to build the ${binfile}.ci
7915 file, instead of replicating this in N different places.
7916 (gdb_compile): New procedure.
7918 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7919 appropriate arguments) instead of compile. Use gdb_test in a lot
7920 more places. Use send_gdb instead of send. Always run gdb_start
7921 at the start of a testcase, as this is no longer done magically.
7923 config/*-gdb.exp: Rename without the -gdb suffix.
7925 config/mips.exp: Use remote_close instead of exit_remote_shell.
7926 config/monitor.exp: Use target_info instead of looking at
7928 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7930 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7932 * gdb.c++/templates.exp (test_ptype_of_templates),
7933 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7934 Update expect patterns for destructors and assignment operators
7935 to match corresponding c-typeprint.c changes.
7936 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7937 to destructor breakpoint test, GDB should be able to set the
7938 destructor breakpoint without specifying arguments.
7940 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7942 * gdb.threads/pthreads.exp: Change result for failure to compile due
7943 to lack of pthreads runtime support from an error to simply an
7944 unsupported test, per dejagnu standards.
7946 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7948 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7949 where GDB exits to reduce pattern match time.
7950 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7952 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7954 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
7956 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7957 * gdb.base/default.exp: ditto.
7958 * gdb.base/nodebug.exp: ditto.
7959 * gdb.base/printcmds.exp: ditto.
7960 * gdb.base/ptype.exp: ditto.
7961 * gdb.base/setvar.exp: ditto.
7962 * gdb.base/structs.exp: ditto.
7963 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7965 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7967 * configure, */configure: Rebuild with autoconf 2.12.
7969 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7971 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7972 use new i*86-pc-linux*-gnu quads.
7973 * gdb.base/corefile.exp: Ditto.
7974 * gdb.base/signals.exp: Ditto.
7975 * gdb.base/sigall.exp: Ditto.
7976 * gdb.base/interrupt.exp: Ditto.
7978 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7979 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7982 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7983 linux. This allows the test case to at least compile on latest
7984 linux, but still not run due to missing the threads runtime library.
7986 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7988 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7989 directory to search gdb directory. Accept and step over conditional
7990 stack alignment code. Consume $prompt in failure cases.
7991 Reset timeout to $oldtimeout instead of some arbitrary value.
7992 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7993 timeout problems with infinite stack backtraces.
7994 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7995 Accept function parameters for linkfunc member.
7997 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7999 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
8000 (CXXFLAGS): Remove, unreferenced.
8001 (B_OPTIONS): Add for -B options and add code to initialize with
8002 previous -B options and also add -B option to pick up cross compiled
8004 (TARGET_INCLUDES): Add for -I options and add code to initialize when
8005 doing cross compiles.
8006 (target_alias): Declare global.
8007 (xgcc): Set variable to full path of gcc in build tree. Use findfile
8008 to verify that gcc exists in build tree, and if so set CC to that
8009 gcc and to use B_OPTIONS and TARGET_INCLUDES.
8011 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
8013 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
8014 ptype test for anonymous union. Fixup testcase to match
8015 current gcc debug output.
8017 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
8019 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
8020 force argument to an unsigned long type.
8022 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
8024 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
8025 tests and anonymous union print/ptype tests.
8026 * gdb.base/list.exp (test_forward-search): Increase timeout by
8027 5 minutes for the "search extremely long line" case.
8028 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
8029 completely optional and that the pass/fail messages use the command as
8030 the message if that third arg is a null string.
8031 (gdb_test_exact): Arrange that a null string pattern means match a
8032 null string output rather than any output, which might include random
8034 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
8036 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
8037 always failing and failure is now exposed by gdb.exp changes.
8039 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
8041 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
8042 weren't being noted.
8044 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8046 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
8047 * gdb.stabs/weird.exp: Remove v_comb xfails.
8049 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
8051 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
8052 list.exp scope.exp watchpoint.exp]
8053 Make all timeout error msgs explicitly say "(timeout)".
8055 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
8057 * config/monitor.exp: Increase download timeout to 1000 seconds.
8059 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
8061 * config/m32r.exp: Increase timeout to 120 seconds.
8063 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
8065 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
8066 and accept older ordering as obsolescent gcc or gdb.
8067 * gdb.c++/templates.exp: Ditto.
8068 * gdb.c++/virtfunc.exp: Ditto.
8070 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
8072 * gdb.base/coremaker.c: Add code to mmap some data so we
8073 can check that it ends up in the core file.
8074 * gdb.base/corefile.exp: Add test to read mmapped data
8077 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
8079 * config/m32r.exp: New file.
8081 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
8083 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
8084 that cflags can contains -gstabs, and work correctly for other tests.
8086 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
8088 * gdb.base/setshow.exp: New file, tests show and set.
8089 * gdb.base/setshow.c: New file, tests show and set.
8090 * gdb.base/help.exp: Add test for help set|show annotate.
8091 * gdb.base/default.exp: Add test for set|show annotate.
8093 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
8095 * testsuite/gdb.base/break.exp: Make backtrace from factorial
8097 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
8100 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
8102 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
8103 and width commands. This is done elsewhere.
8104 * (gdb_start): Don't call gdb_start_sim here. That's already
8105 done in gdb_load. This fixes lots of failures in default.exp.
8107 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
8109 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
8110 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
8111 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
8112 in the same we we treat other failures (since it may be an expected
8113 condition), rather than as an error.
8114 * gdb.base/signals.exp (test_handle_all_print): Revert back to
8117 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
8119 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
8120 (distclean maintainer-clean realclean): No need to remove files
8121 twice. Nuke the duplicates.
8122 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
8123 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
8124 Remove config.h along with other config files.
8126 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
8128 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
8129 "p func1 ()" and note that rests of tests are skipped.
8130 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
8131 setup_xfails for "print func2::coremaker_local".
8132 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
8133 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
8134 affected by the previous run test.
8135 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
8136 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
8137 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
8138 "pass int powerset tuple" and "pass modeless int powerset tuple".
8139 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
8140 "real write 4" and "real write 8".
8141 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
8142 setup_xfails for "print vs1 after tuple assign 2",
8143 "print \$i after tuple assign 2", and
8144 "print vs2 after tuple assign 2".
8145 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
8146 meaningful error message and return -1 so the caller can
8147 suppress further tests and avoid a cascade of errors.
8149 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
8151 * gdb.base/a1-selftest.exp: Tweak tests to account for new
8152 format for printing version.
8153 * gdb.base/default.exp: Ditto.
8154 * gdb.base/interrupt.exp: Fix problem with cascade of
8155 errors if child process dies while calling a function.
8157 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
8159 * Makefile.in (VPATH): Add
8160 * Makefile.in (Makefile, config.status): Fix rules so things get
8161 remade when necessary.
8163 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
8165 * Makefile.in (just-check): Add path to sibling expect dir
8166 to environment variable specified by RPATH_ENVVAR.
8168 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
8170 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
8171 (just-check): Add shared library paths for libstdc++, tk,
8172 tcl, bfd, and opcodes to the environment variable specified
8174 * configure.in: Add support to recognize --enable-shared flag
8175 and generate correct value for RPATH_ENVVAR.
8176 * configure: Regenerated with autoconf.
8178 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
8180 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
8181 include all osf versions.
8182 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
8183 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
8184 when target is linux. When failing to build pthreads test
8185 executable, give more meaningful message.
8186 * gdb.threads/pthreads.c: Hpux also uses old definition of second
8187 arg for pthread_create.
8189 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
8191 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
8192 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
8193 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
8194 and -lpthreads (everybody else).
8195 (test_startup): Fail gracefully if threads are not supported.
8196 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
8197 "p/c array_index("abcdef",2)" when not gcc compiled.
8198 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
8199 "print func2::coremaker_local" when not gcc compiled.
8200 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8201 "ptype on opaque struct tagname (statically)",
8202 "ptype on opaque struct tagname (dynamically) 1", and
8203 "ptype on opaque struct tagname (dynamically) 2"
8204 for not compiled with gcc.
8205 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8206 backtrace when compiled with gcc.
8207 * lib/gdb.exp (runto_main): Return result of "runto main" rather
8208 than always return success.
8210 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
8212 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8214 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
8216 * gdb.base/structs.exp: Undo last change.
8218 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
8220 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8221 encapsulate all the steps/nexts done during self test, starting
8222 at main, and makes them less sensitive to optimization issues.
8223 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
8224 signal handler" test.
8225 * gdb.threads/pthreads.exp: Only run this for native configs.
8226 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8227 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
8229 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8230 for "runto test_calls(void)" test.
8232 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
8234 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8235 and don't expect address info in breakpoint confirmations.
8237 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
8239 * gdb.base/list.exp (test_forward_search): Increase timeout
8240 temporarily by 60 seconds for searching extremely long line,
8241 and then reset to old value when done. Increase expect input
8244 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
8246 * gdb.base/list.exp (test_forward_search): Fix to handle very
8247 long source line without overflowing expect's input buffer.
8249 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
8251 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8254 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8257 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8260 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8263 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
8265 * configure.in (configdirs): Add gdb.threads.
8266 * configure: Regenerated with autoconf.
8267 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8268 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8269 * gdb.threads/configure: New, generated with autoconf.
8271 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
8273 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
8275 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
8277 * gdb.base/signals.exp (test_handle_all_print): Test separately for
8278 each signal's status in the output of "handle all print".
8279 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
8280 the \r\n sequence that immediately precedes the gdb prompt.
8281 * gdb.base/a1-selftest.exp: Save original timeout and restore
8284 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
8286 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
8289 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
8291 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
8293 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
8295 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
8296 timeout by 60 seconds.
8298 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
8300 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
8301 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
8304 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
8306 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8307 gdb initialization, also report how long dejagnu waited. Restore
8308 old timeout before doing error return. Temporarily increase timeout
8309 by 3 minutes to allow for slow startups over heavy NFS use.
8311 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
8313 * lib/gdb.exp: Report timeout value for verbosity level 2.
8314 * config/gdbserver.exp: Ditto.
8315 * config/hppro.exp: Ditto.
8316 * config/mips-gdb.exp: Ditto.
8317 * config/monitor.exp: Ditto.
8318 * config/netware.exp: Ditto.
8319 * config/sim-gdb.exp: Ditto.
8320 * config/slite-gdb.exp: Ditto.
8321 * config/udi-gdb.exp: Ditto.
8322 * config/unix-gdb.exp: Ditto.
8323 * config/vx-gdb.exp: Ditto.
8324 * gdb.base/a1-selftest.exp: Ditto.
8325 * gdb.base/a2-run.exp: Ditto.
8326 * gdb.base/break.exp: Ditto.
8327 * gdb.base/corefile.exp: Ditto.
8328 * gdb.base/list.exp: Ditto.
8329 * gdb.base/recurse.exp: Ditto.
8330 * gdb.base/scope.exp: Ditto.
8331 * gdb.base/signals.exp: Ditto.
8333 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8335 * gdb.threads/Makefile.in (docdir): Removed.
8337 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8339 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
8340 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
8342 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
8343 autoconf 2.5 or higher.
8344 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8346 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8348 * configure: Regenerated.
8349 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8350 avoid name clashes with SunOS headers.
8352 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8354 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8356 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8358 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8359 prototype information ends up in the compiler info file.
8361 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8363 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8364 attempting to regenerate it. Eliminate use of a temporary file
8365 and just generate the info file directly. Source it immediately,
8366 for consistency of use.
8367 * gdb.base/corefile.exp: Ditto
8368 * gdb.base/exprs.exp: Ditto.
8369 * gdb.base/funcargs.exp: Ditto.
8370 * gdb.base/langs.exp: Ditto.
8371 * gdb.base/list.exp: Ditto.
8372 * gdb.base/mips_pro.exp: Ditto.
8373 * gdb.base/nodebug.exp: Ditto.
8374 * gdb.base/opaque.exp: Ditto.
8375 * gdb.base/ptype.exp: Ditto.
8376 * gdb.base/scope.exp: Ditto.
8377 * gdb.base/setvar.exp: Ditto.
8378 * gdb.base/signals.exp: Ditto.
8379 * gdb.base/whatis.exp: Ditto.
8380 * gdb.c++/templates.exp: Ditto.
8381 * gdb.c++/virtfunc.exp: Ditto.
8382 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8383 whether or not to add -lstdc++ to the compile command line args.
8385 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8387 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8388 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8389 Increase timeout, a lot of single stepping might be needed if the
8390 target has no hardware watchpoints.
8392 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8394 * gdb.base/break.exp: Ignore compiler warnings when compiling
8396 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8397 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8399 * gdb.base/exprs.exp: Add h8300 xfails.
8400 * gdb.base/funcargs.exp: Likewise.
8401 * gdb.base/nodebug.exp: Likewise.
8402 * gdb.base/printcmds.exp: Likewise.
8403 * gdb.base/ptype.exp: Likewise.
8404 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8406 * gdb.base/return.exp: Handle float/double precision problems
8408 * gdb.base/funcargs.c: Explicitly make last constant argument to
8409 call_after_alloca_subr an unsigned long type.
8410 * gdb.base/return.c: Include stdio.h.
8412 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8414 * config/abug.exp: New file for the older Motorola Bug monitor
8415 that runs on the mvme13x series VME boards.
8416 * config/monitor.exp: Use the new config array for target settings
8419 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8421 * sim-gdb.exp: Make the SH simulator allocate less space when
8424 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8426 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8429 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8431 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8432 "rs6000-*-*" for "list function in include file" when gcc compiled.
8433 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8434 for "p ctable1[120]".
8435 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8436 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8437 Remove setup_xfail for "rs6000-*-*" for
8438 "print 'scope0.c'::filelocal before run".
8439 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8440 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8441 since some compilers don't allow both options to be given
8442 on the same command line. Create object file and move it.
8444 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8446 * gdb.base/corefile.exp: Always regenerate the core file, since
8447 we always regenerate the coremaker program. Detect special case
8448 where registers cannot be read from core file.
8450 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8452 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8453 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8454 * gdb.c++/templates.exp: Only match on basename of file since
8455 some formats like xcoff don't encode directory information.
8456 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8457 and rs6000 AIX xcoff targets.
8458 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8459 * configure: Regenerate.
8460 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8461 here, rather than in distclean.
8463 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8465 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8466 defined, and use it to compile the test case with -O2. The
8467 native compilation still uses no optimization.
8468 * gdb.base/mips_pro.c: Remove inline assembly code since
8469 it is compiled PIC by default, which results in assembler
8470 warnings that make the testsuite think the compilation
8473 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8475 * gdb.c++/misc.exp: Add note to message for
8476 "print s.a for foo struct" that this is a known gcc 2.7.2
8479 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8481 * gdb.base/break.exp: Fix pattern for matching "Delete all
8482 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8483 setup_xfail for deleting all breakpoints test. Fix various
8484 timeout messages to include "(timeout)".
8485 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8486 for "p t_float_values2(3.14159,float_val2)".
8487 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8488 for "continue to call2g" when gcc compiled.
8489 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8490 "up to foo in langs.exp", "show language at foo in langs.exp",
8491 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8492 and "show language at fsub in langs.exp".
8493 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8494 "list line 1 in include file", "list message for lines past EOF",
8495 "list function in include file", "list list0.h:foo", and
8496 "list filename:function; nonexistant function".
8497 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8498 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8499 and "ptype t_char_array" to be for native cc only.
8501 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8503 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
8504 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8505 "print func2::coremaker_local", and "backtrace in corefile.exp".
8507 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8509 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8510 "bt in signals.exp". This problem only appears when running
8511 the testsuite, and then only intermittently.
8513 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8515 * gdb.base/return.exp (return_tests): Differentiate between
8516 two tests of continuing.
8518 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8520 * */Makefile.in (maintainer-clean): Remove config.log.
8521 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8522 * gdb.c++/Makefile.in (PROGS): Add inherit.
8523 (clean): Remove *.ci.
8525 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8527 * gdb.c++/misc.cc: Add test code from Mike Stump.
8528 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8530 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8532 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8533 to "alpha-*-osf2*" and add comment.
8534 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8535 setup_xfail for "step over execarg initialization" and
8536 "step over corearg initialization".
8537 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8538 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8539 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8540 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8541 "print func2::coremaker_local", and "backtrace in corefile.exp".
8542 * gdb.base/signals.exp: Build and source signals.ci.
8543 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8545 * lib/gdb.exp: Move verbose statements outside conditionals.
8547 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8549 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8550 Feb 3 procfs.c change.
8552 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8554 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8556 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8558 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8559 from dejagnu's apparent default of 10 seconds, which gives random
8560 results when running the tests over NFS on moderately loaded systems.
8561 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8563 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8565 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8566 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8569 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8571 * configure.in (CY_AC_PATH_TCLH): Remove.
8572 * configure: Regenerate.
8574 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8576 * gdb.c++/Makefile.in (clean): Add missing '{'.
8578 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8580 * lib/gdb.exp: Provide a default value for noinferior.
8582 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8585 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8587 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8588 the executable, not the .o to run the tests from.
8590 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8592 * gdb.base/break.exp: Don't test for program exit or exit status
8593 if $noresults if nonzero.
8594 * gdb.base/langs.exp: Likewise.
8595 * gdb.base/watchpoint.exp: Likewise.
8597 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8598 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8599 trying to compile the testcase.
8601 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8603 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8604 * gdb.base/signals.exp (continue to handler): Likewise.
8606 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8608 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8610 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8612 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8614 * gdb.base/corefile.exp: Recognize "not found" as failure
8615 when trying to determine if a core file was generated.
8616 If no core file was generate the first time, try again without
8617 the ulimit -c to work around braindamaged shells.
8619 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8621 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8622 [] tests with "test" and enclose string in quotes.
8623 * gdb.stabs/configure: Rebuild
8625 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8627 Changes in sync with expect:
8628 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8629 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8630 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8631 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8632 argument to AC_REQUIRE.
8633 * configure: Regenerated.
8635 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8637 * gdb.base/corefile.exp: When generating a core, discard any
8638 error messages about ulimit not found and the "core dumped"
8639 message from the shell that runs the coredumper.
8641 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8643 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8645 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8646 which sed script to run. Expect failure for v_comb test
8649 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8651 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8652 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8654 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8656 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8657 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8658 "sparc-sun-solaris*" xfails for "p v_comb".
8659 * lib/gdb.exp (default_gdb_start): Fix typo.
8660 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8661 messages to not include the full program name that caused
8662 the core dump since some systems (such as solaris) apparently
8663 truncate this path to about 80 characters.
8664 When generating a core file first try increasing the core file
8665 size limit to unlimited since some systems may default it to
8666 zero, and it is harmless to try it. Move the test for failing
8667 to generate a core file to where it will actually get executed.
8668 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8669 new gdb result from g++ debug info improvements and make old
8670 pattern obsolescent. Also account for size_t differences
8671 (may be int or long).
8672 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8673 initialization before function call is placed in the delay slot
8674 and thus appears to be skipped over by commands such as "next".
8676 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8678 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8680 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8682 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8683 input source file; fix code to compile test to deal with this
8685 * gdb.c++/*.exp: Likewise.
8687 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8689 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8690 "bt in signals.exp".
8692 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8694 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8695 "step over execarg initialization" and
8696 "step over corearg initialization".
8698 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8700 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8701 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8703 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8705 From Rob Savoye (rob@poseidon.cygnus.com)
8706 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8707 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8708 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8709 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8710 configure.in}: Major reworking for autoconfig.
8711 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8712 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8714 * config/unix-gdb.exp: Make GDB global.
8715 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8716 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8717 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8718 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8719 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8720 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8721 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8722 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8723 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8724 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8725 pr-8136.exp, result.exp, string.exp, tuples.exp},
8726 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8727 to returns as necessary, arrange for test to compile own testcase
8729 * lib/gdb.exp: Changes for testsuite to compile own test cases.
8731 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8733 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8734 clear_xfail at end of test which might not call either pass or fail.
8735 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8736 "backtrace through signal handler".
8738 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8740 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8741 continuing from a job control stop signal.
8742 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8744 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8746 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8747 * gdb.base/corefile.exp: Likewise.
8748 * gdb.base/funcargs.exp: Likewise.
8750 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8752 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8753 * config/monitor.exp: Add support for setting baud rate.
8755 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8757 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8758 i*86-*-linux* xfails for "backtrace through signal handler".
8759 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8760 "print func2::coremaker_local".
8761 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8762 alpha-dec-osf2* xfail for
8763 "delete all breakpoints when none".
8765 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8767 * gdb.base/break.exp: Change test that deletes all breakpoints
8768 when no user breakpoints are installed. A post 4.15 change
8769 causes gdb to no longer prompt in this case.
8771 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8773 * gdb.base/return.exp (return_tests): Change xfail for test
8774 "correct value returned double test" to stop xfailing at
8775 Solaris 2.5. Apparently the bug has been fixed.
8777 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8779 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8780 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8782 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8784 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8785 * gdb.disasm/hppa.s: Corresponding changes.
8787 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8789 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8791 * config/mt-hpux: Deleted.
8793 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8795 * Many files: When warning about suppressed tests due to a
8796 nonexistant test binary, avoid incrementing the warning count.
8798 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8800 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
8802 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8804 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8805 "sparc-*-solaris2*".
8807 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8809 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8810 Add global and local variables and initialize them.
8811 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8812 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8813 extracts the file name and terminating signal from the core file.
8814 * TODO: Remove note about tests for correct mapping of corefile.
8815 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8816 from optimizing it away.
8817 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8818 handles common blocks.
8820 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8822 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8823 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8825 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8827 * Makefile.in (maintainer-clean): New target, synonym for
8829 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8830 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8831 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8832 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8833 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8834 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8836 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8838 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8839 xfails when not gcc compiled for "print foo::funclocal".
8840 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8841 "print foo::funclocal at foo",
8842 "print 'scope1.c'::foo::funclocal at foo",
8843 "print foo::funclocal_bss at foo",
8844 "print 'scope1.c'::foo::funclocal_bss at foo",
8845 "print foo::funclocal_ro at foo",
8846 "print 'scope1.c'::foo::funclocal_ro at foo",
8847 "print bar::funclocal at foo" and
8848 "print 'scope1.c'::bar::funclocal at foo".
8849 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8850 gcc compiled for "print foo::funclocal at bar".
8851 Expand all messages to ensure that they identify that
8852 the test is at bar().
8853 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8855 "ptype on opaque struct pointer (statically)",
8856 "ptype on opaque struct tagname (statically)",
8857 "ptype on opaque struct pointer (dynamically) 1",
8858 "ptype on opaque struct tagname (dynamically) 1",
8859 "ptype on opaque struct pointer (dynamically) 2" and
8860 "ptype on opaque struct tagname (dynamically) 2
8861 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8867 "whatis bsslocal", and
8869 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8870 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8871 when not gcc compiled.
8872 * gdb.base/funcargs.exp (float_and_integral_args): Add
8873 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8875 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8876 "backtrace from call6a" when not gcc compiled.
8877 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8878 "backtrace from call7a" when not gcc compiled.
8879 * gdb.base/callfuncs.exp (do_function_calls):
8880 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8881 "p t_char_array_values(char_array_val2,char_array_val1)",
8882 "p t_char_array_values(char_array_val1,char_array_val2)",
8883 "p t_char_array_values("carray 1","carray 2")",
8884 "p t_char_array_values("carray 1",char_array_val2)",
8885 "p t_char_array_values(char_array_val1,"carray 2")",
8886 "p sum_args(1,{2})",
8887 "p sum_args(2,{2,3})",
8888 "p sum_args(3,{2,3,4})",
8889 "p sum_args(4,{2,3,4,5})"
8890 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8891 "backtrace in corefile.exp" when not gcc compiled.
8893 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8895 * gdb.base/signals.exp: Rewrite `handle all print' test as
8896 a procedure. Accept blanks or TABs as whitespace, increase
8897 timeout and expect input buffer size for the large output
8898 from the command. Remove "i*86-*-bsdi2.0" xfail.
8900 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8902 * gdb.base/setvar.exp: Add new testcases for truncation when
8903 assigning invalid values to bitfields.
8905 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8907 * gdb.base/callfuncs.exp (do_function_calls): Remove
8908 mips-sgi-irix* xfail for
8909 "call inferior func with struct - returns char *"
8910 and fix test so that an optional (unsigned char *) cast is
8911 accepted in the result.
8913 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8915 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8916 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8917 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8918 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8919 that accidentally got checked in.
8921 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8923 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
8924 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8926 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8927 Add mips-sgi-irix5* xfail for not gcc compiled.
8928 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8929 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8930 "p top", "whatis top", "p middle", and "whatis middle".
8931 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8932 "whatis signed char" for not gcc compiled.
8933 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8934 "set variable signed char=-1 (-1)" and
8935 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8936 * gdb.base/funcargs.exp (float_and_integral_args):
8937 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8938 Add mips-sgi-irix* xfail when not gcc compiled for
8939 "continue to call2b".
8940 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8941 "continue to call2g".
8942 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8943 "backtrace from call6a"
8944 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8945 "backtrace from call7k".
8946 Add mips-sgi-irix5* xfail when not gcc compiled for
8947 "backtrace from call7a".
8948 (localvars_after_alloca): Fix gdb_test cmds for
8949 "print * after runto ...".
8950 Remove rs6000-*-* xfails for
8951 "print i after runto localvars_after_alloca" and
8952 "print l after runto localvars_after_alloca"
8954 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8955 when not compiled with gcc, for:
8956 "print signed char == (minus)",
8957 "print signed char != (minus)",
8958 "print signed char < (minus)",
8959 "print signed char > (minus)".
8960 * gdb.base/callfuncs.exp (do_function_calls):
8961 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8962 "call inferior func with struct - returns char *".
8963 * gdb.base/return.exp (return_tests): Change xfail for
8964 "correct value returned double test" to include Solaris 2.4.
8965 * gdb.base/funcargs.exp (float_and_integral_args):
8966 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8968 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8970 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8971 enumeration bitfields if compiling with GNU C.
8972 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8975 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8977 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8978 test for PRO targets.
8980 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8981 breakpoints in the inferior at any given time by making
8982 two groups of breakpoints for call2*, call6* and call7*
8985 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8987 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8988 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8989 from optimizing it away.
8990 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8991 "call inferior func with struct".
8993 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8995 * configure.in: Only configure gdb.chill for particular targets.
8997 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8999 * gdb.base/Makefile.in: Add action to .c.o transformation
9000 rule that generates a .ci file for each .o file and remove
9001 explicit .c.o rules except for callfuncs.o.
9002 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
9003 generates a .ci file for each .o file and remove explicit
9005 (clean): Remove *.tmp *.ci files.
9006 (EXECUTABLES): Remove templ-info.exp.
9007 * gdb.base/compiler.c: New file.
9008 * gdb.c++/compiler.cc: New file
9009 * gdb.base/scope.exp: Source gdb.base/scope.ci.
9010 Change rs6000-*-* xfail for
9011 "print 'scope0.c'::filelocal_ro" and
9012 "print 'scope1.c'::filelocal" and
9013 "print 'scope1.c'::filelocal_bss" and
9014 "print 'scope1.c'::filelocal_ro" and
9015 "print 'scope1.c'::foo::funclocal" and
9016 "print 'scope1.c'::foo::funclocal_ro" and
9017 "print 'scope1.c'::bar::funclocal" and
9018 "print 'scope0.c'::filelocal_ro" and
9019 "print 'scope1.c'::filelocal at foo" and
9020 "print 'scope1.c'::filelocal_bss at foo" and
9021 "print 'scope1.c'::filelocal_ro at foo" and
9022 "print 'scope1.c'::foo::funclocal at foo" and
9023 "print 'scope1.c'::foo::funclocal_bss at foo" and
9024 "print 'scope1.c'::foo::funclocal_ro at foo" and
9025 "print 'scope1.c'::bar::funclocal at foo" and
9026 "print 'scope0.c'::filelocal_ro" and
9027 "print 'scope1.c'::filelocal" and
9028 "print 'scope1.c'::filelocal_bss" and
9029 "print 'scope1.c'::filelocal_ro" and
9030 "print 'scope1.c'::foo::funclocal" and
9031 "print 'scope1.c'::foo::funclocal_bss" and
9032 "print 'scope1.c'::foo::funclocal_ro" and
9033 "print 'scope1.c'::bar::funclocal" and
9034 "print 'scope1.c'::bar::funclocal_bss"
9035 to only be xfail'd when not compiled with gcc.
9036 Add rs6000-*-* xfail for
9037 "print 'scope0.c'::filelocal_bss before run"
9038 when compiled with gcc.
9039 (test_at_main): Add rs6000-*-* xfail for
9040 "print filelocal_ro in test_at_main"
9041 when compiled with gcc.
9042 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
9043 Add rs6000-*-aix* xfail for
9044 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
9045 "ptype t_char_array", not compiled with gcc.
9046 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
9047 xfail for "list foo (in include file)" when gcc compiled.
9048 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
9049 (integral_args): Add rs6000-*-* xfail for
9050 "run to call0a" if not compiled with gcc.
9051 (unsigned_integral_args): Add rs6000-*-* xfail for
9052 "run to call1a" if not compiled with gcc.
9053 (float_and_integral_args): Add rs6000-*-* xfail for
9054 "run to call2a" if not compiled with gcc and for
9055 "continue to call2b" for any compiler.
9056 Add rs6000-*-* xfail to
9057 "print f1 after run to call2a" for gcc compiled.
9058 (discard_and_shuffle): Add rs6000-*-* xfail for
9060 (shuffle_round_robin): Add rs6000-*-* xfail for
9061 "backtrace from call7a" if not compiled with gcc.
9062 Add rs6000-*-* xfail for
9063 "backtrace from call7b" if compiled with gcc.
9064 (call_after_alloca): Add rs6000-*-* xfail for
9065 "print c in call_after_alloca" and
9066 "print s in call_after_alloca" and
9067 "backtrace from call_after_alloca_subr"
9068 if not compiled with gcc.
9069 (localvars_in_indirect_call): Add rs6000-*-* xfail for
9070 "print c in localvars_in_indirect_call" and
9071 "print c in localvars_in_indirect_call" and
9072 "backtrace in indirectly called function" and
9073 "stepping into indirectly called function"
9074 if not compiled with gcc.
9075 (localvars_after_alloca): Add rs6000-*-* xfail for
9076 "print c after runto localvars_after_alloca" and
9077 "print s after runto localvars_after_alloca" and
9078 "print i after runto localvars_after_alloca" and
9079 "print l after runto localvars_after_alloca"
9081 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
9082 than whatis-info.exp.
9083 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
9084 than opaque-info.exp.
9085 Setup rs6000-*-* xfail for
9086 "ptype on opaque struct pointer (statically)" and
9087 "ptype on opaque struct pointer (dynamically)" when
9088 not compiled with gcc.
9089 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
9090 rather than callf-info.exp.
9091 (do_function_calls): Add clear_xfail for rs6000-*-* for
9092 "p t_float_values2(3.14159,float_val2)". Seems to work
9093 fine there, both with xlc and gcc. Need to find out what
9094 it is doing right and fix other platforms.
9095 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
9096 "call inferior func with struct - returns int",
9097 "call inferior func with struct - returns long",
9098 "call inferior func with struct - returns float",
9099 "call inferior func with struct - returns double",
9100 "call inferior func with struct - returns char *",
9101 but only if not gcc compiled (presumes xlc compiled).
9102 Change rs6000-*-* xfails for
9103 "call inferior func with struct - returns char" and
9104 " call inferior func with struct - returns short" to only
9105 xfail if not using gcc.
9106 (clean mostlyclean): Remove *.ci and *.tmp files.
9107 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
9108 than templ-info.exp.
9109 * gdb.base/langs.exp: Source gdb.base/langs.ci.
9110 Add rs6000-*-* xfail for "up to foo in langs.exp"
9111 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
9112 when not gcc compiled.
9114 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9116 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
9117 * gdb.base/corefile.exp: Likewise.
9118 * gdb.base/list.exp: Likewise.
9119 * gdb.base/scope.exp: Likewise.
9120 * gdb.base/siganls.exp: Likewise.
9122 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
9124 * gdb.base/whatis.exp: Likewise.
9126 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
9128 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
9129 failure (opcode table has been fixed to match reality).
9131 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
9133 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
9134 "call inferior func with struct - returns char",
9135 "call inferior func with struct - returns short"
9137 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
9138 "print 'scope0.c'::filelocal at main",
9139 "print 'scope0.c'::filelocal_bss in test_at_main",
9140 "print 'scope0.c'::filelocal at foo",
9141 "print 'scope0.c'::filelocal_bss in test_at_foo",
9142 "print 'scope0.c'::filelocal at bar",
9143 "print 'scope0.c'::filelocal_bss in test_at_bar"
9145 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
9146 in source file 1". This bug seems to have been fixed with both
9147 gcc and native cc (was native assembler bug?).
9149 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
9151 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
9152 "backtrace through signal handler" to "i*86-*-sysv4*".
9153 * gdb.base/signals.exp: Add xfail for "'next' behaved as
9154 continue" case. Add "known SVR4 bug" to fail message.
9155 Add "i*86-*-bsdi2.0" xfail for "handle all print".
9156 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
9157 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
9158 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
9159 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
9160 "up to foo in langs.exp", "show language at foo in
9161 langs.exp", "up to cppsub_ in langs.exp", "show
9162 language at cppsub_ in langs.exp", "up to fsub in
9163 langs.exp", and "show language at fsub in langs.exp".
9164 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
9165 "bactrace in corefile.exp".
9166 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
9167 "call inferior function with struct - returns float" and
9168 "call inferior function with struct - returns double".
9170 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
9172 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
9173 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
9174 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
9175 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
9177 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
9179 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
9180 (or overriden) "CHILL" macro rather then bare "gcc".
9181 Also look for ../../gcc/xgcc since that is what we will
9182 actually need, not "Makefile". Remove following assignment
9183 of CHILL to CHILL_FOR_TARGET because that results in
9184 recursive definition.
9186 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
9188 * gdb.base/corefile.exp: Change xfail for backtrace in
9189 corefile.exp from linuxaout to all linux.
9190 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
9191 cases where we miss the breakpoint at the signal handler
9192 for some reason. Setup xfail for linuxoldld/linuxaout and
9193 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
9194 hitting SIGURG breakpoint.
9195 * gdb.base/signals.exp: Setup xfail for "next" acting like
9196 continue to add linuxoldld. Setup xfail for all linux for
9197 "next to handler in signals_tests_1", "backtrace in
9198 signals_tests_1", "continue to func1", "pass SIGUSR1",
9199 and continue to handler".
9201 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
9203 * Update all FSF addresses except those in COPYING* files.
9205 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
9207 * gdb.base/a2-run.exp: Change messages to be more explicit about
9208 the status of args, and quote binfile in results.
9210 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
9212 * gdb.base/callfuncs.exp: Add tests for passing structs to
9213 inferior functions and return various types.
9214 * gdb.base/callfuncs.c: Add functions to receive a struct
9215 and return a member of the struct, in various types.
9217 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9219 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
9221 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9223 * config/vxworks29k.exp: New file, sources vxworks.exp.
9225 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9227 * config/gdbremote.exp: New file. Testing framework using
9230 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
9232 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9233 "call function when asleep" and "send end of file".
9234 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9235 for "backtrace in corefile.exp".
9236 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9237 for "backtrace through signal handler".
9238 * gdb.base/corefile.exp: Make sure we actually generate a core file
9239 before trying the core tests. Some systems allow the user to suppress
9240 generation of core files and default to that (linux for example).
9241 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9242 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
9244 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9246 * gdb.threads: New directory with some crude multi-threaded
9247 gdb tests (step.exp and step2.exp).
9248 * config/mt-lynx (STEP_EXECUTABLE): Define.
9249 (THREADFLAGS): Define.
9251 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
9253 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9255 * gdb.base/signals.exp: Disable whole file for lynx until
9258 * gdb.base/signals.exp: xfail test where "next" acts like
9259 "continue" for lynx.
9261 * gdb.base/interrupt.exp: xfail test for calling function while
9262 inferior is asleep for lynx.
9264 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9265 than one cr-lf after each command.
9267 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9269 * configure.in: Reinstate setting of stabsdirs variable, fix
9270 typo in setting up configdirs for native builds.
9272 * gdb.base/return.exp: Fix typo in return double test.
9273 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
9274 compiler from optimizing them away.
9276 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
9278 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
9279 sequences to be echo'd by gdb when using gdb_test.
9280 * gdb.chill/chexp.exp: Likewise.
9281 * gdb.fortran/exprs.exp: Likewise
9283 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9285 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
9286 after the inferior gdb has started.
9288 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
9290 * gdb.base/funcargs.exp: Likewise.
9291 * gdb.base/gdbvars.exp: Likewise.
9292 * gdb.base/interrupt.exp: Likewise.
9293 * gdb.base/list.exp: Likewise.
9294 * gdb.base/watchpoint.exp: Likewise.
9295 * gdb.c++/demangle.exp: Likewise.
9296 * gdb.c++/inherit.exp: Likewise.
9297 * gdb.chill/chexp.exp: Likewise.
9298 * gdb.fortran/exprs.exp: Likewise.
9300 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
9301 test if we can't handle IO to/from the inferior.
9303 * gdb.c++/misc.exp: Always check for a program already being
9304 started after sending a "run" command to gdb.
9306 * gdb.base/twice.exp: Start with a fresh gdb.
9308 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9309 only depend on gdb's expression code, not the chill runtime.
9311 * gdb.base/return.c: Put return values into variables so we
9312 can have gdb print them rather than depending on the program
9314 * gdb.base/return.exp: Corresponding changes.
9316 * lib/gdb.exp: Provide default value for noinferiorio.
9317 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9320 * gdb.base/break.exp: Always check for a program already being
9321 started after sending a "run" command to gdb.
9322 (text_next_with_recursion): Don't check the output from the
9323 program's printf statement. Instead just make sure the program
9326 * gdb.base/commands.exp: Protect tests which need arguments with
9327 $noargs conditionals.
9329 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9331 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9332 of structure member arrays to match gdb/valops.c:value_addr change.
9334 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9336 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9339 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9341 * configure.in (configdirs): Remove gdb.chill from default list
9342 of subdirs and then add it back in only if doing a native build.
9343 The current chill compiler does not yet work in any cross build.
9344 * Revert all signal changes from Jul 6.
9345 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9346 for sh-hms targets, allowing these tests to link, with no other
9347 changes. Testing is suppressed by setting "nosignals" in site.exp.
9349 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9351 * configure.in (signaldirs): Define and add to configdirs for all
9352 targets except some specific ones that are known to not support signals.
9353 Also clean up formatting.
9354 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9355 (signals, sigall): Remove rules to build.
9356 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9357 Moved to new gdb.signals directory.
9358 * gdb.signals: New test directory.
9359 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9360 signals.c signals.exp}: New or moved files.
9362 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9364 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9366 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9368 * gdb.base/return.exp: Xfail `return double' test failure
9369 on at least Solaris 2.3 and handle future/past versions on
9370 a case by case basis as appropriate. Also update message
9371 to include i*86 failures.
9373 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9375 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9377 * lib/gdb.exp: Fix comment which erroneously identified
9378 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9379 gdb_file_cmd not gdb_load).
9380 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9382 * gdb.base/setvar.exp: Make test names consistent between pass and
9383 fail cases. Use gdb_test more.
9385 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9387 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9389 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9391 * gdb.base/help.exp: Fix expected help string for `show commands'.
9393 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9395 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9397 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9400 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9402 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9403 that loop eventually terminates. Fix Connection refused logic so
9404 that testsuite will expire nicely.
9406 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9408 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9409 config/rom68k.exp: New tcl glue for the appropriate monitors.
9410 These all just end up calling monitor.exp.
9411 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9412 refused' by retrying. Cleanup some timeout issues.
9413 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9414 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9415 callers don't have to set/restore global timeout variable.
9417 * The following set of changes centralizes management of the global
9418 timeout variable. This way, it can be set in one target dependent
9419 place instead of dozens of places scattered throughout the test suite.
9420 If you need to lengthen a timeout, then you should either set timeout
9421 in one of the config/{target}.exp files, or multiply it by a factor.
9422 Setting it to an absolute value is always going to lose for some
9424 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9425 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9426 * gdb.base/funcargs.exp: Don't set timeout.
9427 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9428 * gdb.base/printcmds.exp (test_print_string_constants
9429 test_print_array_constants): Don't set timeout.
9430 * gdb.base/ptype.exp: Don't set timeout.
9431 * gdb.base/recurse.exp: Don't set timeout.
9432 * gdb.base/return.exp: Don't set timeout.
9433 * gdb.base/watchpoint.exp: Don't set timeout.
9434 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9435 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9437 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9439 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9441 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9443 * lib/gdb.exp: Disable chill tests for irix5.
9445 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9447 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9448 each test pass or fail.
9450 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9452 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9455 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9457 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9459 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9461 * config/est.exp: Fix copyright and comments. Remove dead code.
9462 Use targetname, serialport and baud variables instead of fixed
9464 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9465 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9467 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9469 * gdb.base/watchpoint.exp: Don't run
9470 test_watchpoint_triggered_in_syscall for sunos.
9472 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9474 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9475 they don't seem to exist. Do include stdio.h.
9477 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9479 * gdb.base/a1-selftest.exp: Add alpha xfail.
9481 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9483 * gdb.base/watchpoint.c (main): Prompt before calling read().
9484 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9485 Revise accordingly. Remove cruft about sending "123" several
9486 times, until it gets noticed. Clean up the "print buf[0]" stuff
9487 so that it passes or fails, and waits for prompts in the usual way.
9489 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9491 * gdb.base/recurse.exp: Fix comment.
9493 * TODO: Remove item about printing variables in nodebug.exp. Add
9494 item about enabling tests which are only run on some targets.
9496 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9497 fail, make test names unique, use new gdb_test convention
9498 regarding pattern, use gdb_test more, etc.).
9500 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9501 fail, make test names unique, etc.).
9503 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9505 * gdb.base/nodebug.c: Change return type of top and middle to
9507 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9508 are fixed by the recent mdebugread.c changes. Allow `short ()'
9509 as type for top and middle.
9511 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9513 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9514 nearly as I can tell, the whole thing was an accident in Stu's
9515 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9516 to replace a send/expect pair with gdb_test, but ended up only
9517 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9518 of 30 Mar 1995 took care of it, but left this vestigial comment
9519 which I am now nuking.
9521 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9523 * gdb.base/break.exp: Look for different line number for
9524 breakpoint at main depending on usestubs.
9526 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9528 * gdb.base/list.exp: Adjust some alternate expect patterns to
9529 match recent list0.c change. Add alternate expect pattern for
9530 output from `list default lines around main' for optimizing
9533 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9535 * lib/gdb.exp: If nosignals is not set, set it to 0.
9537 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9539 * config/slite-gdb.exp: Responds to load symbol table prompt.
9540 * gdb.base/break.exp: Adjust line number, fix rerun.
9541 * gdb.base/langs0.c: Add #ifdef usestubs.
9543 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9545 * gdb.base/list.exp: Adjust line contents after adding new lines in
9546 list0.c. Also fix a syntax error.
9548 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9549 * gdb.base/break.exp: ditto.
9550 * gdb.base/list.exp: ditto.
9551 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9552 * gdb.base/run.c: ditto.
9553 * gdb.base/list0.c: ditto.
9554 * gdb.base/funcargs.c: ditto.
9556 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9558 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9559 $targetname, $serialport and $baud instead of hardwired variables.
9560 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9561 target doesn't support signals.
9563 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9565 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9567 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9569 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9570 Don't rely on the value of an auto variable before it has been
9571 initialized. Use gdb_test more.
9573 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9575 * lib/gdb.exp (default_gdb_version): A version number must start
9576 with a digit, but other than that contains all characters up to
9577 the first whitespace character.
9579 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9581 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9583 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9585 * gdb.c++/*.exp: Warn if executable does not exist. The original
9586 reason for skipping the warning was that configure.in sometimes
9587 intentionally skipped building the executables but the tcl code
9588 had no way of knowing. That (a) was always bogus with respect to
9589 error handling, (b) is no longer true (right now there is no way
9592 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9594 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9596 * gdb.base/list.exp: Add expect patterns for output from
9597 SunPRO compiled executables.
9598 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9601 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9603 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9604 number (we are already testing that the correct source line text
9607 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9608 that is what is intended, but something needed to be done to get
9609 sunos4 native working again.
9611 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9613 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9614 apparently went with a (very) old xfail.
9616 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9618 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9619 runto_main is a proc in gdb.exp that will do 'step' for target use
9621 * gdb.base/exprs.exp: ditto.
9622 * gdb.base/interrupt.exp: ditto.
9623 * gdb.base/opaque.exp: ditto.
9624 * gdb.base/printcmds.exp: ditto.
9625 * gdb.base/ptype.exp: ditto.
9626 * gdb.base/scope.exp: ditto.
9627 * gdb.base/setvar.exp: ditto.
9628 * gdb.base/signals.exp: ditto.
9629 * gdb.base/twice.exp: ditto.
9630 * gdb.c++/classes.exp: ditto.
9631 * gdb.c++/inherit.exp: ditto.
9632 * gdb.c++/templates.exp: ditto.
9633 * gdb.base/break.exp: no run and hit main for stubs. Change line
9634 numbers for breakpoints and info breakpoint.
9635 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9637 * gdb.base/callfuncs.c: ditto.
9638 * gdb.base/exprs: ditto.
9639 * gdb.base/interrupt.c: ditto.
9640 * gdb.base/opaque0.c: ditto.
9641 * gdb.base/printcmds.c: ditto.
9642 * gdb.base/ptype.c: ditto.
9643 * gdb.base/scope0.c: ditto.
9644 * gdb.base/setvar.c: ditto.
9645 * gdb.base/signals.c: ditto.
9646 * gdb.base/twice.c: ditto.
9647 * gdb.c++/misc.cc: ditto.
9648 * gdb.c++/templates.cc: ditto.
9650 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9652 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9654 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9655 somewhere between `read' and `main.c'. I'm pretty sure the
9656 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9657 and it isn't particularly useful.
9659 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9661 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9663 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9665 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9667 * config/mt-slite: add LIBS and -nostdlib.
9668 * config/slite-gdb.exp: add this new file to support sparclite target.
9670 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9672 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9674 * gdb.base/a2-run.exp: Change argument to istarget from
9675 "*-*-vxworks" to "*-*-vxworks*".
9676 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9678 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9680 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9681 will not runto main but do a 'step' to step out of breakpoint().
9682 * config/mt-slite: add -Dusestubs.
9684 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9686 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9689 * gdb.base/signals.exp: Add test for "handle all print".
9690 * TODO: Remove "handle all print". Also remove item about
9691 checking copyright date (I don't like the idea of a spurious FAIL
9692 based on when we run the tests).
9694 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9695 for SunOS4 (reason for failure not investigated). Remove
9696 redundant test for $binfile.
9698 * gdb.base/nodebug.c (array_index): Call malloc.
9700 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9702 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9704 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9705 conventions and slightly simplify the matching regexp.
9707 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9709 * gdb.base/break.exp: Update gdb_test invocation to use new
9712 * lib/gdb.exp: If noargs is not set, set it to 0.
9714 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9717 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9719 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9721 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9722 one argument of type "<non-float parameter>".
9724 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9726 * config/rom68k.exp: New file to support Motorola IDP board.
9727 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9728 * gdb.base/break.c: Change things around so that this program
9729 doesn't depend upon args. This is necessary to make remote
9730 targets work (in general, they can't take args).
9731 * gdb.base/break.exp: Don't try to send args to program. Don't
9732 expect output. Also, replace lots of code with gdb_test.
9734 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9736 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9737 printing of '\'' (which is what the comment says we are testing,
9738 even though we were not), not '''.
9739 (test_integer_literals_rejected): Test that printing ''' is an error.
9741 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9742 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9743 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9744 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9745 Use gdb_test not test_print_accept.
9746 * lib/gdb.exp: Remove test_print_accept.
9748 * gdb.base/signals.exp (signal_tests_1): Make pass message
9749 consistent with fail message.
9751 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9752 unsigned char; the bug (PR 1821) is fixed.
9754 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9756 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9757 successful tests--makes xfailing them work right.
9759 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9761 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9762 only \r\n, not .*. The test can pass .* as the last thing in
9763 $pattern if that is what it wants. In addition to providing this
9764 flexibility, this change should speed up pattern matching in cases
9765 where the pattern already ended with .* (there were a number of
9766 them). This change also helps catch bad patterns--in the old
9767 scheme the typo "char \*" instead of "char \\*" would pass. Now
9769 * Many .exp files: Update callers.
9771 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9772 clearer and does not spuriously match multiple ('s. Likewise for
9775 * gdb.base/nodebug.exp: Test ability to call a function and pass
9776 it a string (even with no debugging info).
9778 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9779 "p '\'", which is the same as "p ''" once tcl gets done with
9780 quoting, to "p '\\'", which I suspect is what is intended (one
9781 backslash gets sent to GDB).
9783 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9785 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9787 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9788 1817) was fixed literally years ago.
9790 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9792 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9793 test, it causes stepping out of call_after_alloca_subr with
9794 optimizing compilers.
9795 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9798 * gdb.c++/templates.exp: Source templ-info.exp only if
9799 the templates executable exists.
9801 * gdb.c++/misc.cc (class Contains_static_instance,
9802 class Contains_nested_static_instance),
9803 gdb.c++/classes.exp (test_static_members): Test printing of
9804 a class that contains a static instance of the class.
9806 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9808 * gdb.base/langs2.c (cppsub_): Don't prototype.
9809 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9812 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9814 * lib/gdb.exp (skip_chill_tests): New procedure.
9816 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9818 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9820 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9821 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9823 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9825 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9827 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9828 disassemble 8, not 16, instructions for part 4.
9830 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9831 support the latter anymore.
9833 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9835 * gdb.base/callfuncs.c: Control use of prototypes based on
9836 NO_PROTOTYPES, not __STDC__.
9837 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9838 t_float_values2 tests if prototypes in use.
9840 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9841 t_double_values): When checking differences against DELTA, check
9842 that difference is within the range (-DELTA,DELTA), not just
9845 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9847 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9848 'file' command firts, then 'target', then 'load', this is due to gdb
9850 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9852 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9854 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9855 FP load/store variants.
9856 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9858 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9860 * gdb.base/term.exp: Do not give a warning if not native, it is
9861 not an abnormal condition.
9863 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9865 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9868 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9870 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9871 are getting the version number.
9873 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9874 if not native, it is not an abnormal condition.
9876 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9878 * lib/gdb.exp: Just use "file exists", rather than undocumented
9879 dejagnu procedure "findfile".
9881 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9883 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9884 (LDFLAGS): Set to -Xlinker -Ur.
9886 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9887 Removed, these values are set by lib/gdb.exp.
9889 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9891 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9893 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9894 of replicating gdb startup code.
9896 * config/mt-vxworks (LDFLAGS): Set to -r.
9897 (CFLAGS_FOR_TARGET): Removed.
9899 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9900 (gdb) and gdb for vxworks uses (vxgdb).
9902 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9903 executable is not in the tree and host != target, use sed and
9904 program_transform_name to determine the gdb name used by the
9907 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9908 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9910 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9912 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9913 floats, chars, and shorts where there are ANSI-style function
9916 * gdb.base/langs.exp, gdb.base/langs*: New test.
9917 * gdb.base/Makefile.in: Build it.
9918 * TODO: Remove item about checking that C names don't get C++
9919 demangling applied; this test tests it.
9921 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9923 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9924 went with the const70 xfail. The xfail went away a year ago.
9926 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9928 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9931 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9933 * gdb.base/a1-selftest.exp: Don't run on hp300.
9935 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9937 * Makefile.in (site.exp): Set host_alias and target_alias as well
9938 as host_triplet and target_triplet.
9940 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9942 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9944 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9945 places as other ecoff systems).
9947 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9950 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9952 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9954 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9955 variable and "variable" in addition to "data variable".
9956 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9958 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9960 * gdb.base/list1.c (long_line): Add additional statement at start
9962 * gdb.base/list.exp (test_forward_search): Update line number to
9963 reflect new statement.
9965 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9967 * gdb.base/signals.exp: Reinitialize searched source directories
9968 after gdb_start call.
9970 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9972 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9973 * gdb.stabs/Makefile.in: Likewise.
9975 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9976 change. Instead split the tests into smaller pieces.
9977 * gdb.disasm/hppa.s: Corresponding changes.
9979 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9981 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9982 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9984 * gdb.base/funcargs.exp: Modify many tests so that every test
9985 either passes or fails. Make some test names unique.
9987 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9989 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9990 Call stty to set interrupt character.
9992 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9993 for HP assembler versus GNU assembler based on actual behavior of
9994 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9996 * TODO: Suggest a few more stepping tests.
9998 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
10000 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
10001 restart GDB for h8300 after a continue.
10002 (return): Add pattern to match a29k-udi behavior.
10003 * gdb.base/nodebug.exp: Remove obsolete comment.
10004 * gdb.base/regs.exp: New file, testing of register displays.
10005 * gdb.base/return.exp: Fix typo in reference to $objdir.
10006 * gdb.base/whatis.exp: Always start with a fresh GDB.
10008 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10010 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
10011 higher, these tests generate a lot of output.
10013 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10015 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
10016 code following the catch silently ignored some errors; without the
10017 catch they should be thrown like any other tcl error. Also, the
10018 catch used "" instead of {} which meant all the callers who wanted
10019 to include one of the characters "[]$ had to quote it an extra time.
10020 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
10021 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
10022 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
10023 Remove extra quoting.
10025 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
10027 * gdb.base/commands.exp: Make test names unique; every test either
10028 passes or fails. Update some comments.
10030 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
10032 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10034 The following fixes a FAIL caused by the fact that the alpha stabs
10035 configuration didn't use the ".if alpha" code in weird.def.
10036 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
10037 bit pointer, so the 32 bit version works even on the alpha.
10038 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
10039 Remove the stuff which allowed us to have separate versions for
10040 alpha and everything else.
10042 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
10043 regexp which "info func operator\[\](" is supposed to match. Fix
10044 string to send to GDB. Note that GDB still doesn't work right. Add a
10045 new test for "info func .perator\[\](" which GDB does handle correctly.
10047 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
10049 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10051 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
10052 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
10053 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
10054 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
10055 it makes the tests harder to understand and confuses test-o-matic.
10056 The preferred style is that each test provides a PASS or a FAIL,
10057 and has a unique message (e.g. "continue #54" not just "continue")
10058 which is the same for the pass and the fail.
10059 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10060 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
10062 * gdb.base/printcmds.exp: Use test_print_accept. Remove
10063 prt_accept which was basically the same thing. Likewise for
10064 test_print_reject and prt_reject.
10065 * lib/gdb.exp (test_print_reject): Add some more error message
10066 patterns to match from the former printcmds.exp (prt_reject).
10067 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
10068 One defect of the passcount stuff is that some of it failed to
10069 report XPASS where appropriate.
10070 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
10071 stuff before and after arg in expected pattern.
10072 (test_paddr_operator_functions): Re-do test without print_addr_of;
10073 this is the only test which seems to want extra stuff there.
10075 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10077 * gdb.base/nodebug.exp: Update new tests to reflect improved
10078 wording of gdb output.
10080 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
10081 and "ptype" work on variables in files compiled without -g.
10082 Replaces commented out "maint print msymbol" tests.
10084 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10086 * gdb.base/setvar.c (dummy): Call malloc.
10088 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
10089 losing with the irix4 sed.
10091 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
10094 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10096 * TODO: Remove items about corefile.exp testing new exec-file and
10097 backtrace; both are now done. Add items about printing enums.
10099 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10101 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
10102 "get signal $thissig" test fails.
10104 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
10106 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10108 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
10109 compiler warning with dec alpha compiler.
10111 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
10112 extra \n from gdb_test call (this explains why the prompt test
10113 that I removed yesterday was there).
10114 (user_defined_command_test): Remove extra \n and prompt test.
10116 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
10117 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
10119 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
10120 Also remove alpha workaround, which turns out to be because
10121 SIGABRT == SIGLOST.
10123 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
10125 * gdb.base/help.exp: Don't test "help show".
10127 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10129 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
10130 "set print address" is on.
10131 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
10132 pass prompt to gdb_test; gdb_test already looks for the prompt.
10134 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
10136 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
10137 was a vestige of the manual TESTSTRATEGY, and the purpose of it
10138 was to make sure that gdb can read a core file. But (a) the "read
10139 the corefile" part didn't make it to a1-selftest.exp, we just
10140 delete the corefile after creating it, and (b) we test reading
10141 corefiles in corefile.exp anyway. Also, this test left around a
10142 xgdb process on Solaris.
10144 * gdb.base/corefile.exp: Also test backtrace.
10146 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
10148 * gdb.base/commands.exp: Test a simple user defined command with
10149 arguments and if/while statements; verify the full user command is
10150 printed by "show user".
10152 * gdb.base/commands.exp: Test if/while commands as part of a
10153 breakpoint command list; verify they appear in breakpoint
10156 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10158 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
10159 than by dividing by zero.
10161 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
10163 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
10164 performing an inferior call with watchpoints enabled.
10165 * gdb.base/watchpoint.c (main): Delete second unnecessary read
10168 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10170 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
10173 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
10174 Add additional pattern for when "int operator int(void);" appears
10175 in a different order.
10177 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10179 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
10181 * gdb.base/help.exp: Replace most of docstrings for "info signals"
10182 and "signal" with ".*".
10184 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10186 * TODO: Add note about "handle all nostop".
10188 * gdb.base/{sigall.c, sigall.exp}: New test.
10189 * gdb.base/Makefile.in: Add it.
10191 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
10193 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
10194 when invoking GDB, suppresses any windowing interface.
10196 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
10198 * config/sim-gdb: New file, simulator testing support.
10200 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
10202 * gdb.base/interrupt.exp: Test calling func1 twice.
10204 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
10206 * gdb.base/list.exp (test_forward_search): Set timeout higher
10207 when we'll be getting lots of output from gdb.
10209 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10210 "init_malloc" to after the expect statement. Run it if that
10211 regexp is taken, but also for two others which happen if source
10214 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10216 * gdb.base/printcmds.exp: New test, for printing register before
10217 program is running.
10219 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10221 * gdb.base/list.exp: Correct some alternate expect patterns
10222 to reflect changes in list1.c.
10224 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10226 * TODO: Add item regarding large frames.
10228 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10230 * TODO: Remove item about enabling return.exp; it
10231 is enabled. Suggest a few more "return" tests.
10233 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10235 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
10238 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10240 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10241 and pr-5646.o, so "make" is the same as "make all", not "make
10244 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
10246 * gdb.base/list.exp: Adjust expectations to reflect changes in
10248 (test_forward_search): New test proc.
10249 * gdb.base/list1.c (long_line): New function, has long source line.
10251 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
10253 * gdb.base/a1-selftest.exp: Change initial stepping to know about
10254 additional line of code that was added.
10256 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
10258 * gdb.disasm/hppa.s: Break the large branching tests into smaller
10259 tests so as not to overflow expect's input buffers.
10260 * gdb.disasm/hppa.exp: Corresponding changes.
10262 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10264 Beginnings of template debugging tests.
10265 * gdb.c++/templ-info.cc: New file to test for template
10266 debugging capability of the compiler.
10267 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
10269 * gdb.c++/templates.cc: Add explicit template instantiations
10270 to enable compiling with -fno-implicit-templates. Add destructor
10271 and 'value' method to T5 class for template tests.
10272 * gdb.c++/templates.exp: Add testcases for printing of template
10273 types, setting breakpoints on template methods and calling a
10276 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
10278 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
10279 branch target since some assemblers (gas-2.5) may emit a
10280 relocation for the branch instead of resolving it in the
10283 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10285 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
10286 through signal handler.
10288 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10290 * configure.in (*-*-netware): Use config/mt-netware.
10292 * config/mt-netware: New file.
10293 * config/mt-i386-netware: Removed, separate configs for different
10294 netware architectures are no longer needed now that we have
10297 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10299 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
10300 by the recent changes to use ANSI C arithmetic conversions.
10302 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10304 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10305 bug involving using inferior_pid to figure out whether to select a
10308 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
10310 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10311 match the current disassembler output.
10313 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
10315 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10316 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10317 types, expect "int" as type of integer values (for now).
10319 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
10321 * gdb.base/commands.exp: New tests for if/while commands.
10323 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
10325 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10326 by .*, since hex values have different syntax in Chill mode.
10328 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10330 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10331 linefeed from expect pattern for repeated types with indices > 9.
10333 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10335 First part of Fortran test suite.
10336 * gdb.fortran: New directory.
10337 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10339 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10341 * gdb.base/default.exp: Update expect pattern for load command
10344 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10346 * configure.in: Change i386 to i[345]86.
10347 * gdb.base/configure.in: Likewise.
10348 * gdb.c++/configure.in: Likewise.
10349 * gdb.chill/configure.in: Likewise.
10351 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10353 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10354 patterns, since that is not a valid context for comments.
10356 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10358 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10359 repeated types and repeated types with indices > 9.
10361 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10363 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10364 2417; old bug has been fixed.
10366 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10368 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10369 send the newline ourselves instead of assuming gdb_test will do
10370 so when passed an empty input string.
10372 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10375 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10377 * lib/gdb.exp (gdb_test): Don't send anything if the first
10378 argument is an empty string. This makes cases where we want to
10379 match output that is already in expect's buffers (for example,
10380 matching a breakpoint after gdb_run_cmd has been called) work
10383 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10385 * config/netware.exp: New file.
10387 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10389 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10390 the -B and -L prefixes so we can find the debugging stub.
10392 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10393 there and we are using the gcc from the tree.
10395 * gdb.base/types.c: Removed.
10397 * gdb.base/configure.in: Look for makefile fragments in ../config.
10398 Recognize i386-*-netware.
10399 * gdb.c++/configure.in: Likewise.
10401 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10403 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10404 the correct TCL syntax.
10406 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10408 * gdb.base/opaque.exp: use runto instead of messing around with
10409 breakpoints. Simplify by using gdb_test.
10411 * gdb.base/bitfields.exp: restart between tests on netware targets
10412 because breakpoints aren't relocated after target death. Run
10413 processes to completion.
10415 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10417 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10419 * Makefile.in: Remove extra tabs that confuse some versions
10420 of "make". Use the newly built gdb to test with by default,
10421 rather than the first one in the tester's search path.
10423 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10425 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10427 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10430 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10432 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10434 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10436 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10437 * gdb.base/funcargs.exp: Likewise.
10439 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10440 * gdb.base/funcargs.exp: Likewise.
10442 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10445 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10447 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10448 return,signals,twice}.exp: Handle non-existant binaries
10451 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10452 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10453 might testing a cross development system.
10455 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10457 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10458 runtest script is relative to ${srcdir}, not ${rootdir}.
10460 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10462 * gdb.base/signals.exp: Allow for optionality of breakpoint
10465 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10467 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10469 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10471 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10472 for size_t definition.
10473 * gdb.c++/templates.cc: Likewise
10475 * config/mt-i386-netware: New file.
10477 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10480 * gdb.base/Makefile.in: Added support for systems that name core
10481 files by appending "core" to the program name.
10482 * gdb.base/a1-selftest.exp: Likewise.
10484 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10486 * gdb.base/return.exp: Add comment and message for `return double'
10487 test failure on Sparc Solaris.
10489 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10491 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10493 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10495 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10496 from optimizing them away.
10497 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10498 patterns to include default constructors and assignment operators,
10499 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10500 character in the output of the virtual base pointer.
10502 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10504 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10505 expression match in print_addr_of to avoid unintented matches.
10506 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10507 versions up to 2.5.8.
10509 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10511 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10512 included file to run under newer versions of expect.
10513 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10514 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10515 Remove xfail for the virtual table of BDDHookV.
10517 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10519 * lib/gdb.exp (string_to_regexp): Set a default result.
10520 (default_gdb_start): Fix misleading message.
10522 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10524 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10525 Remove all CC, etc definitions.
10526 * config/mt-hpux: New file.
10527 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10528 (CFLAGS, LDFLAGS): Define.
10529 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10531 * Makefile.in (site.exp): Don't insert host_os, etc.
10532 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10533 (distclean): Check existence of subdir.
10534 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10535 * gdb.base/Makefile.in: General cleanup and simplification.
10536 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10537 to build executables. Use default rule to build .o files.
10538 (EXPECT, RUNTEST, CC): Fix relative pathname.
10539 (site.exp): Don't insert host_os, etc.
10540 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10541 and/or SIGUSR1 defined.
10542 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10543 * gdb.c++/Makefile.in: General cleanup and simplification.
10544 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10546 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10548 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10550 * gdb.base/recurse.exp: Misc changes to get tests running again
10551 after Kung's changes to the watchpoint code.
10552 * gdb.base/watchpoint.exp: Likewise.
10554 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10556 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10558 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10560 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10561 * lib/gdb.exp (default_gdb_start): Define.
10562 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10563 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10564 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10565 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10566 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10567 Don't call gdb_target_udi in between tests.
10569 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10571 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10572 (which was basically just a local version of the same thing). In
10573 addition to avoiding duplication, gdb_test_exact is faster.
10574 * lib/gdb.exp (gdb_test_exact): Fix typo.
10576 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10577 don't give an error.
10579 * gdb.base/term.exp: Call delete_breakpoints before starting.
10581 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10582 (t10): Add comment.
10584 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10586 Reorganization of the GDB Test Suite.
10588 * gdb.base: New directory, contains all the basic tests.
10589 * gdb.c++: New directory, tests specific to C++.
10590 * gdb.chill: New directory, tests specific to Chill.
10591 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10592 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10593 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10594 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10595 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10597 * */gdbme.*: Rename to match appropriate expect scripts.
10598 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10599 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10600 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10601 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10602 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10603 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10604 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10605 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10606 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10607 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10608 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10609 gdb.c++/virtfunc.cc: New names of C++ files.
10610 * gdb.chill/chillvars.ch: New name of Chill file.
10611 * gdb.base/configure.in, gdb.c++/configure.in,
10612 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10613 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10614 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10615 * configure.in (configdirs): Update to reflect directory changes.
10616 (target_abbrev): No longer define for any configuration.
10617 * Makefile.in: Cosmetic improvements to header comments.
10619 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10621 Various changes to gdb.t31:
10623 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10624 * gdbme.ch: Make all key-words and predefineds be upper-case.
10625 * chillvars.exp: Expect key-words and predefinds in upper-case.
10627 * chillvars.exp: Use gdb_test_exact many places.
10628 Change expected output for arrays (which now includes index labels).
10630 * pr-5020.exp, gdme.ch (module PR_5020):
10631 New test, for PR-5020.
10633 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10635 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10636 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10638 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10640 * Makefile.in: Fix bit-rot in definitions of CHILL,
10641 CHILL_FOR_TARGET and Chill_LIB.
10642 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10643 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10644 CHILL, and CHILL_LIB.
10646 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10648 * Revert the previous changes. Please see Rob's directory
10649 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10651 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10653 * Makefile.in, configure.in, config/mips-gdb.exp,
10654 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10655 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10656 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10657 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10658 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10659 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10660 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10661 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10662 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10663 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10664 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10665 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10666 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10667 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10668 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10671 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10673 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10674 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10675 Rob's new testing fragments.
10677 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10679 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10680 lib/gdb.exp: Replace error proc calls with perror.
10682 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10684 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10685 version also, match on casted version strings, and match on
10686 gdb startup case where the line numbers might be messed up.
10688 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10690 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10691 (CFLAGS): Delete it from here.
10693 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10695 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10697 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10699 * Makefile.in (RUNTEST): Default to just "runtest".
10701 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10703 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10704 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10705 the code has been restructured.
10707 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10709 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10710 \n, not just one of each.
10712 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10713 /bin/cc gives a warning if you do.
10715 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10717 * gdb.t24/demangle.exp: change expect pattern of
10718 __t10ListS_link1ZUiRCUiPT0
10720 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10722 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10723 on local variables in recursive functions.
10725 * gdb.t07/Makefile.in: Build the new test.
10727 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10729 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10730 directly. Instead compare the return values from actual calls.
10732 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10734 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10736 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10738 * From Peter Schauer with minor modifications.
10739 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10740 stops in mid-line in the caller. Add xfail for returning a float
10741 value on X86 targets.
10743 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10745 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10746 to avoid expect lossage.
10747 (fmem_LRbug_tests): Likewise.
10748 * gdb.disasm/hppa.s: Corresponding changes.
10750 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10751 conditions to work with latest dejagnu/expect.
10753 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10754 expected to fail on the PA.
10755 (backtrace in call with trampolines): Explicitly require main
10756 to be frame #1 (no trampolines should show up in backtrace).
10758 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10759 "continue -expect".
10760 * gdb.t06/break.exp: Likewise.
10761 * gdb.t07/watchpoint.exp: Likewise.
10762 * gdb.t13/bitfields.exp: Likewise.
10763 * gdb.t15/{funcargs,return}.exp: Likewise.
10764 * gdb.stabs/weird.exp: Likewise.
10765 * config/{mips,udi}-gdb.exp: Likewise.
10767 * hppa.sed: Enclose comments within a sed command to avoid
10768 losing with the old OSF1 sed.
10770 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10772 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10774 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10775 * gdb.t15/funcargs.exp: Conditionally step again to really
10776 finish from marker_call_with_trampolines. Handle the case where
10777 the first step from within call_with_trampolines already steps
10779 * gdb.t15/gdbme.c: Add comment to closing brace of
10780 call_with_trampolines for funcargs.exp.
10782 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10784 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10787 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10789 * gdb.t07/gdbme.c: More code for watchpoint testing.
10791 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10792 "Hardware watchpoint" throughout file.
10793 (test_watchpoint_triggered_in_syscall): New test.
10794 (test_complex_watchpoint): New test.
10796 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10798 * gdbme.c (call_with_trampolines): New function to try and step
10799 into. Tests trampoline problems on the PA.
10801 * funcargs.exp (localvars_in_indirect_call): No longer expect
10802 stepping into indirect call to fail on PAs.
10803 (test_stepping_over_trampolines): New test.
10805 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10807 * TODO: Add suggestions for static member function tests, and
10810 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10812 * TODO: Add suggestions for "p/a" tests.
10814 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10815 (default_gdb_exit): Replace all the hair with sending "quit" to
10816 the process with a simple close.
10818 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10820 * TODO: Add suggestions for shared library tests.
10822 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10824 * TODO: Add suggestions for x/s tests.
10826 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10828 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10829 "enable once", and "enable breakpoints once" with ".*".
10831 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10833 * TODO: Add suggestions about structure passing tests.
10835 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10837 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10838 the primary1 test, use work around if __GNUC__ < 2.
10839 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10840 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10841 Test for bad output rather than waiting for timeout. Issue
10842 second continue only if first continue failed.
10844 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10846 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10847 operator[] test with gdb_test because the old code didn't seem to
10848 be getting the quoting right with the new dejagnu.
10850 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10852 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10854 * Makefile.in: Use a fresh expect if there is one, use runtest
10855 from the src tree if there is one.
10857 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10859 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10860 next over recursive call. Revise the tests from that point on
10861 (which had been skipped) to match GDB's actual (correct) output.
10863 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10864 with next over a breakpoint whose condition is false.
10866 * gdb.t00/help.exp: Comment out "help set print" tests just like
10867 (and for same reason as) "help set" test.
10869 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10871 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10872 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10874 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10876 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10877 necessary gdb_target_udi.
10879 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10881 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10882 1838 and 2417; they are fixed.
10884 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10885 gdb.t03/ptype.exp (ptype structure, ptype union):
10886 Remove xfails; the test is looser than when the xfails were added.
10888 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10889 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10891 * gdb.t01/run.exp: Only run shell test if isnative.
10893 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10894 since "run" automatically loads if necessary. Call gdb_target_udi
10895 after the "file" since "file" kills any execution target.
10897 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10898 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10899 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10902 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10904 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10906 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10908 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10910 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10911 properly quoting regexps. This makes the second argument to
10912 demangle a fixed string, which matches the callers, instead of a
10913 shell-style pattern which is what the previous implementation
10914 used. Update some of the callers.
10916 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10918 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10919 (comib_nullified_tests): Fix typo.
10920 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10921 strings. No longer expected to fail.
10923 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10924 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10925 strings. No longer expected to fail.
10927 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10928 string. No longer expected to fail.
10930 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10932 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10933 No longer expected to fail.
10935 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10936 string. No longer expected to fail.
10938 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10940 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10941 only in the names (I probably got most of them). I was even
10942 generous with some which differed in underscores in names, and
10943 probably missed a few, and I *still* was able to remove almost a
10944 third of the file with almost no impact on testsuite coverage.
10946 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10948 * gdb.t00/default.exp: Match udi_attach error message as well as
10949 the one from child_attach.
10951 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10953 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10955 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10956 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10958 * Move test with enums and partial symbols back to
10959 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10960 Reverts the change of 26 May 93. Per today's change to
10961 stabs.texinfo, the behavior that weird.exp was expecting was
10962 unreasonable; what is important is that the compiler+gdb get
10963 things right, which happens with a recent gcc. Also fix the test
10964 to deal with native compilers which put out the stab gdb can't
10967 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10969 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10970 in the names. The main thing these accomplish is to slow things down.
10971 Many more such duplicates surely remain.
10973 * gdb.t00/help.exp: Comment out "help support" test just like
10974 (and for same reason as) "help set" test.
10976 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10978 * gdb.t06/break.exp: Remove setup_xfails for
10979 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10980 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10981 about known bug in gcc to include up through 2.5.8.
10982 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10984 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10985 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10986 with latest gcc and gdb.
10987 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10990 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10992 * configure.in (hppa*-*-*): Also configure and build stabs-only
10995 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10997 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10998 * gdb.t10/configure.in (hppa*-*-*): Use it.
11000 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11002 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
11004 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11006 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
11007 versions prior to 1.13.5.
11009 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11011 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
11012 the prompt is at the start of a line.
11014 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11016 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
11017 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
11018 in the copr tests now.
11019 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
11020 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
11023 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
11025 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
11026 gdb.t31/chillvars.exp, lib/gdb.exp:
11027 Tweak to run under either version of expect.
11028 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
11029 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
11030 * gdb.t11/list.exp: Remove extraneous whitespace.
11032 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11034 * gdb.t16/printcmds.exp (test_print_strings): Accept
11035 "(unsigned char *) " before the string.
11037 * TODO: Add notes about printing of fancy types and GDB expressions.
11039 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
11041 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
11042 * gdb.t06/configure.in: Don't try to compile signals test program
11043 if doing mips-idt-ecoff.
11045 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
11047 * Most .exp files: Tweak to run under either version of expect.
11049 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11051 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
11052 xfails; I'm not sure why they are failing, but not because of PR 1806.
11054 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
11056 * config/unix-gdb.exp: Remove gdb_unload cause it's already
11057 defined in lib/gdb.exp.
11059 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11061 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
11062 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
11063 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
11064 have to be typeless.
11066 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11068 * TODO: Add suggestion for copyright year test.
11070 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
11072 * configure.in (*-*-lynxos*): Add stabs tests.
11074 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11076 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
11077 so insert a tab before any assembler directive in column zero.
11079 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
11081 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
11083 (fpu_short_memory_tests): Likewise.
11085 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11087 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
11088 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
11089 .stabs directives in comments.
11091 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11093 * TODO: New file, describing tests we could write.
11094 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
11096 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11098 * gdb.t06/signals.exp: Add kludge to force re-sync.
11100 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
11101 to xgdb instead of gdb, get out of gdb.
11103 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
11105 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
11108 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11110 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
11111 * gdb.stabs/configure.in (hppa*-*-*): Use it.
11112 * gdb.stabs/hppa.sed: New sed script for the PA.
11114 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11116 * gdb.stabs: Re-write weird.def and configuration to use sed
11117 instead of cpp. sed is portable and POSIX; cpp is neither.
11119 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11121 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
11123 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11125 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
11127 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11129 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
11131 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
11132 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
11134 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11136 * lib/gdb.exp: Comment out code which depends on non-existent
11137 `transform' procedure.
11139 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
11141 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
11142 * lib/gdb.exp: Transform tool name.
11143 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
11144 1.1's new error handling system.
11146 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11148 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
11150 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11152 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
11153 They made pattern matching so slow that timeouts happened on
11154 heavily loaded systems. Now any output from "show print" which
11155 gets us back to the GDB prompt is a PASS.
11157 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
11159 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
11161 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11163 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
11165 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
11166 It is not from PR 3220.
11168 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11170 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
11171 just started failing because they depended on the order the
11172 subcommands are presented, or exact docstring text. This kind of
11173 test is a pain and has minimal benefit.
11175 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11177 * gdb.t09/corefile.exp: At end of test, use "core" command with
11180 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
11182 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
11183 17}/Makefile.in: Make it possible to run the testsuite with Sun
11184 make and CC = cross gcc by adding explicit build rules for .o
11187 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11189 * gdb.t15/funcargs.exp: Don't put comments on same line as
11190 setup_xfail (@#$*%& tcl braindamage!).
11192 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11194 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
11196 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
11198 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
11199 * gdb.t20/inherit.exp: remove three dumplicate entries.
11201 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11203 * gdb.t06/break.exp: For "next over recursive call", fail on any
11204 incorrect output, not just on "factorial (value=2)".
11206 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11208 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
11209 working now. Add an xfail if accesing a bss variable causes
11210 a memory error if the target is not yet run.
11212 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11214 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11215 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
11216 name of __st* demangling (2 strings). Did Kung really get the
11217 more than 95 others right without testing them?
11219 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
11221 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11223 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
11225 * configure.in (configdirs): Add gdb.disasm
11226 * gdb.disasm: New directory for GDB disassembler tests.
11227 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11229 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11231 * gdb.t00/help.exp: Don't test "help set".
11233 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11234 from within expect statements. None of these happen anymore and
11235 they cause regressions to be silently unnoticed.
11237 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11238 messages) about known failures with gcc cygnus-2.4.5-930417.
11240 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11241 comp-info.exp so it gets built if it doesn't exist.
11243 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11244 it is no longer used.
11245 * gdb.t13/comp-info.c: Removed.
11247 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11249 * gdb.t06/signals.exp: Add xfail for sun3.
11251 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11253 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11254 relevant because ^C doesn't get sent but failure can be reproduced
11257 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11259 * gdb.stabs/alpha.mt: New configuration file for alpha.
11260 * gdb.stabs/configure.in: Use it.
11261 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
11262 sharing with alpha.mt, redefine long to word via preprocessor.
11263 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
11265 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
11267 * gdb.t00/teststrategy.exp: Change expect string so that we
11268 consume the `(xgdb)' from the command echo and from the gdb prompt.
11269 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
11270 gdb currently compares all values as long, so this failure probably
11271 applies to any configuration where LONGEST is bigger than a target int.
11272 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
11274 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
11275 to handle opaque pointers, gcc is.
11276 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
11277 as first argument. Include <sys/types.h> and change all operator
11278 new definitions to use size_t.
11279 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
11280 now that we use size_t.
11282 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11284 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
11285 a long or float array cast all array members to the same type.
11286 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
11288 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
11290 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
11292 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11294 * gdb.t24 (demangle.exp): Constructors of templates have names like
11295 vector<int>::vector(int) not vector<int>::vector<int>(int). See
11296 section 14.6 of the ARM.
11298 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
11299 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
11300 accomplish little and slow down the testsuite.
11302 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
11303 Accept spaces various places.
11305 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11307 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11308 with watchpoint enabled.
11310 * Makefile.in: Remove definition of CC and remove the second
11311 definition of CXX (the "CXX = gcc" one remains). These definitions
11312 were causing backquotes to be expanded within backquotes, which
11315 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
11317 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11319 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11321 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11322 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11323 by mips cc and contains no stabs entries.
11325 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
11327 * config/vx-gdb.exp: Use fake device to load files rather than
11329 * lib/gdb.exp: New proc to do "file" command.
11330 * config/unix-gdb.exp: Use new "file" proc.
11332 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11334 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11335 Rework board rebooting slightly.
11336 (gdb_exit): Don't exit from the remote shell; there isn't one.
11337 * gdb.stabs/weird.exp: If a program is being debugged already,
11339 * gdb.t04/setvar.exp: Stop and restart gdb.
11340 * gdb.t05/expr.exp: Likewise.
11341 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11342 restart gdb and reload the program.
11343 * gdb.t08/opaque.exp: Likewise.
11344 * gdb.t12/scope.exp: Likewise.
11345 * gdb.t13/bitfields.exp: Likewise.
11346 * gdb.t15/funcargs.exp: Likewise.
11347 * gdb.t20/classes.exp: Likewise.
11348 * gdb.t03/ptype.exp: Increase timeout.
11349 * gdb.t16/printcmds.exp (test_print_string_constants,
11350 test_print_array_constants): Likewise.
11351 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11352 * gdb.t20/classes.exp (do_tests): Likewise.
11353 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11355 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11357 * gdb.stabs: Renamed *wierd* to *weird*.
11359 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11361 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11362 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11364 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11366 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11367 (do_tests): Remove xfail for whatis on one_var and two_var.
11369 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11371 * Makefile.in: Made cross building work better by adding
11372 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11374 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11376 * gdb.t15/{return.c,return.exp,Makefile.in}:
11377 New test, currently commented out.
11379 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11381 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11382 still running and removes the leftover named socket so GDb can do
11385 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11387 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11389 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11390 cross testing works better with "make check"
11391 * config/unix-gdb: Use default procedures for exit and version.
11392 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11393 with the newest VxWorks.
11395 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11397 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11400 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11401 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11403 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11405 * config/unix-gdb.exp: Remove this version of gdb_exit
11406 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11407 Rob says he'll look at it when he gets back to testing boards.
11409 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11411 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11412 an expected fail for certain ptype commands.
11414 * gdb.t20/classes.exp: Update expected results of "ptype class
11415 Base1" to account for the constructor that now appears in the type.
11417 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11419 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11420 disappeared from list.
11421 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11422 "alldone" proc with call to cleanup and exit.
11423 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11424 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11425 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11426 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11427 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11428 "alldone" proc with simple returns that suppress remaining
11429 tests. The alldone proc went away many months ago.
11431 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11433 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11435 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11437 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11439 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11440 as vax gdb will display them.
11442 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11444 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11447 * scope.exp: Change "bad value for localval" messages so each one
11450 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11451 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11453 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11455 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11457 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11458 doesn't exist (due to optimization).
11460 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11462 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11463 contains \r because the filename is long.
11465 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11466 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11468 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11470 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11471 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11473 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11475 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11477 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11479 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11481 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
11482 to match does not match the passing case but still matches the
11485 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11487 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11489 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11491 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11492 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11493 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11494 Remove various versions of gdb_exit.
11495 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11497 * config/unix-gdb.exp: gdb_exit remains here, and should override
11498 the generic version, since it's doing a lot of wierd stuff that
11499 the other versions aren't. FIXME, fold it in, or abandon this
11502 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11504 * gdb.t24/demangle.exp: Add tests for PR 3220.
11506 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11508 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11510 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11512 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11513 "i386-*-*". Works for i486 as well.
11515 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11516 bug, and expand domain of xfail to all SVR4 systems, since the
11517 actual problem is likely to be in generic SVR4 /proc support.
11519 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11521 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11523 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11525 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11526 xfails for other systems. Match a missing 'Continuing.' as an
11527 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11529 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11530 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11531 Only issue warning for missing executables if -all option is used.
11533 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11534 file if -all option is used. It's like an unpredictable XFAIL.
11536 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11538 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11539 for dynamically linked binaries.
11541 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11543 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11545 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11546 to state that this is a known bug in old versions of g++.
11548 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11550 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11551 while waiting for `Continuing'.
11553 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11555 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11556 in text, data, and bss.
11557 * gdb.t10/nodebug.c: Add local and global test variables for
11558 initialized and uninitialized data.
11560 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11562 * config/unix-gdb.exp (gdb_exit): Add "wait".
11564 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11566 * gdb.t06/signals.exp: xfail the continue from the handler for all
11569 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11570 function with watchpoints enabled, the i386 call dummy starts with
11573 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11574 386 bsd names its corefiles.
11576 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11578 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11579 compilers don't grok it.
11580 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11581 with small octal ints rather than character constants, which
11582 are signed and might not fit if first promoted to int.
11584 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11586 * gdb.t09/Makefile.in (clean): Remove corefile.
11588 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11590 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11592 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11593 and Jim Kingdon (kingdon@cygnus.com)
11595 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11596 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11597 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11599 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11601 * gdb.t17/interrupt.exp: Add xfail for hppa.
11603 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11605 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11606 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11607 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11608 to determine signed-ness of bitfields and use the result to setup
11610 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11611 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11612 call line is reached if necessary.
11614 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11616 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11618 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11620 * gdb.t06/break.exp: Also test `clear' command.
11622 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11624 * gdb.t00/teststrategy.exp: Remove extra quote.
11626 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11627 watchpoint enabled to be for all non-68k machines.
11629 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11631 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11633 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11634 targets use aout.mt instead of ecoff.mt as gas understands
11635 standard aout format.
11637 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11639 * lib/gdb.exp (runto): Don't insist that function we are running to
11640 was compiled with -g.
11642 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11644 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11645 to get back into the read system call.
11646 Accept leading newline in case where we woke it up.
11648 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11650 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11651 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11652 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11653 enable ecoff configuration.
11655 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11657 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11659 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11661 * gdb.t16/printcmds.exp: Add another printf test.
11663 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11665 * configure.in: If configured -with-stabs on any target, add
11666 stabsdirs to configdirs.
11668 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11670 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11671 fun" so pattern does not match the command itself.
11673 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11675 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11677 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11679 * gdb.t17/interrupt.exp: Test for more things.
11681 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11683 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11684 compiler arranges the code and line numbers.
11686 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11688 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11690 * gdb.t00/help.exp: Increase expect input buffer size.
11692 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11694 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11696 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11698 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11700 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11701 [0-9]*, not just [0-9].
11703 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11705 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11707 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11709 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11711 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11713 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11715 * gdb.t06/signals.c: Add xfails for sun3.
11717 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11719 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11720 test_stepping tests.
11722 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11724 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11726 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11728 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11729 rather than actually putting it through cpp twice.
11731 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11733 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11735 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11738 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11740 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11742 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11743 C++ features prints as "struct", make it a pass, not an xfail.
11745 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11747 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11748 Don't require VA to print as "class" rather than "struct".
11750 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11752 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11754 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11756 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11758 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11760 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11763 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11765 * gdb.t16/printcmds.exp: Add printf tests.
11767 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11769 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11771 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11773 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11774 pass counts, to counteract any existing or future setup_xfails.
11776 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11778 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11779 {BEGIN,END}_COMMON for common block instead of STAB.
11780 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11782 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11783 intp_var should be N_GSYM not N_LSYM.
11784 wierd-aout.S: Use a label for the value of the N_SO.
11785 wierd.def: Remove all backslashes.
11786 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11788 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11790 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11791 get the expected next to inheritance3.
11793 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11795 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11796 now that gcc-2.4 gets it right.
11798 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11800 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11802 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11803 generating comp-info.exp which works for cross-compilation.
11805 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11807 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11810 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11812 * gdb.t01/run.exp: Start with a fresh gdb.
11813 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11816 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11818 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11819 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11820 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11821 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11824 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11826 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11827 test cases from bug reports.
11829 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11831 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11832 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11833 avoid spurious xfails.
11834 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11835 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11836 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11838 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11840 * gdb.t00/teststrategy.exp: Rework to provide more useful
11841 description of each test, fix problem with systems that define
11842 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11843 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11844 results for "next over recursive call" so timeouts aren't taken
11847 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11849 * gdb.t12/scope.exp: Test printing of variables before run.
11851 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11852 printed in wrong order due to sorting.
11854 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11856 * gdb.t00/teststrategy.exp: Fix expected results for printing
11857 user entered string constant. Is array of char, prints with no
11860 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11862 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11863 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11864 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11865 of struct of char arrays.
11866 * gdb.t00/radix.exp: New tests for radix commands.
11868 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11870 * gdb.t16/printcmd.exp: Print a variable before running program
11871 (with xfail for AIX).
11873 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11875 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11877 * gdb.t16/printcmd.exp: Don't print variables before running program.
11879 * gdb.t06/break.exp: Don't require envp argument to main.
11881 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11883 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11884 Add xfails for rs6000.
11886 * gdb.t02/whatis.exp: Change other tests not to re-test something
11889 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11890 each type used has a variable of that type.
11892 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11894 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11896 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11898 * configure.in: change srctrigger to be a file, not a directory
11900 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11902 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11904 * gdb.t11/list.exp: Fixed a couple of typos.
11906 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11908 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11909 is fixed and PR is closed.
11910 * gdb.t16 (gdbme.c): Add simple test string variable.
11911 * gdb.t16 (printcmds.exp): Add tests with simple test string
11912 variable, primarily for boundaries on "set print elements".
11914 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11916 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11917 Make leading 0's optional and don't expect a tab in the middle
11920 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11922 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11923 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11924 don't end command passed to gdb_test with newline.
11926 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11927 signed keyword away, don't expect signed bitfields to be signed.
11929 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11930 printing with only as many 1's as are in the field as well as printing
11931 with 32 1's (see comment).
11933 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11935 * gdb.t00/default.exp: Start with a fresh gdb.
11936 * configure.in (configdirs): Remove gdb.t31 until the chill
11937 compiler works again. It no longer is able to find chillrt0
11938 since it isn't in libchill.a anymore.
11939 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11940 wierd.o, make more modular.
11941 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11942 spurious newlines that caused problems.
11944 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11946 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11947 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11948 gdb.stabs/wierd.{exp,def}: Many new tests.
11950 * gdb.t00/default.exp: update info line for new message.
11952 * gdb.t02/{whatis.exp,gdbme.c}:
11953 Test that "char *" doesn't print as "caddr_t".
11955 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11957 * gdb.t00/help.exp: Use .* in place of some help messages which
11959 gdb.t00/default.exp: Update "info frame" test for new message.
11960 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11963 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11965 * gdb.t03/{gdbme.c,ptype.exp}:
11966 Add tests for typedef'd struct and union without tags.
11967 Also check "whatis" on a variable of a typedef'd enum without a tag.
11969 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11970 PRMS 1823; the bug still exists but isn't reproduced by this test
11971 anymore), and remove rs6000 XFAIL (the bug is fixed).
11973 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11974 duplicated from whatis.exp. For those that are left, accept
11975 "long", "long int", or "int" for long variables (whatis.exp already
11976 has an XFAIL for "int", so no need to fail it here).
11978 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11979 Deal with GCC's names for types now that GDB uses the compiler's names.
11981 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11982 setup_xfail's for sunos4. If we #defined the signed keyword away,
11983 don't expect GDB to know that char it is signed.
11985 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11987 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11989 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11990 should work on any system, regardless of debugging format.
11991 * gdb.t21/demangle.exp: Move to gdb.t24.
11992 * gdb.t24/demangle.exp: Move from gdb.t21.
11993 * gdb.t24/{Makefile.in, configure.in}: New files.
11995 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11997 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11998 * gdb.stabs: New directory.
12000 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12002 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
12003 not just "Quit anyway?".
12005 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
12007 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
12008 that all setup_xfails are immediately followed by clear_xfails.
12010 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
12012 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
12013 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
12014 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
12015 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
12016 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
12017 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12018 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12019 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
12020 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
12021 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
12022 gdb.t31/chillvars.exp, lib/gdb.exp:
12023 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
12024 bug-gdb@prep.ai.mit.edu.
12026 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
12028 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
12029 with 0.0, not integer 0.
12031 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
12033 * gdb.t06/break.exp: Update for "Kill the program" message change.
12035 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
12037 * Makefile.in (GDBFLAGS): Set to -nx.
12038 * Makefile.in (site.exp): Use GDBFLAGS.
12040 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12042 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
12044 (check): depend on just-check.
12045 (just-check): added so that tests can be run without a noop
12048 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12050 Switch to using configure's configdirs.
12051 * Makefile.in (Makefile): add configure.in dependency.
12052 (SUBDIRS): removed redundant assignment.
12053 * configure.in: switch subdirs assignment to configdirs.
12054 * gdb.t*/configure.in: new files.
12056 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
12058 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
12061 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
12063 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
12064 in explicit rules. Apparently this is not supported by some makes.
12066 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
12068 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
12070 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12072 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
12075 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
12077 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
12079 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
12081 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
12082 watchpoint problem that is now fixed.
12083 * gdb.t30/chexp.exp: Remove setup_xfail for printing
12084 uninitialized convenience variables.
12085 * gdb.t31/chillvars.exp: Fix expected patterns for printing
12088 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12090 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
12091 which causes expect to get out of sync with gdb on long output
12093 * gdb.t09/corefile.exp: Make expected pattern for core file
12094 failing signal and frame output format less sun specific.
12096 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
12098 * gdb.t31/chillvars.exp: Add and remove initial dummy
12099 breakpoint, so that symbol table is forced in.
12100 (Needed at least on Sunos4, though it seems not SVR4.)
12101 * gdb.t31/chillvars.exp: Update for changed output format.
12103 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
12105 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
12107 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
12109 * Makefile.in: Added --srcdir when invoking runtest, removed the
12110 need for a local config file. (optional now)
12112 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
12114 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
12115 failure count used to force early termination. Add some more
12116 expected failures for gnu style demangling.
12118 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12120 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
12121 pmi variable from gdb.t20/gdbme to get optimized away.
12122 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
12123 Check for written corefile upon timeout _and_ eof.
12125 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12127 * config/unix-gdb.exp: Add missing return 0.
12129 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12131 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
12134 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
12136 * configure.in (subdirs): Put back gdb.t17 which mysteriously
12139 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
12141 * gdb.t10/crossload.exp: Disable the i860-elf test until such
12142 time as i860 support works.
12144 * gdb.t15/funcargs.exp: Fix expected outputs to include
12145 "backtrace 100\r" rather than just "backtrace\r", to match last
12148 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
12150 * config/udi-gdb.exp (gdb_exit): Remove close command.
12151 (gdb_target_udi): New procedure to set the UDI target.
12152 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
12153 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
12154 Added waits for prompts after several question responses. Added
12155 some more responses used by a29k-amd-udi-gdb.
12156 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
12157 pass different arguments, restart UDI connection after program
12159 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
12160 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12161 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
12162 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
12163 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
12164 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
12165 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12166 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
12167 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
12168 after program completion.
12169 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
12170 compiled with a SELECT_VECS setting.
12171 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
12172 infinite recursion.
12174 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
12175 Added checks for COFF results, and made them expected failures for
12176 all targets. It would be better to make them expected failures
12177 for COFF targets only.
12179 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
12181 * Makefile.in: add null dvi target, don't bother to recurse
12182 through test directories for info and install-info; rename
12183 $(datadir) to be dejagnu instead of deja-gnu
12185 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
12187 * gdb.t31/gdbme.ch: Re-enable code that previously caused
12188 compiler to coredump.
12189 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
12192 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
12194 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
12196 * gdb.t31/chillvars.exp: Comment out tests that depend on that
12199 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
12201 * gdb.t03/ptype.exp: tests for return code from gdb_test.
12202 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12203 which in a shell. Deletes xgdb when done.
12204 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12205 Tests the return from the "set height" or "set width" commands.
12206 Added a few return codes where needed.
12208 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
12210 * Makefile.in (SUBDIRS): Add gdb.t17.
12211 * configure.in (subdirs): Add gdb.t17.
12212 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
12213 files to test gdb's calling of functions in the inferior with
12214 the correct arguments and gdb's ability to retrieve any
12217 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
12219 * config/unix-gdb.exp (gdb_exit): Remove close commands that
12220 may be called after gdb goes away. Previous versions of expect
12221 needed these to avoid file descriptor leaks, but they cause
12222 errors with the current revision of expect.
12223 * gdb.t00/gdbvars.exp: Use -re on expected output after
12224 setting sevenbit-strings.
12225 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
12226 to set sevenbit-strings consistent across tests.
12227 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
12228 set sevenbit-strings consistent across tests.
12230 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
12232 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
12233 expected output to match current "expect" expectations.
12235 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
12237 * gdb.t00/default.exp: Change expected output for default "source"
12238 command, to match new gdb behavior which requires a filename to
12241 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
12243 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
12244 expected fail for i486-*-* that misses the marker2 function.
12245 * gdb.t10/crossload.exp (bfddefault): Allow successful
12246 recognition of a format to pass even if no symbols are found.
12247 Explicitly catch failures where the format is not recognized
12248 or is ambiguous, and add the reason to the fail message.
12249 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
12250 the cause is and invalid target and add reason to failure message.
12251 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
12252 elf32-i386, elf32-sparc, and elf32-i860.
12253 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12254 Set up expected failure for 'filename'::variable scope resolution,
12255 which is now apparently broken on all targets.
12256 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12257 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12258 gdb.t23/templates.exp: Change failure for missing binfile into
12260 gdb.t21/demangle.exp: Change all cfront references to 'arm'
12263 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
12265 * gdb.t00/default.exp: Add expected output for default "source"
12266 command, to match new gdb behavior.
12267 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
12269 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
12271 * config/*-gdb.exp: returns an error, rather than exiting on
12274 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
12276 * gdb.t03/gdbme.c: Add pointer to struct variable.
12277 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
12278 referencing struct members.
12280 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
12282 * configure.in (mips-idt-ecoff): New target.
12283 * config/mips-gdb.exp: New file for remote board using MIPS remote
12284 debugging protocol.
12286 * Redid configuration scheme. Removed gdb.t*/configure.in.
12287 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
12288 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
12289 distclean targets. Built executables via .o files. Adjusted
12290 tests to account for source files in $(srcdir) rather than
12292 * lib/gdb.exp (runto): Don't expect () after the function name,
12293 because it may have arguments.
12295 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
12297 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
12298 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
12299 expected failures for mips-idt-* and mips-sgi-*.
12300 * gdb.t00/default.exp (attach): Kill process if requested.
12301 * gdb.t00/help.exp (help target core, help target): Accept a gdb
12302 that does not read core files.
12303 * gdb.t01/run.exp: Removed checks for exit status code.
12304 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12306 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12307 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12308 appropriate, rather than doing it by hand.
12309 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12311 * gdb.t10/crossload.exp: Kill existing program if needed.
12312 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12313 appropriate, rather than doing it by hand. Always increase
12314 timeout for this test, not just for VxWorks.
12316 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
12318 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12319 of Chill STRUCT types and STRUCT values.
12320 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12322 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
12323 struct2): New struct definitions and initializations to test
12324 simple Chill STRUCT types.
12326 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
12328 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12329 the null byte at the end of strings.
12330 * gdb.t00/default.exp: Make show version insensitive to copyright
12332 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12333 to avoid dependencies on target char signedness.
12334 * gdb.t16/printcmds.exp: Update expected results for explicitly
12336 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12338 * gdb.t21/demangle.exp: Add many more patterns for template
12339 demangling, most of them being expected failures.
12340 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12341 string we are matching for, to match on the whole string.
12342 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12343 and fix a whole bunch that had incorrect expected output but were
12344 passing anyway because of the bug in "proc demangle".
12345 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12347 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12349 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12351 * gdb/testsuite: made modifications to testcases, etc., to allow
12352 them to work properly given the reorganization of deja-gnu and the
12353 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12355 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12357 * gdb/testsuite: Initial creation of gdb/testsuite.
12358 Migrated dejagnu testcases and support files for testing nm to
12359 gdb/testsuite from deja-gnu. These files were moved "as is"
12360 with no modifications. This migration is part of a major overhaul
12361 of dejagnu. The modifications to these testcases, etc., which
12362 will allow them to work with the new version of dejagnu will be
12363 made in a future update.
12365 For additional changes see gdb.mi/ChangeLog-1999-2003.
12371 version-control: never