* gdb.asm/asm-source.exp: Check for memory read errors in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2003-06-01 Mark Kettenis <kettenis@gnu.org>
2
3 * gdb.asm/asm-source.exp: Check for memory read errors in
4 disassembler test on *BSD too.
5
6 2003-06-01 Richard Henderson <rth@redhat.com>
7
8 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
9 for .frame.
10 (gdbasm_call): Lose ldgp.
11 (gdbasm_startup): Add frame information.
12 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13
14 2003-05-31 Mark Kettenis <kettenis@gnu.org>
15
16 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
17 i?86-*-*.
18
19 2003-05-30 Mark Kettenis <kettenis@gnu.org>
20
21 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22 FreeBSD.
23
24 2003-05-29 Richard Henderson <rth@redhat.com>
25
26 * gdb.asm/alpha.inc: New file.
27 * gdb.asm/asm-source.exp: Use it.
28
29 2003-05-29 Jim Blandy <jimb@redhat.com>
30
31 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
32 'core.PID'.
33
34 2003-05-22 Jim Blandy <jimb@redhat.com>
35
36 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
37 backtrace.
38
39 2003-05-20 David Carlton <carlton@math.stanford.edu>
40
41 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
42 this time.
43
44 2003-05-19 David Carlton <carlton@bactrian.org>
45
46 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
47 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
48
49 2003-05-19 David Carlton <carlton@bactrian.org>
50
51 * gdb.c++/namespace.exp: Add namespace scope and anonymous
52 namespace tests.
53 Bump copyright date.
54 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
55 (main): Call C::D::marker2.
56 * gdb.c++/namespace1.cc: New file.
57
58 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
59
60 Roland McGrath <roland@redhat.com>
61 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
62 there is no manager thread.
63
64 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
65
66 * gdb.threads/schedlock.exp: Remove assumption that all threads
67 will run in a particular small time slice. Also ensure we break
68 in one of the child threads rather than the main thread.
69
70 2003-05-07 Jim Blandy <jimb@redhat.com>
71
72 Add support for assembly source testing on the s390x.
73 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
74 architecture.
75 * gdb.asm/s390x.inc: New file.
76
77 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
78 succession of 'if' statements.
79
80 2003-05-05 Andrew Cagney <cagney@redhat.com>
81
82 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
83
84 2003-05-05 Andrew Cagney <cagney@redhat.com>
85
86 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
87 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
88
89 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
90
91 * gdb.base/charset.exp: Update based on new behavior of set/show
92 charset commands.
93
94 2003-05-01 Andrew Cagney <cagney@redhat.com>
95
96 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
97 variable do not give memory errors.
98
99 2003-04-30 Adam Fedor <fedor@gnu.org>
100
101 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
102 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
103 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
104 gdb.objc/basicclass.m: : New files
105
106 * lib/gdb.exp (gdb_compile_objc): New procedure.
107
108 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
109
110 * gdb.base/signals.exp: Make backtrace tests more specific.
111
112 2003-04-23 David Carlton <carlton@bactrian.org>
113
114 * gdb.c++/maint.exp (test_first_component): Add tests for
115 'operator' in more locations.
116
117 2003-04-16 Kevin Buettner <kevinb@redhat.com>
118
119 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
120
121 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
122
123 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
124 func marke' instead. Update test name.
125
126 2003-04-15 David Carlton <carlton@math.stanford.edu>
127
128 * gdb.c++/maint.exp: New file.
129
130 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
131
132 * gdb.threads/schedlock.c: Change type of thread function argument
133 to long, to avoid warnings on 64-bit platforms.
134
135 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
136
137 * gdb.base/attach.exp: Add new message from ptrace in case of
138 attaching to nonexistent process.
139
140 2003-04-11 Jim Blandy <jimb@redhat.com>
141
142 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
143 gdb.c++/userdef.cc: Place comments on the lines to which the
144 marker function might return.
145 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
146 gdb.c++/userdef.exp: Look for those comments to check that we've
147 returned to the right place, instead of checking line numbers.
148
149 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
150
151 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
152 match on sourcefile name, instead of directory name.
153
154 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
155
156 * gdb.base/completion.exp: Use string_to_regexp to match the
157 working directory name.
158
159 2003-04-09 Jim Blandy <jimb@redhat.com>
160
161 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
162 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
163 after an inferior function call, report the failure, but allow the
164 test to continue.
165
166 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
167
168 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
169 with -DPROTOTYPES.
170
171 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
172
173 * gdb.base/break.exp: Revert last patch.
174
175 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
176
177 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
178 with -DPROTOTYPES.
179
180 2003-04-02 Andrew Cagney <cagney@redhat.com>
181
182 * gdb.base/callfuncs.exp: Make "print add" messages unique.
183 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
184 matching directories by the name breakpoint.
185 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
186 Make "continue to marker1" consistent.
187 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
188 message consistent.
189 * lib/gdb.exp: Put "the program is no longer running", and "the
190 program exited" in parenthesis.
191 * lib/mi-support.exp: Ditto.
192
193 2003-04-02 Bob Rossi <bob_rossi@cox.net>
194
195 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
196
197 2003-03-29 Andrew Cagney <cagney@redhat.com>
198
199 * gdb.base/sizeof.c (main): Print the value of '\377'.
200 * gdb.base/sizeof.exp: Check the sign of '\377'.
201
202 2003-03-27 Michael Chastain <mec@shout.net>
203
204 * gdb.base/gdb1090.exp: New file.
205 * gdb.base/gdb1090.cc: New file.
206
207 2003-03-27 J. Brobecker <brobecker@gnat.com>
208
209 * gdb.gdb/observer.exp: New regression test.
210
211 2003-03-27 Michael Chastain <mec@shout.net>
212
213 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
214 * gdb.base/ptype.exp: Likewise.
215
216 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
217
218 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
219
220 2003-03-26 Michael Chastain <mec@shout.net>
221
222 * gdb.base/ptype.exp: Actually use some typedef'd types.
223
224 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
225
226 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
227 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
228
229 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
230
231 * gdb.base/default.exp: Fix regular expression.
232
233 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
234
235 * gdb.base/args.exp: Fix regular expression.
236
237 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
238
239 * gdb.base/help.exp: Allow Win32 child process.
240
241 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
242
243 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
244 when stepping out of main().
245
246 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
247
248 * gdb.base/default.exp: Check for win32 specific message when calling
249 "run" without executable.
250
251 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
252
253 * gdb.base/args.exp: Expect .exe in output.
254
255 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
256
257 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
258 Cygwin native.
259
260 2003-03-17 Andrew Cagney <cagney@redhat.com>
261
262 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
263 vector registes.
264 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
265 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
266
267 2003-03-17 David Carlton <carlton@math.stanford.edu>
268
269 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
270 test, for PR breakpoints/38.
271 Call test_watchpoint_and_breakpoint.
272 * gdb.base/watchpoint.c (func3): New function.
273 (main): Call func3.
274
275 2003-03-04 David Carlton <carlton@math.stanford.edu>
276
277 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
278 Garply<Garply<char> >:: garply".
279 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
280 with respect to PR c++/1111; note also PR c++/1113.
281 (test_template_breakpoints): KFAIL "constructor breakpoint" with
282 respect to PR c++/1062.
283 KFAIL "destructor breakpoint" with respect to PR c++/1112.
284
285 2003-03-03 David Carlton <carlton@math.stanford.edu>
286
287 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
288 with respect to PR c++/57.
289 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
290 c++/826.
291 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
292 respect to PR c++/57.
293
294 2003-03-03 David Carlton <carlton@math.stanford.edu>
295
296 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
297 respect to PR c++/33 into FAILs.
298
299 2003-03-03 Michael Chastain <mec@shout.net>
300
301 * configure.in: Update copyright years.
302
303 2003-03-03 Michael Chastain <mec@shout.net>
304
305 * Makefile.in: Update copyright years.
306
307 2003-02-28 David Carlton <carlton@math.stanford.edu>
308
309 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
310 print class instead of struct and/or superfluous protection
311 specifiers, as long as the resulting output is equivalent to the
312 source code.
313 Delete FIXME from end of messages on tests that don't need
314 fixing.
315
316 2003-02-28 David Carlton <carlton@math.stanford.edu>
317
318 * gdb.c++/templates.exp (do_tests): Allow const in the two
319 Foo<volatile char *>::foo tests.
320
321 2003-02-27 Michael Snyder <msnyder@redhat.com>
322
323 * gdb.base/restore.c (main): Return zero, so exit code
324 will be consistant.
325
326 2003-02-26 David Carlton <carlton@math.stanford.edu>
327
328 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
329 char *>::foo" test with respect to PR c++/33. Create a new test
330 which is identical to that one except that it doesn't put the
331 space between the "char" and the "*"; KFAIL it, too.
332
333 2003-02-26 David Carlton <carlton@math.stanford.edu>
334
335 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
336 template types into either PASSes or KFAILs (corresponding to PR
337 c++/57). Tweak indentation. Update copyright.
338
339 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
340
341 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
342
343 2003-02-13 Michael Chastain <mec@shout.net>
344
345 * gdb.base/exprs.exp: Remove i960 remnants.
346 * gdb.base/funcargs.exp: Likewise.
347 * gdb.base/list.exp: Likewise.
348 * gdb.base/ptype.exp: Likewise.
349
350 2003-02-14 David Carlton <carlton@math.stanford.edu>
351
352 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
353 pEe->D::vg()" from XFAIL to KFAIL.
354
355 2003-02-13 Jason Molenda (jmolenda@apple.com)
356
357 * gdb.base/maint.exp: Update maint print statistics regexp to include
358 new entries.
359
360 2003-02-13 Michael Chastain <mec@shout.net>
361
362 * gdb.c++/inherit.exp: Remove call to get_debug_format.
363
364 2003-02-12 Michael Chastain <mec@shout.net>
365
366 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
367 * gdb.c++/inherit.exp: Likewise.
368 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
369 * gdb.c++/templates.exp: Likewise.
370 * gdb.c++/virtfunc.exp: Likewise.
371
372 2003-02-06 Jason Molenda (jason-cl@molenda.com)
373
374 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
375 why the code is written that way.
376
377 2003-02-05 Michael Chastain <mec@shout.net>
378
379 * gdb.base/dump.exp: Add missing copyright line.
380
381 2003-02-05 Jason Molenda (jason-cl@molenda.com)
382
383 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
384 at the beginning so the breakpoint doesn't get set on the loop.
385
386 2003-02-05 Michael Chastain <mec@shout.net>
387
388 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
389 output for configurations with gcc 2.95.3.
390
391 2003-02-05 Keith Seitz <keiths@redhat.com>
392 Andrew Cagney <ac131313@redhat.com>
393
394 * gdb.mi/mi-cli.exp: New file.
395
396 2003-02-04 Michael Chastain <mec@shout.net>
397
398 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
399 Call perror and then continue.
400
401 2003-02-03 Michael Chastain <mec@shout.net>
402
403 * gdb.c++/pr-1023.cc: New file.
404 * gdb.c++/pr-1023.exp: New file.
405
406 2003-02-05 Jim Blandy <jimb@redhat.com>
407
408 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
409 it's local to foobar. Check for it there, and check that it's not
410 present in main.
411 * gdb.c++/local.cc (marker2): New function.
412 (foobar): Call marker1.
413 (main): Call marker2 instead of marker1.
414
415 2003-02-04 Andrew Cagney <ac131313@redhat.com>
416
417 * gdb.disasm/mn10200.exp: Obsolete file.
418 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
419 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
420 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
421
422 2003-02-04 David Carlton <carlton@math.stanford.edu>
423
424 * gdb.c++/overload.exp: Test intToChar(1).
425 * gdb.c++/overload.cc (intToChar): New.
426 (main): Call intToChar.
427
428 2003-02-03 David Carlton <carlton@math.stanford.edu>
429
430 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
431 'might_kfail' arg.
432 KFAIL some of the continue_to_bp_overloaded calls, according to
433 PR c++/1025.
434
435 2003-02-01 Michael Chastain <mec@shout.net>
436
437 * gdb.base/advance.c (marker1): New marker function.
438 * gdb.base/advance.exp: When the 'advance' command lands on the
439 return breakpoint, it can legitimately stop on either the
440 current line or the next line. Accommodate both outcomes.
441 * gdb.base/until.exp: Likewise.
442
443 2003-02-02 Andrew Cagney <ac131313@redhat.com>
444
445 2002-11-10 Jason Molenda (jason-cl@molenda.com):
446 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
447 now a list, not a tuple.
448 * gdb.mi/mi-var-display.exp: Ditto.
449 * gdb.mi/gdb792.exp: Ditto.
450
451 2003-02-01 Andrew Cagney <ac131313@redhat.com>
452
453 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
454 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
455 stack backtraces.
456 * gdb.mi/mi-syn-frame.c: Part of same.
457
458 2003-02-01 Mark Kettenis <kettenis@gnu.org>
459
460 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
461 gdb.mi/mi1-pthreads.exp: Return instead of calling
462 gdb_suppress_entire_file.
463
464 2003-02-01 Mark Salter <msalter@redhat.com>
465
466 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
467
468 2003-01-31 Mark Salter <msalter@redhat.com>
469
470 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
471 Support empty arg.
472
473 2003-01-30 Michael Chastain <mec@shout.net>
474
475 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
476 This was a workaround for a UTF-8 bug in readline 4.3. The bug
477 has been fixed in gdb/readline on 2003-01-09.
478
479 2003-01-29 Michael Snyder <msnyder@redhat.com>
480
481 * gdb.base/maint.exp: Allow for leading underscore in symbol.
482 * gdb.base/display.exp: Allow for leading underscore in symbol.
483 * gdb.base/args.exp: Skip if target does not support args passing.
484
485 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
486
487 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
488 gdb_test. Accept a list of expect arguments as the third
489 parameter.
490 (gdb_test): Use it.
491
492 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
493
494 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
495 allow for different test tree configurations. Update some
496 tescases accordingly.
497 * gdb.arch/altivec-regs.exp: Ditto.
498 * gdb.asm/asm-source.exp: Ditto.
499 * gdb.base/advance.exp: Ditto.
500 * gdb.base/display.exp: Ditto.
501 * gdb.base/long_long.exp: Ditto.
502 * gdb.base/mips_pro.exp: Ditto.
503 * gdb.base/overlays.exp: Ditto.
504 * gdb.base/relocate.exp: Ditto.
505 * gdb.base/setshow.exp: Ditto.
506 * gdb.base/step-line.exp: Ditto.
507 * gdb.base/step-test.exp: Ditto.
508 * gdb.base/until.exp: Ditto.
509 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
510
511 2003-01-17 David Carlton <carlton@math.stanford.edu>
512
513 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
514 corresponding to PR c++/945.
515 Update copyright.
516
517 2003-01-17 David Carlton <carlton@math.stanford.edu>
518
519 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
520 corresponding to PR c++/68.
521
522 2003-01-17 David Carlton <carlton@math.stanford.edu>
523
524 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
525 (test_paddr_hairy_functions): Call print_addr_2_kfail for
526 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
527
528 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
529
530 * gdb.base/break.exp: Fix change of default location, because of
531 removal of until tests.
532 * gdb.base/help.exp: Update test for new 'until' help message.
533 Add test for help on 'advance'.
534 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
535
536 2003-01-15 Mark Kettenis <kettenis@gnu.org>
537
538 * gdb.base/default.exp: Adapt "info float" test for recent changes
539 to that command. Add test for "info vector".
540 * gdb.base/float.exp: New file. Add test for "info float" that
541 resembles the old test in gdb.base/default.exp.
542
543 2003-01-15 David Carlton <carlton@math.stanford.edu>
544
545 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
546
547 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
548
549 * gdb.base/break.exp: Move the tests of until command from here...
550 * gdb.base/until.exp: ... to here. New file. Add other tests.
551 * gdb.base/advance.c: New file.
552 * gdb.base/advance.exp: New file.
553
554 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
555
556 * gdb.base/args.c: New file.
557 * gdb.base/args.exp: New file.
558
559 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
560
561 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
562
563 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
564
565 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
566
567 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
568
569 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
570 dates.
571
572 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
573
574 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
575
576 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
577
578 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
579 (ptype &*"foo").
580 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
581
582 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
583
584 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
585 * gdb.mi/mi1-console.exp: Likewise.
586
587 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
588
589 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
590 * gdb.mi/mi1-console.exp: Likewise.
591
592 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
593
594 * gdb.c++/overload.exp: Remove some fixed XFAILs.
595
596 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
597
598 * gdb.base/detach.exp: New test.
599
600 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
601
602 * Makefile.in (ALL_SUBDIRS): New variable.
603 (subdirs, clean, distclean): Use it.
604 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
605 regenerating Makefile, since it is generated from the top level.
606 * gdb.asm/Makefile.in: Likewise.
607 * gdb.base/Makefile.in: Likewise.
608 * gdb.c++/Makefile.in: Likewise.
609 * gdb.disasm/Makefile.in: Likewise.
610 * gdb.java/Makefile.in: Likewise.
611 * gdb.mi/Makefile.in: Likewise.
612 * gdb.threads/Makefile.in: Likewise.
613 * gdb.trace/Makefile.in: Likewise.
614
615 2003-01-09 David Carlton <carlton@math.stanford.edu>
616
617 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
618 Add copyright year 2003.
619
620 2003-01-06 Michael Chastain <mec@shout.net>
621
622 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
623 When selecting a thread, 'line' and 'file' are optional.
624 * gdb.mi/mi1-pthreads.exp: Likewise.
625
626 2003-01-06 Andreas Schwab <schwab@suse.de>
627
628 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
629 failures.
630
631 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
632
633 Fix PR gdb/844
634 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
635 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
636
637 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
638 instead of calling gdb_suppress_entire_file.
639 * gdb.threads/print-threads.exp: Likewise.
640 * gdb.threads/schedlock.exp: Likewise.
641
642 * gdb.threads/killed.exp: Return instead of calling
643 gdb_suppress_entire_file.
644 * gdb.threads/linux-dp.exp: Likewise.
645 * gdb.threads/pthreads.exp: Likewise.
646
647 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
648
649 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
650 stabs.
651 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
652 * gdb.base/whatis.exp: Always allow (void) after function names.
653
654 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
655
656 * gdb.c++/casts.exp: Correct regexp.
657
658 2003-01-04 Mark Kettenis <kettenis@gnu.org>
659
660 * configure.in: Call AC_CONFIG_HEADER. Don't call
661 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
662 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
663 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
664 aforementioned directories in the AC_OUPUT call.
665 * config.hin: New file.
666 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
667 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
668 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
669 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
670 pass -I$objdir instead of -I$objdir/$subdir in compilation.
671 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
672 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
673 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
674 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
675 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
676 gdb.threads/configure.in, gdb.threads/configure,
677 gdb.threads/config.in, gdb.trace/configure.in,
678 gdb.trace/configure: Removed.
679
680 2003-01-03 Michael Chastain <mec@shout.net>
681
682 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
683 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
684
685 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
686
687 * gdb.base/store.exp: Fix regular expressions.
688
689 2002-12-28 Mark Kettenis <kettenis@gnu.org>
690
691 * configure.in: Rewrite.
692 * configure: Regenerated.
693
694 2003-01-03 David Carlton <carlton@math.stanford.edu>
695
696 * gdb.base/psymtab.exp: New file.
697 * gdb.base/psymtab1.c: Ditto.
698 * gdb.base/psymtab2.c: Ditto.
699
700 2002-12-23 Adam Fedor <fedor@gnu.org>
701
702 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
703
704 2002-12-23 David Carlton <carlton@math.stanford.edu>
705
706 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
707 and current_directory initialization.
708
709 2002-12-22 Jim Blandy <jimb@redhat.com>
710
711 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
712 rather than as part of the output file name.
713
714 * gdb.base/attach.exp: There's no need to copy the test program to
715 /tmp; that was only ever necessary on HP/UX, and this test is
716 entirely disabled there anyway.
717
718 2002-12-21 Jim Blandy <jimb@redhat.com>
719
720 * gdb.c++/psmang.exp: Doc fix.
721
722 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
723 test.
724
725 2002-12-20 David Carlton <carlton@math.stanford.edu>
726
727 * gdb.c++/annota2.exp: KFAIL annotate-quit.
728
729 2002-12-18 Michael Chastain <mec@shout.net>
730
731 * gdb.c++/annota2.exp: Add copyright year 2002.
732
733 2002-12-17 David Carlton <carlton@math.stanford.edu>
734
735 * gdb.c++/try_catch.cc: Add marker comments.
736 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
737 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
738 * gdb.c++/m-static.cc: Ditto.
739 * gdb.c++/m-static1.cc: Ditto.
740 * gdb.c++/try_catch.cc: Ditto.
741
742 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
743
744 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
745 to see whether we are using the new -environment-directory
746 command which resets via -r or the old version of the command
747 which may prompt the user. Part of fix for gdb/741.
748
749 2002-12-13 Andrew Cagney <ac131313@redhat.com>
750
751 * gdb.fortran/types.exp: Update obsolete comment.
752 * gdb.fortran/exprs.exp: Ditto.
753 * lib/gdb.exp: Delete obsolete code.
754 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
755 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
756 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
757 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
758 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
759 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
760 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
761 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
762 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
763 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
764 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
765 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
766 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
767 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
768 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
769 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
770 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
771 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
772 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
773 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
774 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
775 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
776 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
777 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
778 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
779 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
780 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
781 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
782 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
783 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
784 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
785 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
786 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
787 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
788 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
789 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
790 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
791
792 2002-12-11 David Carlton <carlton@math.stanford.edu>
793
794 * gdb.c++/m-data.exp: Add test for members that shadow global
795 variables: see PR gdb/804.
796 * gdb.c++/m-data.cc: Ditto.
797
798 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
799
800 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
801
802 2002-12-06 David Carlton <carlton@math.stanford.edu>
803
804 * gdb.base/store.c: Don't declare functions static.
805
806 2002-12-04 Andrew Cagney <ac131313@redhat.com>
807
808 * gdb.base/store.exp, gdb.base/store.c: New files.
809
810 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
811
812 * gdb.base/selftest.exp: Update for current gdb.
813
814 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
815
816 * gdb.base/maint.exp: Only dump symbols from one source file
817 or objfile.
818
819 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
820
821 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
822 function call.
823
824 2002-11-25 Jim Blandy <jimb@redhat.com>
825
826 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
827 function appearing in error message.
828
829 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
830
831 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
832
833 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
834
835 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
836 for mi1 and current mi is in correct format. New mi startup message
837 should be in mi console format. This is part of fix for PR gdb/604.
838
839 2002-09-18 Fernando Nasser <fnasser@redhat.com>
840
841 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
842 which explicitly prints the zero offset as "+0".
843
844 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
845
846 * gdb.threads/schedlock.c (args): Make unsigned.
847
848 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
849
850 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
851 numbers. Allow "foo2|selected stack frame".
852 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
853 * gdb.asm/asmsrc2.s: Likewise.
854 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
855 comments.
856 * gdb.asm/mips.inc: New file.
857
858 2002-10-18 Adam Fedor <fedor@gnu.org>
859
860 * gdb.base/default.exp: Update expected output to include 'ObjC'.
861 * gdb.base/help.exp: Likewise.
862
863 2002-10-17 Kevin Buettner <kevinb@redhat.com>
864
865 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
866 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
867
868 2002-10-02 Jim Blandy <jimb@redhat.com>
869
870 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
871
872 2002-10-01 Andrew Cagney <ac131313@redhat.com>
873
874 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
875 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
876 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
877 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
878 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
879 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
880 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
881
882 2002-09-29 Andrew Cagney <ac131313@redhat.com>
883
884 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
885 * mi0-disassemble.exp, mi0-eval.exp: Delete.
886 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
887 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
888 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
889 * mi0-var-block.exp, mi0-var-child.exp: Delete.
890 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
891
892 2002-09-27 Kevin Buettner <kevinb@redhat.com>
893
894 * gdb.base/annota1.exp (info break): Make directory components of
895 path optional since not all compilers emit this debug information.
896
897 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
898 step ends up stepping out of the function instead of stopping on
899 the epilogue.
900
901 2002-09-26 Keith Seitz <keiths@redhat.com>
902
903 * lib/insight-support.exp (gdbtk_start): Figure out where
904 the insight executable is based on where gdb is. Use this
905 executable to start insight instead of gdb.
906
907 2002-09-25 Andrew Cagney <cagney@redhat.com>
908
909 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
910
911 2002-09-24 Andrew Cagney <ac131313@redhat.com>
912
913 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
914 test_isolated_complaints.
915 (test_empty_complaint): New function.
916 (test_empty_complaints): New function. Check no output when no
917 complaints.
918
919 2002-09-19 Jim Blandy <jimb@redhat.com>
920
921 * gdb.base/charset.exp, gdb.base/charset.c: New files.
922
923 2002-09-19 Andrew Cagney <ac131313@redhat.com>
924
925 * gdb.gdb/complaints.exp: New file.
926
927 2002-09-18 Andrew Cagney <ac131313@redhat.com>
928
929 * gdb.base/maint.exp: Check `help maint internal-warning'.
930
931 2002-09-18 David Carlton <carlton@math.stanford.edu>
932
933 * gdb.c++/m-static.exp: Remove breakpoints depending on line
934 numbers, and replace them by a single breakpoint after the
935 constructors are all finished.
936 Add test 4.
937 * gdb.c++/m-static.cc: Add test 4.
938 * gdb.c++/m-static.h: New file.
939 * gdb.c++/m-static1.cc: New file.
940
941 * gdb.c++/printmethod.exp: New file.
942 * gdb.c++/printmethod.cc: New file.
943
944 * gdb.c++/pr-574.exp: New file.
945 * gdb.c++/pr-574.cc: New file.
946
947 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
948
949 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
950 embedded targets which never actually exit.
951
952 2002-09-18 Fernando Nasser <fnasser@redhat.com>
953
954 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
955 "don't step after run" as unresolved or unsupported, instead of xfail.
956
957 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
958
959 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
960 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
961 Add newline to expected string in "step out of main (status wrapper)"
962 case.
963
964 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
965
966 * lib/gdb.exp (rerun_to_main): Allow restarting application.
967 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
968
969 2002-09-17 Tom Tromey <tromey@redhat.com>
970
971 * gdb.base/printcmds.exp (test_print_string_constants): Expect
972 \000, not \0, in double-quoted string.
973
974 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
975
976 * gdb.base/command.exp: Don't expect a "Program exited normally"
977 string after running the commands execution on breakpoint tests.
978
979 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
980
981 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
982
983 2002-09-12 Joel Brobecker <brobecker@gnat.com>
984
985 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
986
987 2002-09-10 Keith Seitz <keiths@redhat.com>
988
989 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
990 runto proc.
991 (mi_run_to_main): Use mi_runto.
992 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
993
994 2002-09-10 Keith Seitz <keiths@redhat.com>
995
996 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
997 regexp for stopping at main. Could have multiple event notifications.
998 Don't assume that main was declared with no parameters.
999 (mi_next): Use mi_step_to.
1000 (mi_step): Use mi_next_to.
1001
1002 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
1003
1004 * gdb.base/default.exp: Fix expected string in `info float' test.
1005
1006 2002-09-09 Ben Elliston <bje@redhat.com>
1007
1008 * config/mips.exp: Update comments.
1009 * config/mips-idt.exp: Likewise.
1010 * config/nind.exp: Likewise.
1011 * config/slite.exp: Likewise.
1012 * config/sparclet.exp: Likewise.
1013 * config/udi.exp: Likewise.
1014 * config/vx.exp: Likewise.
1015 * config/vxworks29k.exp: Likewise.
1016
1017 2002-09-05 Jim Blandy <jimb@redhat.com>
1018
1019 * gdb.threads/killed.exp: Fix test failure message.
1020
1021 2002-09-04 Keith Seitz <keiths@redhat.com>
1022
1023 * lib/mi-support.exp: Update copyright.
1024 (mi_gdb_test): Increase the priority of the expected pattern
1025 so that it matches gdb_test.
1026
1027 2002-09-03 Keith Seitz <keiths@redhat.com>
1028
1029 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1030 Use integer comparison instead of string comparison for testing
1031 whether binary was built.
1032
1033 2002-09-03 Jim Blandy <jimb@redhat.com>
1034
1035 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1036
1037 2002-08-29 Jim Blandy <jimb@redhat.com>
1038
1039 * gdb.threads/pthreads.exp: Move the portable thread compilation
1040 code into a function in lib/gdb.exp, and call that from here.
1041 * lib/gdb.exp (gdb_compile_pthreads): New function.
1042
1043 2002-08-29 Keith Seitz <keiths@redhat.com>
1044
1045 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1046 expect_out so that callers can get at it.
1047
1048 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
1049
1050 * gdb.threads/print-threads.c: New file.
1051 * gdb.threads/print-threads.exp: New file.
1052 * gdb.threads/schedlock.c: New file.
1053 * gdb.threads/schedlock.exp: New file.
1054
1055 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
1056
1057 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1058 not altivec.c.
1059
1060 2002-08-17 Mark Kettenis <kettenis@gnu.org>
1061
1062 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1063 targets. The problem should be fixed now.
1064
1065 2002-08-15 Mark Kettenis <kettenis@gnu.org>
1066
1067 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1068 2002-07-24 change that removes final dots from error messages.
1069
1070 2002-08-13 Tom Tromey <tromey@redhat.com>
1071
1072 * gdb.base/readline.exp: New file.
1073
1074 2002-08-01 Andrew Cagney <ac131313@redhat.com>
1075
1076 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1077 supress message.
1078
1079 2002-08-01 Andrew Cagney <cagney@redhat.com>
1080
1081 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1082 CHILL_FOR_TARGET and CHILL_LIB.
1083 * configure.in (configdirs): Remove gdb.chill.
1084 * configure: Regenerate.
1085 * lib/gdb.exp: Obsolete references to chill.
1086 * gdb.fortran/types.exp: Ditto.
1087 * gdb.fortran/exprs.exp: Ditto.
1088
1089 2002-07-30 Kevin Buettner <kevinb@redhat.com>
1090
1091 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1092 set Irix-specific compile and link flags.
1093
1094 2002-07-29 Kevin Buettner <kevinb@redhat.com>
1095
1096 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1097 source files. The ``-o'' option doesn't work with the ``-E'' option
1098 when using the Irix compiler.
1099
1100 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
1101
1102 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1103 Improve support for reusing an exec file. Copy exec file
1104 to target, and run gdbserver on the target instead of on the host.
1105
1106 2002-07-18 Jim Blandy <jimb@redhat.com>
1107
1108 * gdb.base/ending-run.exp: Don't expect to see the program end in
1109 some orderly fashion when we're running on a real stand-alone
1110 board.
1111
1112 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1113 targets that don't support interrupts.
1114
1115 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1116
1117 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1118 systems.
1119 Move comments in expect statements to inside the actions, so that they
1120 don't get matched against.
1121
1122 2002-07-10 Mark Kettenis <kettenis@gnu.org>
1123
1124 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1125 function when asleep" test.
1126
1127 2002-07-10 Andrew Cagney <ac131313@redhat.com>
1128
1129 * gdb.base/page.exp: Rewrite to handle problems with very long
1130 `info set' output. Update copyright.
1131
1132 2002-06-26 Andrew Cagney <ac131313@redhat.com>
1133
1134 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1135 gdb.threads-hp.
1136 * gdb.hp/configure: Regenerate.
1137 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1138 * gdb.hp/gdb.threads-hp/configure: Delete file.
1139 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1140
1141 2002-06-22 Andrew Cagney <ac131313@redhat.com>
1142
1143 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1144 setlocale, bindtextdomain and textdomain.
1145
1146 2002-06-11 Jim Blandy <jimb@redhat.com>
1147
1148 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1149 preprocessor macro information is present.
1150
1151 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1152 tests.
1153
1154 2002-06-06 Michael Snyder <msnyder@redhat.com>
1155
1156 * gdb.base/overlays.exp: Record addresses of overlay
1157 functions in TCL variables rather than in GDB variables,
1158 to avoid having GDB convert them to pointers (with loss
1159 of information).
1160
1161 * gdb.base/d10v.ld: Merge in several years worth of
1162 default linker script changes.
1163 * gdb.base/long_long.exp: Add check for sizeof (long double).
1164
1165 2002-06-06 Michal Ludvig <mludvig@suse.cz>
1166
1167 * gdb.asm/asm-source.exp: Add x86-64 target.
1168 * gdb.asm/x86_64.inc: New.
1169
1170 2002-05-30 Michael Chastain <mec@shout.net>
1171
1172 From Benjamin Kosnik <bkoz@redhat.com>:
1173 * gdb.c++/m-static.cc: New file.
1174 * gdb.c++/m-static.exp: New file.
1175
1176 2002-05-28 Michael Snyder <msnyder@redhat.com>
1177
1178 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1179 precision.
1180
1181 2002-05-27 Michael Chastain <mec@shout.net>
1182
1183 From Benjamin Kosnik <bkoz@redhat.com>:
1184 * gdb.c++/m-data.cc: New file.
1185 * gdb.c++/m-data.exp: New file.
1186
1187 2002-05-27 Michael Chastain <mec@shout.net>
1188
1189 From Benjamin Kosnik <bkoz@redhat.com>:
1190 * gdb.c++/try_catch.cc: New file.
1191 * gdb.c++/try_catch.exp: New file.
1192
1193 2002-05-27 Michael Chastain <mec@shout.net>
1194
1195 * gdb.c++/local.exp: Accept more nested types in output.
1196
1197 2002-05-26 Michael Chastain <mec@shout.net>
1198
1199 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1200
1201 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1202
1203 * lib/gdb.exp (gdb_wrapper_init): Just because
1204 gdb_wrapper_file exists, this does not mean that the file
1205 should not be rebuilt. That is what gdb_wrapper_initialized
1206 is for.
1207 (default_gdb_init): Reset gdb_wrapper_initialized.
1208
1209 2002-05-23 Michael Snyder <msnyder@redhat.com>
1210
1211 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1212 the precision of the floating point test results.
1213 * gdb.base/call-rt-st.exp: Ditto.
1214
1215 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1216 * gdb.base/call-rt-st.exp: Ditto.
1217
1218 2002-05-19 Michael Chastain <mec@shout.net>
1219
1220 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1221
1222 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
1223
1224 * configure.in (configdirs): Add gdb.arch.
1225 * configure: Regenerate.
1226
1227 2002-05-17 Jim Blandy <jimb@redhat.com>
1228
1229 * gdb.base/completion.exp: Recognize the more detailed error
1230 messages produced by the macro expander's lexical analyzer.
1231
1232 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1233
1234 * gdb.arch/altivec-abi.c: New file.
1235 * gdb.arch/altivec-abi.exp: New file.
1236 * gdb.arch/altivec-regs.c: New file.
1237 * gdb.arch/altivec-regs.exp: New file.
1238
1239 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
1240
1241 * gdb.base/maint.exp (maint print type): Update for new type
1242 structure.
1243
1244 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1245
1246 * gdb.arch: New directory.
1247 * gdb.arch/configure.in: New file.
1248 * gdb.arch/configure: New file.
1249 * gdb.arch/Makefile.in: New file.
1250
1251 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
1252
1253 * gdb.asm/asm-source.exp: Add v850 as supported target.
1254 * gdb.asm/v850.inc: New file.
1255
1256 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
1257
1258 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1259
1260 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
1261
1262 * gdb.base/break.exp: Check 'break "marker2"'.
1263
1264 2002-05-10 Michael Snyder <msnyder@redhat.com>
1265
1266 * gdb.base/long_long.exp: Fix typo.
1267
1268 2002-05-10 Jim Blandy <jimb@redhat.com>
1269
1270 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1271 a bug.
1272
1273 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1274 Recognize more detailed error message produced by the macro
1275 expander's lexical analyzer.
1276 * lib/gdb.exp (test_print_reject): Same.
1277
1278 2002-05-09 Mark Kettenis <kettenis@gnu.org>
1279
1280 * gdb.c++/method.exp: Fix typo.
1281
1282 2002-05-08 Michael Snyder <msnyder@redhat.com>
1283
1284 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1285 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
1286 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
1287 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1288 Add iftarget clause for strongarm.
1289
1290 2002-05-06 Michael Snyder <msnyder@redhat.com>
1291
1292 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1293 (gdb_continue_to_end): Accept output from status wrapper.
1294 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1295 Clean up fail messages to match pass messages.
1296
1297 Enable the "needs_status_wrapper" testsuite feature.
1298 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1299 (gdb_compile): Conditionally call gdb_wrapper_init.
1300 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1301 * gdb.c++/method.exp: Recognize output from status wrapper.
1302
1303 2002-05-06 Ben Elliston <bje@redhat.com>
1304 From Graydon Hoare <graydon@redhat.com>
1305
1306 * config/sid.exp: Include support for "rawsid" protocol.
1307
1308 2002-05-03 Jim Blandy <jimb@redhat.com>
1309
1310 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1311 * gdb.c++/hang3.C: New file.
1312
1313 2002-05-04 Andrew Cagney <ac131313@redhat.com>
1314
1315 * gdb.base/default.exp: Remove obsolete code.
1316 * gdb.c++/misc.exp: Ditto. Update copyright.
1317 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1318 * gdb.base/whatis.exp: Ditto. Update copyright.
1319 * gdb.base/scope.exp: Ditto. Update copyright.
1320 * gdb.base/ptype.exp: Ditto. Update copyright.
1321 * gdb.base/printcmds.exp: Ditto. Update copyright.
1322 * gdb.base/opaque.exp: Ditto. Update copyright.
1323 * gdb.base/list.exp: Ditto.
1324 * gdb.base/funcargs.exp: Ditto. Update copyright.
1325 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1326 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1327 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1328 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1329 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1330 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1331
1332 2002-05-02 Michael Snyder <msnyder@redhat.com>
1333
1334 * gdb.base/watchpoint.exp: Add xscale target.
1335 * gdb.base/long_long.exp: Add xscale target.
1336 * gdb.base/default.exp: Add xscale target.
1337
1338 2002-05-01 Jim Blandy <jimb@redhat.com>
1339
1340 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1341 gdb.c++/hang.exp: New test.
1342
1343 2002-05-01 Fred Fish <fnf@redhat.com>
1344
1345 * gdb.base/completion.exp: Handle completions of "./Make" for
1346 more than one completion possibility, as is the case when we
1347 build and test in the source tree.
1348
1349 2002-04-29 Anthony Green <green@redhat.com>
1350
1351 * gdb.java/jmisc1.exp: New file.
1352 * gdb.java/jmisc2.exp: New file.
1353
1354 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
1355
1356 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1357
1358 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
1359
1360 * gdb.base/help.exp: Change 'help status' to allow for target
1361 dependent output differences.
1362
1363 2002-04-22 Michael Chastain <mec@shout.net>
1364
1365 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1366
1367 2002-04-22 Michael Chastain <mec@shout.net>
1368
1369 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1370
1371 2002-04-17 David S. Miller <davem@redhat.com>
1372
1373 * gdb.asm/sparc64.inc: New file.
1374 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1375
1376 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
1377
1378 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1379 instruction file directly into the build tree. Clean up at end of
1380 test.
1381
1382 2002-04-18 David S. Miller <davem@redhat.com>
1383
1384 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1385 handle 64-bit platforms correctly.
1386 * gdb.base/maint.exp: Likewise.
1387
1388 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1389
1390 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1391 ``-fpic'' when compiling files comprising a shared library, but
1392 it does need additional linker flags in order to find shared
1393 libraries at run time.
1394
1395 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1396
1397 * gdb.base/cvexpr.c (use): New function.
1398 (main): Invoke use() on all global variables to prevent
1399 some linkers from deleting these otherwise unused symbols.
1400
1401 2002-04-17 Michael Chastain <mec@shout.net>
1402 From David S. Miller <davem@redhat.com>
1403
1404 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1405 handle 64-bit platforms correctly.
1406
1407 2002-04-12 Michael Snyder <msnyder@redhat.com>
1408 From Jim Blandy <jimb@redhat.com>
1409 * gdb.base/foo.c (foox): Remove section attribute; the linker
1410 script can handle this instead.
1411 * gdb.base/bar.c (barx): Same.
1412 * gdb.base/baz.c (bazx): Same.
1413 * gdb.base/grbx.c (grbxx): Same.
1414
1415 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1416 manager doesn't automatically unmap overlays unnecessarily.
1417
1418 2002-04-10 Martin M. Hunt <hunt@redhat.com>
1419
1420 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1421 stepping out of main.
1422
1423 2002-04-09 Michael Chastain <mec@shout.net>
1424
1425 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1426 scope so that the nested scope tests will make sense.
1427 * gdb.c++/local.exp: Write patterns that actually work with gcc
1428 (the HP patterns "were never known to work with gcc").
1429 Keep the old aCC patterns too.
1430
1431 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1432
1433 * gdb.base/attach.exp: Correct target board test.
1434
1435 2002-04-08 Michael Chastain <mec@shout.net>
1436
1437 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1438 in a const method. Add some xfail and fail cases for configurations
1439 that do not emit the "const ...".
1440
1441 2002-04-07 Michael Chastain <mec@shout.net>
1442
1443 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1444 Accept "A * const" and "const A * const" as type of "this".
1445 Fix spelling of getFunky throughout. Make messages uniform.
1446
1447 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1448
1449 Work around for PR gdb/285:
1450 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1451
1452 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1453
1454 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1455 instructions file at run time instead of configure time.
1456 Sometimes we run the test in a directory that is not the one we
1457 configured in.
1458 * gdb.asm/configure.in: Delete creation of symlink.
1459 * gdb.asm/configure: Regenerate.
1460
1461 2002-04-05 J. Brobecker <brobecker@gnat.com>
1462
1463 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1464 xfullpath () function.
1465
1466 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1467
1468 * gdb.asm/Makefile.in: Correct dependencies.
1469
1470 * gdb.asm/powerpc.inc: New file.
1471 * gdb.asm/asm-source.exp: Add PowerPC.
1472 * gdb.asm/configure.in: Likewise.
1473 * gdb.asm/configure: Regenerated.
1474
1475 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1476
1477 * gdb.base/relocate.exp: New file.
1478 * gdb.base/relocate.c: New file.
1479
1480 2002-04-04 Fred Fish <fnf@redhat.com>
1481
1482 * gdb.base/step-test.exp: Update comment regarding stopping in
1483 memcpy/bcopy calls inserted as part of the compiler runtime.
1484
1485 2002-04-04 Michael Snyder <msnyder@redhat.com>
1486
1487 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1488
1489 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
1490
1491 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1492 (gdb_expect): Remove $notransfer hack.
1493
1494 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
1495
1496 * gdb.c++/classes.exp ("calling method for small class"): Match
1497 updated register output.
1498
1499 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1500
1501 Fix PR gdb/452
1502 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1503 when finished. Make gdb_file_cmd send "exec-file" when
1504 appropriate.
1505
1506 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1507
1508 * gdb.base/attach.exp: Remove extra setup_xfail.
1509
1510 2002-03-26 Michael Snyder <msnyder@redhat.com>
1511
1512 * gdb.base/default.exp: Add tests for dump, append, and restore.
1513 * gdb.base/help.exp: Add tests for dump, append, and restore.
1514 * gdb.base/dump.exp: New file, test dump, append and restore.
1515 * gdb.base/dump.c: New file.
1516
1517 2002-03-27 Michael Snyder <msnyder@redhat.com>
1518
1519 * gdb.base/help.exp: Modify expect strings to reflect
1520 clean-ups in help messages.
1521
1522 2002-03-26 Fred Fish <fnf@redhat.com>
1523
1524 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1525 have debugging info for those functions and the compiler uses them
1526 internally to copy structs around.
1527
1528 2002-03-26 Fred Fish <fnf@redhat.com>
1529
1530 * gdb.base/list.exp: Revert the change made yesterday and add note
1531 about why we don't list the default lines for remote targets.
1532
1533 2002-03-25 Michael Snyder <msnyder@redhat.com>
1534
1535 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1536
1537 2002-03-25 Fred Fish <fnf@redhat.com>
1538
1539 * gdb.base/list.exp: This test works on remote targets so remove
1540 the short circuit for remote targets. Update copyright.
1541
1542 2002-03-25 Fred Fish <fnf@redhat.com>
1543
1544 * gdb.base/attach.exp: Fix logic error that was suppressing this
1545 test for all non hppa*-*-hpux* targets, instead of the hp target.
1546 Move comments closer to the suppression point. Also now need to
1547 check that we are running natively.
1548
1549 2002-03-22 Michael Snyder <msnyder@redhat.com>
1550
1551 * gdb.base/default.exp: Add test for gcore. Update copyright.
1552 * gdb.base/help.exp: Add test for gcore. Update copyright.
1553
1554 2002-03-06 Fred Fish <fnf@redhat.com>
1555
1556 * gdb.base/funcargs.c: Remove extraneous ';' character.
1557 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1558
1559 2002-03-04 Michael Chastain <mec@shout.net>
1560
1561 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1562 accommodate gcc v3 function signature.
1563 * gdb.mi/mi0-var-cmd-exp: Ditto.
1564
1565 2002-02-24 Andrew Cagney <ac131313@redhat.com>
1566
1567 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1568 ``GNU/Linux'' or ``Linux kernel''
1569 * testsuite/gdb.threads/pthreads.c: Ditto.
1570
1571 2002-02-24 Michael Chastain <mec@shout.net>
1572
1573 * gdb.threads/pthreads.c (thread1): Add a return statement.
1574 (thread2): Likewise.
1575 (foo): Likewise.
1576
1577 2002-02-23 Michael Chastain <mec@shout.net>
1578
1579 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1580 to placate gcc.
1581
1582 2002-02-23 Michael Chastain <mec@shout.net>
1583
1584 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1585 test "ptype bint". The test passes on all my stabs configurations.
1586
1587 2002-02-21 Jim Blandy <jimb@redhat.com>
1588
1589 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1590 filename at a time, and watch for the ones we want to see.
1591
1592 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1593 types of pointers to prototyped functions.
1594
1595 2002-02-20 Andrew Cagney <ac131313@redhat.com>
1596
1597 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1598 signed, unsigned and straight char.
1599 (padding_char, padding_short, padding_int, padding_long,
1600 padding_long_long, padding_float, padding_double,
1601 padding_long_double): New global variables.
1602 (fill, fill_structs): New functions.
1603
1604 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1605 for correctly sized writes. Update copyright.
1606 (get_valueof): New procedure.
1607 (get_sizeof): Call get_valueof.
1608 (check_valueof): New procedure.
1609 (check_padding): New procedure.
1610
1611 2002-02-20 Michael Chastain <mec@shout.net>
1612
1613 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1614 to setup_xfail. Document some of the remaining calls.
1615
1616 2002-02-18 Michael Chastain <mec@shout.net>
1617
1618 * gdb.c++/userdef.exp: Update copyright year.
1619
1620 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
1621
1622 * gdb.c++/userdef.exp: Test overloaded operators properly.
1623 Remove xfails.
1624
1625 2002-02-14 Michael Snyder <msnyder@redhat.com>
1626
1627 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1628
1629 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1630
1631 * gdb.base/a2-run.exp: Check for a remote target properly.
1632 * gdb.base/annota1.exp: Likewise.
1633 * gdb.base/list.exp: Likewise.
1634 * gdb.base/reread.exp: Likewise.
1635 * gdb.base/scope.exp: Likewise.
1636 * gdb.base/shlib-call.exp: Likewise.
1637 * gdb.base/term.exp: Likewise.
1638 * gdb.c++/annota2.exp: Likewise.
1639
1640 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
1641
1642 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1643
1644 2002-02-10 Michael Chastain <mec@shout.net>
1645
1646 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1647 (call_after_alloca): Ditto.
1648
1649 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1650
1651 * gdb.base/ending-run.exp: Guard "cont" test with
1652 gdb_skip_stdio_test.
1653
1654 2002-02-06 Jim Blandy <jimb@redhat.com>
1655
1656 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1657 from here...
1658 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1659 To here. Disable this test on non-HP platforms. Add big comment.
1660
1661 2002-02-04 Michael Snyder <msnyder@redhat.com>
1662
1663 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1664 other than d10v and m32r.
1665
1666 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
1667
1668 * gdb.base/default.exp: Rewrite test patterns to reduce time
1669 taken to match them.
1670
1671 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1672
1673 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1674 Allow a start function above main.
1675 * gdb.threads/linux-dp.exp: Fix copyright date.
1676
1677 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1678
1679 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1680 (check_philosopher_stack): Check for manager thread before checking
1681 for a just-starting thread.
1682
1683 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1684
1685 From Neil Booth <neil@daikokuya.demon.co.uk>:
1686 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1687 warnings.
1688
1689 2002-01-21 Fred Fish <fnf@redhat.com>
1690
1691 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1692 not caller.
1693
1694 2002-01-21 Jim Blandy <jimb@redhat.com>
1695
1696 * gdb.base/reread.exp: Check that GDB properly re-reads the
1697 executable file when it changes while no inferior is running.
1698
1699 2002-01-21 Fred Fish <fnf@redhat.com>
1700
1701 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1702 optionally accept the "shlib events" variation.
1703
1704 2002-01-21 Jim Blandy <jimb@redhat.com>
1705
1706 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1707 call `fflush' after every `printf', so that the output is produced
1708 at predictable points, regardless of whatever buffering does (or
1709 doesn't) take place.
1710 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1711 at different points.
1712
1713 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1714
1715 * gdb.c++/inherit.exp: Update copyright years.
1716 * gdb.c++/method.exp: Likewise.
1717
1718 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1719
1720 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1721 artificial methods/arguments.
1722 * gdb.c++/derivation.exp: Likewise.
1723 * gdb.c++/inherit.exp: Likewise.
1724 * gdb.c++/method.exp: Likewise.
1725 * gdb.c++/virtfunc.exp: Likewise.
1726
1727 2002-01-18 Andrew Cagney <ac131313@redhat.com>
1728
1729 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1730 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1731 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1732 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1733 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1734 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1735
1736 2002-01-17 Jim Blandy <jimb@redhat.com>
1737
1738 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1739 anchoring the pattern matching the entry point symbol's name.
1740
1741 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1742
1743 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1744 continue/quit query. Update copyright.
1745
1746 2002-01-14 Michael Snyder <msnyder@redhat.com>
1747
1748 * gdb.base/gcore.exp: Remove extra debugging output.
1749
1750 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1751
1752 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1753 for slightly dubious v2 mangled string.
1754
1755 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1756
1757 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1758
1759 2002-01-10 Jason Merrill <jason@redhat.com>
1760
1761 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
1762
1763 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1764 constructors.
1765 * gdb.c++/derivation.exp: Likewise.
1766 * gdb.c++/templates.exp: Likewise.
1767 * gdb.c++/virtfunc.exp: Likewise.
1768
1769 2002-01-10 Michael Snyder <msnyder@redhat.com>
1770
1771 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
1772
1773 2002-01-08 Michael Snyder <msnyder@redhat.com>
1774
1775 * gdb.base/gcore.exp: New test for generate-core-file command.
1776 * gdb.base/gcore.c: Testcase for above.
1777 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1778
1779 2002-01-08 Jason Merrill <jason@redhat.com>
1780
1781 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1782
1783 2002-01-07 Fred Fish <fnf@redhat.com>
1784
1785 * gdb.c++/overload.exp: Remove unconditional xfails for:
1786 print foo_instance1.overloadargs(1)
1787 print foo_instance1.overloadargs(1, 2)
1788 print foo_instance1.overloadargs(1, 2, 3)
1789 print foo_instance1.overloadargs(1, 2, 3, 4)
1790 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1791 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1792 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1793 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1794 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1795 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1796 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1797 print foo_instance1.overload1arg()
1798 print foo_instance1.overload1arg((char)arg2)
1799 print foo_instance1.overload1arg((signed char)arg3)
1800 print foo_instance1.overload1arg((unsigned char)arg4)
1801 print foo_instance1.overload1arg((int)arg7)
1802 print foo_instance1.overload1arg((unsigned int)arg8)
1803 print foo_instance1.overload1arg((float)arg11)
1804 print foo_instance1.overload1arg((double)arg12)
1805
1806 2002-01-07 Michael Snyder <msnyder@redhat.com>
1807
1808 * gdb.base/huge.exp: New test. Print a very large target data object.
1809 (skip_huge_test): New test variable. Define if you want to skip this
1810 test. The test reads an 8 megabyte data object from the target, so it
1811 might be very time consuming on remote targets with a slow connection.
1812 * gdb.base/huge.c: New file. Test case for above.
1813
1814 2002-01-07 Fred Fish <fnf@redhat.com>
1815
1816 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1817 g_instance.bfoo, and g_instance.cfoo.
1818
1819 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1820
1821 * gdb.base/break.c (multi_line_if_conditional): New function.
1822 (multi_ilne_while_conditional): Likewise.
1823 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1824 IF or WHILE condition puts the breakpoint at the start of
1825 the condition.
1826
1827 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1828 hppa*-*-hpux* expected failure.
1829 * gdb.base/structs.exp (do_function_calls): Similarly.
1830
1831 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1832 watchpoints.
1833
1834 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1835
1836 Fix PR gdb/66.
1837 * gdb.base/structs.exp: Replace skip for a29k with skip for
1838 gdb,cannot_call_functions.
1839 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1840 * gdb.base/callfuncs.exp: Ditto.
1841 * gdb.base/call-rt-st.exp: Ditto.
1842 * gdb.base/call-strs.exp: Ditto.
1843 * gdb.base/callfwmall.exp: Ditto.
1844 * gdb.base/scope.exp: Obsolete xfail a29k.
1845 * gdb.c++/misc.exp: Ditto.
1846 * gdb.c++/cplusfuncs.exp: Ditto.
1847 * gdb.base/ptype.exp: Ditto.
1848 * gdb.base/printcmds.exp: Ditto.
1849 * gdb.base/opaque.exp: Ditto.
1850 * gdb.base/list.exp: Ditto.
1851 * gdb.base/funcargs.exp: Ditto.
1852 * gdb.base/default.exp: Ditto.
1853
1854 2002-01-04 Michael Snyder <msnyder@redhat.com>
1855
1856 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
1857 * gdb.base/maint.exp: Add tests for maint info sections options.
1858
1859 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1860
1861 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1862
1863 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
1864
1865 * gdb.asm/arm.inc: New file.
1866 * gdb.asm/asm-source.exp: Add arm targets.
1867 * gdb.asm/configure.in: Ditto.
1868 * gdb.asm/configure: Recreated from configure.in.
1869
1870 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1871
1872 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1873 with HP's compiler.
1874 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1875 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1876 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1877 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1878
1879 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1880 either HP's compilers or GCC.
1881
1882 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1883 a SIGBUS or SIGSEGV.
1884
1885 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1886
1887 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1888 can be compiled with either HP's compiler or GCC.
1889
1890 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1891 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1892 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1893
1894 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1895 to match current gdb output. Update due to using auto-solib-limit
1896 for limiting instead of overloading auto-solib-add.
1897 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1898 test program.
1899
1900 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
1901 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1902 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1903 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1904 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1905 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1906 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1907 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1908 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1909 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1910 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1911 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1912 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
1913
1914 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1915 a SIGTRAP to the inferior.
1916
1917 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
1918
1919 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1920 Substitute call to target_link by call to gdb_compile.
1921
1922 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1923
1924 * gdb.base/break.exp: Fix HP specific search string when testing
1925 backtracing in a called function.
1926
1927 * gdb.base/constvars.exp: Only set lang to C++ if we're
1928 compiling the test with HP's compilers.
1929 * gdb.base/volatile.exp: Similarly.
1930
1931 2001-12-19 Jim Blandy <jimb@redhat.com>
1932
1933 * gdb.base/printcmds.exp: Expect the null character to be printed
1934 as '\0', and the '\013' to be printed as '\v'.
1935 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1936 * gdb.base/setvar.exp: Same.
1937
1938 2001-12-17 Jim Blandy <jimb@redhat.com>
1939
1940 * gdb.base/completion.exp: Rather than completing very long
1941 filenames, which can make the readline library produce output we
1942 don't recognize, cd to the directory first, and then complete
1943 using nice, short relative paths.
1944
1945 * gdb.base/completion.exp: On some systems, there is, in fact, a
1946 variable named `b' in scope, since GDB treats all static
1947 variables as being in scope. So use `no_var_named_this'
1948 instead of `b'.
1949
1950 * gdb.base/corefile.exp: Recognize the message saying that GDB
1951 can't find the core file's registers as a failure.
1952
1953 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1954
1955 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1956 test expect string more specific.
1957
1958 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
1959
1960 * gdb.asm/asm-source.exp: Add support for xstormy16.
1961 * gdb.asm/configure.in: Ditto.
1962 * gdb.asm/configure: Rebuild.
1963 * gdb.asm/xstormy16.inc: New file.
1964
1965 2001-12-10 Fred Fish <fnf@redhat.com>
1966
1967 * gdb.base/maint.exp: Update to match changes in type dumping code.
1968
1969 2001-12-10 Jim Blandy <jimb@redhat.com>
1970
1971 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1972 matching the entry point symbol's name at the beginning of the
1973 line.
1974
1975 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
1976
1977 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1978 gdb.c++/inherit.exp, gdb.c++/method.exp,
1979 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1980 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1981 and class layout support.
1982
1983 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
1984
1985 * gdb.c++/classes.exp: Add test for static member function.
1986 * gdb.c++/misc.cc: Add class with static member function.
1987
1988 2001-12-07 Jim Blandy <jimb@redhat.com>
1989
1990 If GDB says it can't find the struct the function returned, report
1991 those tests as `unsupported'.
1992 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1993 Rewrite subsequent tests to use it.
1994
1995 If GDB says it can't find the struct the function returned, report
1996 those tests as `unsupported'.
1997 * gdb.base/structs.exp (call_struct_func): New function.
1998 (do_function_calls): Use call_struct_func to call the functions
1999 returning structs.
2000
2001 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2002 whether functions are prototyped or not, so we can't possibly pass
2003 arguments to t_float_values2 properly.
2004
2005 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2006 value of `timeout' for targets other than the mips*tx39-*.
2007
2008 2001-12-06 Michael Snyder <msnyder@redhat.com>
2009
2010 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2011 and detect whether the start symbol has a leading underscore.
2012
2013 2001-12-04 Jim Blandy <jimb@redhat.com>
2014
2015 * gdb.base/completion.exp: Clarify indentation.
2016
2017 2001-12-03 Jim Blandy <jimb@redhat.com>
2018
2019 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2020 variables on the S/390, not `.word'.
2021
2022 2001-11-30 Jim Blandy <jimb@redhat.com>
2023
2024 Add assembly-source tests for s390-ibm-linux.
2025 * gdb.asm/s390.inc: New file.
2026 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2027 the S/390 architecture.
2028 * gdb.asm/configure: Regenerated.
2029
2030 2001-11-30 Michael Snyder <msnyder@redhat.com>
2031
2032 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2033 next, info source, info sources, info line, global and static
2034 variables, and static functions.
2035 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2036 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2037 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2038 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2039 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2040 (gdbasm_leave): Restore frame pointer.
2041 (gdbasm_startup): Copy stack set-up from crt0.S.
2042
2043 2001-11-26 Fernando Nasser <fnasser@redhat.com>
2044
2045 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2046 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2047 to a local (non-static) variable. Copy tstruct.a to a static buffer
2048 and return a pointer to that buffer.
2049 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2050
2051 2001-11-24 Mark Kettenis <kettenis@gnu.org>
2052
2053 * gdb.asm/configure.in: Fix recognition of ix86 target.
2054 * gdb.asm/configure: Regenerate.
2055
2056 2001-11-21 Michael Snyder <msnyder@redhat.com>
2057
2058 * gdb.asm/sparc.inc: New file.
2059 * gdb.asm/asm-source.exp: Recognize sparc target.
2060 * gdb.asm/configure.in: Recognize sparc target.
2061 * gdb.asm/configure: Regenerate.
2062
2063 2001-11-21 Michael Snyder <msnyder@redhat.com>
2064
2065 * gdb.asm/m32r.inc: New file.
2066 * gdb.asm/asm-source.exp: Recognize m32r target.
2067 * gdb.asm/configure.in: Recognize m32r target.
2068 * gdb.asm/configure: Regenerate.
2069
2070 2001-11-20 Michael Snyder <msnyder@redhat.com>
2071
2072 * gdb.asm/i386.inc: New file.
2073 * gdb.asm/asm-source.exp: Recognize ix86 target.
2074 * gdb.asm/configure.in: Recognize ix86 target.
2075 * gdb.asm/configure: Regenerate.
2076
2077 * gdb.c++/namespace.exp: Fix quotes in output messages.
2078
2079 2001-11-14 Michael Snyder <msnyder@redhat.com>
2080
2081 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
2082 qualifier in a type cast expression, to designate an address
2083 in the instruction space (Harvard architecture).
2084
2085 2001-11-13 Michael Snyder <msnyder@redhat.com>
2086
2087 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2088 Tests for expressions using 'const' and 'volatile'.
2089
2090 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
2091
2092 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2093
2094 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
2095
2096 * lib/mi-support.exp (mi_run_to_helper): Move comments
2097 outside of gdb_expect.
2098
2099 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
2100
2101 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2102 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2103 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2104 mi0_run_to): New functions.
2105 * gdb.mi/mi-simplerun.exp: Use them.
2106 * gdb.mi/mi0-simplerun.exp: Likewise.
2107 * gdb.mi/mi-var-cmd.exp: Likewise.
2108 * gdb.mi/mi0-var-cmd.exp: Likewise.
2109
2110 2001-11-10 Andrew Cagney <ac131313@redhat.com>
2111
2112 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2113 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2114
2115 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2116
2117 * gdb.base/restore.exp: Include $expected value in restored test
2118 message.
2119
2120 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2121
2122 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2123 implemented.
2124
2125 2001-11-08 Michael Snyder <msnyder@redhat.com>
2126
2127 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2128 Add pass/fail message for stop at breakpoint in call dummy function.
2129
2130 2001-11-07 Michael Snyder <msnyder@redhat.com>
2131
2132 * gdb.c++/templates.exp (test_template_breakpoints):
2133 If we get an overload menu, but it does not match what
2134 we expect, we still need to issue the "cancel" command.
2135 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2136 making the whitespace optional. Argument for "new" may be
2137 "unsigned" as well as "unsigned int/long".
2138 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2139 making the whitespace optional. Also replace "(void) with
2140 "((void|)), making the keyword "void" optional.
2141 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2142 making the whitespace optional. Also replace "(void) with
2143 "((void|)), making the keyword "void" optional.
2144 * gdb.base/callfuncs.c (t_float_values): This function must
2145 _not_ be prototyped, and the following function (t_float_values2)
2146 must be prototyped (if the compiler supports it), so that GDB
2147 can be tested against both cases. Usually one case involves
2148 promotion of float to double, while the other does not.
2149 * gdb.base/callfwmall.c: Ditto.
2150 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2151 includes a stack frame for "start".
2152
2153 2001-11-05 Jim Blandy <jimb@redhat.com>
2154
2155 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2156 pointers are 32 bits long, and that offsets of relocs are always
2157 stored in the data (REL-style), and not in the reloc entry itself
2158 (RELA-style).
2159 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2160 stabs.
2161
2162 2001-11-01 Michael Snyder <msnyder@redhat.com>
2163
2164 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2165 and regular expression operators by using quoting.
2166
2167 2001-10-31 Michael Snyder <msnyder@redhat.com>
2168
2169 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2170 depending on what the symbol table contains.
2171 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2172 the output of the ptype command. Similarly, accept both "const &"
2173 and "const&".
2174
2175 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
2176
2177 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2178 symbol `STORAGE' to allow to choose the storage class of
2179 the local datastructures.
2180 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2181 compiler directive.
2182
2183 2001-10-30 Michael Snyder <msnyder@redhat.com>
2184
2185 * gdb.base/jump.exp: Allow it to run for all targets.
2186
2187 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2188
2189 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2190 with new double_array size.
2191 (main): Change storage class of all local variables to static.
2192 Reduce size of double_array to 9.
2193 * gdb.base/call-ar-st.exp: Increase timeout value.
2194 Change expected output for double array to match new size in
2195 call-ar-st.c.
2196
2197 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2198
2199 * gdb.base/ending-run.exp: Create identical output when passing
2200 `step to end of run' case. Add regular expression branch satisfying
2201 Stormy16 target.
2202
2203 2001-10-28 Mark Kettenis <kettenis@gnu.org>
2204
2205 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2206 that we catch the expected failure under Linux/x86.
2207
2208 2001-10-29 Orjan Friberg <orjanf@axis.com>
2209
2210 * gdb.base/setvar.exp: Escape curly braces.
2211 * gdb.stabs/weird.exp: Ditto.
2212
2213 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
2214
2215 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2216 * gdm.mi/mi0-hack-cli.exp: Likewise.
2217
2218 2001-10-25 Andrew Cagney <ac131313@redhat.com>
2219
2220 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2221 messages.
2222
2223 2001-10-21 Andrew Cagney <ac131313@redhat.com>
2224
2225 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2226 checking MI enabled.
2227
2228 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
2229
2230 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2231
2232 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
2233
2234 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2235 if gdb child process crashes, just signal an error.
2236
2237 2001-10-02 Jim Blandy <jimb@redhat.com>
2238
2239 * lib/gdb.exp (test_xfail_format): Simplify.
2240
2241 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2242 front of the variable name `format'. Simplify `if'.
2243
2244 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2245
2246 * gdb.threads/pthreads.exp: Wait for output and delay
2247 before sending ^C.
2248
2249 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2250
2251 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2252 some incorrect output instead of timing out.
2253 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2254
2255 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
2256
2257 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2258 check to allow additional `int'.
2259
2260 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
2261
2262 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2263 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2264
2265 2001-09-27 Michael Snyder <msnyder@redhat.com>
2266
2267 * lib/gdb.exp (test_debug_format): New proc.
2268 (setup_xfail_format): Use new proc test_debug_format.
2269 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2270 proc; use new service proc test_debug_format.
2271 Replace all other "gcc_compiled" tests with this test.
2272 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2273 proc; use new service proc test_debug_format.
2274 Replace all other "gcc_compiled" tests with this test.
2275
2276 2001-09-27 Michael Snyder <msnyder@redhat.com>
2277
2278 * gdb.base/cvexpr.exp: New file.
2279 * gdb.base/cvexpr.c: New file
2280 Test for expressions using const and volatile keywords.
2281
2282 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
2283
2284 * gdb.base/constvars.exp: Check for different orders of keywords
2285 and additional "int" strings in output.
2286
2287 2001-09-22 Andrew Cagney <ac131313@redhat.com>
2288
2289 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2290 responses from "help maint".
2291
2292 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
2293
2294 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2295 to localhost:NNN instead of :NNN, in case Xvfb is listening
2296 only on TCP.
2297
2298 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
2299
2300 * gdb.base/recurse.exp: When checking leaving the watchpoint
2301 scope, recognize when gdb is in function's epilogue and pass.
2302
2303 2001-09-18 Keith Seitz <keiths@redhat.com>
2304
2305 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2306 support for running tests against sid targets.
2307 (gdbtk_done): Ditto.
2308
2309 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
2310
2311 * gdb.base/ending-run.c (main): Set stdout buffersize
2312 to the same reasonable value for any target.
2313 * gdb.base/ending-run.exp: Add a regular expression
2314 to make testsuite happy on Sanyo Stormy16 target.
2315
2316 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
2317
2318 * gdb.base/display.c (do_loops): Add float variable `f'.
2319 Increment f in loop.
2320 * gdb.base/display.exp: Increment timeout by 60 seconds.
2321 Change float display test to use variable `f'.
2322
2323 2001-09-17 Jim Blandy <jimb@redhat.com>
2324
2325 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2326 overflowing the limited breakpoint tables on some ROM monitors
2327 (like the ROM68K).
2328
2329 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
2330
2331 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2332 the "-ac" (disable access control) flag.
2333
2334 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
2335
2336 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2337 ints.
2338
2339 2001-08-30 Keith Seitz <keiths@redhat.com>
2340
2341 * lib/gdb.exp: Move all insight-related functionality into
2342 separate file.
2343 * lib/insight-support.exp: New file.
2344
2345 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
2346
2347 * config/sid.exp (sid_start): Never set sid verbosity; disable
2348 expect_background {} that consumed its stdout; tolerate </dev/null.
2349 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2350
2351 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2352
2353 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2354 CLI jump command to start it.
2355 (mi_run_to_main): Fail immediatly when unexpected output.
2356
2357 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2358
2359 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2360 beginning of function. Fix PR gdb/191.
2361
2362 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
2363
2364 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2365 what to force sid endianness to.
2366
2367 2001-08-15 Keith Seitz <keiths@redhat.com>
2368
2369 * lib/gdb.exp (gdbtk_start): Don't set environment
2370 variables for TCL_LIBRARY and friends. Insight will
2371 now figure these out for itself.
2372
2373 2001-08-02 Michael Snyder <msnyder@redhat.com>
2374
2375 * gdb.base/completion.exp: Remove the symbol "a64l" from
2376 the expect string; this is target-specific, and not related
2377 to what is being tested.
2378
2379 2001-08-02 Dave Brolley <brolley@redhat.com>
2380
2381 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2382
2383 2001-07-25 Michael Snyder <msnyder@redhat.com>
2384
2385 * gdb.base/consecutive.exp: New file. Test stepping over
2386 breakpoints on consecutive instructions.
2387 * gdb.base/consecutive.c: New file.
2388
2389 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2390 curly braces in regular expressions.
2391
2392 2001-07-25 Michael Snyder <msnyder@redhat.com>
2393
2394 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2395 legitimate output from stepping out of main.
2396
2397 2001-07-22 Keith Seitz <keiths@redhat.com>
2398
2399 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2400 the empty string, do not run the tests.
2401
2402 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2403
2404 * gdb.base/long_long.exp: Detect size of pointer. Take into
2405 account 2-byte pointers when testing for p/a results.
2406
2407 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2408
2409 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2410 and defined to 1K for m68hc11.
2411 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2412 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2413 (sizeof_random_data): New variable to tell the size of the data table;
2414 don't test past this size; always run to main.
2415
2416 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2417
2418 * gdb.base/return2.exp: return of long long and double fails for
2419 68HC11; don't execute these tests on that platform.
2420 * gdb.base/return.exp: Return of a double fails for 68hc11.
2421
2422 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2423
2424 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2425 tests that print a float.
2426 * call-rt-st.exp: Likewise.
2427
2428 2001-07-12 Mark Kettenis <kettenis@gnu.org>
2429
2430 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2431 running this test on Linux.
2432
2433 2001-06-24 Michael Chastain <chastain@redhat.com>
2434
2435 * gdb.base/arithmet.exp: Remove some tests to make all test names
2436 unique.
2437
2438 2001-07-03 Michael Snyder <msnyder@redhat.com>
2439
2440 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2441 the output of the ptype command.
2442
2443 2001-07-02 Michael Snyder <msnyder@redhat.com>
2444
2445 * gdb.base/completion.exp: Don't assume that break.c is the only
2446 source file that may contain functions named "marker".
2447 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2448
2449 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2450
2451 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2452 of files to delete.
2453
2454 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2455 * gdb.disasm/h8300s.exp: New file.
2456 gdb.disasm/h8300s.s: Likewise.
2457
2458 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2459
2460 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2461 empty breakpoint tables.
2462
2463 2001-06-25 Andrew Cagney <ac131313@redhat.com>
2464
2465 * lib/mi-support.exp: Update args=... part of stop-reason
2466 patterns. Accept either a list or a tuple.
2467
2468 2001-06-23 Andrew Cagney <ac131313@redhat.com>
2469
2470 * lib/mi-support.exp: Remove local emacs variable defining
2471 change-log-default-name.
2472
2473 2001-06-22 Michael Chastain <chastain@redhat.com>
2474
2475 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2476 This is operationally compatible with the previous version.
2477
2478 2001-06-13 Jim Blandy <jimb@redhat.com>
2479
2480 * lib/gdb.exp (gdb_test): Doc fix.
2481
2482 2001-06-10 Michael Chastain <chastain@redhat.com>
2483
2484 * gdb.base/exprs.exp: Remove a duplicate test.
2485
2486 2001-06-06 Jim Blandy <jimb@redhat.com>
2487
2488 * gdb.base/return2.exp (main): Use values to test float and double
2489 returns that are not NaN's, to avoid being confused by IEEE
2490 comparison rules.
2491
2492 2001-06-04 Michael Snyder <msnyder@redhat.com>
2493
2494 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2495 non-zero if control_c fails. Terminate the test on failure,
2496 rather than wait for 12 more tests to time out.
2497
2498 2001-06-06 Jim Blandy <jimb@redhat.com>
2499
2500 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2501 Don't forget to match the GDB prompt.
2502
2503 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2504
2505 2001-06-04 Jim Blandy <jimb@redhat.com>
2506
2507 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2508 command.
2509
2510 2001-05-31 Kevin Buettner <kevinb@redhat.com>
2511
2512 * gdb.base/annota1.exp (info break): Match four or more spaces
2513 after "Address".
2514
2515 2001-05-31 Michael Chastain <chastain@redhat.com>
2516
2517 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2518 (dm_type_int_star): Likewise.
2519 (dm_type_long_star): Likewise.
2520 (dm_type_void_star): Likewise.
2521
2522 2001-05-29 Kevin Buettner <kevinb@redhat.com>
2523
2524 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2525 to a known value in order to get consistent results regardless
2526 of the setting of INPUTRC or the presence or contents of .inputrc.
2527
2528 2001-05-24 Michael Snyder <msnyder@redhat.com>
2529
2530 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2531 Don't require that the main thread and the manager thread are the
2532 first in the list.
2533
2534 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2535 debugging. If test fails, issue an "unsupported" not a "fail".
2536
2537 2001-05-24 Jim Blandy <jimb@redhat.com>
2538
2539 Don't assume that short is shorter than int.
2540 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2541 assume that shorts are smaller than ints. On a 16-bit machine,
2542 this isn't true.
2543 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2544 an int, is not equal to ~0 stored in an unsigned char. This tests
2545 the same thing that the previous test meant to, but works on
2546 16-bit machines, too.
2547 ("print unsigned char != (~0)"): Same test, complemented.
2548
2549 2001-05-24 Michael Snyder <msnyder@redhat.com>
2550
2551 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2552 test for (full_coverage == 0). This makes the test run faster,
2553 and prevents dejagnu getting out of step.
2554
2555 2001-05-23 Kevin Buettner <kevinb@redhat.com>
2556
2557 * gdb.base/finish.exp (finish_void): Revise pattern for
2558 stopping on the call statement to not permit stopping at
2559 the start of the instructions comprising the call sequence.
2560
2561 2001-05-19 Michael Chastain <chastain@redhat.com>
2562
2563 * gdb.base/callfuncs.exp: Make all test names unique.
2564 * gdb.base/commands.exp: Make all test names unique.
2565 * gdb.base/condbreak.exp: Make all test names unique.
2566 * gdb.base/dbx.exp: Make all test names unique.
2567 * gdb.base/default.exp: Make all test names unique.
2568 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2569 and TIMEOUT messages to their corresponding PASS message.
2570 * gdb.base/ending-run.exp: Make all test names unique.
2571 * gdb.base/long_long.exp: Remove duplicate test.
2572
2573 2001-05-21 Kevin Buettner <kevinb@redhat.com>
2574
2575 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2576 stop on the call statement as well as the statement after the
2577 call.
2578
2579 2001-05-21 Michael Snyder <msnyder@redhat.com>
2580
2581 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2582
2583 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2584
2585 * gdb.base/completion.exp: Revamp test. Make it execute on all
2586 platforms.
2587
2588 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2589
2590 * config/gdbserver.exp (gdb_load): Handle the case
2591 in which the arguments to gdbserver are given in the
2592 baseboard configuration file.
2593 Also handle the case in which the server needs to do a
2594 load.
2595
2596 2001-05-07 Keith Seitz <keiths@cygnus.com>
2597
2598 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2599 set up the display for testing.
2600 (gdbtk_start): Convert all paths to paths that tcl will like.
2601 Export target information to environment.
2602 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2603 necessary.
2604 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2605 (to_tcl_path): New proc to convert a given pathname into
2606 a path acceptible as an argument to a tcl command.
2607 (_gdbtk_export_target_info): New proc to export target info
2608 into the environment for gdbtk testing.
2609 (gdbtk_done): New proc to signal end-of-test.
2610
2611 2001-05-06 Jim Blandy <jimb@redhat.com>
2612
2613 * restore.c: Make the code of caller0 correspond to its comment.
2614
2615 2001-05-03 Michael Snyder <msnyder@redhat.com>
2616
2617 * config/sid.exp (gdb_target_sid): Check for error messages.
2618 On error or timeout, don't make expect exit (which will terminate
2619 all subsequent tests); instead just make gdb exit.
2620 (gdb_load): Check for error messages. On error or timeout,
2621 return a negative value.
2622
2623 2001-04-24 Jim Blandy <jimb@redhat.com>
2624
2625 * gdb.c++/templates.exp: If we see the prompt for the overload
2626 list, but we haven't recognized any of the longer patterns,
2627 arrange for this test to fail, not hang.
2628
2629 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2630 variations.
2631
2632 2001-04-22 Michael Chastain <chastain@redhat.com>
2633
2634 * gdb.c++/local.exp: Use the 'runto' library function.
2635 * gdb.c++/namespace.exp: Likewise.
2636 * gdb.c++/overload.exp: Likewise.
2637
2638 2001-03-26 Kevin Buettner <kevinb@redhat.com>
2639
2640 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2641 * gdb.base/step-line.exp: New file. Test step/next in presence of
2642 #line directives.
2643 * gdb.base/step-line.c: New file. Test program for the above.
2644 * gdb.base/step-line.inp: New file. We pretend that this file has
2645 been transformed by some other tool into step-line.c.
2646
2647 2001-03-21 Jim Blandy <jimb@redhat.com>
2648
2649 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2650 unmangled operator names.
2651
2652 2001-03-20 Jim Blandy <jimb@redhat.com>
2653
2654 * gdb.threads/linux-dp.exp: Recognize an additional message
2655 generated by GDB when it doesn't understand how to debug threads
2656 on the target system.
2657
2658 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2659
2660 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2661
2662 2001-03-12 Michael Chastain <chastain@redhat.com>
2663
2664 * gdb.c++/derivation.exp: Use the 'runto' library function.
2665
2666 2001-03-12 Michael Chastain <chastain@redhat.com>
2667
2668 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2669
2670 2001-02-24 Michael Chastain <chastain@redhat.com>
2671
2672 * gdb.c++/ref-types.exp: Change handwritten code to library
2673 function 'runto'.
2674
2675 2001-03-16 Orjan Friberg <orjanf@axis.com>
2676
2677 * gdb.base/signals.exp: Set count to 0 explicitly.
2678
2679 2001-03-15 Mark Salter <msalter@redhat.com>
2680
2681 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2682 (gdb_target_monitor): Add check of gdb_target_cmd return value.
2683 (gdb_load): Add support for additional target_info: gdb_download_size
2684 and gdb_load_timeout.
2685
2686 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2687
2688 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2689 file -- to prevent failing when the compile fails but we have no
2690 intention of running the tests anyway.
2691
2692 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2693 tests if set.
2694
2695 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2696 integers.
2697
2698 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2699 * gdb.c++/namespace.exp: Ditto.
2700
2701 2001-03-07 Orjan Friberg <orjanf@axis.com>
2702
2703 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2704 * gdb.base/pointers.exp: Relax pattern match of decimals.
2705
2706 2001-03-06 Kevin Buettner <kevinb@redhat.com>
2707
2708 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2709 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2710 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2711 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2712 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2713 config/sh.exp, config/sid.exp, config/slite.exp,
2714 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2715 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2716 config/vxworks.exp, config/vxworks29k.exp,
2717 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2718 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2719 gdb.base/arithmet.exp, gdb.base/assign.exp,
2720 gdb.base/async.exp, gdb.base/attach.exp,
2721 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2722 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2723 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2724 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2725 gdb.base/commands.exp, gdb.base/completion.exp,
2726 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2727 gdb.base/constvars.exp, gdb.base/corefile.exp,
2728 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2729 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2730 gdb.base/ending-run.exp, gdb.base/environ.exp,
2731 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2732 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2733 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2734 gdb.base/funcargs.exp, gdb.base/help.exp,
2735 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2736 gdb.base/logical.exp, gdb.base/long_long.exp,
2737 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2738 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2739 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2740 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2741 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2742 gdb.base/regs.exp, gdb.base/relational.exp,
2743 gdb.base/remote.exp, gdb.base/reread.exp,
2744 gdb.base/restore.exp, gdb.base/return2.exp,
2745 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2746 gdb.base/selftest.exp, gdb.base/setshow.exp,
2747 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2748 gdb.base/sigall.exp, gdb.base/signals.exp,
2749 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2750 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2751 gdb.base/step-test.exp, gdb.base/structs.c,
2752 gdb.base/structs.exp, gdb.base/structs2.exp,
2753 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2754 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2755 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2756 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2757 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2758 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2759 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2760 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2761 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2762 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2763 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2764 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2765 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2766 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2767 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2768 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2769 gdb.trace/circ.exp, gdb.trace/collection.exp,
2770 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2771 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2772 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2773 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2774 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2775 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2776 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2777 notices.
2778
2779 2001-02-27 Michael Snyder <msnyder@cygnus.com>
2780
2781 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2782 first arg is int not float.
2783
2784 2001-02-22 Michael Snyder <msnyder@cygnus.com>
2785
2786 * gdb.base/reread.exp: Unsupported for non-native targets;
2787 doesn't work for remote debugging.
2788
2789 2001-02-19 Fernando Nasser <fnasser@redhat.com>
2790
2791 From Drew Moseley <dmoseley@redhat.com>
2792 * gdb.base/ending-run.exp: Properly handle the BSP state when
2793 stepping past the end of main.
2794
2795 2001-02-19 John Moore <jmoore@redhat.com>
2796
2797 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2798 Converted HPUX fix for non-expected items following multiple
2799 step commands into general solution for all platforms.
2800
2801 2001-02-18 Michael Chastain <chastain@redhat.com>
2802
2803 * gdb.c++/classes.exp (do_tests): Change runto statements
2804 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2805 statements demangler agnostic.
2806 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2807 (gdb_virtfunc_restart): Likewise.
2808
2809 2001-02-14 Michael Chastain <chastain@redhat.com>
2810
2811 * gdb.c++/inherit.exp (do_tests): Change runto statements
2812 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2813 statements demangler agnostic.
2814
2815 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2816
2817 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2818 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2819 before calling common_routine 15 times'' tests.
2820
2821 2001-02-11 Michael Chastain <chastain@redhat.com>
2822
2823 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2824 Helps the test script figure out which demangler is in use.
2825 (dm_type_foo_ref): Ditto.
2826 (dm_type_int_star): Ditto.
2827 (dm_type_long_star): Ditto.
2828 (dm_type_unsigned_int): Ditto.
2829 (dm_type_void): Ditto.
2830 (dm_type_void_star): Ditto.
2831 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
2832 Probe the gdb demangler and set variables to accommodate
2833 formatting differences.
2834 (info_func_regexp): New function. Same as info_func, but
2835 matches against a regexp.
2836 (info_func): Match against a literal string.
2837 (print_addr_2): New function. Match against a literal string,
2838 which can be different from the input to gdb.
2839 (print_addr): Simply call print_addr_2 with the same argument twice.
2840 (test_lookup_operator_functions): Use demangler formatting variables.
2841 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2842 the tests in the same order as the C++ class declaration.
2843 (test_paddr_operator_functions): Ditto.
2844 (test_paddr_overloaded_functions): Ditto.
2845 (test_paddr_hairy_functions): Use demangler formatting variables.
2846 Add reference to gdb/19 for related tests.
2847 (do_tests): Call probe_demangler.
2848
2849 2001-01-30 Kevin Buettner <kevinb@redhat.com>
2850
2851 * gdb.c++/templates.cc (printf): Remove unused function definition.
2852
2853 2001-01-26 Felix Lee <flee@redhat.com>
2854
2855 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2856
2857 2001-01-25 matthew green <mrg@redhat.com>
2858
2859 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2860 up sid.
2861 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2862
2863 2001-01-25 matthew green <mrg@redhat.com>
2864
2865 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2866 Deprecate $sid_spawn_id.
2867 (sid_exit): Remove code necessary only for `spawn.'
2868
2869 2001-01-25 matthew green <mrg@redhat.com>
2870
2871 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2872
2873 2001-01-28 Michael Chastain <chastain@redhat.com>
2874
2875 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2876 to call when tests fail. It takes gdb out of the overloaded
2877 function choice menu back to the main prompt, so that the test
2878 program stays synchronized.
2879 (set_bp_overloaded): New proc to collect all the common
2880 code for setting a breakpoint on an overloaded name. Calls
2881 take_gdb_out_of_choice_menu when needed.
2882 (menu_overload1arg): New variable to collect the repeated
2883 instances of the expected menu for an overloaded name. Change
2884 the regular expression to handle changes in g++ type encoding:
2885 "void" can be either "void" or "", and "unsigned int" can be
2886 either "unsigned int" or "unsigned".
2887 (continue_to_bp_overloaded): Change regular expressions to handle
2888 changes in g++ type encoding.
2889 (no proc): Call take_gdb_out_of_choice_menu when needed.
2890 Remove redundant calls to "info break". Accept either "canceled"
2891 or "cancelled". Change regular expressions in "info break"
2892 calls to handle changes in g++ type encoding. Give all tests
2893 unique strings.
2894
2895 2001-01-17 Ben Elliston <bje@redhat.com>
2896
2897 * config/sid.exp: New file.
2898
2899 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2900
2901 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2902
2903 2000-12-21 Michael Snyder <msnyder@cygnus.com>
2904
2905 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2906 Add a RE to accept a non-ascii char if one is ever presented.
2907
2908 2000-12-20 Fernando Nasser <fnasser@redhat.com>
2909
2910 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
2911
2912 2000-12-18 Michael Snyder <msnyder@cygnus.com>
2913
2914 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2915 in regexp. One '\' does not suffice on Linux.
2916
2917 2000-12-09 Michael Chastain <chastain@redhat.com>
2918
2919 * gdb.base/break.exp (test_clear_command): Use a marker function
2920 rather than 'main' for the test function. Also move this
2921 test to an execution point where the marker function names are
2922 guaranteed to be bound to functions. (Executing tests after a
2923 'finish' from main runs into name conflicts with local names
2924 in __libc_start_main).
2925
2926 2000-12-07 Michael Snyder <msnyder@cygnus.com>
2927
2928 * gdb.base/finish.exp: New test for gdb's "finish" command.
2929 * gdb.base/return2.exp: New test for gdb's "return" command.
2930 * gdb.base/return2.c: New source file for above.
2931
2932 2000-12-05 Michael Snyder <msnyder@cygnus.com>
2933
2934 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2935 * gdb.base/miscexprs.exp: Ditto.
2936 * gdb.base/pointers.exp: Ditto.
2937 * gdb.c++/derivation.exp: Ditto.
2938 * gdb.c++/local.exp: Ditto.
2939 * gdb.c++/namespace.exp: Ditto.
2940 * gdb.c++/overload.exp: Ditto.
2941 * gdb.c++/ref-types.exp: Ditto.
2942
2943 2000-12-05 Michael Snyder <msnyder@cygnus.com>
2944
2945 * gdb.base/constvars.exp: Test result of "up" command.
2946 * gdb.base/miscexprs.exp: Ditto.
2947 * gdb.base/pointers.exp: Ditto.
2948 * gdb.base/scope.exp: Ditto.
2949 * gdb.c++/derivation.exp: Ditto.
2950 * gdb.c++/local.exp: Ditto.
2951 * gdb.c++/namespace.exp: Ditto.
2952 * gdb.c++/overload.exp: Ditto.
2953 * gdb.c++/ref-types.exp: Ditto.
2954
2955 2000-11-22 Michael Chastain <chastain@redhat.com>
2956
2957 * mips_pro.exp: Accept either "middle -> top -> main" or
2958 "middle -> main" in the backtrace, because gcc can optimize
2959 tail calls to jumps. Remove setup_xfail for the hppa case.
2960 Add a comment with the original warning messages from PR 3016,
2961 which was filed in 1993, to preserve them for posterity.
2962
2963 2000-11-17 Nick Duffek <nsd@redhat.com>
2964
2965 * lib/gdb.exp (gdb_test): Override timeout with board info.
2966
2967 2000-11-17 Nick Duffek <nsd@redhat.com>
2968
2969 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2970 the second kill and detach messages.
2971
2972 2000-11-17 Nick Duffek <nsd@redhat.com>
2973
2974 * configure.in: Add AC_EXEEXT.
2975 * configure: Regenerate.
2976 * Makefile.in (just-check): Export EXEEXT.
2977 * lib/gdb.exp ($EXEEXT): Import from environment.
2978 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2979 expect "maint dump-me" on Cygwin.
2980 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2981 $EXEEXT.
2982
2983 2000-11-17 Nick Duffek <nsd@redhat.com>
2984
2985 * gdb.base/break.exp: Test backtrace and finish from called
2986 function on all platforms, not just HP-UX.
2987
2988 2000-11-03 Michael Snyder <msnyder@cygnus.com>
2989
2990 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2991 code from gdb_target_monitor, so it can be used independantly
2992 for gdbserver. Also comment out an unnecessary PUTS.
2993
2994 2000-11-03 Michael Snyder <msnyder@cygnus.com>
2995
2996 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2997 * gdb.base/corefile.exp: Expect the message "Program is being
2998 debugged already" when we send the "corefile" command, since
2999 the preceeding gdb_load may have connected gdb to a remote target.
3000 * gdb.base/display.exp: Disable hardware watchpoints if new
3001 board info variable "no_hardware_watchpoints" is true.
3002 Replace single-letter commands with more readable ones.
3003 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3004 if new board info variable "no_hardware_watchpoints" is true.
3005 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3006 to see if stdio (printf) testing is possible.
3007 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3008 board info variable "no_hardware_watchpoints" is true. Use new
3009 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3010
3011 2000-11-13 Fernando Nasser <fnasser@redhat.com>
3012
3013 From Orjan Friberg <orjanf@axis.com>:
3014 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3015 in array print pattern match.
3016
3017 2000-11-09 Fernando Nasser <fnasser@redhat.com>
3018
3019 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3020 spelling "cancelled" to U.S. spelling "canceled" to match changes
3021 made to gdb.
3022 * gdb.c++/ovldbreak.exp: Ditto.
3023
3024 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3025
3026 * gdb.base/callfuncs.c (main): Moved to end of file, call
3027 t_double_values to initialize the FPU before inferior calls are made.
3028 * gdb.base/callfuncs.exp: Test for register preservation after calling
3029 inferior functions. Add tests for continuining, finishing and
3030 returning from a stop in a call dummy.
3031
3032 2000-10-24 Michael Snyder <msnyder@cygnus.com>
3033
3034 * gdb.base/commands.exp: Break up long lines, and re-indent.
3035
3036 2000-10-19 Michael Snyder <msnyder@cygnus.com>
3037
3038 * config/gdbserver.exp: Rewritten from the ground up, to make it
3039 compatible with the current dejagnu tree, and to make it work with
3040 the new "gdbserver" in libremote.
3041
3042 2000-10-16 Michael Snyder <msnyder@cygnus.com>
3043
3044 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3045 * gdb.base/varargs.exp: Skip entire test if no printf support.
3046 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3047 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3048
3049 2000-10-13 Michael Snyder <msnyder@cygnus.com>
3050
3051 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3052 no floating point support.
3053 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3054 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3055 * gdb.base/call-rt-st.exp: Ditto.
3056 * gdb.base/call-strs.exp: Ditto.
3057
3058 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3059
3060 * gdb.base/sizeof.c: include <stdio.h>.
3061
3062 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3063 'finish', otherwise uncaptured gdb_prompt would potentially
3064 throw remaining test points out of sync.
3065
3066 2000-07-26 Scott Bambrough <scottb@netwinder.org>
3067
3068 * gdb.base/recurse.exp: Run tests for all targets.
3069 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3070 gnu-oldld case on ARM.
3071 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3072 for ARM targets.
3073
3074 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3075
3076 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3077 * gdb.java/configure: Rebuild.
3078
3079 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3080
3081 * gdb.java/jv-exp.exp: New file.
3082
3083 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3084
3085 * configure: Rebuilt.
3086 * configure.in (configdirs): Add gdb.java.
3087 * gdb.java/jmisc.java: New file.
3088 * gdb.java/jmisc.exp: New file.
3089 * gdb.java/Makefile.in: New file.
3090 * gdb.java/configure: Rebuilt.
3091 * gdb.java/configure.in: New file.
3092 * lib/java.exp: New file.
3093
3094 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3095
3096 * gdb.base/exprs.exp: Test casts to a pointer including over and
3097 underflow.
3098
3099 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3100
3101 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3102 and the compilers sizes.
3103
3104 2000-07-09 Nick Duffek <nsd@redhat.com>
3105
3106 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3107 (use_methods): New function.
3108 (main): Call use_methods().
3109 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3110 (do_tests): Call test_method_param_class.
3111
3112 2000-07-09 Nick Duffek <nsd@redhat.com>
3113
3114 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3115 spelling.
3116 (test_enums): New procedure. Move enum tests from end of script
3117 to here. Set breakpoint on function name instead of line number.
3118 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3119 (enums2): New marker function.
3120 (enums1): New function.
3121 (main): Call enums1(). Move enum tests to enums1().
3122
3123 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3124
3125 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3126 compile/link program. Update line numbers.
3127 * gdb.asm/d10v.inc: Define ``startup''.
3128 * gdb.asm/asmsrc1.s: Add definition of _start.
3129
3130 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3131
3132 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3133
3134 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3135
3136 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3137 of 'help maint print' command.
3138
3139 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3140
3141 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3142 they use gdb_expect_list.
3143
3144 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3145
3146 * gdb.base/commands.exp: Use ``set remote
3147 memory-read-packet-size'' instead of ``set endian big'' to test
3148 long commands.
3149
3150 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
3151
3152 * gdb.c++/templates.exp (do_tests): Make all of these work under
3153 g++, and stop skipping them.
3154
3155 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3156 work under g++.
3157
3158 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3159 initialization.
3160
3161 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3162
3163 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3164 the regular expression: accept an (almost) arbitrary sequence of
3165 "frames-invalid" and "breakpoints-invalid" messages both before
3166 and after the "starting" message.
3167
3168 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3169
3170 * gdb.c++/local.exp: This test has never been known to work with g++.
3171
3172 2000-05-18 Michael Snyder <msnyder@cygnus.com>
3173
3174 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3175 Relax the regular expression a little, make it pass on Solaris 8.
3176
3177 2000-05-12 Kevin Buettner <kevinb@redhat.com>
3178
3179 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3180 a call, do not require that gdb stop on the line after the call.
3181 Instead, it is permissible for gdb to stop on the line of the
3182 call itself.
3183
3184 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
3185
3186 * gdb.base/break.exp (bp on small function, optimized file):
3187 Add a second pass pattern. The behavior differs here between stabs
3188 and dwarf for one-line functions. Stabs preserves two line symbols
3189 (one before the prologue and one after) with the same line number,
3190 but dwarf regards these as duplicates and discards one of them.
3191 Therefore the address after the prologue (where the breakpoint is)
3192 has no exactly matching line symbol, and GDB reports the breakpoint
3193 as if it were in the middle of a line rather than at the beginning.
3194
3195 2000-05-08 Michael Snyder <msnyder@cygnus.com>
3196
3197 * gdb.base/interrupt.exp: Make "pass" message say "send"
3198 rather than "send_gdb" (for consistancy).
3199
3200 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3201
3202 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3203 * gdb.c++/templates.cc: Properly check for GCC version number.
3204 * lib/compiler.cc: Likewise
3205
3206 2000-04-28 Michael Snyder <msnyder@cygnus.com>
3207
3208 * gdb.base/break.exp: When compiled with -O2 optimization,
3209 gdb may not stop at the first line of main, due to code motion.
3210
3211 2000-04-26 Michael Snyder <msnyder@cygnus.com>
3212
3213 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3214 This test depends on parsing the printf output from the target.
3215 Since the sparclet stub doesn't do stdio, this will never work.
3216 * gdb.base/call-rt-st.exp: ditto.
3217 * gdb.base/call-strs: ditto.
3218
3219 2000-04-24 Michael Snyder <msnyder@cygnus.com>
3220
3221 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3222
3223 * gdb.base/ending-run.exp: After connecting to a remote target,
3224 but before running, the target will appear to be in a random
3225 location. Specify both a file and a line for breakpoints.
3226 Also, the function that calls main may be called 'init'
3227 rather than 'start'.
3228
3229 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3230
3231 * gdb.base/help.exp: Update output for add-symbol-file command.
3232
3233 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
3234
3235 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3236 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3237
3238 2000-04-07 J.T. Conklin <jtc@redback.com>
3239
3240 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3241
3242 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3243
3244 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3245
3246 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3247 values that can be represented exactly.
3248 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3249 above change, and to not check against the directory part of the source
3250 file name.
3251 (step into print_long_arg_list): Likewise.
3252 (print print_small_structs from print_long_arg_list): Likewise.
3253 (print print_long_arg_list): Likewise.
3254
3255 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3256
3257 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
3258
3259 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3260
3261 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3262
3263 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
3264
3265 * gdb.base/commands.exp (deprecated_command_test): Add test for
3266 deprecate with no arguments.
3267
3268 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3269
3270 * gdb.base/break.exp: Add new test for setting breakpoints on
3271 optimized code so we can test breakpoints work even when function
3272 prologues may be optimized away
3273
3274 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3275
3276 From David Whedon <dwhedon@gordian.com>
3277 * gdb.base/commands.exp : Added command deprecator tests.
3278
3279 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
3280
3281 * gdb.base/help.exp: Added test for new apropos command.
3282
3283 2000-03-21 Kevin Buettner <kevinb@redhat.com>
3284
3285 * gdb.base/pointers.c (usevar): New function.
3286 (main): Make sure that global variables v_int_pointer2, rptr,
3287 and y are all referenced someplace in the program by calling
3288 usevar() on them. [Some linkers delete symbols which are
3289 never referenced. The space remains, but there's no way to
3290 get a (symbolic) handle on the variable from the debugger.]
3291
3292 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3293
3294 * gdb.base/printcmds.c: Add typedeffed arrays.
3295
3296 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3297 procedure to test arrays that are typedef'd.
3298
3299 2000-03-13 James Ingham <jingham@leda.cygnus.com>
3300
3301 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
3302 the library directories.
3303
3304 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3305
3306 * configure.in (configdirs): Add sub directory gdb.mi.
3307 * configure: Re-generate.
3308
3309 * gdb.mi: New directory.
3310
3311 2000-02-25 Scott Bambrough <scottb@netwinder.org>
3312
3313 * gdb.base/long_long.exp: Correct test suite failure when printing
3314 a long long value as a double on ARM platforms.
3315
3316 2000-02-16 Jim Blandy <jimb@redhat.com>
3317
3318 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3319 default source file is set properly before running this test.
3320
3321 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3322
3323 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3324 gdbtk/library directory, not in gdbtcl2.
3325
3326 2000-02-04 Jim Blandy <jimb@redhat.com>
3327
3328 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3329 backslash from regexp pattern.
3330
3331 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3332 procedure. Use it to run all the "continue to bp overloaded"
3333 tests. Note that this changes the names of the tests slightly.
3334 If the breakpoint hit message includes a hex PC value, because
3335 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3336 from the real source code, still consider that a pass.
3337
3338 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3339 XFAIL here if the breakpoint message contains a hex address. Note
3340 similar change on 1999-11-02.
3341
3342 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3343
3344 * gdb.base/ptype.exp: Establish a default source file before
3345 calling get_debug_format.
3346
3347 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3348
3349 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3350
3351 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3352
3353 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3354 of successive stepi commands -- while in the prologue we should see
3355 the function entry bracket.
3356
3357 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3358
3359 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3360 reach __change_mode() when stepping through the end of main().
3361
3362 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3363
3364 * gdb.base/default.exp: Fix expected pattern.
3365 * gdb.base/help.exp: Same.
3366
3367 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3368
3369 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3370 Don't use xfail's because that affects only the following test.
3371
3372 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3373 solaris or linux.
3374
3375 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3376
3377 2000-01-07 Michael Snyder <msnyder@cygnus.com>
3378
3379 * gdb.base/display.exp: Some yacc parsers like to say
3380 "A syntax error" rather than "A parse error". Accept both.
3381
3382 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3383
3384 * gdb.base/default.exp: Remove OS dependent string from "target
3385 remote" test.
3386 * gdb.base/help.exp: Same for "help target remote" test.
3387
3388 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3389
3390 From Jim Kingdon <kingdon@redhat.com>:
3391
3392 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3393 prompt (cleanup rather than necessity, but still might keep output
3394 from spilling to next test).
3395
3396 2000-01-02 Fred Fish <fnf@cygnus.com>
3397
3398 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3399 AIX, which defines them in <sys/types.h>.
3400
3401 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
3402
3403 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3404 float" test.
3405
3406 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
3407
3408 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
3409
3410 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3411 outermost frame disallowed".
3412
3413 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3414
3415 * gdb.base/setvar.exp: New tests for setting the value of a struct
3416 with a constant list.
3417
3418 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3419
3420 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3421 require the user to type a cast before setting the value of a struct.
3422
3423 1999-12-06 Jim Blandy <jimb@cygnus.com>
3424
3425 * gdb.base/default.exp: Expect the new 'info float' command on
3426 all i386 platforms.
3427
3428 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3429 LinuxThreads libraries that don't support debugging.
3430
3431 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3432
3433 * gdb.base/remote.c: Fill the buffer with truely random data.
3434 Change the buffer type to ``unsigned char'' to simplify size
3435 arithmetic.
3436
3437 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3438 stub only handles 400-1 byte packets. Verify that the download
3439 worked.
3440
3441 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3442
3443 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3444 tests, using UNRESOLVED for the untested cases. Also, does not wait
3445 for a timeout if the prompt was received before a recognizable pattern.
3446
3447 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3448
3449 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3450
3451 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3452
3453 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3454 watchpoints.
3455
3456 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3457
3458 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3459
3460 * gdb.c++/local.exp: Be more flexible in recognizing local class
3461 name mangling. Don't allow horribly truncated method names.
3462 * gdb.c++/derivation.exp: Expect protected inheritance.
3463 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3464 * gdb.c++/virtfunc.exp: Likewise.
3465 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3466 when printing a nested enum.
3467
3468 1999-11-22 Jim Blandy <jimb@cygnus.com>
3469
3470 * gdb.base/step-test.exp: Properly await GDB's response to setting
3471 a breakpoint on the call to large_struct_by_value.
3472
3473 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3474 just because we have debug info for the `start' function.
3475
3476 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3477
3478 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3479 "Unknown signal" messages, which indicate (on LinuxThreads) that
3480 GDB doesn't know how to debug threads on this system. This is
3481 better than hanging while philosopher 0 dumps chatter into gdb.log.
3482
3483 1999-11-18 Tom Tromey <tromey@cygnus.com>
3484
3485 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3486
3487 1999-11-18 Fred Fish <fnf@cygnus.com>
3488
3489 * gdb.base/coremaker2.c: Add sample program for generating
3490 cores that is more self contained than coremaker.c. Eventually
3491 I'll add more code to this and tie it into the testsuite.
3492
3493 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3494
3495 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3496
3497 1999-11-10 Jimmy Guo <guo@cup.hp.com>
3498
3499 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3500 from $srcdir/lib/.
3501 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3502 and gdb.c++/.
3503
3504 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3505
3506 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
3507 'continue with watch' test point.
3508
3509 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3510
3511 Merged from p2linux-990323-branch:
3512
3513 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3514
3515 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3516
3517 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3518 {limit,fixed}''. Test ``set download-write-size''.
3519
3520 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3521
3522 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3523 gdb_expect_list.
3524
3525 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3526
3527 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3528
3529 1999-11-03 Mark Salter <msalter@cygnus.com>
3530
3531 * gdb.base/break.exp: Fix "stub continue" pattern.
3532
3533 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3534
3535 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3536
3537 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3538
3539 * gdb.base/display.exp ("finish"): Add timeout clause.
3540
3541 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3542 plain prompt clause, so this doesn't have to time out in order to
3543 fail.
3544
3545 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3546 breakpoint hit messages include an address.
3547
3548 * gdb.base/display.exp: Don't forget to escape parens in regular
3549 expressions. Unix regexp notatation sucks.
3550
3551 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3552
3553 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3554 order for 'signalled' message.
3555
3556 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3557
3558 From Jimmy Guo <guo@cup.hp.com>:
3559 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3560 * gdb.base/annota1.c: Add code for tests to work with.
3561
3562 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3563
3564 * gdb.base/remote.exp: New test for remote downloading settings.
3565 * gdb.base/remote.c: New file with large .data.
3566
3567 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3568
3569 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3570 for LinuxThreads support, merged from the Code Fusion branch.
3571
3572 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3573
3574 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3575 containing exp_continue into a while within an expect. Don't
3576 attempt a start more than three times. Check return value from
3577 gdb_load.
3578
3579 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3580
3581 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3582 a pass case.
3583
3584 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
3585
3586 * gdb.base/break.c (main): Added a statement that we can step
3587 off of.
3588 * gdb.base/break.exp: Added tests for setting a breakpoint
3589 at an offset and stepping onto a breakpoint.
3590
3591 1999-10-01 Fred Fish <fnf@cygnus.com>
3592
3593 * gdb.base/help.exp (help add-symbol-file): Update to match current
3594 gdb output.
3595
3596 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3597
3598 * gdb.base/break.exp: Code locations are in hex, don't forget!
3599 (For HP-UX.)
3600
3601 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3602
3603 * condbreak.exp: Use break.c as test program.
3604 * condbreak.c: Remove, redundant with break.c.
3605
3606 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3607
3608 * config/monitor.exp (gdb_target_monitor): Disable X- and
3609 Z-packets if the target needs it.
3610
3611 1999-09-13 James Ingham <jingham@leda.cygnus.com>
3612
3613 * gdb.c++/overload.exp: Added tests for listing overloaded
3614 functions with function pointers in the arg, explicitly calling
3615 out the version you want.
3616
3617 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3618
3619 * long_long.exp: Add variations of test cases that work for
3620 targets with 16-bit ints and 32-bit doubles.
3621
3622 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3623
3624 * break.c (main): Compare a possibly-uninitialized argc with an
3625 unlikely value that fits in 16 bits.
3626
3627 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3628
3629 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3630 0xfeeb, don't want negative numbers if ints are 16 bits.
3631
3632 * lib/gdb.exp (skip_cplus_tests): New proc.
3633 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3634 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3635 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3636 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3637 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3638 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3639 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3640 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3641
3642 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3643
3644 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3645
3646 * gdb.base/corefile.exp (up): Allow a parameter to appear
3647 in the frame that we're going up to.
3648
3649 From Jim Blandy <jimb@cygnus.com>:
3650
3651 * gdb.base/default.exp (info float): Expect some output now.
3652
3653 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3654 returning floating-point values to fail on the x86.
3655 * gdb.base/callfwmall.exp (do_function_calls): Same.
3656
3657 * gdb.base/list.exp (test_listsize): Correct expectations for
3658 listing line 1 with listsize 2. Also, listing a single line
3659 works now, as does listing three lines. [Kevin's note: There
3660 were a number of other cases fixed too where the expectations
3661 differed...]
3662
3663 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3664
3665 * gdb.base/selftest.exp: Add case for when version prints as
3666 constant string instead of char pointer.
3667
3668 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3669
3670 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3671 stepping out of main.
3672
3673 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3674 G++ used.
3675
3676 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3677 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3678
3679 * gdb.c++/ovldbreak.exp: Update match string in test that
3680 includes a warning of multiple breakpoints.
3681
3682 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3683
3684 * gdb.base/display.exp: Improve precision of step-after-finish
3685 added yesterday.
3686
3687 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3688 test.
3689
3690 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3691 configs when using G++, not just hppa*.
3692
3693 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3694
3695 * gdb.base/async.c: New file.
3696 * gdb.base/async.exp: New file.
3697
3698 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3699
3700 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3701 PA64.
3702
3703 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3704
3705 * gdb.base/display.exp: "finish" can leave us mid-line on many
3706 targets, deal with it. Add a small constant to main, instead of
3707 1000 since main+1000 may not be a valid address in the target.
3708
3709 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3710 on hpux11.
3711
3712 * gdb.base/attach.exp: Handle another hpux11 error message variant
3713 when attaching to a process that does not exist.
3714
3715 1999-08-19 J.T. Conklin <jtc@redback.com>
3716
3717 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3718 characters in 'continue to 1241' test.
3719
3720 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3721
3722 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3723 stop in print_long_arg_list, define and use a whitespace
3724 variable in print_small_structs test, add an XFAIL for Solaris.
3725 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3726 interested enough to fix.
3727
3728 1999-08-13 Keith Seitz <keiths@cygnus.com>
3729
3730 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3731 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3732 proc knows about targets other than the natives.
3733 (test_assign): Use "gdb_run_cmd" to "run" the target.
3734 Check that we've actually hit the breakpoint at main.
3735 When we attempt to assign a value to a local variable, check
3736 that the variable is in the current scope, i.e., don't use
3737 a test with an empty result.
3738
3739 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3740
3741 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3742 command.
3743
3744 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3745
3746 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3747 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3748 gdb.compat, gdb.threads-hp.
3749 gdb.hp/configure, gdb.hp/configure.in: New files.
3750 gdb.hp/Makefile.in: Recurse into new subdirs.
3751 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3752 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3753 in object files.
3754 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3755
3756 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3757
3758 * gdb.base/display.exp: Help expect by putting a newline in the
3759 funky printf, remove a bogus p/a test.
3760
3761 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3762
3763 * gdb.base/display.exp: Make sure that when we say 'run', we are
3764 connected to the target. This is necessary when running not
3765 natively.
3766
3767 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3768
3769 * gdb.base/step-test.exp: Removed some extraneous messages.
3770
3771 * gdb.base/long_long.exp: Don't run memory examination tests
3772 on little-endian targets (they will need a different set of
3773 results to match).
3774
3775 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3776
3777 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3778 until somebody decides to fix GDB.
3779
3780 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3781 constant as "ULL".
3782 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3783 matches for a couple x/2 commands.
3784
3785 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3786
3787 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3788 by merging in ref-types2 tests.
3789 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3790
3791 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3792 * gdb.c++/Makefile.in: Add standard actions.
3793 (EXECUTABLES): Rename from PROGS, update list.
3794 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3795 from gdb.hp.
3796 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3797 foo and bar locals.
3798 * gdb.c++/anon-union.exp: Fix tests to match.
3799 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3800 expect matches to handle output variations.
3801 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3802 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3803 output, add HP alternatives for new and delete prints.
3804 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3805 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3806 * gdb.c++/demangle.exp: Use $style when reporting failure.
3807 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3808 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3809 match alternatives.
3810 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3811 compilers.
3812 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3813 * gdb.c++/method.exp: Add match alternatives.
3814 * gdb.c++/misc.cc: Add bool types.
3815 * gdb.c++/misc.exp: Add tests for bool types.
3816 * gdb.c++/overload.exp: Add xfails.
3817 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3818 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3819 add some more template parameter tests (only for HP currently).
3820 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3821 * gdb.c++/virtfunc.cc: Add return type and value for main.
3822 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3823 match alternatives.
3824
3825 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3826
3827 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3828
3829 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3830
3831 * gdb.base/signals.exp: Don't expect getting a backtrace from
3832 within a signal handler to fail on Linux.
3833
3834 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3835
3836 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3837 * lib/gdb.exp: Remove some gratuitious semicolons.
3838 (delete_breakpoints): Increase timeout.
3839 (gdb_expect): Add -notransfer option.
3840 (gdb_test): Use -notransfer option.
3841 (get_compiler_info): Add f77 case.
3842 (get_compiler): New proc, split out from gdb_preprocess, add f77
3843 case.
3844 (gdb_preprocess): Call get_compiler.
3845
3846 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3847 * gdb.base/attach.exp, gdb.base/display.exp,
3848 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3849 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3850 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3851 third arg to gdb_test.
3852 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3853 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3854 HP-UX xfails, add others.
3855 * gdb.base/completion.exp: Reflect name change of self-test.
3856 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3857 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3858 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3859 HP failure number.
3860 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3861 useless HP-UX 10.30 references.
3862 * gdb.base/maint.exp: Loosen matches.
3863 * gdb.base/pointers.c (main): Declare more_code.
3864 * gdb.base/pointers.exp: Match on output of a `next'.
3865 * gdb.base/structs.c: Add prototypes.
3866 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3867 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3868
3869 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3870
3871 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3872 command.
3873
3874 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3875
3876 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3877 Fix run to main failures. Watchpoint can be hardware watchpoint.
3878
3879 * gdb.base/annota1.exp: Clean up some more, in case printf has
3880 debug info. Deal with lack of signal hanlder info in stack.
3881
3882 From Jim Kingdon <kingdon@redhat.com>:
3883 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3884
3885 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3886
3887 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3888 gdb.base/foll-vfork.exp: Don't run for crosses.
3889
3890 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3891
3892 * gdb.base/configure.in: Check for gdbvars.exp instead of
3893 a1-selftest.exp.
3894 * gdb.base/configure: Re-generate.
3895
3896 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3897
3898 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3899 in trying to run first and name is too long.
3900
3901 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3902 pointers2.c and pointers2.exp, respectively.
3903 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3904 doschk happier.
3905
3906 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3907
3908 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3909 callfuncs2.c and callfuncs2.exp.
3910
3911 * gdb.base/list.exp: Remove mistaken xfails.
3912 * gdb.base/list0.h: Add optional prototypes.
3913
3914 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3915
3916 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3917 calling malloc.
3918 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3919 * ptype.exp: Move test for get_debug_format to before its first
3920 use.
3921
3922 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3923
3924 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3925 * gdb.base/annota2.cc, annota2.exp: Move from here.
3926 * gdb.c++/annota2.cc, annota2.exp: To here.
3927 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3928
3929 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3930
3931 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3932 a consistent format.
3933
3934 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3935
3936 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3937 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3938 HP compilers, also set the globals $true and $false.
3939
3940 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3941 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3942 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3943 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3944 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3945 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3946 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3947 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3948 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3949 whatis.c} Add C++ compatible function definitions and return
3950 types, add includes for library functions.
3951 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3952 * gdb.base/step-test.c (myglob): Rename from glob.
3953 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3954 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3955 files, move here from gdb.hp.
3956 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3957 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3958 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3959 Adjust line numbers in regexps.
3960
3961 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3962 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3963 instead of 0/1.
3964
3965 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3966 foll-vfork.exp: New files, move here from gdb.hp.
3967 * gdb.base/page.exp: New file, test of pagination command.
3968
3969 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3970 recursion test.
3971 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3972
3973 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3974 gdb.base/solib.exp: Fix compiler invocation process.
3975
3976 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3977 HP-UX 11, turn off overload resolution explicitly.
3978 * gdb.base/commands.exp: Set argument list explicitly, add
3979 watchpoint test.
3980 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3981 them work.
3982 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3983 expressions properly.
3984 * gdb.base/corefile.exp: Loosen the match slightly.
3985 * gdb.base/default.exp: Allow "Error accessing memory" message
3986 also.
3987 * gdb.base/display.exp: Skip over x/0 j if PA64.
3988 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3989 * gdb.base/interrupt.exp: Ditto.
3990 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3991 in use.
3992 * gdb.base/list.exp: Add xfails for HP-UX.
3993 * gdb.base/long_long.exp: Refine some of the numeric matches.
3994 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3995 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3996 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3997 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3998 * gdb.base/ptype.exp: Succeed on more varieties of output.
3999 * gdb.base/scope.exp: Add xfails for HP-UX.
4000 * gdb.base/sect-cmd.exp: Add more cases.
4001 * gdb.base/setvar.exp: Add xfails for HP-UX.
4002 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4003 * gdb.base/signals.exp: Match on void symbolically.
4004 * gdb.base/step-test.exp: Add case for PA64.
4005 * gdb.base/term.exp: Add exit and restart.
4006 * gdb.base/twice.exp: Clean up after self.
4007 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4008 * gdb.base/whatis.exp: Allow more ways to pass tests.
4009
4010 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4011 no longer useful.
4012
4013 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4014
4015 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4016 list of patterns.
4017 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4018 print_double_array(double_array)", "continuing to breakpoint
4019 1018", "print print_double_array(array_d)" and "continuing to
4020 1034" tests.
4021
4022 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4023
4024 * Makefile.in: Add empty html and install-html targets.
4025
4026 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4027
4028 * config/mt-*: Remove, these haven't been used since 1996.
4029
4030 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4031
4032 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4033 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4034 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4035
4036 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4037
4038 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4039 simpler match case for the ptype of the big class.
4040
4041 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4042
4043 * gdb.exp: Fix test for gdb_prompt existence.
4044
4045 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4046
4047 * gdb.exp (gdb_test): Add fail after calls to perror.
4048
4049 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4050
4051 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4052
4053 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4054
4055 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4056
4057 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4058
4059 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4060 malloc() is linked in.
4061
4062 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4063
4064 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4065 step at end.
4066
4067 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4068
4069 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4070
4071 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4072
4073 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4074
4075 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4076 * gdb.base/mips_pro.exp: Likewise.
4077
4078 1999-06-02 Keith Seitz <keiths@cygnus.com>
4079
4080 * gdb.c++/templates.cc: Change all "new" operators to throw
4081 an exception.
4082 * gdb.c++/cplusfuncs.cc: Likewise.
4083
4084 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4085
4086 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4087
4088 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4089 * gdb.base/ending-run.exp: When stepping out of main, accept a
4090 step into an arbitrary assembler file.
4091
4092 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4093
4094 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
4095 "breakpoint-invalid" to be printed.
4096 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
4097 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4098 * gdb.base/annota2.cc: Initialize a.x to 0.
4099
4100 1999-05-17 Keith Seitz <keiths@cygnus.com>
4101
4102 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4103 when "skip_float_tests" set.
4104 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4105 "print print_ten_doubles", and "step into print_long_arg_list".
4106 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4107 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4108 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4109 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4110 "skip_float_tests" is set.
4111 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4112 when "skip_float_tests" set.
4113
4114 1999-05-06 Keith Seitz <keiths@cygnus.com>
4115
4116 * gdb.base/annota2.cc: Include stdio.h.
4117
4118 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4119
4120 * gdb.base/crossload.exp: Remove, this has been disabled ever
4121 since BFD stopped including all targets, and cross-GDB gets
4122 plenty of testing anyway.
4123 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4124 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4125 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4126 * gdb.base/README: Remove, was doc for this.
4127 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4128 needed.
4129
4130 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4131
4132 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4133 output.
4134
4135 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4136 * gdb.base/annota2.exp: New file. More annotation tests.
4137 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4138 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4139
4140 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
4141
4142 * config/cfdbug.exp: New file.
4143
4144 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4145
4146 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4147 Marcus Daniel's and Dale Hawkins's demangler crashes.
4148
4149 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4150 test_lucid_style_demangling, test_arm_style_demangling,
4151 test_hp_style_demangling): Try Tom Tromey's core-dumping
4152 identifier under each demangling style.
4153
4154 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4155
4156 * gdb.c++/demangle.exp: Include the current demangling style
4157 in all test names.
4158 (current_demangling_style): New global variable.
4159 (set_demangling_style, test_demangling_core, test_demangling,
4160 test_demangling_exact): New functions.
4161 (test_gnu_style_demangling, test_lucid_style_demangling,
4162 test_arm_style_demangling, test_hp_style_demangling): Use those,
4163 instead of calling gdb_test and gdb_test_exact directly.
4164 (catch_demangling_errors): New function, which reports errors
4165 signalled by the demangling test functions in an orderly way.
4166 (do_tests): Use catch_demangling_errors.
4167
4168 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4169
4170 * gdb.base/signals.exp (test_handle_all_print): Use () for
4171 grouping in expressions, not {}.
4172
4173 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4174 initialized yet.
4175
4176 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4177
4178 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4179 are listed.
4180
4181 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4182
4183 * gdb.stabs/weird.exp: Test for CC being defined before
4184 looking at its value.
4185
4186 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4187
4188 * gdb.base/call-ar-st.exp: Remove stray '#'.
4189 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4190 "short int" and "long int".
4191 * gdb.c++/overload.cc: Cast the string added in the previous
4192 change, to mollify finicky HP compiler.
4193 * gdb.hp/reg-test.exp (testfile): Fix file name.
4194 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
4195
4196 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4197 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4198 alternate form of enum ptype.
4199
4200 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4201
4202 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4203 * gdb.hp/*.exp: Change all to run compiler probe only after
4204 passing skip_hp_tests, so as not to waste time on guaranteed
4205 failure.
4206
4207 * gdb.c++/overload.cc: Pass string instead of char addr, always
4208 init ccpfoo.
4209 * gdb.c++/templates.cc: Fix syntax error.
4210
4211 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4212
4213 * gdb.base/commands.exp: Add test for correct position of '>'
4214 when issuing the 'commands' command after a 'while' or 'if'
4215 command.
4216
4217 1999-03-18 James Ingham <jingham@cygnus.com>
4218
4219 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4220
4221 * gdb.c++/method.exp: It was testing an uninitialized int on the
4222 stack and assuming it was positive.
4223
4224 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4225
4226 * gdb.base/step-test.exp: Catch a case where finish is broken and
4227 keep it from killing the rest of the tests.
4228 Use gdb_continue_to_end.
4229
4230 * gdb.base/sigall.exp: use gdb_continue_to_end.
4231
4232 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4233
4234 * gdb.base/display.exp: use runto_main, not run.
4235
4236 * gdb.base/default.exp: Check for the current error message in the
4237 r abbreviation test.
4238 Add strongarm to the targets that know info float.
4239
4240 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
4241 run which doesn't work with monitors.
4242
4243 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4244
4245 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4246
4247 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
4248 program. Traps the case (in Cygmon) when the program never really
4249 exits. Same as Mark's continue_to_exit, but I had put it in a lot
4250 more places, so I used my name. Sorry Mark...
4251
4252 * config/monitor.exp (gdb_target_monitor): added another
4253 target_info parameter: remotebinarydownload. This will set the
4254 remotebinarydownload flag if this is causing some boards trouble.
4255
4256 1999-03-18 Mark Salter <msalter@cygnus.com>
4257
4258 * lib/gdb.exp (continue_to_exit): New function.
4259
4260 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4261 * gdb.base/ending-run.exp: Ditto.
4262 * gdb.base/step-test.exp: Ditto.
4263
4264 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4265
4266 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4267 (suggested by Art Haas <ahaas@neosoft.com>).
4268
4269 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4270
4271 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4272
4273 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4274
4275 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4276 descriptions of types (short unsigned int vs unsigned short, etc).
4277
4278 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4279
4280 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4281 a call to strlen; sometimes we do have sources.
4282
4283 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4284
4285 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4286 character, so GDB won't print garbage after its end.
4287
4288 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4289 breakpoint there instead. Sometimes GCC emits memcpy to handle
4290 the large structures being passed by value, so we step into that
4291 instead of sum_array_print, which obscures what we're really testing.
4292 * gdb.base/step-test.exp: However, we do want a test that notices
4293 the bizarre steps into memcpy, so do that here. Add check for
4294 stepping into function calls that pass large structures by value.
4295 ("Is that a noun clause, or are you just happy to see me?")
4296 Remove all references to specific line numbers.
4297 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4298 New type and function.
4299 (main): Call large_struct_by_value, passing it a large struct by value.
4300 * lib/gdb.exp (gdb_get_line_number): New function.
4301
4302 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4303 more portable.
4304
4305 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4306
4307 * lib/gdb.exp: Doc fixes.
4308
4309 1999-03-05 Nick Clifton <nickc@cygnus.com>
4310
4311 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
4312
4313 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4314
4315 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4316 commands. They're not germane to this test, and they don't work
4317 that way on remote targets.
4318
4319 1999-03-01 James Ingham <jingham@cygnus.com>
4320
4321 * Changelog entries merged over from gdb development branch.
4322
4323 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4324
4325 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4326 for outputting results of test run.
4327
4328 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
4329
4330 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
4331
4332 1999-02-25 Felix Lee <flee@cygnus.com>
4333
4334 * lib/gdb.exp (debug_format): initialize
4335
4336 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4337
4338 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4339 * gdb.base/call-rt-st.c: Ditto.
4340
4341 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4342
4343 * gdb.threads/pthreads.exp (horiz): New variable.
4344 (test_startup): Fix regexps that capture thread numbers.
4345
4346 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4347
4348 * gdb.base/smoke.exp: Disambiguate two test case names (both
4349 called ``print'').
4350
4351 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4352
4353 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4354 compilation.
4355
4356 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4357
4358 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4359 actual output formatting.
4360 * gdb.base/smoke.exp: GDB removes leading 0's.
4361 * gdb.base/volatile.exp: Don't check type of remuneration;
4362 that variable is no longer defined in constvars.c.
4363 * gdb.base/step-test.c (main): Exit with explicit exit code.
4364 * gdb.base/step-test.exp: Remove two nexti checks--they are
4365 not portable.
4366
4367 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4368
4369 * gdb.base/help.exp ("help delete display"): Fix test to match
4370 gdb's output.
4371
4372 * gdb.base/long_long.c (known_types): Initialize values to zero.
4373 * gdb.base/long_long.exp: Step one more line
4374 so 'dec' is initialized in "get to known place". GDB removes
4375 leading zeros. Explicitly ask for hex formatting. Use
4376 unique test case names.
4377
4378 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4379
4380 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
4381
4382 * gdb.c++/method.exp: Add missing close brace.
4383
4384 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4385
4386 * gdb.base/maint.exp: Use 'set height 0' to disable page
4387 prompting, not 'set height 400'.
4388
4389 Fix a bunch of timeouts.
4390 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4391 four separate tests, so expect doesn't take forever to match a ton
4392 of text against a regexp with lots of .* forms.
4393 ("maint print psymbols", "maint print symbols"): Make some of
4394 these greps more selective, so that expect doesn't try to wade
4395 through huge piles of output and time out.
4396
4397 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4398
4399 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4400 tests: one which doesn't expect shlib events to be reported, and
4401 another which does, but is XFAIL for all platforms other than
4402 HP/UX.
4403
4404 * gdb.base/break.exp: Teach the test suite that the `catch
4405 fork', `catch vfork', and `catch exec' commands produce error
4406 messages on platforms that don't provide these features.
4407
4408 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4409
4410 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4411 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4412 (shortening names from solib_threshold.exp etc), won't run on
4413 anything but HP-UX for the foreseeable future.
4414 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4415 reflect move.
4416
4417 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4418
4419 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4420 gdb.trace/Makefile.in (clean): Remove all test executables.
4421
4422 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4423
4424 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4425 successfully re-sets breakpoints in shared libraries.
4426 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4427
4428 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4429
4430 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4431 and compiled w/o GCC.
4432
4433 * gdb.hp/watch-cmd.exp: ditto.
4434
4435 * gdb.hp/watch-hp.exp: ditto.
4436
4437 * gdb.hp/xdb1.exp: ditto.
4438
4439 * gdb.hp/xdb2.exp: ditto.
4440
4441 * gdb.hp/dbx.exp: ditto.
4442
4443 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4444
4445 * constvars.c: Remove C++-isms.
4446 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4447 with GCC.
4448
4449 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4450
4451 The following changes are part of the HP merge.
4452
4453 * gdb.base/break.exp: new tests to verify that catchpoints for
4454 fork, vfork, and exec don't trigger inappropriately.
4455
4456 * gdb.base/opaque.exp: compile one file at a time, then link.
4457
4458 * gdb.base/signals.exp: be more restrictive about which hppa
4459 systems receive a setup_xfail. new tests.
4460
4461 * gdb.base/solib_threshold.build: new file.
4462 * gdb.base/solib_threshold.exp: new file.
4463 * gdb.base/solib_threshold.link_opts: new file.
4464 * gdb.base/solib_threshold.mk: new file.
4465 * gdb.base/gen_solib_threshold.c: new file.
4466
4467 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4468 tests. New tests for enums inside classes.
4469
4470 * gdb.c++/compiler.cc: indicate support of template debugging.
4471
4472 * gdb.c++/demangle.exp: run hp style demangling tests.
4473
4474 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4475 tests.
4476
4477 * gdb.c++/misc.cc: changes to support new tests.
4478
4479 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4480 to support new tests.
4481
4482 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4483 gcc, then skip these tests.
4484
4485 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4486
4487 The following files are part of the HP merge; some had longer
4488 names at HP, but have been renamed to be no more than 14
4489 characters in length.
4490
4491 * gdb.hp/ambiguous.cc: new file.
4492 * gdb.hp/ambiguous.exp: new file.
4493 * gdb.hp/attach.exp: new file.
4494 * gdb.hp/attach2.exp: new file.
4495 * gdb.hp/classes-hp.exp: new file.
4496 * gdb.hp/ctti.exp: new file.
4497 * gdb.hp/ctti-add.cc: new file.
4498 * gdb.hp/ctti-add1.cc: new file.
4499 * gdb.hp/ctti-add2.cc: new file.
4500 * gdb.hp/ctti-add3.cc: new file.
4501 * gdb.hp/dbx.exp: new file.
4502 * gdb.hp/exception.cc: new file.
4503 * gdb.hp/exception.exp: new file.
4504 * gdb.hp/foll-exec.c: new file.
4505 * gdb.hp/foll-exec.exp: new file.
4506 * gdb.hp/foll-fork.c: new file.
4507 * gdb.hp/foll-fork.exp: new file.
4508 * gdb.hp/foll-vfork.c: new file.
4509 * gdb.hp/foll-vfork.exp: new file.
4510 * gdb.hp/inherit-hp.exp: new file.
4511 * gdb.hp/more-steps.exp: new file.
4512 * gdb.hp/namespace.cc: new file.
4513 * gdb.hp/namespace.exp: new file.
4514 * gdb.hp/optimize.exp: new file.
4515 * gdb.hp/pxdb.c: new file.
4516 * gdb.hp/pxdb.exp: new file.
4517 * gdb.hp/quicksort.exp: new file.
4518 * gdb.hp/reg-test.exp: new file.
4519 * gdb.hp/reg-test.s: new file.
4520 * gdb.hp/sized-enum.c: new file.
4521 * gdb.hp/sized-enum.exp: new file.
4522 * gdb.hp/start-stop.exp: new file.
4523 * gdb.hp/templ-hp.cc: new file.
4524 * gdb.hp/templ-hp.exp: new file.
4525 * gdb.hp/thr-lib.c: new file.
4526 * gdb.hp/thr-lib.exp: new file.
4527 * gdb.hp/thr-lib.h: new file.
4528 * gdb.hp/thr-liblib.c: new file.
4529 * gdb.hp/virtfun-hp.c: new file.
4530 * gdb.hp/virtfun-hp.exp: new file.
4531 * gdb.hp/watch-cmd.exp: new file.
4532 * gdb.hp/watch-hp.exp: new file.
4533 * gdb.hp/xdb1.exp: new file.
4534 * gdb.hp/xdb2.exp: new file.
4535 * gdb.hp/xdb3.exp: new file.
4536
4537 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4538
4539 The following files are part of the HP merge; some had longer
4540 names at HP, but have been renamed to be no more than 14
4541 characters in length.
4542
4543 * gdb.base/ss.h: new file.
4544 * gdb.base/call-ar-st.c: new file.
4545 * gdb.base/call-ar-st.exp: new file.
4546 * gdb.base/call-rt-st.c: new file.
4547 * gdb.base/call-rt-st-exp: new file.
4548 * gdb.base/call-strs.exp: new file.
4549 * gdb.base/ena-dis-br.exp: new file.
4550 * gdb.base/environ.exp: new file.
4551 * gdb.base/long_long.exp: new file.
4552 * gdb.base/sect-cmd.exp: new file.
4553 * gdb.base/shlib-cl2.exp: new file.
4554 * gdb.base/smoke.exp: new file.
4555 * gdb.base/so-impl-ld.c: new file.
4556 * gdb.base/so-impl-ld.exp: new file.
4557 * gdb.base/so-indr-cl.c: new file.
4558 * gdb.base/so-indr-cl.exp: new file.
4559 * gdb.base/varargs.exp: new file.
4560 * gdb.base/volatile.exp: new file.
4561 * gdb.base/whatis-exp.exp: new file.
4562 * gdb.base/display.exp: new file.
4563 * gdb.c++/derivation.exp: new file.
4564 * gdb.c++/local.exp: new file.
4565 * gdb.c++/member-ptr.exp: new file.
4566 * gdb.c++/overload.exp: new file.
4567 * gdb.c++/ovldbreak.exp: new file.
4568 * gdb.c++/ref-types.exp: new file.
4569 * gdb.c++/ref-types2.exp: new file.
4570 * gdb.c++/userdef.exp: new file.
4571
4572 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4573
4574 * gdb.base/default.exp: Reflect wording change in remote.c.
4575
4576 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
4577
4578 * gdb.base/help.exp: Update to reflect current text.
4579
4580 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4581
4582 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4583 they're stack variables and contain garbage.
4584 * gdb.c++/anon-union.exp: new file.
4585
4586 The following changes were made by David Taylor
4587 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4588 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4589 in changes by HP.
4590
4591 * gdb.base/bitops.exp: new file.
4592 * gdb.base/default.exp: change expected messages for catch and
4593 info catch tests to reflect HP merge changes.
4594 * gdb.base/enable-disable-break.exp
4595 * gdb.base/ending-run.c: new file.
4596 * gdb.base/long_long.c: new file.
4597 * gdb.base/maint.exp: new file.
4598 * gdb.base/pointers2.exp: new file.
4599 * gdb.base/shlib-call2.exp: new file.
4600 * gdb.base/solib.exp: new file.
4601 * gdb.base/step-test.c: new file.
4602 * gdb.c++/anon-union.cc: new file.
4603 * gdb.c++/local.cc: new file.
4604 * gdb.c++/member-pointer.cc: new file.
4605 * gdb.c++/method.cc: new file.
4606 * gdb.c++/ref-types.cc: new file.
4607 * gdb.c++/ref-types2.cc: new file.
4608 * gdb.c++/userdef.cc: new file.
4609
4610 * gdb.base/scope.exp: compile one file at a time, then link.
4611 * gdb.base/langs.exp: ditto.
4612 * gdb.base/list.exp: ditto.
4613
4614 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4615
4616 The following changes were made by David Taylor
4617 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4618 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4619 in changes by HP.
4620
4621 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4622 skip tests. When compiling pass c++ flag to gdb_compile.
4623 * gdb.c++/
4624
4625 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4626 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4627 (skip_hp_tests): new function.
4628 (gdb_preprocess): new function.
4629
4630 * configure.in (hpdir): decide whether to configure gdb.hp.
4631 * configure: regenerated.
4632
4633 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4634 to delete on clean.
4635 (EXECUTABLES): update to reflect new additions.
4636 * gdb.base/commands.exp: update message expected.
4637 * gdb.base/default.exp: add copyright notice.
4638 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4639 * gdb.base/help.exp: update messages to reflect current text.
4640 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4641 targets for recurse tests.
4642 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4643 skip this file.
4644
4645 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4646 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4647 compilation.
4648 * gdb.c++/misc.exp: ditto.
4649 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4650 run the tests. tell gdb_compile that it's a c++ compilation.
4651
4652 * gdb.threads/pthreads.exp: fix typo in message.
4653
4654 * gdb.base/all-bin.exp: new file.
4655 * gdb.base/arithmet.exp: new file.
4656 * gdb.base/assign.exp: new file.
4657 * gdb.base/completion.exp: new file.
4658 * gdb.base/cond-expr.exp: new file.
4659 * gdb.base/condbreak.exp: new file.
4660 * gdb.base/define.exp: new file.
4661 * gdb.base/dollar.exp: new file.
4662 * gdb.base/environment.exp: new file.
4663 * gdb.base/eval-skip.exp: new file.
4664 * gdb.base/jump.exp: new file.
4665 * gdb.base/logical.exp: new file.
4666 * gdb.base/pointers.exp: new file.
4667 * gdb.base/relational.exp: new file.
4668 * gdb.base/section_command.exp: new file.
4669 * gdb.base/whatis-expr.exp: new file.
4670
4671 * gdb.base/all-types.c: new file.
4672 * gdb.base/call-array-struct.c: new file.
4673 * gdb.base/call-return-struct.c: new file.
4674 * gdb.base/call-strings.c: new file.
4675 * gdb.base/callfuncs2.c: new file.
4676 * gdb.base/condbreak.c: new file.
4677 * gdb.base/constvars.c: new file.
4678 * gdb.base/display.c: new file.
4679 * gdb.base/int-type.c: new file.
4680 * gdb.base/jump.c: new file.
4681 * gdb.base/miscexprs.c: new file.
4682 * gdb.base/pointers.c: new file.
4683 * gdb.base/pointers2.c: new file.
4684 * gdb.base/shmain.c: new file.
4685 * gdb.base/shr1.c: new file.
4686 * gdb.base/shr2.c: new file.
4687 * gdb.base/solib.c: new file.
4688 * gdb.base/solib1.c: new file.
4689 * gdb.base/solib2.c: new file.
4690 * gdb.base/varargs.c: new file.
4691 * gdb.c++/derivation.cc: new file.
4692 * gdb.c++/overload.cc: new file.
4693 * gdb.c++/ovldbreak.cc: new file.
4694 * gdb.hp/attach.c: new file.
4695 * gdb.hp/attach2.c: new file.
4696 * gdb.hp/average.c: new file.
4697 * gdb.hp/compiler.c: new file.
4698 * gdb.hp/compiler.cc: new file.
4699 * gdb.hp/execd-program.c: new file.
4700 * gdb.hp/follow-exec.c: new file.
4701 * gdb.hp/follow-fork.c: new file.
4702 * gdb.hp/follow-vfork-and-exec.c: new file.
4703 * gdb.hp/misc-hp.cc: new file.
4704 * gdb.hp/more-steps.c: new file.
4705 * gdb.hp/optimize.c: new file.
4706 * gdb.hp/quicksort.c: new file.
4707 * gdb.hp/run-hp.c: new file.
4708 * gdb.hp/start-stop.c: new file.
4709 * gdb.hp/sum.c: new file.
4710 * gdb.hp/templates-hp.cc: new file.
4711 * gdb.hp/thread-local-in-lib.c: new file.
4712 * gdb.hp/thread-local-in-lib.h: new file.
4713 * gdb.hp/thread-local-in-lib.lib.c: new file.
4714 * gdb.hp/vforked-program.c: new file.
4715 * gdb.hp/virtfunc-hp.cc: new file.
4716 * gdb.hp/watchpoint-hp.c: new file.
4717 * gdb.hp/xdb.c: new file.
4718 * gdb.hp/xdb0.c: new file.
4719 * gdb.hp/xdb0.h: new file.
4720 * gdb.hp/xdb1.c: new file.
4721
4722 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4723
4724 The following change was made by Edith Epstein
4725 <eepstein@cygnus.com> as part of a project to merge in changes
4726 originally made by HP; HP did not create ChangeLog entries.
4727
4728 * gdb.c++/demangle.exp: changed the expected output for some
4729 ARM-style mangling -- removed second reference to datatype.
4730 For example, maint demangle __dt__11T1__pt__2_cFv
4731 T1<char>::~T1<char>(void)
4732 becomes,
4733 maint demangle __dt__11T1__pt__2_cFv
4734 T1<char>::~T1(void)
4735
4736 (test_hp_style_demangling): new hp specific demangling test cases.
4737
4738 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4739
4740 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4741 * gdb.trace/backtrace.exp: Likewise.
4742 * gdb.trace/circ.exp: Likewise.
4743 * gdb.trace/collection.exp: Likewise.
4744 * gdb.trace/deltrace.exp: Likewise.
4745 * gdb.trace/infotrace.exp: Likewise.
4746 * gdb.trace/limits.exp: Likewise.
4747 * gdb.trace/packetlen.exp: Likewise.
4748 * gdb.trace/passc-dyn.exp: Likewise.
4749 * gdb.trace/passcount.exp: Likewise.
4750 * gdb.trace/report.exp: Likewise.
4751 * gdb.trace/save-trace.exp: Likewise.
4752 * gdb.trace/tfind.exp: Likewise.
4753 * gdb.trace/tracecmd.exp: Likewise.
4754 * gdb.trace/while-dyn.exp: Likewise.
4755 * gdb.trace/while-stepping.exp: Likewise.
4756
4757 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4758
4759 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4760
4761 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4762
4763 From Brendan Kehoe:
4764 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4765 int return types.
4766
4767 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4768
4769 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4770 remote dos host testing right.
4771
4772 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4773
4774 * gdb.base/corefile.exp: remove some xfails.
4775
4776 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4777
4778 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4779 have different timestamps.
4780
4781 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4782
4783 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4784 gdb.base/default.exp: Replace "exec" with "executable".
4785
4786 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4787
4788 * gdb.base/default.exp: Change else if to elseif from previous
4789 delta.
4790
4791 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4792
4793 * gdb.base/default.exp: Add brace missing from previous delta.
4794
4795 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4796
4797 * gdb.base/default.exp: Support test for info float for all
4798 varieties of arm toolchain.
4799
4800 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
4801
4802 * gdb.trace/*.exp: remove "remote_download" command.
4803
4804 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
4805
4806 * gdb.trace/*.exp: remove -gdwarf from compile.
4807
4808 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4809
4810 * gdb.trace/configure.in(AC_INIT): typo
4811 * gdb.trace/configure: regenerated
4812
4813 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
4814
4815 * config/m68k-emc.exp: New file.
4816 * lib/<emc-support.exp trace-support.exp}: New files.
4817 * configure.in: add new test directory gdb.trace.
4818 * gdb.trace/{configure configure.in Makefile.in}: New files.
4819 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4820 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4821 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4822 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4823 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4824 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4825 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
4826
4827 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
4828
4829 * gdb.c++/classes.exp: Change all regular expressions to match
4830 arbitrary combinations of newline/carriage-return, so that they
4831 will work equally well on Unix and Windows.
4832 * gdb.c++/inherit.exp: ditto.
4833 * gdb.c++/virtfunc.exp: ditto.
4834
4835 1998-08-11 Dawn Perchik <dawn@cygnus.com>
4836
4837 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4838
4839 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4840
4841 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4842 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4843 to use a0-a3/d0-d3 as needed.
4844
4845 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4846
4847 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4848 * gdb.disasm/am33.exp: Corresponding changes.
4849
4850 1998-07-11 Felix Lee <flee@cygnus.com>
4851
4852 * gdb.base/callfuncs.exp: add cmp10 test.
4853 * gdb.base/callfuncs.c (cmp10): new function.
4854
4855 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4856
4857 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
4858 into two parts to get around a synchronization problem in expect.
4859
4860 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4861
4862 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4863
4864 * configure.in: Add options for gdbtk testsuite.
4865
4866 * configure: Regenerate.
4867
4868 * gdb.gdbtk: New directory to hold gdbtk tests.
4869
4870 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4871
4872 * gdb.fortran/types.exp: Escape brackets in expect patterns
4873 for test_float_literal_types_accepted tests.
4874 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4875 before run test.
4876
4877 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4878
4879 * am33.exp: Just compile, do not link the testcase.
4880 * am33.s: Add ".am33" pseudoop to force am33 mode.
4881
4882 1998-06-25 Felix Lee <flee@cygnus.com>
4883
4884 * gdb.base/setshow.exp: make sure $pc is sane.
4885
4886 * gdb.stabs/weird.exp: split expect patterns properly.
4887
4888 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4889
4890 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4891 * gdb.disasm/am33.exp: Run it.
4892
4893 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
4894
4895 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4896 match processing (and eliminate spurious timeouts when running).
4897
4898 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
4899
4900 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4901 exception test, but conditionalize it on target [mach | gnu].
4902
4903 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
4904
4905 * gdb.base/overlays.exp: fixup compile line for linker script.
4906
4907 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4908
4909 * gdb.fortran/types.exp: don't guess at float size.
4910
4911 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4912
4913 * gdb.base/exprs.exp: delete test that depends on int size.
4914
4915 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4916
4917 * config/sim.exp: Removed checks for target triplets.
4918 (gdb_target_sim): Use gdb,target_sim_options.
4919
4920 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4921
4922 * gdb.base/reread.exp: New file.
4923 * gdb.base/reread1.c: New file.
4924 * gdb.base/reread2.c: New file.
4925
4926 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4927
4928 * config/sim.exp: Use 'target sim -sparclite' when running
4929 SPARClite programs.
4930
4931 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4932
4933 * gdb.base/structs2.exp: New file.
4934 * gdb.base/structs2.c: New file.
4935
4936 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4937
4938 * gdb.asm/common.inc: New file.
4939 * gdb.asm/d10v.inc: New file.
4940 * asm-source.exp: Pass -I's to gas to find .inc files.
4941 Update line numbers in expected output.
4942 * asmsrc1.s: Rewrite.
4943 * asmsrc2.s: Rewrite.
4944 * configure.in: Create arch.inc symlink.
4945 * configure: Regenerate.
4946 * Makefile.in (distclean): Delete arch.inc.
4947
4948 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4949
4950 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4951 (t_enum_value2): ditto
4952 (t_enum_value3): ditto
4953 (main): ditto
4954 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4955
4956 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4957 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4958 change.
4959 Use gdb_test instead of send_gdb/gdb_expect sequences.
4960
4961 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4962
4963 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4964 not void.
4965
4966 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4967
4968 * gdb.base/branches.c: Code with lots of loops and
4969 subroutines. Used to test gdbs ability to single step through PC
4970 changes, especially to test mips-tdep.c:mips_next_pc
4971
4972 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4973
4974 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4975 more rigorous EGCS C++ error checking.
4976
4977 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4978
4979 * gdb.base/help.exp: Clean up `help set args' and `help show args'
4980 tests.
4981 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
4982 function when asleep.
4983 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
4984 for i*86 Linux and SVR4 signal handling problems.
4985 Remove linux xfail for `next to handler in signals_tests_1', fixed
4986 by recent infrun.c change.
4987 Limit backtrace to 10 frames to avoid timeout problems with infinite
4988 stack backtraces.
4989 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4990 target.[ch] change.
4991
4992 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4993
4994 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4995 for a newline from gdb before continuing.
4996 (default_gdb_exit): Just look for y or n.
4997 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4998 it does, fail the rests of the tests in the file.
4999
5000 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5001
5002 * config/cygmon.exp: New file.
5003
5004 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5005
5006 * gdb.base/list.exp: Fix problem with "list default lines around
5007 main" test on remote targets.
5008
5009 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5010 run test on remote targets.
5011
5012 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5013
5014 * gdb.asm: New directory.
5015 * configure.in: Configure it.
5016 * configure: Regenerate.
5017 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5018 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5019
5020 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5021
5022 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5023
5024 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
5025
5026 * gdb.base/overlays (several files): Merge the two overlay
5027 managers into one. Change variables (foox, barx, bazx, grbxx)
5028 back into ints but force them to load in their proper sections.
5029
5030 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5031
5032 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5033 on-chip insn memory and IMAP1 to upper 128k.
5034 (D10VCopy): Handle memory regions crossing 16k boundaries.
5035 (D10VCopy): Transfer data in 32 bit chunks.
5036
5037 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5038
5039 * gdb.base/overlays.c (main): Exit normally when result is
5040 correct.
5041
5042 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5043 map. Include space for printf in .text segment.
5044
5045 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5046 updated d10v memory VMA/LMA map.
5047 (D10VCopy): Call D10VTranslate.
5048
5049 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5050
5051 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5052
5053 * gdb.base/bar.c (barx, bar): Change variable to small array so
5054 that it won't be put into the .sdata - small data -
5055 section. Update reference.
5056 * gdb.base/baz.c (bazx, baz): Ditto.
5057 * gdb.base/foo.c (foox, foo): Ditto.
5058 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5059
5060 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5061 to be arrays.
5062
5063 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
5064
5065 * gdb.base/overlays.exp: fix up and get working again.
5066 Add tests for backtraces from an overlay function.
5067
5068 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5069
5070 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5071 "calling function with watchpoint enabled".
5072
5073 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5074
5075 * gdb.base/break.exp (test_next_with_recursion): Remove
5076 gdb_suppress_tests for d10v-*-*.
5077 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5078 pending review of whether it is useful or not.
5079
5080 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5081
5082 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5083
5084 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5085
5086 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5087 * config/dve.exp: New file to support Densan boards.
5088
5089 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5090
5091 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5092 reads and BSD.
5093
5094 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5095
5096 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5097 response.
5098
5099 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5100
5101 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5102
5103 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5104 test.
5105
5106 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5107 target_sizeof_long and target_bigendian_p.
5108 (structs_by_value, structs_by_reference): Check values according
5109 to targets word size and endianess.
5110
5111 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5112
5113 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5114 output.
5115
5116 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5117
5118 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5119 Update test of set args help to match source change.
5120
5121 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5122
5123 * gdb.base/default.exp: Expect help system output to be in
5124 alphabetical order.
5125 * gdb.base/help.exp: Ditto.
5126
5127 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5128
5129 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5130 "i*86-pc-linux-gnu*".
5131 * gdb.base/interrupt.exp: Ditto.
5132 * gdb.base/corefile.exp: Ditto.
5133
5134 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5135 define vxworks when building the testcase.
5136
5137 * gdb.base/ptype.exp: Fix testnames to be unique.
5138 * gdb.base/radix.exp: Ditto.
5139 * gdb.base/term.exp: Ditto.
5140 * gdb.base/whatis.exp: Ditto.
5141 * gdb.c++/classes.exp: Ditto.
5142
5143 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5144
5145 * gdb.base/callfuncs.exp: Fix indentation.
5146
5147 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5148 suppress_flag has been set.
5149 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5150 target feature.
5151
5152 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5153
5154 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5155 the testcase.
5156
5157 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5158 set_debug_traps() and breakpoint().
5159 * gdb.c++/misc.cc (main): Ditto.
5160 * gdb.c++/templates.cc (main): Ditto.
5161 * gdb.c++/virtfunc.cc (main): Ditto.
5162
5163 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5164
5165 * lib/gdb.exp(gdb_step_for_stub): New function.
5166 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5167 exists, reload the executable and do a "continue" instead of
5168 doing a jump.
5169 (runto_main): Use gdb_step_for_stub.
5170
5171 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5172 tests to have unique names.
5173 * gdb.base/callfuncs.exp: Ditto.
5174 * gdb.base/commands.exp: Ditto.
5175 * gdb.base/default.exp: Ditto.
5176 * gdb.base/help.exp: Ditto.
5177 * gdb.base/list.exp: Ditto.
5178 * gdb.base/opaque.exp: Ditto.
5179 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5180 similar tests.
5181
5182 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5183 * gdb.c++/cplusfuncs.cc: Ditto.
5184 * gdb.c++/virtfunc.cc: Ditto.
5185
5186 * config/monitor.exp: Keep track of the last file we saw, rather
5187 than trying to get the info from gdb.
5188
5189 * gdb.fortran/types.exp: Move comment to previous line.
5190
5191 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5192
5193 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5194 target mode.
5195
5196 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5197
5198 From Bob Manson:
5199 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5200 string from GDB when it connects.
5201
5202 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5203
5204 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5205
5206 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5207 if we can't get a debug format from GDB (we may be testing an
5208 older GDB). Use a 10 second timeout when checking for the format.
5209
5210 * gdb.stabs/weird.exp: Fix quoting.
5211
5212 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5213
5214 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5215
5216 * config/arm-ice.exp: New file.
5217
5218 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5219
5220 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5221 until it has been modified to work with the new testsuite.
5222
5223 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
5224 testcase won't compile, cause all of the testcases in the file to
5225 fail instead.
5226
5227 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5228 (gdb_clear_suppressed): New procedure.
5229 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5230 it contains a positive value.
5231
5232 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5233
5234 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5235
5236 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5237
5238 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5239
5240 * lib/gdb.exp (setup_xfail_format): New function.
5241 (get_debug_format): New function to get debug format.
5242 (debug_format): New global variable to hold last value set
5243 by get_debug_format.
5244 * gdb.base/list.exp: Call get_debug_format and expect some
5245 tests to fail for DWARF 1 and COFF formats.
5246 * gdb.c++/ptype.exp: Ditto.
5247 * gdb.c++/classes.exp: Ditto.
5248 * gdb.c++/cplusfuncs.exp: Ditto.
5249 * gdb.c++/inherit.exp: Ditto.
5250 * gdb.c++/templates.exp: Ditto.
5251 * gdb.c++/virtfunc.exp: Ditto.
5252
5253 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5254
5255 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5256 host doesn't have a currently-open connection.
5257
5258 * config/sparclet.exp: Cleanups and fixes to make it generic for
5259 any gdb stub target. Handle cases where gdb doesn't respond when
5260 interrupted in a sane fashion.
5261
5262 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5263 same thing in a totally different way.
5264
5265 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5266 setting "timeout".
5267 (gdb_start): We set the global gdb_prompt variable in
5268 default_gdb_init now.
5269
5270 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5271
5272 * gdb.base/printcmds.exp: Fix "check for floating addition"
5273 regexp to accept results within approx +/- .01 of exact value.
5274 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5275
5276 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5277
5278 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5279 properly.
5280 (gdb_expect): Add optional timeout parameter, and add timeout
5281 value to various calls.
5282 (gdb_suppress_tests): Only give one warning message per group.
5283
5284 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5285
5286 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5287 global variables. Handle getting a value for $timeout more
5288 gracefully.
5289
5290 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5291
5292 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5293 initialize.
5294 (default_gdb_init): New procedure; allow gdb_init to be overridden
5295 by a target configuration file.
5296 (gdb_expect): Pass the timeout to remote_expect.
5297
5298 * config/monitor.exp(gdb_load): Fix typo in regexp.
5299
5300 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5301
5302 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5303
5304 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5305
5306 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5307 here. Call gdb_target_exec before rebooting the target, to make
5308 sure the connection to the target is closed.
5309 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5310 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5311 Also detect "Timeout reading from remote" error.
5312
5313 * config/gdbserver.exp: Pass the executable being loaded to
5314 gdb_target_monitor. Don't call gdb_file_cmd here; let
5315 gdb_target_monitor do it.
5316
5317 * gdb.disasm/hppa.exp: Don't use exec_output.
5318
5319 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5320
5321 * gdb.base/list.exp: If we're debugging a non-native target,
5322 try to set the pc register to point to the start of the
5323 program before doing the first list command.
5324
5325 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5326 test_calls after restarting.
5327
5328 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5329 reloading.
5330
5331 * gdb.base/watchpoint.exp: Fix typo.
5332
5333 * gdb.base/setshow.exp: Check for use_gdb_stub.
5334
5335 * gdb.base/break.exp: Fix continue until exit test for the gdb
5336 stub case.
5337 * gdb.base/langs.exp: Ditto.
5338
5339 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5340 gdb_load_offset. If we weren't given a file to load, figure out
5341 what the current file is and use it.
5342
5343 * config/i386-bozo.exp: New file.
5344
5345 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5346
5347 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5348 feature.
5349
5350 * config/proelf.exp: New entry.
5351
5352 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5353
5354 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5355 of regexps.
5356
5357 * gdb.base/watchpoint.exp: Don't run the test_stepping
5358 tests if gdb can't call functions on the target.
5359
5360 * gdb.base/setshow.exp: Don't run the set prompt tests if
5361 the board has gdb_prompt set.
5362
5363 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5364
5365 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5366 * gdb.base/commands.exp: Likewise.
5367 * gdb.base/setshow.exp: Likewise.
5368
5369 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5370
5371 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5372 feature.
5373
5374 * config/i960.exp: New file.
5375
5376 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5377
5378 * gdb.base/funcargs.exp: Check for gdb,short_int target
5379 feature instead of looking for explicit target triplets.
5380
5381 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
5382
5383 * gdb.base/printcmds.exp: add a couple more tests a la
5384 "p 123DEADBEEF", to check parse_number.
5385 * top.c: change "to enable to enable" to "to enable" in a couple
5386 of help strings.
5387
5388 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5389
5390 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5391 on the mn10300.
5392
5393 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5394
5395 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5396 where the test executable is run with explicit args.
5397 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5398
5399 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5400
5401 * gdb.base/run.c: Use FAKEARGV to build test executable that
5402 does not require a command line arg, since most simulators
5403 don't currently support passing such an arg into the simulated
5404 program.
5405 * gdb.base/commands.exp: Change tests to insert the proper
5406 value as the arg to the first recursive factorial call. Change
5407 compilation line to define FAKEARGV at compile time.
5408
5409 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5410
5411 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5412 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5413 function with watchpoint enabled" test.
5414
5415 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5416
5417 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5418 Don't call gdb_test when the command doesn't return to a gdb prompt.
5419
5420 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5421 "Tests restarted" messages.
5422
5423 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5424
5425 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5426
5427 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
5428
5429 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5430 for INFO SYMBOL; add help tests for OVERLAY commands.
5431 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5432 add tests for OVERLAY commands
5433 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5434 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5435 * gdb.base/sigall.c: add usestubs code frag
5436 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
5437
5438 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5439
5440 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5441 failures.
5442 (gdb_stop_suppressing_tests): Note that tests have restarted.
5443
5444 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5445
5446 * config/h8300.exp: New file.
5447
5448 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5449
5450 * gdb.base/setshow.exp: Check for the existence of a
5451 feature, not its value.
5452
5453 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5454
5455 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5456
5457 * gdb.base/scope.exp: It's now init0(), not init().
5458
5459 * gdb.base/scope0.c: For now, change init() to be init0().
5460
5461 * config/monitor.exp: Use gdb_serial in preference to serial
5462 or netport.
5463
5464 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5465 and it's not already set.
5466
5467 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5468
5469 * gdb.base/setshow.exp: Only test the run command if the target
5470 isn't using a stub and if it supports argument passing.
5471
5472 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5473
5474 * config/udi.exp(gdb_start): Make sure UDICONF is set
5475 properly before starting gdb.
5476
5477 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5478
5479 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5480 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5481 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5482
5483 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5484
5485 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5486 specialized code to reboot the board, use remote_reboot instead.
5487
5488 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5489
5490 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5491
5492 * config/monitor.exp: Make sure we disconnect from the target.
5493 Also, try a reboot/reload cycle instead of failing if the
5494 load fails.
5495
5496 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5497
5498 * gdb.base/default.exp: Don't set match_max.
5499 * gdb.base/help.exp: Ditto.
5500 * gdb.base/list.exp: Ditto.
5501 * gdb.base/signals.exp: Ditto.
5502
5503 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5504 set, use remote_ld to download the testcase instead of
5505 the GDB loader.
5506
5507 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5508
5509 * config/vr5000.exp: New file.
5510
5511 * config/monitor.exp(gdb_target_monitor): Add pattern for
5512 "Ending remote" to detect errors in connecting.
5513
5514 * gdb.base/setshow.exp: Add .* within auto language test.
5515
5516 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5517 target feature.
5518
5519 * config/monitor.exp(gdb_load): Check for a failure when loading,
5520 and reboot the board if necessary.
5521
5522 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5523 a set of tests. Remove print.* from the patterns being checked.
5524
5525 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5526
5527 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5528 refer to gdb_spawn_id.
5529
5530 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5531 longer used.
5532 * config/sparclet.exp: Ditto.
5533 * config/sparclet-old.exp: Ditto.
5534 * config/slite.exp: Ditto.
5535 * config/sim.exp: Ditto.
5536 * gdb.base/funcargs.exp: Ditto.
5537
5538 * lib/gdb.exp:Remove references to gdb_spawn_id.
5539 (gdb_expect): Move to remote.exp.
5540
5541 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5542
5543 * config/monitor.exp: Detect the "Couldn't establish connection"
5544 message from GDB.
5545
5546 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5547
5548 * gdb.base/bitfields.exp: Use runto instead of explicit
5549 gdb_run_cmd/gdb_expect sequences.
5550
5551 * gdb.base/break.exp(text_next_with_recursion): Add match for
5552 gdb_expect call.
5553
5554 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5555 We also need to handle the "A program is being debugged already"
5556 prompt from gdb. Use gdb_test to set the baud rate.
5557
5558 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5559 to 20000. Really. I mean it.
5560
5561 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5562
5563 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5564 fails. If suppress_flag is set, skip perror message about not
5565 being able to send to GDB.
5566 (send_gdb): If suppress_flag is set, don't try to send commands to
5567 GDB.
5568 (gdb_expect): If suppress_flag is set, always fail immediately.
5569 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5570 (gdb_init): Call gdb_stop_suppressing_tests.
5571 (default_gdb_exit): Ditto.
5572 (default_gdb_start): Ditto.
5573
5574 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5575 gdb_stop_suppressing_tests as appropriate.
5576 * gdb.base/break.exp: Ditto.
5577 * gdb.base/callfuncs.exp: Ditto.
5578 * gdb.base/commands.exp: Ditto.
5579 * gdb.base/exprs.exp: Ditto.
5580 * gdb.base/funcargs.exp: Ditto.
5581 * gdb.base/list.exp: Ditto.
5582 * gdb.base/recurse.exp: Ditto.
5583 * gdb.base/scope.exp: Ditto.
5584 * gdb.base/structs.exp: Ditto.
5585 * gdb.c++/inherit.exp: Ditto.
5586
5587 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5588
5589 * config/vr4300.exp: New file.
5590
5591 * gdb.*/*.exp: Call gdb_expect instead of expect.
5592
5593 * lib/gdb.exp(gdb_expect): New function.
5594
5595 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5596
5597 * lib/gdb.exp(gdb_init): New function.
5598
5599 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5600 for each individual variable set.
5601
5602 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5603 name.
5604
5605 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5606
5607 * gdb.base/scope.exp: Use gdb_test.
5608
5609 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5610 aborting; the testsuite driver will do that for us (see
5611 gdb_finish). Also, use gdb_test in a few more places.
5612
5613 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5614
5615 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5616
5617 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5618
5619 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5620 and "add_tests" are not at the same address.
5621
5622 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5623
5624 * gdb.base/ptype.exp: Use gdb_test.
5625
5626 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5627
5628 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5629 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5630 left in. No longer expect them to fail.
5631
5632 * gdb.stabs/*.mt; Deleted, no longer used.
5633 * gdb.stabs/configure.in: Remove references to target makefile
5634 frags.
5635 * gdb.stabs/configure: Rebuilt.
5636
5637 * gdb.disasm/*.mt: Deleted, no longer used.
5638 * gdb.disasm/configure.in: Remove references to target makefile
5639 frags. Use "sh3.s" as the unique filename for this directory.
5640 * gdb.disasm/configure: Rebuilt.
5641
5642 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5643 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5644 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5645
5646 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5647
5648 * config/udi.exp: Use mondfe,name instead of remote_host.
5649
5650 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5651
5652 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5653 a function with a watchpoint enabled on the mn10200.
5654
5655 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5656 before trying to create it!
5657
5658 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5659
5660 * config/vx.exp: Use hostname instead of netport.
5661
5662 * config/vxworks.exp: New file.
5663
5664 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5665
5666 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5667 gdb before assuming everything worked. Send a ^C if a timeout
5668 occurs.
5669
5670 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5671 $gdb_spawn_id directly.
5672 (gdb_run_cmd): Try _start as well as start. Use the target feature
5673 gdb,start_symbol as the symbol to start from when jumping.
5674
5675 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5676
5677 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5678 redundant) test.
5679
5680 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5681 it doesn't lose for 16bit integer systems.
5682
5683 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5684
5685 * gdb.fortran/types.exp: If the target doesn't support "double"
5686 data types, then expect "real" types to only be 4 bytes.
5687
5688 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5689 call tests if the target doesn't support inferior function calls.
5690
5691 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5692 in printf tests.
5693
5694 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5695
5696 * gdb.base/help.exp: Disable "help set", "help show", and
5697 "help support". Simplify regexp for "help stack".
5698
5699 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5700 to 60 seconds. Temporarily set match_max to 15000 around the
5701 "info copying" test.
5702
5703 * gdb.base/nodebug.exp: Don't try to do an inferior function
5704 call if the target doesn't support them.
5705 * gdb.base/printcmds.exp: Likewise.
5706 * gdb.base/setvar.exp: Likewise.
5707 * gdb.base/structs.exp: Likewise.
5708 * gdb.c++/templates.exp: Likewise.
5709 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5710
5711 * gdb.base/recurse.exp: Enable for the mn10200.
5712
5713 * configure.in: Do configure gdb.stabs directory for *-*-elf
5714 targets.
5715 * configure: Rebuilt.
5716
5717 * gdb.base/break.exp: Check for gdb,noresults before testing
5718 exit status and/or results from the target.
5719 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5720 * lib/gdb.exp: Remove old (now bogus) initialization of
5721 noinferior, noargs, noresults and nosignals.
5722
5723 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5724
5725 * config/sh.exp: New file.
5726
5727 * config/slite.exp: Try to connect multiple times to the board
5728 before rebooting. Only send a "monitor run" if need_monitor_run
5729 is set.
5730
5731 * gdb.base/break.exp: Don't do the "stub continue" test if
5732 the target has gdb_stub set.
5733
5734 * gdb.base/callfuncs.exp: Increase the timeout.
5735
5736 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5737 if the target has gdb,noinferiorio set.
5738
5739 * gdb.base/list.exp: Increase match_max to 10000 characters.
5740
5741 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5742
5743 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5744 target.
5745
5746 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5747
5748 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5749
5750 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5751 trying to delete the copy of gdb. Catch the file delete so we
5752 don't die if the delete fails; also, the file should be copied to
5753 the host, not to the build.
5754
5755 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5756
5757 * lib/gdb.exp(gdb_test): Surround the result pattern with
5758 parenthesis in case it contains multiple regexps separated
5759 with |.
5760
5761 * gdb.base/watchpoint.exp: Use gdb_test.
5762 * gdb.base/default.exp: Ditto.
5763
5764 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5765
5766 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
5767
5768 * gdb.base/scope.exp: Use gdb_test.
5769 * gdb.c++/classes.exp: Ditto.
5770 * gdb.c++/inherit.exp: Ditto.
5771
5772 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5773
5774 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5775 remote_exec instead.
5776 * gdb.base/corefile.exp: Don't be ridiculous.
5777 * gdb.base/*.c: Add missing stub invocations.
5778
5779 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5780
5781 * config/slite.exp: Miscellaneous fixes.
5782
5783 * lib/gdb.exp: Fix runto.
5784
5785 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5786 the target.
5787
5788 * gdb.base/watchpoint.exp: Fix regexp.
5789
5790 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5791 close and wait commands, as the descriptor may now be
5792 invalid. Always call "remote_close host".
5793
5794 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5795
5796 Major rewrite for testsuite revision.
5797
5798 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5799 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5800 instead of relying on spawn_id to always contain a valid
5801 spawn id.
5802 (get_compiler_info): New procedure to build the ${binfile}.ci
5803 file, instead of replicating this in N different places.
5804 (gdb_compile): New procedure.
5805
5806 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5807 appropriate arguments) instead of compile. Use gdb_test in a lot
5808 more places. Use send_gdb instead of send. Always run gdb_start
5809 at the start of a testcase, as this is no longer done magically.
5810
5811 config/*-gdb.exp: Rename without the -gdb suffix.
5812
5813 config/mips.exp: Use remote_close instead of exit_remote_shell.
5814 config/monitor.exp: Use target_info instead of looking at
5815 baud, timeout, etc.
5816 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5817
5818 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5819
5820 * gdb.c++/templates.exp (test_ptype_of_templates),
5821 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5822 Update expect patterns for destructors and assignment operators
5823 to match corresponding c-typeprint.c changes.
5824 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5825 to destructor breakpoint test, GDB should be able to set the
5826 destructor breakpoint without specifying arguments.
5827
5828 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5829
5830 * gdb.threads/pthreads.exp: Change result for failure to compile due
5831 to lack of pthreads runtime support from an error to simply an
5832 unsupported test, per dejagnu standards.
5833
5834 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5835
5836 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5837 where GDB exits to reduce pattern match time.
5838 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5839
5840 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5841
5842 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
5843
5844 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5845 * gdb.base/default.exp: ditto.
5846 * gdb.base/nodebug.exp: ditto.
5847 * gdb.base/printcmds.exp: ditto.
5848 * gdb.base/ptype.exp: ditto.
5849 * gdb.base/setvar.exp: ditto.
5850 * gdb.base/structs.exp: ditto.
5851 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5852
5853 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5854
5855 * configure, */configure: Rebuild with autoconf 2.12.
5856
5857 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5858
5859 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5860 use new i*86-pc-linux*-gnu quads.
5861 * gdb.base/corefile.exp: Ditto.
5862 * gdb.base/signals.exp: Ditto.
5863 * gdb.base/sigall.exp: Ditto.
5864 * gdb.base/interrupt.exp: Ditto.
5865
5866 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5867 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5868 RedHat 4.0.
5869
5870 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5871 linux. This allows the test case to at least compile on latest
5872 linux, but still not run due to missing the threads runtime library.
5873
5874 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5875
5876 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5877 directory to search gdb directory. Accept and step over conditional
5878 stack alignment code. Consume $prompt in failure cases.
5879 Reset timeout to $oldtimeout instead of some arbitrary value.
5880 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5881 timeout problems with infinite stack backtraces.
5882 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5883 Accept function parameters for linkfunc member.
5884
5885 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5886
5887 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5888 (CXXFLAGS): Remove, unreferenced.
5889 (B_OPTIONS): Add for -B options and add code to initialize with
5890 previous -B options and also add -B option to pick up cross compiled
5891 runtime.
5892 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5893 doing cross compiles.
5894 (target_alias): Declare global.
5895 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5896 to verify that gcc exists in build tree, and if so set CC to that
5897 gcc and to use B_OPTIONS and TARGET_INCLUDES.
5898
5899 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5900
5901 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5902 ptype test for anonymous union. Fixup testcase to match
5903 current gcc debug output.
5904
5905 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5906
5907 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5908 force argument to an unsigned long type.
5909
5910 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5911
5912 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5913 tests and anonymous union print/ptype tests.
5914 * gdb.base/list.exp (test_forward-search): Increase timeout by
5915 5 minutes for the "search extremely long line" case.
5916 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5917 completely optional and that the pass/fail messages use the command as
5918 the message if that third arg is a null string.
5919 (gdb_test_exact): Arrange that a null string pattern means match a
5920 null string output rather than any output, which might include random
5921 errors.
5922 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5923 backtrace test.
5924 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5925 always failing and failure is now exposed by gdb.exp changes.
5926
5927 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5928
5929 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5930 weren't being noted.
5931
5932 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5933
5934 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5935 * gdb.stabs/weird.exp: Remove v_comb xfails.
5936
5937 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
5938
5939 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5940 list.exp scope.exp watchpoint.exp]
5941 Make all timeout error msgs explicitly say "(timeout)".
5942
5943 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
5944
5945 * config/monitor.exp: Increase download timeout to 1000 seconds.
5946
5947 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
5948
5949 * config/m32r.exp: Increase timeout to 120 seconds.
5950
5951 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5952
5953 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5954 and accept older ordering as obsolescent gcc or gdb.
5955 * gdb.c++/templates.exp: Ditto.
5956 * gdb.c++/virtfunc.exp: Ditto.
5957
5958 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5959
5960 * gdb.base/coremaker.c: Add code to mmap some data so we
5961 can check that it ends up in the core file.
5962 * gdb.base/corefile.exp: Add test to read mmapped data
5963 from core file.
5964
5965 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
5966
5967 * config/m32r.exp: New file.
5968
5969 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5970
5971 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5972 that cflags can contains -gstabs, and work correctly for other tests.
5973
5974 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
5975
5976 * gdb.base/setshow.exp: New file, tests show and set.
5977 * gdb.base/setshow.c: New file, tests show and set.
5978 * gdb.base/help.exp: Add test for help set|show annotate.
5979 * gdb.base/default.exp: Add test for set|show annotate.
5980
5981 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5982
5983 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5984 errors unique.
5985 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5986 explicitly.
5987
5988 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5989
5990 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5991 and width commands. This is done elsewhere.
5992 * (gdb_start): Don't call gdb_start_sim here. That's already
5993 done in gdb_load. This fixes lots of failures in default.exp.
5994
5995 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5996
5997 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5998 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5999 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6000 in the same we we treat other failures (since it may be an expected
6001 condition), rather than as an error.
6002 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6003 old test format.
6004
6005 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6006
6007 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6008 (distclean maintainer-clean realclean): No need to remove files
6009 twice. Nuke the duplicates.
6010 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
6011 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
6012 Remove config.h along with other config files.
6013
6014 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6015
6016 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6017 "p func1 ()" and note that rests of tests are skipped.
6018 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6019 setup_xfails for "print func2::coremaker_local".
6020 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6021 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6022 affected by the previous run test.
6023 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6024 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6025 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6026 "pass int powerset tuple" and "pass modeless int powerset tuple".
6027 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6028 "real write 4" and "real write 8".
6029 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6030 setup_xfails for "print vs1 after tuple assign 2",
6031 "print \$i after tuple assign 2", and
6032 "print vs2 after tuple assign 2".
6033 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6034 meaningful error message and return -1 so the caller can
6035 suppress further tests and avoid a cascade of errors.
6036
6037 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6038
6039 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6040 format for printing version.
6041 * gdb.base/default.exp: Ditto.
6042 * gdb.base/interrupt.exp: Fix problem with cascade of
6043 errors if child process dies while calling a function.
6044
6045 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6046
6047 * Makefile.in (VPATH): Add
6048 * Makefile.in (Makefile, config.status): Fix rules so things get
6049 remade when necessary.
6050
6051 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6052
6053 * Makefile.in (just-check): Add path to sibling expect dir
6054 to environment variable specified by RPATH_ENVVAR.
6055
6056 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6057
6058 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6059 (just-check): Add shared library paths for libstdc++, tk,
6060 tcl, bfd, and opcodes to the environment variable specified
6061 in RPATH_ENVVAR.
6062 * configure.in: Add support to recognize --enable-shared flag
6063 and generate correct value for RPATH_ENVVAR.
6064 * configure: Regenerated with autoconf.
6065
6066 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6067
6068 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6069 include all osf versions.
6070 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6071 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6072 when target is linux. When failing to build pthreads test
6073 executable, give more meaningful message.
6074 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6075 arg for pthread_create.
6076
6077 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6078
6079 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6080 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6081 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6082 and -lpthreads (everybody else).
6083 (test_startup): Fail gracefully if threads are not supported.
6084 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6085 "p/c array_index("abcdef",2)" when not gcc compiled.
6086 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6087 "print func2::coremaker_local" when not gcc compiled.
6088 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6089 "ptype on opaque struct tagname (statically)",
6090 "ptype on opaque struct tagname (dynamically) 1", and
6091 "ptype on opaque struct tagname (dynamically) 2"
6092 for not compiled with gcc.
6093 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6094 backtrace when compiled with gcc.
6095 * lib/gdb.exp (runto_main): Return result of "runto main" rather
6096 than always return success.
6097
6098 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6099
6100 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6101
6102 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6103
6104 * gdb.base/structs.exp: Undo last change.
6105
6106 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6107
6108 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6109 encapsulate all the steps/nexts done during self test, starting
6110 at main, and makes them less sensitive to optimization issues.
6111 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6112 signal handler" test.
6113 * gdb.threads/pthreads.exp: Only run this for native configs.
6114 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6115 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6116 tests.
6117 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6118 for "runto test_calls(void)" test.
6119
6120 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6121
6122 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6123 and don't expect address info in breakpoint confirmations.
6124
6125 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6126
6127 * gdb.base/list.exp (test_forward_search): Increase timeout
6128 temporarily by 60 seconds for searching extremely long line,
6129 and then reset to old value when done. Increase expect input
6130 buffer to 10000.
6131
6132 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6133
6134 * gdb.base/list.exp (test_forward_search): Fix to handle very
6135 long source line without overflowing expect's input buffer.
6136
6137 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6138
6139 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6140 "buffer_full".
6141
6142 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6143 "buffer_full".
6144
6145 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6146 "buffer_full".
6147
6148 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6149 "buffer_full".
6150
6151 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6152
6153 * configure.in (configdirs): Add gdb.threads.
6154 * configure: Regenerated with autoconf.
6155 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6156 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6157 * gdb.threads/configure: New, generated with autoconf.
6158
6159 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6160
6161 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6162
6163 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6164
6165 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6166 each signal's status in the output of "handle all print".
6167 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6168 the \r\n sequence that immediately precedes the gdb prompt.
6169 * gdb.base/a1-selftest.exp: Save original timeout and restore
6170 after test.
6171
6172 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6173
6174 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6175 symbol.
6176
6177 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6178
6179 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6180
6181 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6182
6183 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6184 timeout by 60 seconds.
6185
6186 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6187
6188 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6189 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6190 error return.
6191
6192 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6193
6194 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6195 gdb initialization, also report how long dejagnu waited. Restore
6196 old timeout before doing error return. Temporarily increase timeout
6197 by 3 minutes to allow for slow startups over heavy NFS use.
6198
6199 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6200
6201 * lib/gdb.exp: Report timeout value for verbosity level 2.
6202 * config/gdbserver.exp: Ditto.
6203 * config/hppro.exp: Ditto.
6204 * config/mips-gdb.exp: Ditto.
6205 * config/monitor.exp: Ditto.
6206 * config/netware.exp: Ditto.
6207 * config/sim-gdb.exp: Ditto.
6208 * config/slite-gdb.exp: Ditto.
6209 * config/udi-gdb.exp: Ditto.
6210 * config/unix-gdb.exp: Ditto.
6211 * config/vx-gdb.exp: Ditto.
6212 * gdb.base/a1-selftest.exp: Ditto.
6213 * gdb.base/a2-run.exp: Ditto.
6214 * gdb.base/break.exp: Ditto.
6215 * gdb.base/corefile.exp: Ditto.
6216 * gdb.base/list.exp: Ditto.
6217 * gdb.base/recurse.exp: Ditto.
6218 * gdb.base/scope.exp: Ditto.
6219 * gdb.base/signals.exp: Ditto.
6220
6221 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6222
6223 * gdb.threads/Makefile.in (docdir): Removed.
6224
6225 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6226
6227 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
6228 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
6229 @srcdir@.
6230 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
6231 autoconf 2.5 or higher.
6232 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6233
6234 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6235
6236 * configure: Regenerated.
6237 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6238 avoid name clashes with SunOS headers.
6239
6240 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6241
6242 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6243
6244 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6245
6246 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6247 prototype information ends up in the compiler info file.
6248
6249 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6250
6251 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6252 attempting to regenerate it. Eliminate use of a temporary file
6253 and just generate the info file directly. Source it immediately,
6254 for consistency of use.
6255 * gdb.base/corefile.exp: Ditto
6256 * gdb.base/exprs.exp: Ditto.
6257 * gdb.base/funcargs.exp: Ditto.
6258 * gdb.base/langs.exp: Ditto.
6259 * gdb.base/list.exp: Ditto.
6260 * gdb.base/mips_pro.exp: Ditto.
6261 * gdb.base/nodebug.exp: Ditto.
6262 * gdb.base/opaque.exp: Ditto.
6263 * gdb.base/ptype.exp: Ditto.
6264 * gdb.base/scope.exp: Ditto.
6265 * gdb.base/setvar.exp: Ditto.
6266 * gdb.base/signals.exp: Ditto.
6267 * gdb.base/whatis.exp: Ditto.
6268 * gdb.c++/templates.exp: Ditto.
6269 * gdb.c++/virtfunc.exp: Ditto.
6270 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6271 whether or not to add -lstdc++ to the compile command line args.
6272
6273 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6274
6275 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6276 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6277 Increase timeout, a lot of single stepping might be needed if the
6278 target has no hardware watchpoints.
6279
6280 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6281
6282 * gdb.base/break.exp: Ignore compiler warnings when compiling
6283 break.c.
6284 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6285 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6286 from remote-sim.
6287 * gdb.base/exprs.exp: Add h8300 xfails.
6288 * gdb.base/funcargs.exp: Likewise.
6289 * gdb.base/nodebug.exp: Likewise.
6290 * gdb.base/printcmds.exp: Likewise.
6291 * gdb.base/ptype.exp: Likewise.
6292 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6293 h8300 xfails.
6294 * gdb.base/return.exp: Handle float/double precision problems
6295 on the h8300.
6296 * gdb.base/funcargs.c: Explicitly make last constant argument to
6297 call_after_alloca_subr an unsigned long type.
6298 * gdb.base/return.c: Include stdio.h.
6299
6300 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6301
6302 * config/abug.exp: New file for the older Motorola Bug monitor
6303 that runs on the mvme13x series VME boards.
6304 * config/monitor.exp: Use the new config array for target settings
6305 if they exist.
6306
6307 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6308
6309 * sim-gdb.exp: Make the SH simulator allocate less space when
6310 it is targeted.
6311
6312 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6313
6314 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6315 test.
6316
6317 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6318
6319 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6320 "rs6000-*-*" for "list function in include file" when gcc compiled.
6321 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6322 for "p ctable1[120]".
6323 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6324 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6325 Remove setup_xfail for "rs6000-*-*" for
6326 "print 'scope0.c'::filelocal before run".
6327 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6328 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6329 since some compilers don't allow both options to be given
6330 on the same command line. Create object file and move it.
6331
6332 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6333
6334 * gdb.base/corefile.exp: Always regenerate the core file, since
6335 we always regenerate the coremaker program. Detect special case
6336 where registers cannot be read from core file.
6337
6338 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6339
6340 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6341 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6342 * gdb.c++/templates.exp: Only match on basename of file since
6343 some formats like xcoff don't encode directory information.
6344 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6345 and rs6000 AIX xcoff targets.
6346 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6347 * configure: Regenerate.
6348 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6349 here, rather than in distclean.
6350
6351 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6352
6353 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6354 defined, and use it to compile the test case with -O2. The
6355 native compilation still uses no optimization.
6356 * gdb.base/mips_pro.c: Remove inline assembly code since
6357 it is compiled PIC by default, which results in assembler
6358 warnings that make the testsuite think the compilation
6359 was unsuccessful.
6360
6361 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6362
6363 * gdb.c++/misc.exp: Add note to message for
6364 "print s.a for foo struct" that this is a known gcc 2.7.2
6365 and earlier bug.
6366
6367 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6368
6369 * gdb.base/break.exp: Fix pattern for matching "Delete all
6370 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6371 setup_xfail for deleting all breakpoints test. Fix various
6372 timeout messages to include "(timeout)".
6373 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6374 for "p t_float_values2(3.14159,float_val2)".
6375 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6376 for "continue to call2g" when gcc compiled.
6377 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6378 "up to foo in langs.exp", "show language at foo in langs.exp",
6379 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6380 and "show language at fsub in langs.exp".
6381 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6382 "list line 1 in include file", "list message for lines past EOF",
6383 "list function in include file", "list list0.h:foo", and
6384 "list filename:function; nonexistant function".
6385 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6386 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6387 and "ptype t_char_array" to be for native cc only.
6388
6389 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6390
6391 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
6392 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6393 "print func2::coremaker_local", and "backtrace in corefile.exp".
6394
6395 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6396
6397 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6398 "bt in signals.exp". This problem only appears when running
6399 the testsuite, and then only intermittently.
6400
6401 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6402
6403 * gdb.base/return.exp (return_tests): Differentiate between
6404 two tests of continuing.
6405
6406 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6407
6408 * */Makefile.in (maintainer-clean): Remove config.log.
6409 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6410 * gdb.c++/Makefile.in (PROGS): Add inherit.
6411 (clean): Remove *.ci.
6412
6413 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6414
6415 * gdb.c++/misc.cc: Add test code from Mike Stump.
6416 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6417
6418 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6419
6420 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6421 to "alpha-*-osf2*" and add comment.
6422 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6423 setup_xfail for "step over execarg initialization" and
6424 "step over corearg initialization".
6425 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6426 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6427 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6428 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6429 "print func2::coremaker_local", and "backtrace in corefile.exp".
6430 * gdb.base/signals.exp: Build and source signals.ci.
6431 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6432 to be for gcc only.
6433 * lib/gdb.exp: Move verbose statements outside conditionals.
6434
6435 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6436
6437 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6438 Feb 3 procfs.c change.
6439
6440 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6441
6442 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6443
6444 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6445
6446 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6447 from dejagnu's apparent default of 10 seconds, which gives random
6448 results when running the tests over NFS on moderately loaded systems.
6449 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6450
6451 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6452
6453 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6454 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6455 result reports.
6456
6457 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6458
6459 * configure.in (CY_AC_PATH_TCLH): Remove.
6460 * configure: Regenerate.
6461
6462 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6463
6464 * gdb.c++/Makefile.in (clean): Add missing '{'.
6465
6466 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6467
6468 * lib/gdb.exp: Provide a default value for noinferior.
6469
6470 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6471 Load libgloss.exp.
6472
6473 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6474
6475 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6476 the executable, not the .o to run the tests from.
6477
6478 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6479
6480 * gdb.base/break.exp: Don't test for program exit or exit status
6481 if $noresults if nonzero.
6482 * gdb.base/langs.exp: Likewise.
6483 * gdb.base/watchpoint.exp: Likewise.
6484
6485 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6486 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6487 trying to compile the testcase.
6488
6489 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6490
6491 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6492 * gdb.base/signals.exp (continue to handler): Likewise.
6493
6494 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6495
6496 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6497
6498 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6499
6500 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6501
6502 * gdb.base/corefile.exp: Recognize "not found" as failure
6503 when trying to determine if a core file was generated.
6504 If no core file was generate the first time, try again without
6505 the ulimit -c to work around braindamaged shells.
6506
6507 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6508
6509 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6510 [] tests with "test" and enclose string in quotes.
6511 * gdb.stabs/configure: Rebuild
6512
6513 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6514
6515 Changes in sync with expect:
6516 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6517 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6518 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6519 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6520 argument to AC_REQUIRE.
6521 * configure: Regenerated.
6522
6523 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6524
6525 * gdb.base/corefile.exp: When generating a core, discard any
6526 error messages about ulimit not found and the "core dumped"
6527 message from the shell that runs the coredumper.
6528
6529 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6530
6531 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6532
6533 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6534 which sed script to run. Expect failure for v_comb test
6535 on PA targets too.
6536
6537 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6538
6539 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6540 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6541
6542 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6543
6544 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6545 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6546 "sparc-sun-solaris*" xfails for "p v_comb".
6547 * lib/gdb.exp (default_gdb_start): Fix typo.
6548 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6549 messages to not include the full program name that caused
6550 the core dump since some systems (such as solaris) apparently
6551 truncate this path to about 80 characters.
6552 When generating a core file first try increasing the core file
6553 size limit to unlimited since some systems may default it to
6554 zero, and it is harmless to try it. Move the test for failing
6555 to generate a core file to where it will actually get executed.
6556 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6557 new gdb result from g++ debug info improvements and make old
6558 pattern obsolescent. Also account for size_t differences
6559 (may be int or long).
6560 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6561 initialization before function call is placed in the delay slot
6562 and thus appears to be skipped over by commands such as "next".
6563
6564 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6565
6566 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6567
6568 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6569
6570 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6571 input source file; fix code to compile test to deal with this
6572 convention.
6573 * gdb.c++/*.exp: Likewise.
6574
6575 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6576
6577 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6578 "bt in signals.exp".
6579
6580 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6581
6582 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6583 "step over execarg initialization" and
6584 "step over corearg initialization".
6585
6586 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6587
6588 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6589 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6590
6591 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6592
6593 From Rob Savoye (rob@poseidon.cygnus.com)
6594 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6595 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6596 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6597 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6598 configure.in}: Major reworking for autoconfig.
6599 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6600 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6601 New files.
6602 * config/unix-gdb.exp: Make GDB global.
6603 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6604 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6605 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6606 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6607 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6608 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6609 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6610 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6611 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6612 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6613 pr-8136.exp, result.exp, string.exp, tuples.exp},
6614 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6615 to returns as necessary, arrange for test to compile own testcase
6616 executable.
6617 * lib/gdb.exp: Changes for testsuite to compile own test cases.
6618
6619 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6620
6621 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6622 clear_xfail at end of test which might not call either pass or fail.
6623 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6624 "backtrace through signal handler".
6625
6626 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6627
6628 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6629 continuing from a job control stop signal.
6630 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6631
6632 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6633
6634 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6635 * gdb.base/corefile.exp: Likewise.
6636 * gdb.base/funcargs.exp: Likewise.
6637
6638 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6639
6640 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6641 * config/monitor.exp: Add support for setting baud rate.
6642
6643 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6644
6645 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6646 i*86-*-linux* xfails for "backtrace through signal handler".
6647 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6648 "print func2::coremaker_local".
6649 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6650 alpha-dec-osf2* xfail for
6651 "delete all breakpoints when none".
6652
6653 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6654
6655 * gdb.base/break.exp: Change test that deletes all breakpoints
6656 when no user breakpoints are installed. A post 4.15 change
6657 causes gdb to no longer prompt in this case.
6658
6659 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6660
6661 * gdb.base/return.exp (return_tests): Change xfail for test
6662 "correct value returned double test" to stop xfailing at
6663 Solaris 2.5. Apparently the bug has been fixed.
6664
6665 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6666
6667 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6668 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6669
6670 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6671
6672 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6673 * gdb.disasm/hppa.s: Corresponding changes.
6674
6675 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6676
6677 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6678 makefile fragment.
6679 * config/mt-hpux: Deleted.
6680
6681 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6682
6683 * Many files: When warning about suppressed tests due to a
6684 nonexistant test binary, avoid incrementing the warning count.
6685
6686 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6687
6688 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
6689
6690 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6691
6692 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6693 "sparc-*-solaris2*".
6694
6695 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6696
6697 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6698 Add global and local variables and initialize them.
6699 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6700 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6701 extracts the file name and terminating signal from the core file.
6702 * TODO: Remove note about tests for correct mapping of corefile.
6703 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6704 from optimizing it away.
6705 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6706 handles common blocks.
6707
6708 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6709
6710 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6711 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6712
6713 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6714
6715 * Makefile.in (maintainer-clean): New target, synonym for
6716 realclean.
6717 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6718 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6719 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6720 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6721 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6722 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6723
6724 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6725
6726 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6727 xfails when not gcc compiled for "print foo::funclocal".
6728 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6729 "print foo::funclocal at foo",
6730 "print 'scope1.c'::foo::funclocal at foo",
6731 "print foo::funclocal_bss at foo",
6732 "print 'scope1.c'::foo::funclocal_bss at foo",
6733 "print foo::funclocal_ro at foo",
6734 "print 'scope1.c'::foo::funclocal_ro at foo",
6735 "print bar::funclocal at foo" and
6736 "print 'scope1.c'::bar::funclocal at foo".
6737 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6738 gcc compiled for "print foo::funclocal at bar".
6739 Expand all messages to ensure that they identify that
6740 the test is at bar().
6741 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6742 gcc compiled for:
6743 "ptype on opaque struct pointer (statically)",
6744 "ptype on opaque struct tagname (statically)",
6745 "ptype on opaque struct pointer (dynamically) 1",
6746 "ptype on opaque struct tagname (dynamically) 1",
6747 "ptype on opaque struct pointer (dynamically) 2" and
6748 "ptype on opaque struct tagname (dynamically) 2
6749 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6750 gcc compiled for:
6751 "p datalocal"
6752 "whatis datalocal",
6753 "ptype datalocal",
6754 "p bsslocal",
6755 "whatis bsslocal", and
6756 "ptype bsslocal".
6757 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6758 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6759 when not gcc compiled.
6760 * gdb.base/funcargs.exp (float_and_integral_args): Add
6761 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6762 compiled.
6763 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6764 "backtrace from call6a" when not gcc compiled.
6765 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6766 "backtrace from call7a" when not gcc compiled.
6767 * gdb.base/callfuncs.exp (do_function_calls):
6768 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6769 "p t_char_array_values(char_array_val2,char_array_val1)",
6770 "p t_char_array_values(char_array_val1,char_array_val2)",
6771 "p t_char_array_values("carray 1","carray 2")",
6772 "p t_char_array_values("carray 1",char_array_val2)",
6773 "p t_char_array_values(char_array_val1,"carray 2")",
6774 "p sum_args(1,{2})",
6775 "p sum_args(2,{2,3})",
6776 "p sum_args(3,{2,3,4})",
6777 "p sum_args(4,{2,3,4,5})"
6778 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6779 "backtrace in corefile.exp" when not gcc compiled.
6780
6781 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6782
6783 * gdb.base/signals.exp: Rewrite `handle all print' test as
6784 a procedure. Accept blanks or TABs as whitespace, increase
6785 timeout and expect input buffer size for the large output
6786 from the command. Remove "i*86-*-bsdi2.0" xfail.
6787
6788 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6789
6790 * gdb.base/setvar.exp: Add new testcases for truncation when
6791 assigning invalid values to bitfields.
6792
6793 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6794
6795 * gdb.base/callfuncs.exp (do_function_calls): Remove
6796 mips-sgi-irix* xfail for
6797 "call inferior func with struct - returns char *"
6798 and fix test so that an optional (unsigned char *) cast is
6799 accepted in the result.
6800
6801 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6802
6803 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6804 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6805 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6806 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6807 that accidentally got checked in.
6808
6809 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6810
6811 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
6812 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6813 compiled test.
6814 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6815 Add mips-sgi-irix5* xfail for not gcc compiled.
6816 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6817 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6818 "p top", "whatis top", "p middle", and "whatis middle".
6819 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6820 "whatis signed char" for not gcc compiled.
6821 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6822 "set variable signed char=-1 (-1)" and
6823 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6824 * gdb.base/funcargs.exp (float_and_integral_args):
6825 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6826 Add mips-sgi-irix* xfail when not gcc compiled for
6827 "continue to call2b".
6828 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6829 "continue to call2g".
6830 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6831 "backtrace from call6a"
6832 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6833 "backtrace from call7k".
6834 Add mips-sgi-irix5* xfail when not gcc compiled for
6835 "backtrace from call7a".
6836 (localvars_after_alloca): Fix gdb_test cmds for
6837 "print * after runto ...".
6838 Remove rs6000-*-* xfails for
6839 "print i after runto localvars_after_alloca" and
6840 "print l after runto localvars_after_alloca"
6841 for all compilers.
6842 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6843 when not compiled with gcc, for:
6844 "print signed char == (minus)",
6845 "print signed char != (minus)",
6846 "print signed char < (minus)",
6847 "print signed char > (minus)".
6848 * gdb.base/callfuncs.exp (do_function_calls):
6849 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6850 "call inferior func with struct - returns char *".
6851 * gdb.base/return.exp (return_tests): Change xfail for
6852 "correct value returned double test" to include Solaris 2.4.
6853 * gdb.base/funcargs.exp (float_and_integral_args):
6854 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6855
6856 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6857
6858 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6859 enumeration bitfields if compiling with GNU C.
6860 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6861 to empty' prompt.
6862
6863 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6864
6865 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6866 test for PRO targets.
6867
6868 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6869 breakpoints in the inferior at any given time by making
6870 two groups of breakpoints for call2*, call6* and call7*
6871 tests.
6872
6873 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6874
6875 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6876 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6877 from optimizing it away.
6878 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6879 "call inferior func with struct".
6880
6881 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6882
6883 * configure.in: Only configure gdb.chill for particular targets.
6884
6885 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6886
6887 * gdb.base/Makefile.in: Add action to .c.o transformation
6888 rule that generates a .ci file for each .o file and remove
6889 explicit .c.o rules except for callfuncs.o.
6890 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6891 generates a .ci file for each .o file and remove explicit
6892 .cc.o rules.
6893 (clean): Remove *.tmp *.ci files.
6894 (EXECUTABLES): Remove templ-info.exp.
6895 * gdb.base/compiler.c: New file.
6896 * gdb.c++/compiler.cc: New file
6897 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6898 Change rs6000-*-* xfail for
6899 "print 'scope0.c'::filelocal_ro" and
6900 "print 'scope1.c'::filelocal" and
6901 "print 'scope1.c'::filelocal_bss" and
6902 "print 'scope1.c'::filelocal_ro" and
6903 "print 'scope1.c'::foo::funclocal" and
6904 "print 'scope1.c'::foo::funclocal_ro" and
6905 "print 'scope1.c'::bar::funclocal" and
6906 "print 'scope0.c'::filelocal_ro" and
6907 "print 'scope1.c'::filelocal at foo" and
6908 "print 'scope1.c'::filelocal_bss at foo" and
6909 "print 'scope1.c'::filelocal_ro at foo" and
6910 "print 'scope1.c'::foo::funclocal at foo" and
6911 "print 'scope1.c'::foo::funclocal_bss at foo" and
6912 "print 'scope1.c'::foo::funclocal_ro at foo" and
6913 "print 'scope1.c'::bar::funclocal at foo" and
6914 "print 'scope0.c'::filelocal_ro" and
6915 "print 'scope1.c'::filelocal" and
6916 "print 'scope1.c'::filelocal_bss" and
6917 "print 'scope1.c'::filelocal_ro" and
6918 "print 'scope1.c'::foo::funclocal" and
6919 "print 'scope1.c'::foo::funclocal_bss" and
6920 "print 'scope1.c'::foo::funclocal_ro" and
6921 "print 'scope1.c'::bar::funclocal" and
6922 "print 'scope1.c'::bar::funclocal_bss"
6923 to only be xfail'd when not compiled with gcc.
6924 Add rs6000-*-* xfail for
6925 "print 'scope0.c'::filelocal_bss before run"
6926 when compiled with gcc.
6927 (test_at_main): Add rs6000-*-* xfail for
6928 "print filelocal_ro in test_at_main"
6929 when compiled with gcc.
6930 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
6931 Add rs6000-*-aix* xfail for
6932 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6933 "ptype t_char_array", not compiled with gcc.
6934 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6935 xfail for "list foo (in include file)" when gcc compiled.
6936 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6937 (integral_args): Add rs6000-*-* xfail for
6938 "run to call0a" if not compiled with gcc.
6939 (unsigned_integral_args): Add rs6000-*-* xfail for
6940 "run to call1a" if not compiled with gcc.
6941 (float_and_integral_args): Add rs6000-*-* xfail for
6942 "run to call2a" if not compiled with gcc and for
6943 "continue to call2b" for any compiler.
6944 Add rs6000-*-* xfail to
6945 "print f1 after run to call2a" for gcc compiled.
6946 (discard_and_shuffle): Add rs6000-*-* xfail for
6947 "run to call6a".
6948 (shuffle_round_robin): Add rs6000-*-* xfail for
6949 "backtrace from call7a" if not compiled with gcc.
6950 Add rs6000-*-* xfail for
6951 "backtrace from call7b" if compiled with gcc.
6952 (call_after_alloca): Add rs6000-*-* xfail for
6953 "print c in call_after_alloca" and
6954 "print s in call_after_alloca" and
6955 "backtrace from call_after_alloca_subr"
6956 if not compiled with gcc.
6957 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6958 "print c in localvars_in_indirect_call" and
6959 "print c in localvars_in_indirect_call" and
6960 "backtrace in indirectly called function" and
6961 "stepping into indirectly called function"
6962 if not compiled with gcc.
6963 (localvars_after_alloca): Add rs6000-*-* xfail for
6964 "print c after runto localvars_after_alloca" and
6965 "print s after runto localvars_after_alloca" and
6966 "print i after runto localvars_after_alloca" and
6967 "print l after runto localvars_after_alloca"
6968 for all compilers.
6969 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6970 than whatis-info.exp.
6971 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6972 than opaque-info.exp.
6973 Setup rs6000-*-* xfail for
6974 "ptype on opaque struct pointer (statically)" and
6975 "ptype on opaque struct pointer (dynamically)" when
6976 not compiled with gcc.
6977 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6978 rather than callf-info.exp.
6979 (do_function_calls): Add clear_xfail for rs6000-*-* for
6980 "p t_float_values2(3.14159,float_val2)". Seems to work
6981 fine there, both with xlc and gcc. Need to find out what
6982 it is doing right and fix other platforms.
6983 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6984 "call inferior func with struct - returns int",
6985 "call inferior func with struct - returns long",
6986 "call inferior func with struct - returns float",
6987 "call inferior func with struct - returns double",
6988 "call inferior func with struct - returns char *",
6989 but only if not gcc compiled (presumes xlc compiled).
6990 Change rs6000-*-* xfails for
6991 "call inferior func with struct - returns char" and
6992 " call inferior func with struct - returns short" to only
6993 xfail if not using gcc.
6994 (clean mostlyclean): Remove *.ci and *.tmp files.
6995 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6996 than templ-info.exp.
6997 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6998 Add rs6000-*-* xfail for "up to foo in langs.exp"
6999 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7000 when not gcc compiled.
7001
7002 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7003
7004 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7005 * gdb.base/corefile.exp: Likewise.
7006 * gdb.base/list.exp: Likewise.
7007 * gdb.base/scope.exp: Likewise.
7008 * gdb.base/siganls.exp: Likewise.
7009
7010 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7011 compiler output.
7012 * gdb.base/whatis.exp: Likewise.
7013
7014 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7015
7016 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7017 failure (opcode table has been fixed to match reality).
7018
7019 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7020
7021 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7022 "call inferior func with struct - returns char",
7023 "call inferior func with struct - returns short"
7024
7025 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7026 "print 'scope0.c'::filelocal at main",
7027 "print 'scope0.c'::filelocal_bss in test_at_main",
7028 "print 'scope0.c'::filelocal at foo",
7029 "print 'scope0.c'::filelocal_bss in test_at_foo",
7030 "print 'scope0.c'::filelocal at bar",
7031 "print 'scope0.c'::filelocal_bss in test_at_bar"
7032
7033 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7034 in source file 1". This bug seems to have been fixed with both
7035 gcc and native cc (was native assembler bug?).
7036
7037 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7038
7039 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7040 "backtrace through signal handler" to "i*86-*-sysv4*".
7041 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7042 continue" case. Add "known SVR4 bug" to fail message.
7043 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7044 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7045 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7046 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7047 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7048 "up to foo in langs.exp", "show language at foo in
7049 langs.exp", "up to cppsub_ in langs.exp", "show
7050 language at cppsub_ in langs.exp", "up to fsub in
7051 langs.exp", and "show language at fsub in langs.exp".
7052 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7053 "bactrace in corefile.exp".
7054 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7055 "call inferior function with struct - returns float" and
7056 "call inferior function with struct - returns double".
7057
7058 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7059
7060 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7061 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7062 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7063 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7064
7065 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7066
7067 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7068 (or overriden) "CHILL" macro rather then bare "gcc".
7069 Also look for ../../gcc/xgcc since that is what we will
7070 actually need, not "Makefile". Remove following assignment
7071 of CHILL to CHILL_FOR_TARGET because that results in
7072 recursive definition.
7073
7074 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7075
7076 * gdb.base/corefile.exp: Change xfail for backtrace in
7077 corefile.exp from linuxaout to all linux.
7078 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7079 cases where we miss the breakpoint at the signal handler
7080 for some reason. Setup xfail for linuxoldld/linuxaout and
7081 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7082 hitting SIGURG breakpoint.
7083 * gdb.base/signals.exp: Setup xfail for "next" acting like
7084 continue to add linuxoldld. Setup xfail for all linux for
7085 "next to handler in signals_tests_1", "backtrace in
7086 signals_tests_1", "continue to func1", "pass SIGUSR1",
7087 and continue to handler".
7088
7089 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7090
7091 * Update all FSF addresses except those in COPYING* files.
7092
7093 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7094
7095 * gdb.base/a2-run.exp: Change messages to be more explicit about
7096 the status of args, and quote binfile in results.
7097
7098 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7099
7100 * gdb.base/callfuncs.exp: Add tests for passing structs to
7101 inferior functions and return various types.
7102 * gdb.base/callfuncs.c: Add functions to receive a struct
7103 and return a member of the struct, in various types.
7104
7105 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7106
7107 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7108
7109 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7110
7111 * config/vxworks29k.exp: New file, sources vxworks.exp.
7112
7113 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7114
7115 * config/gdbremote.exp: New file. Testing framework using
7116 gdbserver.
7117
7118 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7119
7120 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7121 "call function when asleep" and "send end of file".
7122 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7123 for "backtrace in corefile.exp".
7124 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7125 for "backtrace through signal handler".
7126 * gdb.base/corefile.exp: Make sure we actually generate a core file
7127 before trying the core tests. Some systems allow the user to suppress
7128 generation of core files and default to that (linux for example).
7129 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7130 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7131
7132 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7133
7134 * gdb.threads: New directory with some crude multi-threaded
7135 gdb tests (step.exp and step2.exp).
7136 * config/mt-lynx (STEP_EXECUTABLE): Define.
7137 (THREADFLAGS): Define.
7138
7139 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7140
7141 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7142
7143 * gdb.base/signals.exp: Disable whole file for lynx until
7144 further notice.
7145
7146 * gdb.base/signals.exp: xfail test where "next" acts like
7147 "continue" for lynx.
7148
7149 * gdb.base/interrupt.exp: xfail test for calling function while
7150 inferior is asleep for lynx.
7151
7152 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7153 than one cr-lf after each command.
7154
7155 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7156
7157 * configure.in: Reinstate setting of stabsdirs variable, fix
7158 typo in setting up configdirs for native builds.
7159
7160 * gdb.base/return.exp: Fix typo in return double test.
7161 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7162 compiler from optimizing them away.
7163
7164 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7165
7166 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7167 sequences to be echo'd by gdb when using gdb_test.
7168 * gdb.chill/chexp.exp: Likewise.
7169 * gdb.fortran/exprs.exp: Likewise
7170
7171 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7172
7173 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7174 after the inferior gdb has started.
7175
7176 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7177 after each command.
7178 * gdb.base/funcargs.exp: Likewise.
7179 * gdb.base/gdbvars.exp: Likewise.
7180 * gdb.base/interrupt.exp: Likewise.
7181 * gdb.base/list.exp: Likewise.
7182 * gdb.base/watchpoint.exp: Likewise.
7183 * gdb.c++/demangle.exp: Likewise.
7184 * gdb.c++/inherit.exp: Likewise.
7185 * gdb.chill/chexp.exp: Likewise.
7186 * gdb.fortran/exprs.exp: Likewise.
7187
7188 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7189 test if we can't handle IO to/from the inferior.
7190
7191 * gdb.c++/misc.exp: Always check for a program already being
7192 started after sending a "run" command to gdb.
7193
7194 * gdb.base/twice.exp: Start with a fresh gdb.
7195
7196 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7197 only depend on gdb's expression code, not the chill runtime.
7198
7199 * gdb.base/return.c: Put return values into variables so we
7200 can have gdb print them rather than depending on the program
7201 to print them.
7202 * gdb.base/return.exp: Corresponding changes.
7203
7204 * lib/gdb.exp: Provide default value for noinferiorio.
7205 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7206 the inferior.
7207
7208 * gdb.base/break.exp: Always check for a program already being
7209 started after sending a "run" command to gdb.
7210 (text_next_with_recursion): Don't check the output from the
7211 program's printf statement. Instead just make sure the program
7212 exited.
7213
7214 * gdb.base/commands.exp: Protect tests which need arguments with
7215 $noargs conditionals.
7216
7217 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7218
7219 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7220 of structure member arrays to match gdb/valops.c:value_addr change.
7221
7222 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7223
7224 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7225 cases.
7226
7227 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7228
7229 * configure.in (configdirs): Remove gdb.chill from default list
7230 of subdirs and then add it back in only if doing a native build.
7231 The current chill compiler does not yet work in any cross build.
7232 * Revert all signal changes from Jul 6.
7233 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7234 for sh-hms targets, allowing these tests to link, with no other
7235 changes. Testing is suppressed by setting "nosignals" in site.exp.
7236
7237 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7238
7239 * configure.in (signaldirs): Define and add to configdirs for all
7240 targets except some specific ones that are known to not support signals.
7241 Also clean up formatting.
7242 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7243 (signals, sigall): Remove rules to build.
7244 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7245 Moved to new gdb.signals directory.
7246 * gdb.signals: New test directory.
7247 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7248 signals.c signals.exp}: New or moved files.
7249
7250 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7251
7252 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7253
7254 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7255
7256 * gdb.base/return.exp: Xfail `return double' test failure
7257 on at least Solaris 2.3 and handle future/past versions on
7258 a case by case basis as appropriate. Also update message
7259 to include i*86 failures.
7260
7261 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7262
7263 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7264
7265 * lib/gdb.exp: Fix comment which erroneously identified
7266 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7267 gdb_file_cmd not gdb_load).
7268 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7269
7270 * gdb.base/setvar.exp: Make test names consistent between pass and
7271 fail cases. Use gdb_test more.
7272
7273 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7274
7275 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7276
7277 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7278
7279 * gdb.base/help.exp: Fix expected help string for `show commands'.
7280
7281 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7282
7283 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7284
7285 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7286 of a text section.
7287
7288 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7289
7290 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7291 that loop eventually terminates. Fix Connection refused logic so
7292 that testsuite will expire nicely.
7293
7294 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7295
7296 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7297 config/rom68k.exp: New tcl glue for the appropriate monitors.
7298 These all just end up calling monitor.exp.
7299 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7300 refused' by retrying. Cleanup some timeout issues.
7301 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7302 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7303 callers don't have to set/restore global timeout variable.
7304
7305 * The following set of changes centralizes management of the global
7306 timeout variable. This way, it can be set in one target dependent
7307 place instead of dozens of places scattered throughout the test suite.
7308 If you need to lengthen a timeout, then you should either set timeout
7309 in one of the config/{target}.exp files, or multiply it by a factor.
7310 Setting it to an absolute value is always going to lose for some
7311 targets.
7312 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7313 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7314 * gdb.base/funcargs.exp: Don't set timeout.
7315 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7316 * gdb.base/printcmds.exp (test_print_string_constants
7317 test_print_array_constants): Don't set timeout.
7318 * gdb.base/ptype.exp: Don't set timeout.
7319 * gdb.base/recurse.exp: Don't set timeout.
7320 * gdb.base/return.exp: Don't set timeout.
7321 * gdb.base/watchpoint.exp: Don't set timeout.
7322 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7323 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7324
7325 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7326
7327 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7328
7329 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7330
7331 * lib/gdb.exp: Disable chill tests for irix5.
7332
7333 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7334
7335 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7336 each test pass or fail.
7337
7338 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7339
7340 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7341 xlc not gcc.
7342
7343 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7344
7345 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7346
7347 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7348
7349 * config/est.exp: Fix copyright and comments. Remove dead code.
7350 Use targetname, serialport and baud variables instead of fixed
7351 constants.
7352 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7353 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7354
7355 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7356
7357 * gdb.base/watchpoint.exp: Don't run
7358 test_watchpoint_triggered_in_syscall for sunos.
7359
7360 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7361
7362 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7363 they don't seem to exist. Do include stdio.h.
7364
7365 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7366
7367 * gdb.base/a1-selftest.exp: Add alpha xfail.
7368
7369 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7370
7371 * gdb.base/watchpoint.c (main): Prompt before calling read().
7372 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7373 Revise accordingly. Remove cruft about sending "123" several
7374 times, until it gets noticed. Clean up the "print buf[0]" stuff
7375 so that it passes or fails, and waits for prompts in the usual way.
7376
7377 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7378
7379 * gdb.base/recurse.exp: Fix comment.
7380
7381 * TODO: Remove item about printing variables in nodebug.exp. Add
7382 item about enabling tests which are only run on some targets.
7383
7384 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7385 fail, make test names unique, use new gdb_test convention
7386 regarding pattern, use gdb_test more, etc.).
7387
7388 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7389 fail, make test names unique, etc.).
7390
7391 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7392
7393 * gdb.base/nodebug.c: Change return type of top and middle to
7394 short.
7395 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7396 are fixed by the recent mdebugread.c changes. Allow `short ()'
7397 as type for top and middle.
7398
7399 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7400
7401 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7402 nearly as I can tell, the whole thing was an accident in Stu's
7403 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7404 to replace a send/expect pair with gdb_test, but ended up only
7405 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7406 of 30 Mar 1995 took care of it, but left this vestigial comment
7407 which I am now nuking.
7408
7409 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7410
7411 * gdb.base/break.exp: Look for different line number for
7412 breakpoint at main depending on usestubs.
7413
7414 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7415
7416 * gdb.base/list.exp: Adjust some alternate expect patterns to
7417 match recent list0.c change. Add alternate expect pattern for
7418 output from `list default lines around main' for optimizing
7419 compilers.
7420
7421 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7422
7423 * lib/gdb.exp: If nosignals is not set, set it to 0.
7424
7425 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7426
7427 * config/slite-gdb.exp: Responds to load symbol table prompt.
7428 * gdb.base/break.exp: Adjust line number, fix rerun.
7429 * gdb.base/langs0.c: Add #ifdef usestubs.
7430
7431 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7432
7433 * gdb.base/list.exp: Adjust line contents after adding new lines in
7434 list0.c. Also fix a syntax error.
7435
7436 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7437 * gdb.base/break.exp: ditto.
7438 * gdb.base/list.exp: ditto.
7439 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7440 * gdb.base/run.c: ditto.
7441 * gdb.base/list0.c: ditto.
7442 * gdb.base/funcargs.c: ditto.
7443
7444 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7445
7446 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7447 $targetname, $serialport and $baud instead of hardwired variables.
7448 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7449 target doesn't support signals.
7450
7451 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7452
7453 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7454
7455 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7456
7457 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7458 Don't rely on the value of an auto variable before it has been
7459 initialized. Use gdb_test more.
7460
7461 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7462
7463 * lib/gdb.exp (default_gdb_version): A version number must start
7464 with a digit, but other than that contains all characters up to
7465 the first whitespace character.
7466
7467 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7468
7469 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7470
7471 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7472
7473 * gdb.c++/*.exp: Warn if executable does not exist. The original
7474 reason for skipping the warning was that configure.in sometimes
7475 intentionally skipped building the executables but the tcl code
7476 had no way of knowing. That (a) was always bogus with respect to
7477 error handling, (b) is no longer true (right now there is no way
7478 to skip C++ tests).
7479
7480 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7481
7482 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7483
7484 * gdb.base/list.exp: Add expect patterns for output from
7485 SunPRO compiled executables.
7486 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7487 types.
7488
7489 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7490
7491 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7492 number (we are already testing that the correct source line text
7493 gets printed).
7494
7495 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7496 that is what is intended, but something needed to be done to get
7497 sunos4 native working again.
7498
7499 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7500
7501 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7502 apparently went with a (very) old xfail.
7503
7504 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7505
7506 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7507 runto_main is a proc in gdb.exp that will do 'step' for target use
7508 stubs.
7509 * gdb.base/exprs.exp: ditto.
7510 * gdb.base/interrupt.exp: ditto.
7511 * gdb.base/opaque.exp: ditto.
7512 * gdb.base/printcmds.exp: ditto.
7513 * gdb.base/ptype.exp: ditto.
7514 * gdb.base/scope.exp: ditto.
7515 * gdb.base/setvar.exp: ditto.
7516 * gdb.base/signals.exp: ditto.
7517 * gdb.base/twice.exp: ditto.
7518 * gdb.c++/classes.exp: ditto.
7519 * gdb.c++/inherit.exp: ditto.
7520 * gdb.c++/templates.exp: ditto.
7521 * gdb.base/break.exp: no run and hit main for stubs. Change line
7522 numbers for breakpoints and info breakpoint.
7523 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7524 breakpoint().
7525 * gdb.base/callfuncs.c: ditto.
7526 * gdb.base/exprs: ditto.
7527 * gdb.base/interrupt.c: ditto.
7528 * gdb.base/opaque0.c: ditto.
7529 * gdb.base/printcmds.c: ditto.
7530 * gdb.base/ptype.c: ditto.
7531 * gdb.base/scope0.c: ditto.
7532 * gdb.base/setvar.c: ditto.
7533 * gdb.base/signals.c: ditto.
7534 * gdb.base/twice.c: ditto.
7535 * gdb.c++/misc.cc: ditto.
7536 * gdb.c++/templates.cc: ditto.
7537
7538 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7539
7540 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7541
7542 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7543 somewhere between `read' and `main.c'. I'm pretty sure the
7544 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7545 and it isn't particularly useful.
7546
7547 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7548
7549 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7550
7551 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7552
7553 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7554
7555 * config/mt-slite: add LIBS and -nostdlib.
7556 * config/slite-gdb.exp: add this new file to support sparclite target.
7557
7558 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7559
7560 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7561
7562 * gdb.base/a2-run.exp: Change argument to istarget from
7563 "*-*-vxworks" to "*-*-vxworks*".
7564 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7565
7566 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7567
7568 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7569 will not runto main but do a 'step' to step out of breakpoint().
7570 * config/mt-slite: add -Dusestubs.
7571
7572 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7573
7574 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7575 instead of just @.
7576
7577 * gdb.base/signals.exp: Add test for "handle all print".
7578 * TODO: Remove "handle all print". Also remove item about
7579 checking copyright date (I don't like the idea of a spurious FAIL
7580 based on when we run the tests).
7581
7582 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7583 for SunOS4 (reason for failure not investigated). Remove
7584 redundant test for $binfile.
7585
7586 * gdb.base/nodebug.c (array_index): Call malloc.
7587
7588 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7589
7590 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7591
7592 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7593 conventions and slightly simplify the matching regexp.
7594
7595 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7596
7597 * gdb.base/break.exp: Update gdb_test invocation to use new
7598 convention.
7599
7600 * lib/gdb.exp: If noargs is not set, set it to 0.
7601
7602 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7603 tests unique.
7604
7605 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7606
7607 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7608
7609 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7610 one argument of type "<non-float parameter>".
7611
7612 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7613
7614 * config/rom68k.exp: New file to support Motorola IDP board.
7615 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7616 * gdb.base/break.c: Change things around so that this program
7617 doesn't depend upon args. This is necessary to make remote
7618 targets work (in general, they can't take args).
7619 * gdb.base/break.exp: Don't try to send args to program. Don't
7620 expect output. Also, replace lots of code with gdb_test.
7621
7622 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7623
7624 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7625 printing of '\'' (which is what the comment says we are testing,
7626 even though we were not), not '''.
7627 (test_integer_literals_rejected): Test that printing ''' is an error.
7628
7629 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7630 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7631 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7632 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7633 Use gdb_test not test_print_accept.
7634 * lib/gdb.exp: Remove test_print_accept.
7635
7636 * gdb.base/signals.exp (signal_tests_1): Make pass message
7637 consistent with fail message.
7638
7639 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7640 unsigned char; the bug (PR 1821) is fixed.
7641
7642 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7643
7644 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7645 successful tests--makes xfailing them work right.
7646
7647 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7648
7649 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7650 only \r\n, not .*. The test can pass .* as the last thing in
7651 $pattern if that is what it wants. In addition to providing this
7652 flexibility, this change should speed up pattern matching in cases
7653 where the pattern already ended with .* (there were a number of
7654 them). This change also helps catch bad patterns--in the old
7655 scheme the typo "char \*" instead of "char \\*" would pass. Now
7656 it is caught.
7657 * Many .exp files: Update callers.
7658
7659 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7660 clearer and does not spuriously match multiple ('s. Likewise for
7661 ) and *.
7662
7663 * gdb.base/nodebug.exp: Test ability to call a function and pass
7664 it a string (even with no debugging info).
7665
7666 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7667 "p '\'", which is the same as "p ''" once tcl gets done with
7668 quoting, to "p '\\'", which I suspect is what is intended (one
7669 backslash gets sent to GDB).
7670
7671 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7672
7673 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7674
7675 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7676 1817) was fixed literally years ago.
7677
7678 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7679
7680 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7681 test, it causes stepping out of call_after_alloca_subr with
7682 optimizing compilers.
7683 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7684 fails.
7685
7686 * gdb.c++/templates.exp: Source templ-info.exp only if
7687 the templates executable exists.
7688
7689 * gdb.c++/misc.cc (class Contains_static_instance,
7690 class Contains_nested_static_instance),
7691 gdb.c++/classes.exp (test_static_members): Test printing of
7692 a class that contains a static instance of the class.
7693
7694 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7695
7696 * gdb.base/langs2.c (cppsub_): Don't prototype.
7697 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7698 only, I believe).
7699
7700 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7701
7702 * lib/gdb.exp (skip_chill_tests): New procedure.
7703
7704 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7705
7706 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7707
7708 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7709 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7710
7711 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7712
7713 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7714
7715 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7716 disassemble 8, not 16, instructions for part 4.
7717
7718 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7719 support the latter anymore.
7720
7721 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7722 -DNO_PROTOTYPES.
7723 * gdb.base/callfuncs.c: Control use of prototypes based on
7724 NO_PROTOTYPES, not __STDC__.
7725 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7726 t_float_values2 tests if prototypes in use.
7727
7728 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7729 t_double_values): When checking differences against DELTA, check
7730 that difference is within the range (-DELTA,DELTA), not just
7731 (-infinity,DELTA).
7732
7733 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7734
7735 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7736 'file' command firts, then 'target', then 'load', this is due to gdb
7737 target set up.
7738 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7739
7740 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7741
7742 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7743 FP load/store variants.
7744 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7745
7746 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7747
7748 * gdb.base/term.exp: Do not give a warning if not native, it is
7749 not an abnormal condition.
7750
7751 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7752
7753 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7754 t_char_array".
7755
7756 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7757
7758 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7759 are getting the version number.
7760
7761 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7762 if not native, it is not an abnormal condition.
7763
7764 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7765
7766 * lib/gdb.exp: Just use "file exists", rather than undocumented
7767 dejagnu procedure "findfile".
7768
7769 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7770
7771 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7772 (LDFLAGS): Set to -Xlinker -Ur.
7773
7774 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7775 Removed, these values are set by lib/gdb.exp.
7776
7777 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7778
7779 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7780
7781 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7782 of replicating gdb startup code.
7783
7784 * config/mt-vxworks (LDFLAGS): Set to -r.
7785 (CFLAGS_FOR_TARGET): Removed.
7786
7787 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7788 (gdb) and gdb for vxworks uses (vxgdb).
7789
7790 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7791 executable is not in the tree and host != target, use sed and
7792 program_transform_name to determine the gdb name used by the
7793 target.
7794
7795 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7796 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7797
7798 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7799
7800 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7801 floats, chars, and shorts where there are ANSI-style function
7802 definitions.
7803
7804 * gdb.base/langs.exp, gdb.base/langs*: New test.
7805 * gdb.base/Makefile.in: Build it.
7806 * TODO: Remove item about checking that C names don't get C++
7807 demangling applied; this test tests it.
7808
7809 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7810
7811 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7812 went with the const70 xfail. The xfail went away a year ago.
7813
7814 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7815
7816 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7817 for hp300.
7818
7819 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7820
7821 * gdb.base/a1-selftest.exp: Don't run on hp300.
7822
7823 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7824
7825 * Makefile.in (site.exp): Set host_alias and target_alias as well
7826 as host_triplet and target_triplet.
7827
7828 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7829
7830 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7831
7832 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7833 places as other ecoff systems).
7834
7835 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7836 ultrix.
7837
7838 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7839
7840 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7841 remove them.
7842 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7843 variable and "variable" in addition to "data variable".
7844 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7845
7846 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7847 2.
7848 * gdb.base/list1.c (long_line): Add additional statement at start
7849 of function.
7850 * gdb.base/list.exp (test_forward_search): Update line number to
7851 reflect new statement.
7852
7853 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7854
7855 * gdb.base/signals.exp: Reinitialize searched source directories
7856 after gdb_start call.
7857
7858 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7859
7860 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7861 * gdb.stabs/Makefile.in: Likewise.
7862
7863 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7864 change. Instead split the tests into smaller pieces.
7865 * gdb.disasm/hppa.s: Corresponding changes.
7866
7867 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7868
7869 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7870 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7871
7872 * gdb.base/funcargs.exp: Modify many tests so that every test
7873 either passes or fails. Make some test names unique.
7874
7875 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7876
7877 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7878 Call stty to set interrupt character.
7879
7880 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7881 for HP assembler versus GNU assembler based on actual behavior of
7882 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7883
7884 * TODO: Suggest a few more stepping tests.
7885
7886 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7887
7888 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7889 restart GDB for h8300 after a continue.
7890 (return): Add pattern to match a29k-udi behavior.
7891 * gdb.base/nodebug.exp: Remove obsolete comment.
7892 * gdb.base/regs.exp: New file, testing of register displays.
7893 * gdb.base/return.exp: Fix typo in reference to $objdir.
7894 * gdb.base/whatis.exp: Always start with a fresh GDB.
7895
7896 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7897
7898 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7899 higher, these tests generate a lot of output.
7900
7901 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7902
7903 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7904 code following the catch silently ignored some errors; without the
7905 catch they should be thrown like any other tcl error. Also, the
7906 catch used "" instead of {} which meant all the callers who wanted
7907 to include one of the characters "[]$ had to quote it an extra time.
7908 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7909 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7910 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7911 Remove extra quoting.
7912
7913 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7914
7915 * gdb.base/commands.exp: Make test names unique; every test either
7916 passes or fails. Update some comments.
7917
7918 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7919
7920 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7921
7922 The following fixes a FAIL caused by the fact that the alpha stabs
7923 configuration didn't use the ".if alpha" code in weird.def.
7924 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7925 bit pointer, so the 32 bit version works even on the alpha.
7926 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7927 Remove the stuff which allowed us to have separate versions for
7928 alpha and everything else.
7929
7930 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7931 regexp which "info func operator\[\](" is supposed to match. Fix
7932 string to send to GDB. Note that GDB still doesn't work right. Add a
7933 new test for "info func .perator\[\](" which GDB does handle correctly.
7934
7935 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7936
7937 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7938
7939 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7940 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7941 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7942 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7943 it makes the tests harder to understand and confuses test-o-matic.
7944 The preferred style is that each test provides a PASS or a FAIL,
7945 and has a unique message (e.g. "continue #54" not just "continue")
7946 which is the same for the pass and the fail.
7947 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7948 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7949 to lib/gdb.exp.
7950 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7951 prt_accept which was basically the same thing. Likewise for
7952 test_print_reject and prt_reject.
7953 * lib/gdb.exp (test_print_reject): Add some more error message
7954 patterns to match from the former printcmds.exp (prt_reject).
7955 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7956 One defect of the passcount stuff is that some of it failed to
7957 report XPASS where appropriate.
7958 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7959 stuff before and after arg in expected pattern.
7960 (test_paddr_operator_functions): Re-do test without print_addr_of;
7961 this is the only test which seems to want extra stuff there.
7962
7963 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7964
7965 * gdb.base/nodebug.exp: Update new tests to reflect improved
7966 wording of gdb output.
7967
7968 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7969 and "ptype" work on variables in files compiled without -g.
7970 Replaces commented out "maint print msymbol" tests.
7971
7972 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7973
7974 * gdb.base/setvar.c (dummy): Call malloc.
7975
7976 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7977 losing with the irix4 sed.
7978
7979 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7980 ALRM" on irix4.
7981
7982 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7983
7984 * TODO: Remove items about corefile.exp testing new exec-file and
7985 backtrace; both are now done. Add items about printing enums.
7986
7987 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7988
7989 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7990 "get signal $thissig" test fails.
7991
7992 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7993
7994 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7995
7996 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7997 compiler warning with dec alpha compiler.
7998
7999 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8000 extra \n from gdb_test call (this explains why the prompt test
8001 that I removed yesterday was there).
8002 (user_defined_command_test): Remove extra \n and prompt test.
8003
8004 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8005 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8006 doesn't exist.
8007 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8008 Also remove alpha workaround, which turns out to be because
8009 SIGABRT == SIGLOST.
8010
8011 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8012
8013 * gdb.base/help.exp: Don't test "help show".
8014
8015 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8016
8017 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8018 "set print address" is on.
8019 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8020 pass prompt to gdb_test; gdb_test already looks for the prompt.
8021
8022 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8023
8024 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8025 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8026 was to make sure that gdb can read a core file. But (a) the "read
8027 the corefile" part didn't make it to a1-selftest.exp, we just
8028 delete the corefile after creating it, and (b) we test reading
8029 corefiles in corefile.exp anyway. Also, this test left around a
8030 xgdb process on Solaris.
8031
8032 * gdb.base/corefile.exp: Also test backtrace.
8033
8034 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8035
8036 * gdb.base/commands.exp: Test a simple user defined command with
8037 arguments and if/while statements; verify the full user command is
8038 printed by "show user".
8039
8040 * gdb.base/commands.exp: Test if/while commands as part of a
8041 breakpoint command list; verify they appear in breakpoint
8042 information.
8043
8044 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8045
8046 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8047 than by dividing by zero.
8048
8049 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8050
8051 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8052 performing an inferior call with watchpoints enabled.
8053 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8054 call.
8055
8056 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8057
8058 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8059 of "file" command.
8060
8061 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8062 Add additional pattern for when "int operator int(void);" appears
8063 in a different order.
8064
8065 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8066
8067 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8068
8069 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8070 and "signal" with ".*".
8071
8072 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8073
8074 * TODO: Add note about "handle all nostop".
8075
8076 * gdb.base/{sigall.c, sigall.exp}: New test.
8077 * gdb.base/Makefile.in: Add it.
8078
8079 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8080
8081 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8082 when invoking GDB, suppresses any windowing interface.
8083
8084 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8085
8086 * config/sim-gdb: New file, simulator testing support.
8087
8088 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8089
8090 * gdb.base/interrupt.exp: Test calling func1 twice.
8091
8092 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8093
8094 * gdb.base/list.exp (test_forward_search): Set timeout higher
8095 when we'll be getting lots of output from gdb.
8096
8097 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8098 "init_malloc" to after the expect statement. Run it if that
8099 regexp is taken, but also for two others which happen if source
8100 cannot be found.
8101
8102 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8103
8104 * gdb.base/printcmds.exp: New test, for printing register before
8105 program is running.
8106
8107 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8108
8109 * gdb.base/list.exp: Correct some alternate expect patterns
8110 to reflect changes in list1.c.
8111
8112 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8113
8114 * TODO: Add item regarding large frames.
8115
8116 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8117
8118 * TODO: Remove item about enabling return.exp; it
8119 is enabled. Suggest a few more "return" tests.
8120
8121 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8122
8123 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8124 anonymous unions.
8125
8126 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8127
8128 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8129 and pr-5646.o, so "make" is the same as "make all", not "make
8130 pr-4975.o".
8131
8132 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8133
8134 * gdb.base/list.exp: Adjust expectations to reflect changes in
8135 list1.c.
8136 (test_forward_search): New test proc.
8137 * gdb.base/list1.c (long_line): New function, has long source line.
8138
8139 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8140
8141 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8142 additional line of code that was added.
8143
8144 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8145
8146 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8147 tests so as not to overflow expect's input buffers.
8148 * gdb.disasm/hppa.exp: Corresponding changes.
8149
8150 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8151
8152 Beginnings of template debugging tests.
8153 * gdb.c++/templ-info.cc: New file to test for template
8154 debugging capability of the compiler.
8155 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8156 templ-info.cc.
8157 * gdb.c++/templates.cc: Add explicit template instantiations
8158 to enable compiling with -fno-implicit-templates. Add destructor
8159 and 'value' method to T5 class for template tests.
8160 * gdb.c++/templates.exp: Add testcases for printing of template
8161 types, setting breakpoints on template methods and calling a
8162 template method.
8163
8164 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8165
8166 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8167 branch target since some assemblers (gas-2.5) may emit a
8168 relocation for the branch instead of resolving it in the
8169 assembler.
8170
8171 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8172
8173 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8174 through signal handler.
8175
8176 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8177
8178 * configure.in (*-*-netware): Use config/mt-netware.
8179
8180 * config/mt-netware: New file.
8181 * config/mt-i386-netware: Removed, separate configs for different
8182 netware architectures are no longer needed now that we have
8183 --with-headers.
8184
8185 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8186
8187 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8188 by the recent changes to use ANSI C arithmetic conversions.
8189
8190 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8191
8192 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8193 bug involving using inferior_pid to figure out whether to select a
8194 frame.
8195
8196 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8197
8198 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8199 match the current disassembler output.
8200
8201 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8202
8203 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8204 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8205 types, expect "int" as type of integer values (for now).
8206
8207 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8208
8209 * gdb.base/commands.exp: New tests for if/while commands.
8210
8211 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8212
8213 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8214 by .*, since hex values have different syntax in Chill mode.
8215
8216 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8217
8218 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8219 linefeed from expect pattern for repeated types with indices > 9.
8220
8221 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8222
8223 First part of Fortran test suite.
8224 * gdb.fortran: New directory.
8225 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8226
8227 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8228
8229 * gdb.base/default.exp: Update expect pattern for load command
8230 without arguments.
8231
8232 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8233
8234 * configure.in: Change i386 to i[345]86.
8235 * gdb.base/configure.in: Likewise.
8236 * gdb.c++/configure.in: Likewise.
8237 * gdb.chill/configure.in: Likewise.
8238
8239 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8240
8241 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8242 patterns, since that is not a valid context for comments.
8243
8244 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8245
8246 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8247 repeated types and repeated types with indices > 9.
8248
8249 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8250
8251 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8252 2417; old bug has been fixed.
8253
8254 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8255
8256 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8257 send the newline ourselves instead of assuming gdb_test will do
8258 so when passed an empty input string.
8259
8260 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8261 stabs testcode.
8262
8263 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8264
8265 * lib/gdb.exp (gdb_test): Don't send anything if the first
8266 argument is an empty string. This makes cases where we want to
8267 match output that is already in expect's buffers (for example,
8268 matching a breakpoint after gdb_run_cmd has been called) work
8269 reliably.
8270
8271 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8272
8273 * config/netware.exp: New file.
8274
8275 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8276
8277 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8278 the -B and -L prefixes so we can find the debugging stub.
8279
8280 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8281 there and we are using the gcc from the tree.
8282
8283 * gdb.base/types.c: Removed.
8284
8285 * gdb.base/configure.in: Look for makefile fragments in ../config.
8286 Recognize i386-*-netware.
8287 * gdb.c++/configure.in: Likewise.
8288
8289 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8290
8291 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8292 the correct TCL syntax.
8293
8294 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8295
8296 * gdb.base/opaque.exp: use runto instead of messing around with
8297 breakpoints. Simplify by using gdb_test.
8298
8299 * gdb.base/bitfields.exp: restart between tests on netware targets
8300 because breakpoints aren't relocated after target death. Run
8301 processes to completion.
8302
8303 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8304
8305 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8306
8307 * Makefile.in: Remove extra tabs that confuse some versions
8308 of "make". Use the newly built gdb to test with by default,
8309 rather than the first one in the tester's search path.
8310
8311 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8312
8313 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8314
8315 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8316 condition help.
8317
8318 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8319
8320 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8321
8322 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8323 running.
8324 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8325 * gdb.base/funcargs.exp: Likewise.
8326
8327 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8328 * gdb.base/funcargs.exp: Likewise.
8329
8330 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8331 message is "".
8332
8333 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8334
8335 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8336 return,signals,twice}.exp: Handle non-existant binaries
8337 consistantly.
8338
8339 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8340 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8341 might testing a cross development system.
8342
8343 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8344
8345 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8346 runtest script is relative to ${srcdir}, not ${rootdir}.
8347
8348 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8349
8350 * gdb.base/signals.exp: Allow for optionality of breakpoint
8351 address.
8352
8353 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8354
8355 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8356
8357 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8358
8359 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8360 for size_t definition.
8361 * gdb.c++/templates.cc: Likewise
8362
8363 * config/mt-i386-netware: New file.
8364
8365 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8366 defined.
8367
8368 * gdb.base/Makefile.in: Added support for systems that name core
8369 files by appending "core" to the program name.
8370 * gdb.base/a1-selftest.exp: Likewise.
8371
8372 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8373
8374 * gdb.base/return.exp: Add comment and message for `return double'
8375 test failure on Sparc Solaris.
8376
8377 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8378
8379 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8380
8381 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8382
8383 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8384 from optimizing them away.
8385 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8386 patterns to include default constructors and assignment operators,
8387 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8388 character in the output of the virtual base pointer.
8389
8390 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8391
8392 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8393 expression match in print_addr_of to avoid unintented matches.
8394 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8395 versions up to 2.5.8.
8396
8397 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8398
8399 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8400 included file to run under newer versions of expect.
8401 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8402 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8403 Remove xfail for the virtual table of BDDHookV.
8404
8405 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8406
8407 * lib/gdb.exp (string_to_regexp): Set a default result.
8408 (default_gdb_start): Fix misleading message.
8409
8410 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8411
8412 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8413 Remove all CC, etc definitions.
8414 * config/mt-hpux: New file.
8415 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8416 (CFLAGS, LDFLAGS): Define.
8417 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8418
8419 * Makefile.in (site.exp): Don't insert host_os, etc.
8420 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8421 (distclean): Check existence of subdir.
8422 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8423 * gdb.base/Makefile.in: General cleanup and simplification.
8424 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8425 to build executables. Use default rule to build .o files.
8426 (EXPECT, RUNTEST, CC): Fix relative pathname.
8427 (site.exp): Don't insert host_os, etc.
8428 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8429 and/or SIGUSR1 defined.
8430 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8431 * gdb.c++/Makefile.in: General cleanup and simplification.
8432 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8433 (CFLAGS): Remove.
8434 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8435
8436 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8437
8438 * gdb.base/recurse.exp: Misc changes to get tests running again
8439 after Kung's changes to the watchpoint code.
8440 * gdb.base/watchpoint.exp: Likewise.
8441
8442 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8443
8444 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8445
8446 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8447
8448 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8449 * lib/gdb.exp (default_gdb_start): Define.
8450 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8451 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8452 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8453 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8454 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8455 Don't call gdb_target_udi in between tests.
8456
8457 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8458
8459 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8460 (which was basically just a local version of the same thing). In
8461 addition to avoiding duplication, gdb_test_exact is faster.
8462 * lib/gdb.exp (gdb_test_exact): Fix typo.
8463
8464 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8465 don't give an error.
8466
8467 * gdb.base/term.exp: Call delete_breakpoints before starting.
8468
8469 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8470 (t10): Add comment.
8471
8472 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8473
8474 Reorganization of the GDB Test Suite.
8475
8476 * gdb.base: New directory, contains all the basic tests.
8477 * gdb.c++: New directory, tests specific to C++.
8478 * gdb.chill: New directory, tests specific to Chill.
8479 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8480 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8481 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8482 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8483 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8484 t30-31 to chill).
8485 * */gdbme.*: Rename to match appropriate expect scripts.
8486 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8487 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8488 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8489 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8490 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8491 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8492 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8493 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8494 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8495 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8496 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8497 gdb.c++/virtfunc.cc: New names of C++ files.
8498 * gdb.chill/chillvars.ch: New name of Chill file.
8499 * gdb.base/configure.in, gdb.c++/configure.in,
8500 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8501 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8502 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8503 * configure.in (configdirs): Update to reflect directory changes.
8504 (target_abbrev): No longer define for any configuration.
8505 * Makefile.in: Cosmetic improvements to header comments.
8506
8507 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8508
8509 Various changes to gdb.t31:
8510
8511 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8512 * gdbme.ch: Make all key-words and predefineds be upper-case.
8513 * chillvars.exp: Expect key-words and predefinds in upper-case.
8514
8515 * chillvars.exp: Use gdb_test_exact many places.
8516 Change expected output for arrays (which now includes index labels).
8517
8518 * pr-5020.exp, gdme.ch (module PR_5020):
8519 New test, for PR-5020.
8520
8521 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8522
8523 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8524 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8525
8526 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8527
8528 * Makefile.in: Fix bit-rot in definitions of CHILL,
8529 CHILL_FOR_TARGET and Chill_LIB.
8530 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8531 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8532 CHILL, and CHILL_LIB.
8533
8534 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8535
8536 * Revert the previous changes. Please see Rob's directory
8537 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8538
8539 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8540
8541 * Makefile.in, configure.in, config/mips-gdb.exp,
8542 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8543 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8544 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8545 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8546 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8547 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8548 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8549 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8550 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8551 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8552 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8553 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8554 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8555 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8556 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8557 changes from 94Q1.
8558
8559 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8560
8561 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8562 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8563 Rob's new testing fragments.
8564
8565 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8566
8567 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8568 lib/gdb.exp: Replace error proc calls with perror.
8569
8570 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8571
8572 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8573 version also, match on casted version strings, and match on
8574 gdb startup case where the line numbers might be messed up.
8575
8576 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8577
8578 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8579 (CFLAGS): Delete it from here.
8580
8581 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8582
8583 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8584
8585 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8586
8587 * Makefile.in (RUNTEST): Default to just "runtest".
8588
8589 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8590
8591 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8592 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8593 the code has been restructured.
8594
8595 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8596
8597 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8598 \n, not just one of each.
8599
8600 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8601 /bin/cc gives a warning if you do.
8602
8603 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8604
8605 * gdb.t24/demangle.exp: change expect pattern of
8606 __t10ListS_link1ZUiRCUiPT0
8607
8608 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8609
8610 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8611 on local variables in recursive functions.
8612
8613 * gdb.t07/Makefile.in: Build the new test.
8614
8615 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8616
8617 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8618 directly. Instead compare the return values from actual calls.
8619
8620 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8621
8622 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8623
8624 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8625
8626 * From Peter Schauer with minor modifications.
8627 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8628 stops in mid-line in the caller. Add xfail for returning a float
8629 value on X86 targets.
8630
8631 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8632
8633 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8634 to avoid expect lossage.
8635 (fmem_LRbug_tests): Likewise.
8636 * gdb.disasm/hppa.s: Corresponding changes.
8637
8638 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8639 conditions to work with latest dejagnu/expect.
8640
8641 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8642 expected to fail on the PA.
8643 (backtrace in call with trampolines): Explicitly require main
8644 to be frame #1 (no trampolines should show up in backtrace).
8645
8646 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8647 "continue -expect".
8648 * gdb.t06/break.exp: Likewise.
8649 * gdb.t07/watchpoint.exp: Likewise.
8650 * gdb.t13/bitfields.exp: Likewise.
8651 * gdb.t15/{funcargs,return}.exp: Likewise.
8652 * gdb.stabs/weird.exp: Likewise.
8653 * config/{mips,udi}-gdb.exp: Likewise.
8654
8655 * hppa.sed: Enclose comments within a sed command to avoid
8656 losing with the old OSF1 sed.
8657
8658 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8659
8660 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8661 sequent dynix.
8662 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8663 * gdb.t15/funcargs.exp: Conditionally step again to really
8664 finish from marker_call_with_trampolines. Handle the case where
8665 the first step from within call_with_trampolines already steps
8666 us back to main.
8667 * gdb.t15/gdbme.c: Add comment to closing brace of
8668 call_with_trampolines for funcargs.exp.
8669
8670 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8671
8672 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8673 Fix typo(s).
8674
8675 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8676
8677 * gdb.t07/gdbme.c: More code for watchpoint testing.
8678
8679 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8680 "Hardware watchpoint" throughout file.
8681 (test_watchpoint_triggered_in_syscall): New test.
8682 (test_complex_watchpoint): New test.
8683
8684 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8685
8686 * gdbme.c (call_with_trampolines): New function to try and step
8687 into. Tests trampoline problems on the PA.
8688
8689 * funcargs.exp (localvars_in_indirect_call): No longer expect
8690 stepping into indirect call to fail on PAs.
8691 (test_stepping_over_trampolines): New test.
8692
8693 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8694
8695 * TODO: Add suggestions for static member function tests, and
8696 completion tests.
8697
8698 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8699
8700 * TODO: Add suggestions for "p/a" tests.
8701
8702 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8703 (default_gdb_exit): Replace all the hair with sending "quit" to
8704 the process with a simple close.
8705
8706 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8707
8708 * TODO: Add suggestions for shared library tests.
8709
8710 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8711
8712 * TODO: Add suggestions for x/s tests.
8713
8714 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8715
8716 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8717 "enable once", and "enable breakpoints once" with ".*".
8718
8719 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8720
8721 * TODO: Add suggestions about structure passing tests.
8722
8723 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8724
8725 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8726 the primary1 test, use work around if __GNUC__ < 2.
8727 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8728 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8729 Test for bad output rather than waiting for timeout. Issue
8730 second continue only if first continue failed.
8731
8732 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8733
8734 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8735 operator[] test with gdb_test because the old code didn't seem to
8736 be getting the quoting right with the new dejagnu.
8737
8738 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8739
8740 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8741 one from the path.
8742 * Makefile.in: Use a fresh expect if there is one, use runtest
8743 from the src tree if there is one.
8744
8745 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8746
8747 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8748 next over recursive call. Revise the tests from that point on
8749 (which had been skipped) to match GDB's actual (correct) output.
8750
8751 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8752 with next over a breakpoint whose condition is false.
8753
8754 * gdb.t00/help.exp: Comment out "help set print" tests just like
8755 (and for same reason as) "help set" test.
8756
8757 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8758
8759 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8760 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8761
8762 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8763
8764 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8765 necessary gdb_target_udi.
8766
8767 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8768
8769 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8770 1838 and 2417; they are fixed.
8771
8772 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8773 gdb.t03/ptype.exp (ptype structure, ptype union):
8774 Remove xfails; the test is looser than when the xfails were added.
8775
8776 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8777 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8778
8779 * gdb.t01/run.exp: Only run shell test if isnative.
8780
8781 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8782 since "run" automatically loads if necessary. Call gdb_target_udi
8783 after the "file" since "file" kills any execution target.
8784
8785 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8786 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8787 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8788 argument for UDI.
8789
8790 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8791
8792 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8793
8794 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8795
8796 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8797
8798 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8799 properly quoting regexps. This makes the second argument to
8800 demangle a fixed string, which matches the callers, instead of a
8801 shell-style pattern which is what the previous implementation
8802 used. Update some of the callers.
8803
8804 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8805
8806 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8807 (comib_nullified_tests): Fix typo.
8808 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8809 strings. No longer expected to fail.
8810
8811 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8812 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8813 strings. No longer expected to fail.
8814
8815 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8816 string. No longer expected to fail.
8817
8818 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8819
8820 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8821 No longer expected to fail.
8822
8823 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8824 string. No longer expected to fail.
8825
8826 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8827
8828 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8829 only in the names (I probably got most of them). I was even
8830 generous with some which differed in underscores in names, and
8831 probably missed a few, and I *still* was able to remove almost a
8832 third of the file with almost no impact on testsuite coverage.
8833
8834 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8835
8836 * gdb.t00/default.exp: Match udi_attach error message as well as
8837 the one from child_attach.
8838
8839 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8840
8841 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8842
8843 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8844 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8845
8846 * Move test with enums and partial symbols back to
8847 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8848 Reverts the change of 26 May 93. Per today's change to
8849 stabs.texinfo, the behavior that weird.exp was expecting was
8850 unreasonable; what is important is that the compiler+gdb get
8851 things right, which happens with a recent gcc. Also fix the test
8852 to deal with native compilers which put out the stab gdb can't
8853 deal with.
8854
8855 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8856
8857 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8858 in the names. The main thing these accomplish is to slow things down.
8859 Many more such duplicates surely remain.
8860
8861 * gdb.t00/help.exp: Comment out "help support" test just like
8862 (and for same reason as) "help set" test.
8863
8864 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8865
8866 * gdb.t06/break.exp: Remove setup_xfails for
8867 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8868 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8869 about known bug in gcc to include up through 2.5.8.
8870 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8871 well as "_vb$".
8872 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8873 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8874 with latest gcc and gdb.
8875 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8876 well as "_vb$".
8877
8878 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8879
8880 * configure.in (hppa*-*-*): Also configure and build stabs-only
8881 tests.
8882
8883 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8884
8885 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8886 * gdb.t10/configure.in (hppa*-*-*): Use it.
8887
8888 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8889
8890 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8891
8892 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8893
8894 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8895 versions prior to 1.13.5.
8896
8897 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8898
8899 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8900 the prompt is at the start of a line.
8901
8902 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8903
8904 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8905 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8906 in the copr tests now.
8907 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8908 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8909 expected to fail.
8910
8911 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8912
8913 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8914 gdb.t31/chillvars.exp, lib/gdb.exp:
8915 Tweak to run under either version of expect.
8916 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8917 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8918 * gdb.t11/list.exp: Remove extraneous whitespace.
8919
8920 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8921
8922 * gdb.t16/printcmds.exp (test_print_strings): Accept
8923 "(unsigned char *) " before the string.
8924
8925 * TODO: Add notes about printing of fancy types and GDB expressions.
8926
8927 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8928
8929 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8930 * gdb.t06/configure.in: Don't try to compile signals test program
8931 if doing mips-idt-ecoff.
8932
8933 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8934
8935 * Most .exp files: Tweak to run under either version of expect.
8936
8937 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8938
8939 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8940 xfails; I'm not sure why they are failing, but not because of PR 1806.
8941
8942 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8943
8944 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8945 defined in lib/gdb.exp.
8946
8947 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8948
8949 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8950 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8951 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8952 have to be typeless.
8953
8954 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8955
8956 * TODO: Add suggestion for copyright year test.
8957
8958 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8959
8960 * configure.in (*-*-lynxos*): Add stabs tests.
8961
8962 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8963
8964 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8965 so insert a tab before any assembler directive in column zero.
8966
8967 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8968 stores.
8969 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8970 stores.
8971 (fpu_short_memory_tests): Likewise.
8972
8973 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8974
8975 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8976 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8977 .stabs directives in comments.
8978
8979 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8980
8981 * TODO: New file, describing tests we could write.
8982 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8983
8984 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8985
8986 * gdb.t06/signals.exp: Add kludge to force re-sync.
8987
8988 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8989 to xgdb instead of gdb, get out of gdb.
8990
8991 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8992
8993 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8994 for info.
8995
8996 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8997
8998 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8999 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9000 * gdb.stabs/hppa.sed: New sed script for the PA.
9001
9002 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9003
9004 * gdb.stabs: Re-write weird.def and configuration to use sed
9005 instead of cpp. sed is portable and POSIX; cpp is neither.
9006
9007 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9008
9009 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9010
9011 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9012
9013 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9014
9015 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9016
9017 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9018 "_vb$".
9019 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9020 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9021
9022 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9023
9024 * lib/gdb.exp: Comment out code which depends on non-existent
9025 `transform' procedure.
9026
9027 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9028
9029 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9030 * lib/gdb.exp: Transform tool name.
9031 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9032 1.1's new error handling system.
9033
9034 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9035
9036 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9037
9038 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9039
9040 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9041 They made pattern matching so slow that timeouts happened on
9042 heavily loaded systems. Now any output from "show print" which
9043 gets us back to the GDB prompt is a PASS.
9044
9045 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9046
9047 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9048
9049 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9050
9051 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9052
9053 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9054 It is not from PR 3220.
9055
9056 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9057
9058 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9059 just started failing because they depended on the order the
9060 subcommands are presented, or exact docstring text. This kind of
9061 test is a pain and has minimal benefit.
9062
9063 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9064
9065 * gdb.t09/corefile.exp: At end of test, use "core" command with
9066 no arguments.
9067
9068 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9069
9070 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9071 17}/Makefile.in: Make it possible to run the testsuite with Sun
9072 make and CC = cross gcc by adding explicit build rules for .o
9073 files.
9074
9075 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9076
9077 * gdb.t15/funcargs.exp: Don't put comments on same line as
9078 setup_xfail (@#$*%& tcl braindamage!).
9079
9080 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9081
9082 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9083
9084 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9085
9086 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9087 * gdb.t20/inherit.exp: remove three dumplicate entries.
9088
9089 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9090
9091 * gdb.t06/break.exp: For "next over recursive call", fail on any
9092 incorrect output, not just on "factorial (value=2)".
9093
9094 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9095
9096 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9097 working now. Add an xfail if accesing a bss variable causes
9098 a memory error if the target is not yet run.
9099
9100 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9101
9102 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9103 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9104 name of __st* demangling (2 strings). Did Kung really get the
9105 more than 95 others right without testing them?
9106
9107 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9108
9109 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9110
9111 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9112
9113 * configure.in (configdirs): Add gdb.disasm
9114 * gdb.disasm: New directory for GDB disassembler tests.
9115 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9116
9117 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9118
9119 * gdb.t00/help.exp: Don't test "help set".
9120
9121 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9122 from within expect statements. None of these happen anymore and
9123 they cause regressions to be silently unnoticed.
9124
9125 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9126 messages) about known failures with gcc cygnus-2.4.5-930417.
9127
9128 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9129 comp-info.exp so it gets built if it doesn't exist.
9130
9131 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9132 it is no longer used.
9133 * gdb.t13/comp-info.c: Removed.
9134
9135 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9136
9137 * gdb.t06/signals.exp: Add xfail for sun3.
9138
9139 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9140
9141 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9142 relevant because ^C doesn't get sent but failure can be reproduced
9143 interactively).
9144
9145 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9146
9147 * gdb.stabs/alpha.mt: New configuration file for alpha.
9148 * gdb.stabs/configure.in: Use it.
9149 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9150 sharing with alpha.mt, redefine long to word via preprocessor.
9151 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9152 for alpha.
9153 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9154 native cc.
9155 * gdb.t00/teststrategy.exp: Change expect string so that we
9156 consume the `(xgdb)' from the command echo and from the gdb prompt.
9157 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9158 gdb currently compares all values as long, so this failure probably
9159 applies to any configuration where LONGEST is bigger than a target int.
9160 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9161 with gcc.
9162 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9163 to handle opaque pointers, gcc is.
9164 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9165 as first argument. Include <sys/types.h> and change all operator
9166 new definitions to use size_t.
9167 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9168 now that we use size_t.
9169
9170 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9171
9172 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9173 a long or float array cast all array members to the same type.
9174 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9175 with 64 bit longs.
9176 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9177 on alpha.
9178 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9179
9180 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9181
9182 * gdb.t24 (demangle.exp): Constructors of templates have names like
9183 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9184 section 14.6 of the ARM.
9185
9186 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9187 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9188 accomplish little and slow down the testsuite.
9189
9190 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9191 Accept spaces various places.
9192
9193 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9194
9195 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9196 with watchpoint enabled.
9197
9198 * Makefile.in: Remove definition of CC and remove the second
9199 definition of CXX (the "CXX = gcc" one remains). These definitions
9200 were causing backquotes to be expanded within backquotes, which
9201 doesn't work.
9202
9203 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9204
9205 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9206
9207 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9208
9209 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9210 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9211 by mips cc and contains no stabs entries.
9212
9213 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9214
9215 * config/vx-gdb.exp: Use fake device to load files rather than
9216 NFS.
9217 * lib/gdb.exp: New proc to do "file" command.
9218 * config/unix-gdb.exp: Use new "file" proc.
9219
9220 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9221
9222 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9223 Rework board rebooting slightly.
9224 (gdb_exit): Don't exit from the remote shell; there isn't one.
9225 * gdb.stabs/weird.exp: If a program is being debugged already,
9226 kill it.
9227 * gdb.t04/setvar.exp: Stop and restart gdb.
9228 * gdb.t05/expr.exp: Likewise.
9229 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9230 restart gdb and reload the program.
9231 * gdb.t08/opaque.exp: Likewise.
9232 * gdb.t12/scope.exp: Likewise.
9233 * gdb.t13/bitfields.exp: Likewise.
9234 * gdb.t15/funcargs.exp: Likewise.
9235 * gdb.t20/classes.exp: Likewise.
9236 * gdb.t03/ptype.exp: Increase timeout.
9237 * gdb.t16/printcmds.exp (test_print_string_constants,
9238 test_print_array_constants): Likewise.
9239 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9240 * gdb.t20/classes.exp (do_tests): Likewise.
9241 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9242
9243 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9244
9245 * gdb.stabs: Renamed *wierd* to *weird*.
9246
9247 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9248
9249 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9250 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9251
9252 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9253
9254 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9255 (do_tests): Remove xfail for whatis on one_var and two_var.
9256
9257 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9258
9259 * Makefile.in: Made cross building work better by adding
9260 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9261
9262 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9263
9264 * gdb.t15/{return.c,return.exp,Makefile.in}:
9265 New test, currently commented out.
9266
9267 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9268
9269 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9270 still running and removes the leftover named socket so GDb can do
9271 clean restarts.
9272
9273 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9274
9275 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9276 console, not GDB.
9277 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9278 cross testing works better with "make check"
9279 * config/unix-gdb: Use default procedures for exit and version.
9280 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9281 with the newest VxWorks.
9282
9283 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9284
9285 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9286 old form.
9287
9288 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9289 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9290
9291 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9292
9293 * config/unix-gdb.exp: Remove this version of gdb_exit
9294 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9295 Rob says he'll look at it when he gets back to testing boards.
9296
9297 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9298
9299 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9300 an expected fail for certain ptype commands.
9301
9302 * gdb.t20/classes.exp: Update expected results of "ptype class
9303 Base1" to account for the constructor that now appears in the type.
9304
9305 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9306
9307 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9308 disappeared from list.
9309 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9310 "alldone" proc with call to cleanup and exit.
9311 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9312 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9313 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9314 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9315 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9316 "alldone" proc with simple returns that suppress remaining
9317 tests. The alldone proc went away many months ago.
9318
9319 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9320
9321 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9322
9323 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9324
9325 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9326
9327 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9328 as vax gdb will display them.
9329
9330 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9331
9332 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9333 optimizers.
9334
9335 * scope.exp: Change "bad value for localval" messages so each one
9336 is unique.
9337
9338 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9339 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9340
9341 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9342
9343 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9344
9345 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9346 doesn't exist (due to optimization).
9347
9348 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9349
9350 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9351 contains \r because the filename is long.
9352
9353 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9354 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9355
9356 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9357
9358 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9359 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9360 Ultrix.
9361 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9362 int tests.
9363 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9364
9365 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9366
9367 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9368
9369 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
9370 to match does not match the passing case but still matches the
9371 failing case.
9372
9373 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9374
9375 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9376
9377 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9378
9379 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9380 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9381 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9382 Remove various versions of gdb_exit.
9383 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9384 gdb_exit.
9385 * config/unix-gdb.exp: gdb_exit remains here, and should override
9386 the generic version, since it's doing a lot of wierd stuff that
9387 the other versions aren't. FIXME, fold it in, or abandon this
9388 version.
9389
9390 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9391
9392 * gdb.t24/demangle.exp: Add tests for PR 3220.
9393
9394 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9395
9396 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9397
9398 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9399
9400 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9401 "i386-*-*". Works for i486 as well.
9402
9403 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9404 bug, and expand domain of xfail to all SVR4 systems, since the
9405 actual problem is likely to be in generic SVR4 /proc support.
9406
9407 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9408
9409 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9410
9411 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9412
9413 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9414 xfails for other systems. Match a missing 'Continuing.' as an
9415 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9416
9417 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9418 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9419 Only issue warning for missing executables if -all option is used.
9420
9421 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9422 file if -all option is used. It's like an unpredictable XFAIL.
9423
9424 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9425
9426 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9427 for dynamically linked binaries.
9428
9429 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9430
9431 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9432
9433 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9434 to state that this is a known bug in old versions of g++.
9435
9436 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9437
9438 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9439 while waiting for `Continuing'.
9440
9441 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9442
9443 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9444 in text, data, and bss.
9445 * gdb.t10/nodebug.c: Add local and global test variables for
9446 initialized and uninitialized data.
9447
9448 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9449
9450 * config/unix-gdb.exp (gdb_exit): Add "wait".
9451
9452 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9453
9454 * gdb.t06/signals.exp: xfail the continue from the handler for all
9455 targets.
9456
9457 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9458 function with watchpoints enabled, the i386 call dummy starts with
9459 a call.
9460
9461 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9462 386 bsd names its corefiles.
9463
9464 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9465
9466 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9467 compilers don't grok it.
9468 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9469 with small octal ints rather than character constants, which
9470 are signed and might not fit if first promoted to int.
9471
9472 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9473
9474 * gdb.t09/Makefile.in (clean): Remove corefile.
9475
9476 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9477
9478 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9479
9480 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9481 and Jim Kingdon (kingdon@cygnus.com)
9482
9483 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9484 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9485 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9486
9487 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9488
9489 * gdb.t17/interrupt.exp: Add xfail for hppa.
9490
9491 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9492
9493 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9494 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9495 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9496 to determine signed-ness of bitfields and use the result to setup
9497 the xfail.
9498 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9499 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9500 call line is reached if necessary.
9501
9502 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9503
9504 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9505
9506 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9507
9508 * gdb.t06/break.exp: Also test `clear' command.
9509
9510 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9511
9512 * gdb.t00/teststrategy.exp: Remove extra quote.
9513
9514 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9515 watchpoint enabled to be for all non-68k machines.
9516
9517 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9518
9519 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9520
9521 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9522 targets use aout.mt instead of ecoff.mt as gas understands
9523 standard aout format.
9524
9525 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9526
9527 * lib/gdb.exp (runto): Don't insist that function we are running to
9528 was compiled with -g.
9529
9530 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9531
9532 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9533 to get back into the read system call.
9534 Accept leading newline in case where we woke it up.
9535
9536 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9537
9538 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9539 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9540 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9541 enable ecoff configuration.
9542
9543 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9544
9545 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9546
9547 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9548
9549 * gdb.t16/printcmds.exp: Add another printf test.
9550
9551 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9552
9553 * configure.in: If configured -with-stabs on any target, add
9554 stabsdirs to configdirs.
9555
9556 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9557
9558 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9559 fun" so pattern does not match the command itself.
9560
9561 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9562
9563 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9564
9565 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9566
9567 * gdb.t17/interrupt.exp: Test for more things.
9568
9569 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9570
9571 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9572 compiler arranges the code and line numbers.
9573
9574 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9575
9576 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9577
9578 * gdb.t00/help.exp: Increase expect input buffer size.
9579
9580 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9581
9582 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9583
9584 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9585
9586 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9587
9588 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9589 [0-9]*, not just [0-9].
9590
9591 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9592
9593 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9594
9595 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9596
9597 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9598
9599 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9600
9601 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9602
9603 * gdb.t06/signals.c: Add xfails for sun3.
9604
9605 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9606
9607 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9608 test_stepping tests.
9609
9610 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9611
9612 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9613
9614 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9615
9616 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9617 rather than actually putting it through cpp twice.
9618
9619 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9620
9621 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9622
9623 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9624 no longer needed.
9625
9626 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9627
9628 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9629
9630 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9631 C++ features prints as "struct", make it a pass, not an xfail.
9632
9633 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9634
9635 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9636 Don't require VA to print as "class" rather than "struct".
9637
9638 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9639
9640 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9641
9642 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9643
9644 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9645
9646 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9647
9648 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9649 order.
9650
9651 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9652
9653 * gdb.t16/printcmds.exp: Add printf tests.
9654
9655 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9656
9657 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9658
9659 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9660
9661 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9662 pass counts, to counteract any existing or future setup_xfails.
9663
9664 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9665
9666 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9667 {BEGIN,END}_COMMON for common block instead of STAB.
9668 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9669
9670 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9671 intp_var should be N_GSYM not N_LSYM.
9672 wierd-aout.S: Use a label for the value of the N_SO.
9673 wierd.def: Remove all backslashes.
9674 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9675
9676 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9677
9678 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9679 get the expected next to inheritance3.
9680
9681 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9682
9683 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9684 now that gcc-2.4 gets it right.
9685
9686 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9687
9688 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9689
9690 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9691 generating comp-info.exp which works for cross-compilation.
9692
9693 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9694
9695 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9696 "*-*-sysv4.*".
9697
9698 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9699
9700 * gdb.t01/run.exp: Start with a fresh gdb.
9701 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9702 SVR4.x.
9703
9704 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9705
9706 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9707 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9708 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9709 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9710 things to remove.
9711
9712 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9713
9714 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9715 test cases from bug reports.
9716
9717 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9718
9719 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9720 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9721 avoid spurious xfails.
9722 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9723 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9724 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9725
9726 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9727
9728 * gdb.t00/teststrategy.exp: Rework to provide more useful
9729 description of each test, fix problem with systems that define
9730 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9731 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9732 results for "next over recursive call" so timeouts aren't taken
9733 by error.
9734
9735 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9736
9737 * gdb.t12/scope.exp: Test printing of variables before run.
9738
9739 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9740 printed in wrong order due to sorting.
9741
9742 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9743
9744 * gdb.t00/teststrategy.exp: Fix expected results for printing
9745 user entered string constant. Is array of char, prints with no
9746 address.
9747
9748 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9749 commands.
9750 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9751 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9752 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9753 of struct of char arrays.
9754 * gdb.t00/radix.exp: New tests for radix commands.
9755
9756 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9757
9758 * gdb.t16/printcmd.exp: Print a variable before running program
9759 (with xfail for AIX).
9760
9761 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9762
9763 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9764
9765 * gdb.t16/printcmd.exp: Don't print variables before running program.
9766
9767 * gdb.t06/break.exp: Don't require envp argument to main.
9768
9769 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9770
9771 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9772 Add xfails for rs6000.
9773
9774 * gdb.t02/whatis.exp: Change other tests not to re-test something
9775 we already tested.
9776
9777 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9778 each type used has a variable of that type.
9779
9780 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9781
9782 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9783
9784 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9785
9786 * configure.in: change srctrigger to be a file, not a directory
9787
9788 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9789
9790 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9791
9792 * gdb.t11/list.exp: Fixed a couple of typos.
9793
9794 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9795
9796 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9797 is fixed and PR is closed.
9798 * gdb.t16 (gdbme.c): Add simple test string variable.
9799 * gdb.t16 (printcmds.exp): Add tests with simple test string
9800 variable, primarily for boundaries on "set print elements".
9801
9802 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9803
9804 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9805 Make leading 0's optional and don't expect a tab in the middle
9806 of the number.
9807
9808 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9809
9810 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9811 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9812 don't end command passed to gdb_test with newline.
9813
9814 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9815 signed keyword away, don't expect signed bitfields to be signed.
9816
9817 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9818 printing with only as many 1's as are in the field as well as printing
9819 with 32 1's (see comment).
9820
9821 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9822
9823 * gdb.t00/default.exp: Start with a fresh gdb.
9824 * configure.in (configdirs): Remove gdb.t31 until the chill
9825 compiler works again. It no longer is able to find chillrt0
9826 since it isn't in libchill.a anymore.
9827 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9828 wierd.o, make more modular.
9829 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9830 spurious newlines that caused problems.
9831
9832 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9833
9834 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9835 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9836 gdb.stabs/wierd.{exp,def}: Many new tests.
9837
9838 * gdb.t00/default.exp: update info line for new message.
9839
9840 * gdb.t02/{whatis.exp,gdbme.c}:
9841 Test that "char *" doesn't print as "caddr_t".
9842
9843 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9844
9845 * gdb.t00/help.exp: Use .* in place of some help messages which
9846 just changed.
9847 gdb.t00/default.exp: Update "info frame" test for new message.
9848 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9849 Remove some xfails
9850
9851 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9852
9853 * gdb.t03/{gdbme.c,ptype.exp}:
9854 Add tests for typedef'd struct and union without tags.
9855 Also check "whatis" on a variable of a typedef'd enum without a tag.
9856
9857 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9858 PRMS 1823; the bug still exists but isn't reproduced by this test
9859 anymore), and remove rs6000 XFAIL (the bug is fixed).
9860
9861 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9862 duplicated from whatis.exp. For those that are left, accept
9863 "long", "long int", or "int" for long variables (whatis.exp already
9864 has an XFAIL for "int", so no need to fail it here).
9865
9866 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9867 Deal with GCC's names for types now that GDB uses the compiler's names.
9868
9869 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9870 setup_xfail's for sunos4. If we #defined the signed keyword away,
9871 don't expect GDB to know that char it is signed.
9872
9873 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9874
9875 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9876
9877 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9878 should work on any system, regardless of debugging format.
9879 * gdb.t21/demangle.exp: Move to gdb.t24.
9880 * gdb.t24/demangle.exp: Move from gdb.t21.
9881 * gdb.t24/{Makefile.in, configure.in}: New files.
9882
9883 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9884
9885 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9886 * gdb.stabs: New directory.
9887
9888 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9889
9890 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9891 not just "Quit anyway?".
9892
9893 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9894
9895 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9896 that all setup_xfails are immediately followed by clear_xfails.
9897
9898 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9899
9900 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9901 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9902 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9903 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9904 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9905 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9906 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9907 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9908 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9909 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9910 gdb.t31/chillvars.exp, lib/gdb.exp:
9911 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9912 bug-gdb@prep.ai.mit.edu.
9913
9914 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9915
9916 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9917 with 0.0, not integer 0.
9918
9919 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9920
9921 * gdb.t06/break.exp: Update for "Kill the program" message change.
9922
9923 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9924
9925 * Makefile.in (GDBFLAGS): Set to -nx.
9926 * Makefile.in (site.exp): Use GDBFLAGS.
9927
9928 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9929
9930 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9931 Makefiles.
9932 (check): depend on just-check.
9933 (just-check): added so that tests can be run without a noop
9934 build pass.
9935
9936 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9937
9938 Switch to using configure's configdirs.
9939 * Makefile.in (Makefile): add configure.in dependency.
9940 (SUBDIRS): removed redundant assignment.
9941 * configure.in: switch subdirs assignment to configdirs.
9942 * gdb.t*/configure.in: new files.
9943
9944 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9945
9946 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9947 works.
9948
9949 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9950
9951 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9952 in explicit rules. Apparently this is not supported by some makes.
9953
9954 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9955
9956 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9957
9958 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9959
9960 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9961 disappeared.
9962
9963 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9964
9965 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9966
9967 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9968
9969 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9970 watchpoint problem that is now fixed.
9971 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9972 uninitialized convenience variables.
9973 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9974 structures.
9975
9976 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9977
9978 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9979 which causes expect to get out of sync with gdb on long output
9980 from help set.
9981 * gdb.t09/corefile.exp: Make expected pattern for core file
9982 failing signal and frame output format less sun specific.
9983
9984 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9985
9986 * gdb.t31/chillvars.exp: Add and remove initial dummy
9987 breakpoint, so that symbol table is forced in.
9988 (Needed at least on Sunos4, though it seems not SVR4.)
9989 * gdb.t31/chillvars.exp: Update for changed output format.
9990
9991 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9992
9993 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9994
9995 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9996
9997 * Makefile.in: Added --srcdir when invoking runtest, removed the
9998 need for a local config file. (optional now)
9999
10000 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10001
10002 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10003 failure count used to force early termination. Add some more
10004 expected failures for gnu style demangling.
10005
10006 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10007
10008 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10009 pmi variable from gdb.t20/gdbme to get optimized away.
10010 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10011 Check for written corefile upon timeout _and_ eof.
10012
10013 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10014
10015 * config/unix-gdb.exp: Add missing return 0.
10016
10017 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10018
10019 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10020 test termination.
10021
10022 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10023
10024 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10025 disappeared.
10026
10027 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10028
10029 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10030 time as i860 support works.
10031
10032 * gdb.t15/funcargs.exp: Fix expected outputs to include
10033 "backtrace 100\r" rather than just "backtrace\r", to match last
10034 change.
10035
10036 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10037
10038 * config/udi-gdb.exp (gdb_exit): Remove close command.
10039 (gdb_target_udi): New procedure to set the UDI target.
10040 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10041 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10042 Added waits for prompts after several question responses. Added
10043 some more responses used by a29k-amd-udi-gdb.
10044 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10045 pass different arguments, restart UDI connection after program
10046 completion.
10047 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10048 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10049 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10050 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10051 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10052 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10053 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10054 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10055 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10056 after program completion.
10057 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10058 compiled with a SELECT_VECS setting.
10059 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10060 infinite recursion.
10061
10062 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10063 Added checks for COFF results, and made them expected failures for
10064 all targets. It would be better to make them expected failures
10065 for COFF targets only.
10066
10067 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10068
10069 * Makefile.in: add null dvi target, don't bother to recurse
10070 through test directories for info and install-info; rename
10071 $(datadir) to be dejagnu instead of deja-gnu
10072
10073 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10074
10075 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10076 compiler to coredump.
10077 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10078 code.
10079
10080 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10081
10082 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10083 coredump.
10084 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10085 code.
10086
10087 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10088
10089 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10090 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10091 which in a shell. Deletes xgdb when done.
10092 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10093 Tests the return from the "set height" or "set width" commands.
10094 Added a few return codes where needed.
10095
10096 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10097
10098 * Makefile.in (SUBDIRS): Add gdb.t17.
10099 * configure.in (subdirs): Add gdb.t17.
10100 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10101 files to test gdb's calling of functions in the inferior with
10102 the correct arguments and gdb's ability to retrieve any
10103 result returned.
10104
10105 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10106
10107 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10108 may be called after gdb goes away. Previous versions of expect
10109 needed these to avoid file descriptor leaks, but they cause
10110 errors with the current revision of expect.
10111 * gdb.t00/gdbvars.exp: Use -re on expected output after
10112 setting sevenbit-strings.
10113 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10114 to set sevenbit-strings consistent across tests.
10115 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10116 set sevenbit-strings consistent across tests.
10117
10118 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10119
10120 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10121 expected output to match current "expect" expectations.
10122
10123 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10124
10125 * gdb.t00/default.exp: Change expected output for default "source"
10126 command, to match new gdb behavior which requires a filename to
10127 source.
10128
10129 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10130
10131 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10132 expected fail for i486-*-* that misses the marker2 function.
10133 * gdb.t10/crossload.exp (bfddefault): Allow successful
10134 recognition of a format to pass even if no symbols are found.
10135 Explicitly catch failures where the format is not recognized
10136 or is ambiguous, and add the reason to the fail message.
10137 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10138 the cause is and invalid target and add reason to failure message.
10139 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10140 elf32-i386, elf32-sparc, and elf32-i860.
10141 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10142 Set up expected failure for 'filename'::variable scope resolution,
10143 which is now apparently broken on all targets.
10144 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10145 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10146 gdb.t23/templates.exp: Change failure for missing binfile into
10147 just a warning.
10148 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10149 references.
10150
10151 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10152
10153 * gdb.t00/default.exp: Add expected output for default "source"
10154 command, to match new gdb behavior.
10155 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10156
10157 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10158
10159 * config/*-gdb.exp: returns an error, rather than exiting on
10160 internal errors.
10161
10162 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10163
10164 * gdb.t03/gdbme.c: Add pointer to struct variable.
10165 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10166 referencing struct members.
10167
10168 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10169
10170 * configure.in (mips-idt-ecoff): New target.
10171 * config/mips-gdb.exp: New file for remote board using MIPS remote
10172 debugging protocol.
10173
10174 * Redid configuration scheme. Removed gdb.t*/configure.in.
10175 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10176 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10177 distclean targets. Built executables via .o files. Adjusted
10178 tests to account for source files in $(srcdir) rather than
10179 $(objdir).
10180 * lib/gdb.exp (runto): Don't expect () after the function name,
10181 because it may have arguments.
10182
10183 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10184
10185 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10186 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10187 expected failures for mips-idt-* and mips-sgi-*.
10188 * gdb.t00/default.exp (attach): Kill process if requested.
10189 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10190 that does not read core files.
10191 * gdb.t01/run.exp: Removed checks for exit status code.
10192 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10193 it is linked in.
10194 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10195 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10196 appropriate, rather than doing it by hand.
10197 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10198 execution.
10199 * gdb.t10/crossload.exp: Kill existing program if needed.
10200 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10201 appropriate, rather than doing it by hand. Always increase
10202 timeout for this test, not just for VxWorks.
10203
10204 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10205
10206 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10207 of Chill STRUCT types and STRUCT values.
10208 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10209 than "char".
10210 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
10211 struct2): New struct definitions and initializations to test
10212 simple Chill STRUCT types.
10213
10214 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10215
10216 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10217 the null byte at the end of strings.
10218 * gdb.t00/default.exp: Make show version insensitive to copyright
10219 date.
10220 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10221 to avoid dependencies on target char signedness.
10222 * gdb.t16/printcmds.exp: Update expected results for explicitly
10223 unsigned char.
10224 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10225 now work.
10226 * gdb.t21/demangle.exp: Add many more patterns for template
10227 demangling, most of them being expected failures.
10228 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10229 string we are matching for, to match on the whole string.
10230 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10231 and fix a whole bunch that had incorrect expected output but were
10232 passing anyway because of the bug in "proc demangle".
10233 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10234 type.
10235 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10236
10237 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10238
10239 * gdb/testsuite: made modifications to testcases, etc., to allow
10240 them to work properly given the reorganization of deja-gnu and the
10241 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10242
10243 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10244
10245 * gdb/testsuite: Initial creation of gdb/testsuite.
10246 Migrated dejagnu testcases and support files for testing nm to
10247 gdb/testsuite from deja-gnu. These files were moved "as is"
10248 with no modifications. This migration is part of a major overhaul
10249 of dejagnu. The modifications to these testcases, etc., which
10250 will allow them to work with the new version of dejagnu will be
10251 made in a future update.
10252 \f
10253 Local Variables:
10254 mode: indented-text
10255 left-margin: 8
10256 fill-column: 74
10257 version-control: never
10258 End:
This page took 0.374434 seconds and 5 git commands to generate.