2003-06-30 David Carlton <carlton@kealia.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2003-06-30 David Carlton <carlton@kealia.com>
2
3 * gdb.c++/maint.exp (test_invalid_name): New.
4 (test_first_component): Add tests for invalid names.
5
6 2003-06-29 Michael Chastain <mec@shout.net>
7
8 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
9 output of '<VTT for class>' for virtual base classes.
10
11 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12
13 * gdb.base/completion.exp: Tab-complete "complet" instead of
14 "compl".
15 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16
17 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
18
19 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20 * gdb.base/volatile.exp: Likewise.
21
22 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
23
24 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
25 gdb/1265.
26
27 2003-06-28 Michael Chastain <mec@shout.net>
28 Daniel Jacobowitz <drow@mvista.com>
29
30 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
31 initial line count of 'captured_main' from 26 to 32.
32 (test_with_self): Allow xmalloc call to be interleaved with the
33 preceding two lines.
34
35 2003-06-24 Joel Brobecker <brobecker@gnat.com>
36
37 * gdb.base/bang.exp: New testcase.
38
39 2003-06-23 Joel Brobecker <brobecker@gnat.com>
40
41 * gdb.base/langs.exp: Add some tests for the "minimal" language
42 support.
43
44 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
45
46 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
47 the testcase.
48
49 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
50
51 * gdb.base/relocate.exp: Test add-symbol-file with a variable
52 offset.
53
54 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
55
56 * gdb.c++/pr-1210.cc: New file.
57 * gdb.c++/pr-1210.exp: New file.
58
59 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
60
61 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
62 000-exec-continue.
63
64 2003-06-15 Mark Kettenis <kettenis@gnu.org>
65
66 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
67 on *-*-*bsd* instead of *-*-freebsd*.
68
69 2003-06-14 Andrew Cagney <cagney@redhat.com>
70
71 * gdb.base/store.exp: Test longest and doublest. Test all
72 parameters. Weaken return statement match.
73 * gdb.base/store.c: Add longest and doublest - aka long long and
74 long double functions. Put all parameters into local register
75 variables. Use negative values.
76
77 2003-06-14 Andrew Cagney <cagney@redhat.com>
78
79 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
80 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
81 exit status.
82 * gdb.base/fileio.exp: Disable target when nointerrupts and
83 noinferiorio, instead of limiting it to remote. Use remote_exec
84 instead of system.
85
86 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
87
88 * gdb.base/float.exp: Add ia64 support.
89
90 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
91
92 * gdb.base/fileio.exp: Run only on remote targets.
93
94 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
95
96 * gdb.base/fileio.c: New file, testing File-I/O.
97 * gdb.base/fileio.exp: Ditto.
98
99 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
100
101 * gdb.base/shreloc.exp: New file, check symbol values obtained from
102 shared objects after relocation at load time (gdb PR/1132).
103 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
104 as above, part of the shared object relocation test.
105
106 2003-06-08 Mark Kettenis <kettenis@gnu.org>
107
108 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
109 fully filled history list.
110 * gdb.base/gdb_history: New file.
111
112 * gdb.base/signals.exp: XFAIL "continue to func1" on
113 i*86-*-freebsd*.
114
115 * gdb.base/attach.exp: When trying to attach to a nonexistent
116 process, make it possible to specify the PID based on the target,
117 and do so for *-*-freebsd*.
118
119 2003-06-02 Richard Henderson <rth@redhat.com>
120
121 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
122
123 2003-06-02 Richard Henderson <rth@redhat.com>
124
125 * gdb.base/selftest.exp: Next over lim_at_start initialization.
126
127 2003-06-02 Richard Henderson <rth@redhat.com>
128
129 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
130
131 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
132
133 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
134 of globalvar.
135
136 2003-06-01 Mark Kettenis <kettenis@gnu.org>
137
138 * gdb.asm/asm-source.exp: Check for memory read errors in
139 disassembler test on *BSD too.
140
141 2003-06-01 Richard Henderson <rth@redhat.com>
142
143 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
144 for .frame.
145 (gdbasm_call): Lose ldgp.
146 (gdbasm_startup): Add frame information.
147 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
148
149 2003-05-31 Mark Kettenis <kettenis@gnu.org>
150
151 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
152 i?86-*-*.
153
154 2003-05-30 Mark Kettenis <kettenis@gnu.org>
155
156 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
157 FreeBSD.
158
159 2003-05-29 Richard Henderson <rth@redhat.com>
160
161 * gdb.asm/alpha.inc: New file.
162 * gdb.asm/asm-source.exp: Use it.
163
164 2003-05-29 Jim Blandy <jimb@redhat.com>
165
166 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
167 'core.PID'.
168
169 2003-05-22 Jim Blandy <jimb@redhat.com>
170
171 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
172 backtrace.
173
174 2003-05-20 David Carlton <carlton@math.stanford.edu>
175
176 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
177 this time.
178
179 2003-05-19 David Carlton <carlton@bactrian.org>
180
181 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
182 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
183
184 2003-05-19 David Carlton <carlton@bactrian.org>
185
186 * gdb.c++/namespace.exp: Add namespace scope and anonymous
187 namespace tests.
188 Bump copyright date.
189 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
190 (main): Call C::D::marker2.
191 * gdb.c++/namespace1.cc: New file.
192
193 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
194
195 Roland McGrath <roland@redhat.com>
196 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
197 there is no manager thread.
198
199 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
200
201 * gdb.threads/schedlock.exp: Remove assumption that all threads
202 will run in a particular small time slice. Also ensure we break
203 in one of the child threads rather than the main thread.
204
205 2003-05-07 Jim Blandy <jimb@redhat.com>
206
207 Add support for assembly source testing on the s390x.
208 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
209 architecture.
210 * gdb.asm/s390x.inc: New file.
211
212 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
213 succession of 'if' statements.
214
215 2003-05-05 Andrew Cagney <cagney@redhat.com>
216
217 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
218
219 2003-05-05 Andrew Cagney <cagney@redhat.com>
220
221 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
222 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
223
224 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
225
226 * gdb.base/charset.exp: Update based on new behavior of set/show
227 charset commands.
228
229 2003-05-01 Andrew Cagney <cagney@redhat.com>
230
231 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
232 variable do not give memory errors.
233
234 2003-04-30 Adam Fedor <fedor@gnu.org>
235
236 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
237 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
238 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
239 gdb.objc/basicclass.m: : New files
240
241 * lib/gdb.exp (gdb_compile_objc): New procedure.
242
243 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
244
245 * gdb.base/signals.exp: Make backtrace tests more specific.
246
247 2003-04-23 David Carlton <carlton@bactrian.org>
248
249 * gdb.c++/maint.exp (test_first_component): Add tests for
250 'operator' in more locations.
251
252 2003-04-16 Kevin Buettner <kevinb@redhat.com>
253
254 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
255
256 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
257
258 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
259 func marke' instead. Update test name.
260
261 2003-04-15 David Carlton <carlton@math.stanford.edu>
262
263 * gdb.c++/maint.exp: New file.
264
265 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
266
267 * gdb.threads/schedlock.c: Change type of thread function argument
268 to long, to avoid warnings on 64-bit platforms.
269
270 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
271
272 * gdb.base/attach.exp: Add new message from ptrace in case of
273 attaching to nonexistent process.
274
275 2003-04-11 Jim Blandy <jimb@redhat.com>
276
277 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
278 gdb.c++/userdef.cc: Place comments on the lines to which the
279 marker function might return.
280 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
281 gdb.c++/userdef.exp: Look for those comments to check that we've
282 returned to the right place, instead of checking line numbers.
283
284 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
285
286 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
287 match on sourcefile name, instead of directory name.
288
289 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
290
291 * gdb.base/completion.exp: Use string_to_regexp to match the
292 working directory name.
293
294 2003-04-09 Jim Blandy <jimb@redhat.com>
295
296 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
297 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
298 after an inferior function call, report the failure, but allow the
299 test to continue.
300
301 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
302
303 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
304 with -DPROTOTYPES.
305
306 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
307
308 * gdb.base/break.exp: Revert last patch.
309
310 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
311
312 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
313 with -DPROTOTYPES.
314
315 2003-04-02 Andrew Cagney <cagney@redhat.com>
316
317 * gdb.base/callfuncs.exp: Make "print add" messages unique.
318 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
319 matching directories by the name breakpoint.
320 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
321 Make "continue to marker1" consistent.
322 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
323 message consistent.
324 * lib/gdb.exp: Put "the program is no longer running", and "the
325 program exited" in parenthesis.
326 * lib/mi-support.exp: Ditto.
327
328 2003-04-02 Bob Rossi <bob_rossi@cox.net>
329
330 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
331
332 2003-03-29 Andrew Cagney <cagney@redhat.com>
333
334 * gdb.base/sizeof.c (main): Print the value of '\377'.
335 * gdb.base/sizeof.exp: Check the sign of '\377'.
336
337 2003-03-27 Michael Chastain <mec@shout.net>
338
339 * gdb.base/gdb1090.exp: New file.
340 * gdb.base/gdb1090.cc: New file.
341
342 2003-03-27 J. Brobecker <brobecker@gnat.com>
343
344 * gdb.gdb/observer.exp: New regression test.
345
346 2003-03-27 Michael Chastain <mec@shout.net>
347
348 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
349 * gdb.base/ptype.exp: Likewise.
350
351 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
352
353 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
354
355 2003-03-26 Michael Chastain <mec@shout.net>
356
357 * gdb.base/ptype.exp: Actually use some typedef'd types.
358
359 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
360
361 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
362 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
363
364 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
365
366 * gdb.base/default.exp: Fix regular expression.
367
368 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
369
370 * gdb.base/args.exp: Fix regular expression.
371
372 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
373
374 * gdb.base/help.exp: Allow Win32 child process.
375
376 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
377
378 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
379 when stepping out of main().
380
381 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
382
383 * gdb.base/default.exp: Check for win32 specific message when calling
384 "run" without executable.
385
386 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
387
388 * gdb.base/args.exp: Expect .exe in output.
389
390 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
391
392 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
393 Cygwin native.
394
395 2003-03-17 Andrew Cagney <cagney@redhat.com>
396
397 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
398 vector registes.
399 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
400 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
401
402 2003-03-17 David Carlton <carlton@math.stanford.edu>
403
404 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
405 test, for PR breakpoints/38.
406 Call test_watchpoint_and_breakpoint.
407 * gdb.base/watchpoint.c (func3): New function.
408 (main): Call func3.
409
410 2003-03-04 David Carlton <carlton@math.stanford.edu>
411
412 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
413 Garply<Garply<char> >:: garply".
414 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
415 with respect to PR c++/1111; note also PR c++/1113.
416 (test_template_breakpoints): KFAIL "constructor breakpoint" with
417 respect to PR c++/1062.
418 KFAIL "destructor breakpoint" with respect to PR c++/1112.
419
420 2003-03-03 David Carlton <carlton@math.stanford.edu>
421
422 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
423 with respect to PR c++/57.
424 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
425 c++/826.
426 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
427 respect to PR c++/57.
428
429 2003-03-03 David Carlton <carlton@math.stanford.edu>
430
431 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
432 respect to PR c++/33 into FAILs.
433
434 2003-03-03 Michael Chastain <mec@shout.net>
435
436 * configure.in: Update copyright years.
437
438 2003-03-03 Michael Chastain <mec@shout.net>
439
440 * Makefile.in: Update copyright years.
441
442 2003-02-28 David Carlton <carlton@math.stanford.edu>
443
444 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
445 print class instead of struct and/or superfluous protection
446 specifiers, as long as the resulting output is equivalent to the
447 source code.
448 Delete FIXME from end of messages on tests that don't need
449 fixing.
450
451 2003-02-28 David Carlton <carlton@math.stanford.edu>
452
453 * gdb.c++/templates.exp (do_tests): Allow const in the two
454 Foo<volatile char *>::foo tests.
455
456 2003-02-27 Michael Snyder <msnyder@redhat.com>
457
458 * gdb.base/restore.c (main): Return zero, so exit code
459 will be consistant.
460
461 2003-02-26 David Carlton <carlton@math.stanford.edu>
462
463 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
464 char *>::foo" test with respect to PR c++/33. Create a new test
465 which is identical to that one except that it doesn't put the
466 space between the "char" and the "*"; KFAIL it, too.
467
468 2003-02-26 David Carlton <carlton@math.stanford.edu>
469
470 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
471 template types into either PASSes or KFAILs (corresponding to PR
472 c++/57). Tweak indentation. Update copyright.
473
474 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
475
476 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
477
478 2003-02-13 Michael Chastain <mec@shout.net>
479
480 * gdb.base/exprs.exp: Remove i960 remnants.
481 * gdb.base/funcargs.exp: Likewise.
482 * gdb.base/list.exp: Likewise.
483 * gdb.base/ptype.exp: Likewise.
484
485 2003-02-14 David Carlton <carlton@math.stanford.edu>
486
487 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
488 pEe->D::vg()" from XFAIL to KFAIL.
489
490 2003-02-13 Jason Molenda (jmolenda@apple.com)
491
492 * gdb.base/maint.exp: Update maint print statistics regexp to include
493 new entries.
494
495 2003-02-13 Michael Chastain <mec@shout.net>
496
497 * gdb.c++/inherit.exp: Remove call to get_debug_format.
498
499 2003-02-12 Michael Chastain <mec@shout.net>
500
501 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
502 * gdb.c++/inherit.exp: Likewise.
503 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
504 * gdb.c++/templates.exp: Likewise.
505 * gdb.c++/virtfunc.exp: Likewise.
506
507 2003-02-06 Jason Molenda (jason-cl@molenda.com)
508
509 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
510 why the code is written that way.
511
512 2003-02-05 Michael Chastain <mec@shout.net>
513
514 * gdb.base/dump.exp: Add missing copyright line.
515
516 2003-02-05 Jason Molenda (jason-cl@molenda.com)
517
518 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
519 at the beginning so the breakpoint doesn't get set on the loop.
520
521 2003-02-05 Michael Chastain <mec@shout.net>
522
523 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
524 output for configurations with gcc 2.95.3.
525
526 2003-02-05 Keith Seitz <keiths@redhat.com>
527 Andrew Cagney <ac131313@redhat.com>
528
529 * gdb.mi/mi-cli.exp: New file.
530
531 2003-02-04 Michael Chastain <mec@shout.net>
532
533 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
534 Call perror and then continue.
535
536 2003-02-03 Michael Chastain <mec@shout.net>
537
538 * gdb.c++/pr-1023.cc: New file.
539 * gdb.c++/pr-1023.exp: New file.
540
541 2003-02-05 Jim Blandy <jimb@redhat.com>
542
543 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
544 it's local to foobar. Check for it there, and check that it's not
545 present in main.
546 * gdb.c++/local.cc (marker2): New function.
547 (foobar): Call marker1.
548 (main): Call marker2 instead of marker1.
549
550 2003-02-04 Andrew Cagney <ac131313@redhat.com>
551
552 * gdb.disasm/mn10200.exp: Obsolete file.
553 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
554 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
555 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
556
557 2003-02-04 David Carlton <carlton@math.stanford.edu>
558
559 * gdb.c++/overload.exp: Test intToChar(1).
560 * gdb.c++/overload.cc (intToChar): New.
561 (main): Call intToChar.
562
563 2003-02-03 David Carlton <carlton@math.stanford.edu>
564
565 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
566 'might_kfail' arg.
567 KFAIL some of the continue_to_bp_overloaded calls, according to
568 PR c++/1025.
569
570 2003-02-01 Michael Chastain <mec@shout.net>
571
572 * gdb.base/advance.c (marker1): New marker function.
573 * gdb.base/advance.exp: When the 'advance' command lands on the
574 return breakpoint, it can legitimately stop on either the
575 current line or the next line. Accommodate both outcomes.
576 * gdb.base/until.exp: Likewise.
577
578 2003-02-02 Andrew Cagney <ac131313@redhat.com>
579
580 2002-11-10 Jason Molenda (jason-cl@molenda.com):
581 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
582 now a list, not a tuple.
583 * gdb.mi/mi-var-display.exp: Ditto.
584 * gdb.mi/gdb792.exp: Ditto.
585
586 2003-02-01 Andrew Cagney <ac131313@redhat.com>
587
588 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
589 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
590 stack backtraces.
591 * gdb.mi/mi-syn-frame.c: Part of same.
592
593 2003-02-01 Mark Kettenis <kettenis@gnu.org>
594
595 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
596 gdb.mi/mi1-pthreads.exp: Return instead of calling
597 gdb_suppress_entire_file.
598
599 2003-02-01 Mark Salter <msalter@redhat.com>
600
601 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
602
603 2003-01-31 Mark Salter <msalter@redhat.com>
604
605 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
606 Support empty arg.
607
608 2003-01-30 Michael Chastain <mec@shout.net>
609
610 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
611 This was a workaround for a UTF-8 bug in readline 4.3. The bug
612 has been fixed in gdb/readline on 2003-01-09.
613
614 2003-01-29 Michael Snyder <msnyder@redhat.com>
615
616 * gdb.base/maint.exp: Allow for leading underscore in symbol.
617 * gdb.base/display.exp: Allow for leading underscore in symbol.
618 * gdb.base/args.exp: Skip if target does not support args passing.
619
620 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
621
622 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
623 gdb_test. Accept a list of expect arguments as the third
624 parameter.
625 (gdb_test): Use it.
626
627 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
628
629 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
630 allow for different test tree configurations. Update some
631 tescases accordingly.
632 * gdb.arch/altivec-regs.exp: Ditto.
633 * gdb.asm/asm-source.exp: Ditto.
634 * gdb.base/advance.exp: Ditto.
635 * gdb.base/display.exp: Ditto.
636 * gdb.base/long_long.exp: Ditto.
637 * gdb.base/mips_pro.exp: Ditto.
638 * gdb.base/overlays.exp: Ditto.
639 * gdb.base/relocate.exp: Ditto.
640 * gdb.base/setshow.exp: Ditto.
641 * gdb.base/step-line.exp: Ditto.
642 * gdb.base/step-test.exp: Ditto.
643 * gdb.base/until.exp: Ditto.
644 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
645
646 2003-01-17 David Carlton <carlton@math.stanford.edu>
647
648 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
649 corresponding to PR c++/945.
650 Update copyright.
651
652 2003-01-17 David Carlton <carlton@math.stanford.edu>
653
654 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
655 corresponding to PR c++/68.
656
657 2003-01-17 David Carlton <carlton@math.stanford.edu>
658
659 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
660 (test_paddr_hairy_functions): Call print_addr_2_kfail for
661 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
662
663 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
664
665 * gdb.base/break.exp: Fix change of default location, because of
666 removal of until tests.
667 * gdb.base/help.exp: Update test for new 'until' help message.
668 Add test for help on 'advance'.
669 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
670
671 2003-01-15 Mark Kettenis <kettenis@gnu.org>
672
673 * gdb.base/default.exp: Adapt "info float" test for recent changes
674 to that command. Add test for "info vector".
675 * gdb.base/float.exp: New file. Add test for "info float" that
676 resembles the old test in gdb.base/default.exp.
677
678 2003-01-15 David Carlton <carlton@math.stanford.edu>
679
680 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
681
682 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
683
684 * gdb.base/break.exp: Move the tests of until command from here...
685 * gdb.base/until.exp: ... to here. New file. Add other tests.
686 * gdb.base/advance.c: New file.
687 * gdb.base/advance.exp: New file.
688
689 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
690
691 * gdb.base/args.c: New file.
692 * gdb.base/args.exp: New file.
693
694 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
695
696 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
697
698 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
699
700 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
701
702 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
703
704 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
705 dates.
706
707 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
708
709 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
710
711 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
712
713 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
714 (ptype &*"foo").
715 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
716
717 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
718
719 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
720 * gdb.mi/mi1-console.exp: Likewise.
721
722 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
723
724 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
725 * gdb.mi/mi1-console.exp: Likewise.
726
727 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
728
729 * gdb.c++/overload.exp: Remove some fixed XFAILs.
730
731 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
732
733 * gdb.base/detach.exp: New test.
734
735 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
736
737 * Makefile.in (ALL_SUBDIRS): New variable.
738 (subdirs, clean, distclean): Use it.
739 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
740 regenerating Makefile, since it is generated from the top level.
741 * gdb.asm/Makefile.in: Likewise.
742 * gdb.base/Makefile.in: Likewise.
743 * gdb.c++/Makefile.in: Likewise.
744 * gdb.disasm/Makefile.in: Likewise.
745 * gdb.java/Makefile.in: Likewise.
746 * gdb.mi/Makefile.in: Likewise.
747 * gdb.threads/Makefile.in: Likewise.
748 * gdb.trace/Makefile.in: Likewise.
749
750 2003-01-09 David Carlton <carlton@math.stanford.edu>
751
752 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
753 Add copyright year 2003.
754
755 2003-01-06 Michael Chastain <mec@shout.net>
756
757 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
758 When selecting a thread, 'line' and 'file' are optional.
759 * gdb.mi/mi1-pthreads.exp: Likewise.
760
761 2003-01-06 Andreas Schwab <schwab@suse.de>
762
763 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
764 failures.
765
766 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
767
768 Fix PR gdb/844
769 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
770 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
771
772 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
773 instead of calling gdb_suppress_entire_file.
774 * gdb.threads/print-threads.exp: Likewise.
775 * gdb.threads/schedlock.exp: Likewise.
776
777 * gdb.threads/killed.exp: Return instead of calling
778 gdb_suppress_entire_file.
779 * gdb.threads/linux-dp.exp: Likewise.
780 * gdb.threads/pthreads.exp: Likewise.
781
782 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
783
784 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
785 stabs.
786 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
787 * gdb.base/whatis.exp: Always allow (void) after function names.
788
789 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
790
791 * gdb.c++/casts.exp: Correct regexp.
792
793 2003-01-04 Mark Kettenis <kettenis@gnu.org>
794
795 * configure.in: Call AC_CONFIG_HEADER. Don't call
796 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
797 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
798 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
799 aforementioned directories in the AC_OUPUT call.
800 * config.hin: New file.
801 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
802 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
803 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
804 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
805 pass -I$objdir instead of -I$objdir/$subdir in compilation.
806 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
807 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
808 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
809 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
810 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
811 gdb.threads/configure.in, gdb.threads/configure,
812 gdb.threads/config.in, gdb.trace/configure.in,
813 gdb.trace/configure: Removed.
814
815 2003-01-03 Michael Chastain <mec@shout.net>
816
817 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
818 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
819
820 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
821
822 * gdb.base/store.exp: Fix regular expressions.
823
824 2002-12-28 Mark Kettenis <kettenis@gnu.org>
825
826 * configure.in: Rewrite.
827 * configure: Regenerated.
828
829 2003-01-03 David Carlton <carlton@math.stanford.edu>
830
831 * gdb.base/psymtab.exp: New file.
832 * gdb.base/psymtab1.c: Ditto.
833 * gdb.base/psymtab2.c: Ditto.
834
835 2002-12-23 Adam Fedor <fedor@gnu.org>
836
837 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
838
839 2002-12-23 David Carlton <carlton@math.stanford.edu>
840
841 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
842 and current_directory initialization.
843
844 2002-12-22 Jim Blandy <jimb@redhat.com>
845
846 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
847 rather than as part of the output file name.
848
849 * gdb.base/attach.exp: There's no need to copy the test program to
850 /tmp; that was only ever necessary on HP/UX, and this test is
851 entirely disabled there anyway.
852
853 2002-12-21 Jim Blandy <jimb@redhat.com>
854
855 * gdb.c++/psmang.exp: Doc fix.
856
857 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
858 test.
859
860 2002-12-20 David Carlton <carlton@math.stanford.edu>
861
862 * gdb.c++/annota2.exp: KFAIL annotate-quit.
863
864 2002-12-18 Michael Chastain <mec@shout.net>
865
866 * gdb.c++/annota2.exp: Add copyright year 2002.
867
868 2002-12-17 David Carlton <carlton@math.stanford.edu>
869
870 * gdb.c++/try_catch.cc: Add marker comments.
871 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
872 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
873 * gdb.c++/m-static.cc: Ditto.
874 * gdb.c++/m-static1.cc: Ditto.
875 * gdb.c++/try_catch.cc: Ditto.
876
877 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
878
879 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
880 to see whether we are using the new -environment-directory
881 command which resets via -r or the old version of the command
882 which may prompt the user. Part of fix for gdb/741.
883
884 2002-12-13 Andrew Cagney <ac131313@redhat.com>
885
886 * gdb.fortran/types.exp: Update obsolete comment.
887 * gdb.fortran/exprs.exp: Ditto.
888 * lib/gdb.exp: Delete obsolete code.
889 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
890 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
891 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
892 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
893 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
894 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
895 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
896 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
897 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
898 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
899 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
900 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
901 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
902 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
903 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
904 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
905 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
906 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
907 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
908 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
909 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
910 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
911 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
912 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
913 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
914 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
915 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
916 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
917 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
918 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
919 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
920 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
921 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
922 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
923 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
924 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
925 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
926
927 2002-12-11 David Carlton <carlton@math.stanford.edu>
928
929 * gdb.c++/m-data.exp: Add test for members that shadow global
930 variables: see PR gdb/804.
931 * gdb.c++/m-data.cc: Ditto.
932
933 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
934
935 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
936
937 2002-12-06 David Carlton <carlton@math.stanford.edu>
938
939 * gdb.base/store.c: Don't declare functions static.
940
941 2002-12-04 Andrew Cagney <ac131313@redhat.com>
942
943 * gdb.base/store.exp, gdb.base/store.c: New files.
944
945 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
946
947 * gdb.base/selftest.exp: Update for current gdb.
948
949 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
950
951 * gdb.base/maint.exp: Only dump symbols from one source file
952 or objfile.
953
954 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
955
956 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
957 function call.
958
959 2002-11-25 Jim Blandy <jimb@redhat.com>
960
961 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
962 function appearing in error message.
963
964 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
965
966 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
967
968 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
969
970 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
971 for mi1 and current mi is in correct format. New mi startup message
972 should be in mi console format. This is part of fix for PR gdb/604.
973
974 2002-09-18 Fernando Nasser <fnasser@redhat.com>
975
976 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
977 which explicitly prints the zero offset as "+0".
978
979 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
980
981 * gdb.threads/schedlock.c (args): Make unsigned.
982
983 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
984
985 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
986 numbers. Allow "foo2|selected stack frame".
987 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
988 * gdb.asm/asmsrc2.s: Likewise.
989 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
990 comments.
991 * gdb.asm/mips.inc: New file.
992
993 2002-10-18 Adam Fedor <fedor@gnu.org>
994
995 * gdb.base/default.exp: Update expected output to include 'ObjC'.
996 * gdb.base/help.exp: Likewise.
997
998 2002-10-17 Kevin Buettner <kevinb@redhat.com>
999
1000 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1001 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1002
1003 2002-10-02 Jim Blandy <jimb@redhat.com>
1004
1005 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1006
1007 2002-10-01 Andrew Cagney <ac131313@redhat.com>
1008
1009 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1010 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1011 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1012 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1013 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1014 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1015 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1016
1017 2002-09-29 Andrew Cagney <ac131313@redhat.com>
1018
1019 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1020 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1021 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1022 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1023 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1024 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1025 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1026
1027 2002-09-27 Kevin Buettner <kevinb@redhat.com>
1028
1029 * gdb.base/annota1.exp (info break): Make directory components of
1030 path optional since not all compilers emit this debug information.
1031
1032 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1033 step ends up stepping out of the function instead of stopping on
1034 the epilogue.
1035
1036 2002-09-26 Keith Seitz <keiths@redhat.com>
1037
1038 * lib/insight-support.exp (gdbtk_start): Figure out where
1039 the insight executable is based on where gdb is. Use this
1040 executable to start insight instead of gdb.
1041
1042 2002-09-25 Andrew Cagney <cagney@redhat.com>
1043
1044 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1045
1046 2002-09-24 Andrew Cagney <ac131313@redhat.com>
1047
1048 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1049 test_isolated_complaints.
1050 (test_empty_complaint): New function.
1051 (test_empty_complaints): New function. Check no output when no
1052 complaints.
1053
1054 2002-09-19 Jim Blandy <jimb@redhat.com>
1055
1056 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1057
1058 2002-09-19 Andrew Cagney <ac131313@redhat.com>
1059
1060 * gdb.gdb/complaints.exp: New file.
1061
1062 2002-09-18 Andrew Cagney <ac131313@redhat.com>
1063
1064 * gdb.base/maint.exp: Check `help maint internal-warning'.
1065
1066 2002-09-18 David Carlton <carlton@math.stanford.edu>
1067
1068 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1069 numbers, and replace them by a single breakpoint after the
1070 constructors are all finished.
1071 Add test 4.
1072 * gdb.c++/m-static.cc: Add test 4.
1073 * gdb.c++/m-static.h: New file.
1074 * gdb.c++/m-static1.cc: New file.
1075
1076 * gdb.c++/printmethod.exp: New file.
1077 * gdb.c++/printmethod.cc: New file.
1078
1079 * gdb.c++/pr-574.exp: New file.
1080 * gdb.c++/pr-574.cc: New file.
1081
1082 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1083
1084 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1085 embedded targets which never actually exit.
1086
1087 2002-09-18 Fernando Nasser <fnasser@redhat.com>
1088
1089 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1090 "don't step after run" as unresolved or unsupported, instead of xfail.
1091
1092 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1093
1094 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1095 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1096 Add newline to expected string in "step out of main (status wrapper)"
1097 case.
1098
1099 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1100
1101 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1102 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1103
1104 2002-09-17 Tom Tromey <tromey@redhat.com>
1105
1106 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1107 \000, not \0, in double-quoted string.
1108
1109 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
1110
1111 * gdb.base/command.exp: Don't expect a "Program exited normally"
1112 string after running the commands execution on breakpoint tests.
1113
1114 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
1115
1116 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1117
1118 2002-09-12 Joel Brobecker <brobecker@gnat.com>
1119
1120 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1121
1122 2002-09-10 Keith Seitz <keiths@redhat.com>
1123
1124 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1125 runto proc.
1126 (mi_run_to_main): Use mi_runto.
1127 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1128
1129 2002-09-10 Keith Seitz <keiths@redhat.com>
1130
1131 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1132 regexp for stopping at main. Could have multiple event notifications.
1133 Don't assume that main was declared with no parameters.
1134 (mi_next): Use mi_step_to.
1135 (mi_step): Use mi_next_to.
1136
1137 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
1138
1139 * gdb.base/default.exp: Fix expected string in `info float' test.
1140
1141 2002-09-09 Ben Elliston <bje@redhat.com>
1142
1143 * config/mips.exp: Update comments.
1144 * config/mips-idt.exp: Likewise.
1145 * config/nind.exp: Likewise.
1146 * config/slite.exp: Likewise.
1147 * config/sparclet.exp: Likewise.
1148 * config/udi.exp: Likewise.
1149 * config/vx.exp: Likewise.
1150 * config/vxworks29k.exp: Likewise.
1151
1152 2002-09-05 Jim Blandy <jimb@redhat.com>
1153
1154 * gdb.threads/killed.exp: Fix test failure message.
1155
1156 2002-09-04 Keith Seitz <keiths@redhat.com>
1157
1158 * lib/mi-support.exp: Update copyright.
1159 (mi_gdb_test): Increase the priority of the expected pattern
1160 so that it matches gdb_test.
1161
1162 2002-09-03 Keith Seitz <keiths@redhat.com>
1163
1164 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1165 Use integer comparison instead of string comparison for testing
1166 whether binary was built.
1167
1168 2002-09-03 Jim Blandy <jimb@redhat.com>
1169
1170 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1171
1172 2002-08-29 Jim Blandy <jimb@redhat.com>
1173
1174 * gdb.threads/pthreads.exp: Move the portable thread compilation
1175 code into a function in lib/gdb.exp, and call that from here.
1176 * lib/gdb.exp (gdb_compile_pthreads): New function.
1177
1178 2002-08-29 Keith Seitz <keiths@redhat.com>
1179
1180 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1181 expect_out so that callers can get at it.
1182
1183 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
1184
1185 * gdb.threads/print-threads.c: New file.
1186 * gdb.threads/print-threads.exp: New file.
1187 * gdb.threads/schedlock.c: New file.
1188 * gdb.threads/schedlock.exp: New file.
1189
1190 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
1191
1192 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1193 not altivec.c.
1194
1195 2002-08-17 Mark Kettenis <kettenis@gnu.org>
1196
1197 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1198 targets. The problem should be fixed now.
1199
1200 2002-08-15 Mark Kettenis <kettenis@gnu.org>
1201
1202 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1203 2002-07-24 change that removes final dots from error messages.
1204
1205 2002-08-13 Tom Tromey <tromey@redhat.com>
1206
1207 * gdb.base/readline.exp: New file.
1208
1209 2002-08-01 Andrew Cagney <ac131313@redhat.com>
1210
1211 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1212 supress message.
1213
1214 2002-08-01 Andrew Cagney <cagney@redhat.com>
1215
1216 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1217 CHILL_FOR_TARGET and CHILL_LIB.
1218 * configure.in (configdirs): Remove gdb.chill.
1219 * configure: Regenerate.
1220 * lib/gdb.exp: Obsolete references to chill.
1221 * gdb.fortran/types.exp: Ditto.
1222 * gdb.fortran/exprs.exp: Ditto.
1223
1224 2002-07-30 Kevin Buettner <kevinb@redhat.com>
1225
1226 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1227 set Irix-specific compile and link flags.
1228
1229 2002-07-29 Kevin Buettner <kevinb@redhat.com>
1230
1231 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1232 source files. The ``-o'' option doesn't work with the ``-E'' option
1233 when using the Irix compiler.
1234
1235 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
1236
1237 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1238 Improve support for reusing an exec file. Copy exec file
1239 to target, and run gdbserver on the target instead of on the host.
1240
1241 2002-07-18 Jim Blandy <jimb@redhat.com>
1242
1243 * gdb.base/ending-run.exp: Don't expect to see the program end in
1244 some orderly fashion when we're running on a real stand-alone
1245 board.
1246
1247 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1248 targets that don't support interrupts.
1249
1250 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1251
1252 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1253 systems.
1254 Move comments in expect statements to inside the actions, so that they
1255 don't get matched against.
1256
1257 2002-07-10 Mark Kettenis <kettenis@gnu.org>
1258
1259 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1260 function when asleep" test.
1261
1262 2002-07-10 Andrew Cagney <ac131313@redhat.com>
1263
1264 * gdb.base/page.exp: Rewrite to handle problems with very long
1265 `info set' output. Update copyright.
1266
1267 2002-06-26 Andrew Cagney <ac131313@redhat.com>
1268
1269 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1270 gdb.threads-hp.
1271 * gdb.hp/configure: Regenerate.
1272 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1273 * gdb.hp/gdb.threads-hp/configure: Delete file.
1274 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1275
1276 2002-06-22 Andrew Cagney <ac131313@redhat.com>
1277
1278 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1279 setlocale, bindtextdomain and textdomain.
1280
1281 2002-06-11 Jim Blandy <jimb@redhat.com>
1282
1283 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1284 preprocessor macro information is present.
1285
1286 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1287 tests.
1288
1289 2002-06-06 Michael Snyder <msnyder@redhat.com>
1290
1291 * gdb.base/overlays.exp: Record addresses of overlay
1292 functions in TCL variables rather than in GDB variables,
1293 to avoid having GDB convert them to pointers (with loss
1294 of information).
1295
1296 * gdb.base/d10v.ld: Merge in several years worth of
1297 default linker script changes.
1298 * gdb.base/long_long.exp: Add check for sizeof (long double).
1299
1300 2002-06-06 Michal Ludvig <mludvig@suse.cz>
1301
1302 * gdb.asm/asm-source.exp: Add x86-64 target.
1303 * gdb.asm/x86_64.inc: New.
1304
1305 2002-05-30 Michael Chastain <mec@shout.net>
1306
1307 From Benjamin Kosnik <bkoz@redhat.com>:
1308 * gdb.c++/m-static.cc: New file.
1309 * gdb.c++/m-static.exp: New file.
1310
1311 2002-05-28 Michael Snyder <msnyder@redhat.com>
1312
1313 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1314 precision.
1315
1316 2002-05-27 Michael Chastain <mec@shout.net>
1317
1318 From Benjamin Kosnik <bkoz@redhat.com>:
1319 * gdb.c++/m-data.cc: New file.
1320 * gdb.c++/m-data.exp: New file.
1321
1322 2002-05-27 Michael Chastain <mec@shout.net>
1323
1324 From Benjamin Kosnik <bkoz@redhat.com>:
1325 * gdb.c++/try_catch.cc: New file.
1326 * gdb.c++/try_catch.exp: New file.
1327
1328 2002-05-27 Michael Chastain <mec@shout.net>
1329
1330 * gdb.c++/local.exp: Accept more nested types in output.
1331
1332 2002-05-26 Michael Chastain <mec@shout.net>
1333
1334 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1335
1336 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1337
1338 * lib/gdb.exp (gdb_wrapper_init): Just because
1339 gdb_wrapper_file exists, this does not mean that the file
1340 should not be rebuilt. That is what gdb_wrapper_initialized
1341 is for.
1342 (default_gdb_init): Reset gdb_wrapper_initialized.
1343
1344 2002-05-23 Michael Snyder <msnyder@redhat.com>
1345
1346 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1347 the precision of the floating point test results.
1348 * gdb.base/call-rt-st.exp: Ditto.
1349
1350 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1351 * gdb.base/call-rt-st.exp: Ditto.
1352
1353 2002-05-19 Michael Chastain <mec@shout.net>
1354
1355 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1356
1357 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
1358
1359 * configure.in (configdirs): Add gdb.arch.
1360 * configure: Regenerate.
1361
1362 2002-05-17 Jim Blandy <jimb@redhat.com>
1363
1364 * gdb.base/completion.exp: Recognize the more detailed error
1365 messages produced by the macro expander's lexical analyzer.
1366
1367 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1368
1369 * gdb.arch/altivec-abi.c: New file.
1370 * gdb.arch/altivec-abi.exp: New file.
1371 * gdb.arch/altivec-regs.c: New file.
1372 * gdb.arch/altivec-regs.exp: New file.
1373
1374 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
1375
1376 * gdb.base/maint.exp (maint print type): Update for new type
1377 structure.
1378
1379 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1380
1381 * gdb.arch: New directory.
1382 * gdb.arch/configure.in: New file.
1383 * gdb.arch/configure: New file.
1384 * gdb.arch/Makefile.in: New file.
1385
1386 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
1387
1388 * gdb.asm/asm-source.exp: Add v850 as supported target.
1389 * gdb.asm/v850.inc: New file.
1390
1391 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
1392
1393 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1394
1395 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
1396
1397 * gdb.base/break.exp: Check 'break "marker2"'.
1398
1399 2002-05-10 Michael Snyder <msnyder@redhat.com>
1400
1401 * gdb.base/long_long.exp: Fix typo.
1402
1403 2002-05-10 Jim Blandy <jimb@redhat.com>
1404
1405 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1406 a bug.
1407
1408 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1409 Recognize more detailed error message produced by the macro
1410 expander's lexical analyzer.
1411 * lib/gdb.exp (test_print_reject): Same.
1412
1413 2002-05-09 Mark Kettenis <kettenis@gnu.org>
1414
1415 * gdb.c++/method.exp: Fix typo.
1416
1417 2002-05-08 Michael Snyder <msnyder@redhat.com>
1418
1419 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1420 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
1421 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
1422 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1423 Add iftarget clause for strongarm.
1424
1425 2002-05-06 Michael Snyder <msnyder@redhat.com>
1426
1427 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1428 (gdb_continue_to_end): Accept output from status wrapper.
1429 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1430 Clean up fail messages to match pass messages.
1431
1432 Enable the "needs_status_wrapper" testsuite feature.
1433 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1434 (gdb_compile): Conditionally call gdb_wrapper_init.
1435 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1436 * gdb.c++/method.exp: Recognize output from status wrapper.
1437
1438 2002-05-06 Ben Elliston <bje@redhat.com>
1439 From Graydon Hoare <graydon@redhat.com>
1440
1441 * config/sid.exp: Include support for "rawsid" protocol.
1442
1443 2002-05-03 Jim Blandy <jimb@redhat.com>
1444
1445 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1446 * gdb.c++/hang3.C: New file.
1447
1448 2002-05-04 Andrew Cagney <ac131313@redhat.com>
1449
1450 * gdb.base/default.exp: Remove obsolete code.
1451 * gdb.c++/misc.exp: Ditto. Update copyright.
1452 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1453 * gdb.base/whatis.exp: Ditto. Update copyright.
1454 * gdb.base/scope.exp: Ditto. Update copyright.
1455 * gdb.base/ptype.exp: Ditto. Update copyright.
1456 * gdb.base/printcmds.exp: Ditto. Update copyright.
1457 * gdb.base/opaque.exp: Ditto. Update copyright.
1458 * gdb.base/list.exp: Ditto.
1459 * gdb.base/funcargs.exp: Ditto. Update copyright.
1460 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1461 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1462 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1463 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1464 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1465 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1466
1467 2002-05-02 Michael Snyder <msnyder@redhat.com>
1468
1469 * gdb.base/watchpoint.exp: Add xscale target.
1470 * gdb.base/long_long.exp: Add xscale target.
1471 * gdb.base/default.exp: Add xscale target.
1472
1473 2002-05-01 Jim Blandy <jimb@redhat.com>
1474
1475 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1476 gdb.c++/hang.exp: New test.
1477
1478 2002-05-01 Fred Fish <fnf@redhat.com>
1479
1480 * gdb.base/completion.exp: Handle completions of "./Make" for
1481 more than one completion possibility, as is the case when we
1482 build and test in the source tree.
1483
1484 2002-04-29 Anthony Green <green@redhat.com>
1485
1486 * gdb.java/jmisc1.exp: New file.
1487 * gdb.java/jmisc2.exp: New file.
1488
1489 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
1490
1491 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1492
1493 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
1494
1495 * gdb.base/help.exp: Change 'help status' to allow for target
1496 dependent output differences.
1497
1498 2002-04-22 Michael Chastain <mec@shout.net>
1499
1500 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1501
1502 2002-04-22 Michael Chastain <mec@shout.net>
1503
1504 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1505
1506 2002-04-17 David S. Miller <davem@redhat.com>
1507
1508 * gdb.asm/sparc64.inc: New file.
1509 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1510
1511 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
1512
1513 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1514 instruction file directly into the build tree. Clean up at end of
1515 test.
1516
1517 2002-04-18 David S. Miller <davem@redhat.com>
1518
1519 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1520 handle 64-bit platforms correctly.
1521 * gdb.base/maint.exp: Likewise.
1522
1523 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1524
1525 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1526 ``-fpic'' when compiling files comprising a shared library, but
1527 it does need additional linker flags in order to find shared
1528 libraries at run time.
1529
1530 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1531
1532 * gdb.base/cvexpr.c (use): New function.
1533 (main): Invoke use() on all global variables to prevent
1534 some linkers from deleting these otherwise unused symbols.
1535
1536 2002-04-17 Michael Chastain <mec@shout.net>
1537 From David S. Miller <davem@redhat.com>
1538
1539 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1540 handle 64-bit platforms correctly.
1541
1542 2002-04-12 Michael Snyder <msnyder@redhat.com>
1543 From Jim Blandy <jimb@redhat.com>
1544 * gdb.base/foo.c (foox): Remove section attribute; the linker
1545 script can handle this instead.
1546 * gdb.base/bar.c (barx): Same.
1547 * gdb.base/baz.c (bazx): Same.
1548 * gdb.base/grbx.c (grbxx): Same.
1549
1550 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1551 manager doesn't automatically unmap overlays unnecessarily.
1552
1553 2002-04-10 Martin M. Hunt <hunt@redhat.com>
1554
1555 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1556 stepping out of main.
1557
1558 2002-04-09 Michael Chastain <mec@shout.net>
1559
1560 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1561 scope so that the nested scope tests will make sense.
1562 * gdb.c++/local.exp: Write patterns that actually work with gcc
1563 (the HP patterns "were never known to work with gcc").
1564 Keep the old aCC patterns too.
1565
1566 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1567
1568 * gdb.base/attach.exp: Correct target board test.
1569
1570 2002-04-08 Michael Chastain <mec@shout.net>
1571
1572 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1573 in a const method. Add some xfail and fail cases for configurations
1574 that do not emit the "const ...".
1575
1576 2002-04-07 Michael Chastain <mec@shout.net>
1577
1578 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1579 Accept "A * const" and "const A * const" as type of "this".
1580 Fix spelling of getFunky throughout. Make messages uniform.
1581
1582 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1583
1584 Work around for PR gdb/285:
1585 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1586
1587 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1588
1589 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1590 instructions file at run time instead of configure time.
1591 Sometimes we run the test in a directory that is not the one we
1592 configured in.
1593 * gdb.asm/configure.in: Delete creation of symlink.
1594 * gdb.asm/configure: Regenerate.
1595
1596 2002-04-05 J. Brobecker <brobecker@gnat.com>
1597
1598 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1599 xfullpath () function.
1600
1601 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1602
1603 * gdb.asm/Makefile.in: Correct dependencies.
1604
1605 * gdb.asm/powerpc.inc: New file.
1606 * gdb.asm/asm-source.exp: Add PowerPC.
1607 * gdb.asm/configure.in: Likewise.
1608 * gdb.asm/configure: Regenerated.
1609
1610 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1611
1612 * gdb.base/relocate.exp: New file.
1613 * gdb.base/relocate.c: New file.
1614
1615 2002-04-04 Fred Fish <fnf@redhat.com>
1616
1617 * gdb.base/step-test.exp: Update comment regarding stopping in
1618 memcpy/bcopy calls inserted as part of the compiler runtime.
1619
1620 2002-04-04 Michael Snyder <msnyder@redhat.com>
1621
1622 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1623
1624 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
1625
1626 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1627 (gdb_expect): Remove $notransfer hack.
1628
1629 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
1630
1631 * gdb.c++/classes.exp ("calling method for small class"): Match
1632 updated register output.
1633
1634 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1635
1636 Fix PR gdb/452
1637 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1638 when finished. Make gdb_file_cmd send "exec-file" when
1639 appropriate.
1640
1641 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1642
1643 * gdb.base/attach.exp: Remove extra setup_xfail.
1644
1645 2002-03-26 Michael Snyder <msnyder@redhat.com>
1646
1647 * gdb.base/default.exp: Add tests for dump, append, and restore.
1648 * gdb.base/help.exp: Add tests for dump, append, and restore.
1649 * gdb.base/dump.exp: New file, test dump, append and restore.
1650 * gdb.base/dump.c: New file.
1651
1652 2002-03-27 Michael Snyder <msnyder@redhat.com>
1653
1654 * gdb.base/help.exp: Modify expect strings to reflect
1655 clean-ups in help messages.
1656
1657 2002-03-26 Fred Fish <fnf@redhat.com>
1658
1659 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1660 have debugging info for those functions and the compiler uses them
1661 internally to copy structs around.
1662
1663 2002-03-26 Fred Fish <fnf@redhat.com>
1664
1665 * gdb.base/list.exp: Revert the change made yesterday and add note
1666 about why we don't list the default lines for remote targets.
1667
1668 2002-03-25 Michael Snyder <msnyder@redhat.com>
1669
1670 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1671
1672 2002-03-25 Fred Fish <fnf@redhat.com>
1673
1674 * gdb.base/list.exp: This test works on remote targets so remove
1675 the short circuit for remote targets. Update copyright.
1676
1677 2002-03-25 Fred Fish <fnf@redhat.com>
1678
1679 * gdb.base/attach.exp: Fix logic error that was suppressing this
1680 test for all non hppa*-*-hpux* targets, instead of the hp target.
1681 Move comments closer to the suppression point. Also now need to
1682 check that we are running natively.
1683
1684 2002-03-22 Michael Snyder <msnyder@redhat.com>
1685
1686 * gdb.base/default.exp: Add test for gcore. Update copyright.
1687 * gdb.base/help.exp: Add test for gcore. Update copyright.
1688
1689 2002-03-06 Fred Fish <fnf@redhat.com>
1690
1691 * gdb.base/funcargs.c: Remove extraneous ';' character.
1692 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1693
1694 2002-03-04 Michael Chastain <mec@shout.net>
1695
1696 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1697 accommodate gcc v3 function signature.
1698 * gdb.mi/mi0-var-cmd-exp: Ditto.
1699
1700 2002-02-24 Andrew Cagney <ac131313@redhat.com>
1701
1702 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1703 ``GNU/Linux'' or ``Linux kernel''
1704 * testsuite/gdb.threads/pthreads.c: Ditto.
1705
1706 2002-02-24 Michael Chastain <mec@shout.net>
1707
1708 * gdb.threads/pthreads.c (thread1): Add a return statement.
1709 (thread2): Likewise.
1710 (foo): Likewise.
1711
1712 2002-02-23 Michael Chastain <mec@shout.net>
1713
1714 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1715 to placate gcc.
1716
1717 2002-02-23 Michael Chastain <mec@shout.net>
1718
1719 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1720 test "ptype bint". The test passes on all my stabs configurations.
1721
1722 2002-02-21 Jim Blandy <jimb@redhat.com>
1723
1724 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1725 filename at a time, and watch for the ones we want to see.
1726
1727 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1728 types of pointers to prototyped functions.
1729
1730 2002-02-20 Andrew Cagney <ac131313@redhat.com>
1731
1732 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1733 signed, unsigned and straight char.
1734 (padding_char, padding_short, padding_int, padding_long,
1735 padding_long_long, padding_float, padding_double,
1736 padding_long_double): New global variables.
1737 (fill, fill_structs): New functions.
1738
1739 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1740 for correctly sized writes. Update copyright.
1741 (get_valueof): New procedure.
1742 (get_sizeof): Call get_valueof.
1743 (check_valueof): New procedure.
1744 (check_padding): New procedure.
1745
1746 2002-02-20 Michael Chastain <mec@shout.net>
1747
1748 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1749 to setup_xfail. Document some of the remaining calls.
1750
1751 2002-02-18 Michael Chastain <mec@shout.net>
1752
1753 * gdb.c++/userdef.exp: Update copyright year.
1754
1755 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
1756
1757 * gdb.c++/userdef.exp: Test overloaded operators properly.
1758 Remove xfails.
1759
1760 2002-02-14 Michael Snyder <msnyder@redhat.com>
1761
1762 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1763
1764 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1765
1766 * gdb.base/a2-run.exp: Check for a remote target properly.
1767 * gdb.base/annota1.exp: Likewise.
1768 * gdb.base/list.exp: Likewise.
1769 * gdb.base/reread.exp: Likewise.
1770 * gdb.base/scope.exp: Likewise.
1771 * gdb.base/shlib-call.exp: Likewise.
1772 * gdb.base/term.exp: Likewise.
1773 * gdb.c++/annota2.exp: Likewise.
1774
1775 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
1776
1777 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1778
1779 2002-02-10 Michael Chastain <mec@shout.net>
1780
1781 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1782 (call_after_alloca): Ditto.
1783
1784 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1785
1786 * gdb.base/ending-run.exp: Guard "cont" test with
1787 gdb_skip_stdio_test.
1788
1789 2002-02-06 Jim Blandy <jimb@redhat.com>
1790
1791 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1792 from here...
1793 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1794 To here. Disable this test on non-HP platforms. Add big comment.
1795
1796 2002-02-04 Michael Snyder <msnyder@redhat.com>
1797
1798 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1799 other than d10v and m32r.
1800
1801 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
1802
1803 * gdb.base/default.exp: Rewrite test patterns to reduce time
1804 taken to match them.
1805
1806 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1807
1808 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1809 Allow a start function above main.
1810 * gdb.threads/linux-dp.exp: Fix copyright date.
1811
1812 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1813
1814 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1815 (check_philosopher_stack): Check for manager thread before checking
1816 for a just-starting thread.
1817
1818 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1819
1820 From Neil Booth <neil@daikokuya.demon.co.uk>:
1821 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1822 warnings.
1823
1824 2002-01-21 Fred Fish <fnf@redhat.com>
1825
1826 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1827 not caller.
1828
1829 2002-01-21 Jim Blandy <jimb@redhat.com>
1830
1831 * gdb.base/reread.exp: Check that GDB properly re-reads the
1832 executable file when it changes while no inferior is running.
1833
1834 2002-01-21 Fred Fish <fnf@redhat.com>
1835
1836 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1837 optionally accept the "shlib events" variation.
1838
1839 2002-01-21 Jim Blandy <jimb@redhat.com>
1840
1841 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1842 call `fflush' after every `printf', so that the output is produced
1843 at predictable points, regardless of whatever buffering does (or
1844 doesn't) take place.
1845 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1846 at different points.
1847
1848 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1849
1850 * gdb.c++/inherit.exp: Update copyright years.
1851 * gdb.c++/method.exp: Likewise.
1852
1853 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1854
1855 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1856 artificial methods/arguments.
1857 * gdb.c++/derivation.exp: Likewise.
1858 * gdb.c++/inherit.exp: Likewise.
1859 * gdb.c++/method.exp: Likewise.
1860 * gdb.c++/virtfunc.exp: Likewise.
1861
1862 2002-01-18 Andrew Cagney <ac131313@redhat.com>
1863
1864 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1865 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1866 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1867 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1868 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1869 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1870
1871 2002-01-17 Jim Blandy <jimb@redhat.com>
1872
1873 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1874 anchoring the pattern matching the entry point symbol's name.
1875
1876 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1877
1878 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1879 continue/quit query. Update copyright.
1880
1881 2002-01-14 Michael Snyder <msnyder@redhat.com>
1882
1883 * gdb.base/gcore.exp: Remove extra debugging output.
1884
1885 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1886
1887 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1888 for slightly dubious v2 mangled string.
1889
1890 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1891
1892 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1893
1894 2002-01-10 Jason Merrill <jason@redhat.com>
1895
1896 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
1897
1898 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1899 constructors.
1900 * gdb.c++/derivation.exp: Likewise.
1901 * gdb.c++/templates.exp: Likewise.
1902 * gdb.c++/virtfunc.exp: Likewise.
1903
1904 2002-01-10 Michael Snyder <msnyder@redhat.com>
1905
1906 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
1907
1908 2002-01-08 Michael Snyder <msnyder@redhat.com>
1909
1910 * gdb.base/gcore.exp: New test for generate-core-file command.
1911 * gdb.base/gcore.c: Testcase for above.
1912 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1913
1914 2002-01-08 Jason Merrill <jason@redhat.com>
1915
1916 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1917
1918 2002-01-07 Fred Fish <fnf@redhat.com>
1919
1920 * gdb.c++/overload.exp: Remove unconditional xfails for:
1921 print foo_instance1.overloadargs(1)
1922 print foo_instance1.overloadargs(1, 2)
1923 print foo_instance1.overloadargs(1, 2, 3)
1924 print foo_instance1.overloadargs(1, 2, 3, 4)
1925 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1926 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1927 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1928 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1929 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1930 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1931 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1932 print foo_instance1.overload1arg()
1933 print foo_instance1.overload1arg((char)arg2)
1934 print foo_instance1.overload1arg((signed char)arg3)
1935 print foo_instance1.overload1arg((unsigned char)arg4)
1936 print foo_instance1.overload1arg((int)arg7)
1937 print foo_instance1.overload1arg((unsigned int)arg8)
1938 print foo_instance1.overload1arg((float)arg11)
1939 print foo_instance1.overload1arg((double)arg12)
1940
1941 2002-01-07 Michael Snyder <msnyder@redhat.com>
1942
1943 * gdb.base/huge.exp: New test. Print a very large target data object.
1944 (skip_huge_test): New test variable. Define if you want to skip this
1945 test. The test reads an 8 megabyte data object from the target, so it
1946 might be very time consuming on remote targets with a slow connection.
1947 * gdb.base/huge.c: New file. Test case for above.
1948
1949 2002-01-07 Fred Fish <fnf@redhat.com>
1950
1951 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1952 g_instance.bfoo, and g_instance.cfoo.
1953
1954 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1955
1956 * gdb.base/break.c (multi_line_if_conditional): New function.
1957 (multi_ilne_while_conditional): Likewise.
1958 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1959 IF or WHILE condition puts the breakpoint at the start of
1960 the condition.
1961
1962 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1963 hppa*-*-hpux* expected failure.
1964 * gdb.base/structs.exp (do_function_calls): Similarly.
1965
1966 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1967 watchpoints.
1968
1969 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1970
1971 Fix PR gdb/66.
1972 * gdb.base/structs.exp: Replace skip for a29k with skip for
1973 gdb,cannot_call_functions.
1974 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1975 * gdb.base/callfuncs.exp: Ditto.
1976 * gdb.base/call-rt-st.exp: Ditto.
1977 * gdb.base/call-strs.exp: Ditto.
1978 * gdb.base/callfwmall.exp: Ditto.
1979 * gdb.base/scope.exp: Obsolete xfail a29k.
1980 * gdb.c++/misc.exp: Ditto.
1981 * gdb.c++/cplusfuncs.exp: Ditto.
1982 * gdb.base/ptype.exp: Ditto.
1983 * gdb.base/printcmds.exp: Ditto.
1984 * gdb.base/opaque.exp: Ditto.
1985 * gdb.base/list.exp: Ditto.
1986 * gdb.base/funcargs.exp: Ditto.
1987 * gdb.base/default.exp: Ditto.
1988
1989 2002-01-04 Michael Snyder <msnyder@redhat.com>
1990
1991 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
1992 * gdb.base/maint.exp: Add tests for maint info sections options.
1993
1994 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1995
1996 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1997
1998 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
1999
2000 * gdb.asm/arm.inc: New file.
2001 * gdb.asm/asm-source.exp: Add arm targets.
2002 * gdb.asm/configure.in: Ditto.
2003 * gdb.asm/configure: Recreated from configure.in.
2004
2005 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2006
2007 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2008 with HP's compiler.
2009 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2010 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2011 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2012 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2013
2014 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2015 either HP's compilers or GCC.
2016
2017 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2018 a SIGBUS or SIGSEGV.
2019
2020 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2021
2022 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2023 can be compiled with either HP's compiler or GCC.
2024
2025 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2026 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2027 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2028
2029 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2030 to match current gdb output. Update due to using auto-solib-limit
2031 for limiting instead of overloading auto-solib-add.
2032 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2033 test program.
2034
2035 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
2036 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2037 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2038 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2039 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2040 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2041 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2042 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2043 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2044 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2045 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2046 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2047 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
2048
2049 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2050 a SIGTRAP to the inferior.
2051
2052 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
2053
2054 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2055 Substitute call to target_link by call to gdb_compile.
2056
2057 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2058
2059 * gdb.base/break.exp: Fix HP specific search string when testing
2060 backtracing in a called function.
2061
2062 * gdb.base/constvars.exp: Only set lang to C++ if we're
2063 compiling the test with HP's compilers.
2064 * gdb.base/volatile.exp: Similarly.
2065
2066 2001-12-19 Jim Blandy <jimb@redhat.com>
2067
2068 * gdb.base/printcmds.exp: Expect the null character to be printed
2069 as '\0', and the '\013' to be printed as '\v'.
2070 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2071 * gdb.base/setvar.exp: Same.
2072
2073 2001-12-17 Jim Blandy <jimb@redhat.com>
2074
2075 * gdb.base/completion.exp: Rather than completing very long
2076 filenames, which can make the readline library produce output we
2077 don't recognize, cd to the directory first, and then complete
2078 using nice, short relative paths.
2079
2080 * gdb.base/completion.exp: On some systems, there is, in fact, a
2081 variable named `b' in scope, since GDB treats all static
2082 variables as being in scope. So use `no_var_named_this'
2083 instead of `b'.
2084
2085 * gdb.base/corefile.exp: Recognize the message saying that GDB
2086 can't find the core file's registers as a failure.
2087
2088 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2089
2090 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2091 test expect string more specific.
2092
2093 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
2094
2095 * gdb.asm/asm-source.exp: Add support for xstormy16.
2096 * gdb.asm/configure.in: Ditto.
2097 * gdb.asm/configure: Rebuild.
2098 * gdb.asm/xstormy16.inc: New file.
2099
2100 2001-12-10 Fred Fish <fnf@redhat.com>
2101
2102 * gdb.base/maint.exp: Update to match changes in type dumping code.
2103
2104 2001-12-10 Jim Blandy <jimb@redhat.com>
2105
2106 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2107 matching the entry point symbol's name at the beginning of the
2108 line.
2109
2110 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2111
2112 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2113 gdb.c++/inherit.exp, gdb.c++/method.exp,
2114 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2115 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2116 and class layout support.
2117
2118 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2119
2120 * gdb.c++/classes.exp: Add test for static member function.
2121 * gdb.c++/misc.cc: Add class with static member function.
2122
2123 2001-12-07 Jim Blandy <jimb@redhat.com>
2124
2125 If GDB says it can't find the struct the function returned, report
2126 those tests as `unsupported'.
2127 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2128 Rewrite subsequent tests to use it.
2129
2130 If GDB says it can't find the struct the function returned, report
2131 those tests as `unsupported'.
2132 * gdb.base/structs.exp (call_struct_func): New function.
2133 (do_function_calls): Use call_struct_func to call the functions
2134 returning structs.
2135
2136 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2137 whether functions are prototyped or not, so we can't possibly pass
2138 arguments to t_float_values2 properly.
2139
2140 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2141 value of `timeout' for targets other than the mips*tx39-*.
2142
2143 2001-12-06 Michael Snyder <msnyder@redhat.com>
2144
2145 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2146 and detect whether the start symbol has a leading underscore.
2147
2148 2001-12-04 Jim Blandy <jimb@redhat.com>
2149
2150 * gdb.base/completion.exp: Clarify indentation.
2151
2152 2001-12-03 Jim Blandy <jimb@redhat.com>
2153
2154 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2155 variables on the S/390, not `.word'.
2156
2157 2001-11-30 Jim Blandy <jimb@redhat.com>
2158
2159 Add assembly-source tests for s390-ibm-linux.
2160 * gdb.asm/s390.inc: New file.
2161 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2162 the S/390 architecture.
2163 * gdb.asm/configure: Regenerated.
2164
2165 2001-11-30 Michael Snyder <msnyder@redhat.com>
2166
2167 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2168 next, info source, info sources, info line, global and static
2169 variables, and static functions.
2170 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2171 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2172 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2173 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2174 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2175 (gdbasm_leave): Restore frame pointer.
2176 (gdbasm_startup): Copy stack set-up from crt0.S.
2177
2178 2001-11-26 Fernando Nasser <fnasser@redhat.com>
2179
2180 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2181 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2182 to a local (non-static) variable. Copy tstruct.a to a static buffer
2183 and return a pointer to that buffer.
2184 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2185
2186 2001-11-24 Mark Kettenis <kettenis@gnu.org>
2187
2188 * gdb.asm/configure.in: Fix recognition of ix86 target.
2189 * gdb.asm/configure: Regenerate.
2190
2191 2001-11-21 Michael Snyder <msnyder@redhat.com>
2192
2193 * gdb.asm/sparc.inc: New file.
2194 * gdb.asm/asm-source.exp: Recognize sparc target.
2195 * gdb.asm/configure.in: Recognize sparc target.
2196 * gdb.asm/configure: Regenerate.
2197
2198 2001-11-21 Michael Snyder <msnyder@redhat.com>
2199
2200 * gdb.asm/m32r.inc: New file.
2201 * gdb.asm/asm-source.exp: Recognize m32r target.
2202 * gdb.asm/configure.in: Recognize m32r target.
2203 * gdb.asm/configure: Regenerate.
2204
2205 2001-11-20 Michael Snyder <msnyder@redhat.com>
2206
2207 * gdb.asm/i386.inc: New file.
2208 * gdb.asm/asm-source.exp: Recognize ix86 target.
2209 * gdb.asm/configure.in: Recognize ix86 target.
2210 * gdb.asm/configure: Regenerate.
2211
2212 * gdb.c++/namespace.exp: Fix quotes in output messages.
2213
2214 2001-11-14 Michael Snyder <msnyder@redhat.com>
2215
2216 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
2217 qualifier in a type cast expression, to designate an address
2218 in the instruction space (Harvard architecture).
2219
2220 2001-11-13 Michael Snyder <msnyder@redhat.com>
2221
2222 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2223 Tests for expressions using 'const' and 'volatile'.
2224
2225 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
2226
2227 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2228
2229 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
2230
2231 * lib/mi-support.exp (mi_run_to_helper): Move comments
2232 outside of gdb_expect.
2233
2234 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
2235
2236 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2237 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2238 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2239 mi0_run_to): New functions.
2240 * gdb.mi/mi-simplerun.exp: Use them.
2241 * gdb.mi/mi0-simplerun.exp: Likewise.
2242 * gdb.mi/mi-var-cmd.exp: Likewise.
2243 * gdb.mi/mi0-var-cmd.exp: Likewise.
2244
2245 2001-11-10 Andrew Cagney <ac131313@redhat.com>
2246
2247 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2248 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2249
2250 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2251
2252 * gdb.base/restore.exp: Include $expected value in restored test
2253 message.
2254
2255 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2256
2257 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2258 implemented.
2259
2260 2001-11-08 Michael Snyder <msnyder@redhat.com>
2261
2262 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2263 Add pass/fail message for stop at breakpoint in call dummy function.
2264
2265 2001-11-07 Michael Snyder <msnyder@redhat.com>
2266
2267 * gdb.c++/templates.exp (test_template_breakpoints):
2268 If we get an overload menu, but it does not match what
2269 we expect, we still need to issue the "cancel" command.
2270 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2271 making the whitespace optional. Argument for "new" may be
2272 "unsigned" as well as "unsigned int/long".
2273 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2274 making the whitespace optional. Also replace "(void) with
2275 "((void|)), making the keyword "void" optional.
2276 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2277 making the whitespace optional. Also replace "(void) with
2278 "((void|)), making the keyword "void" optional.
2279 * gdb.base/callfuncs.c (t_float_values): This function must
2280 _not_ be prototyped, and the following function (t_float_values2)
2281 must be prototyped (if the compiler supports it), so that GDB
2282 can be tested against both cases. Usually one case involves
2283 promotion of float to double, while the other does not.
2284 * gdb.base/callfwmall.c: Ditto.
2285 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2286 includes a stack frame for "start".
2287
2288 2001-11-05 Jim Blandy <jimb@redhat.com>
2289
2290 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2291 pointers are 32 bits long, and that offsets of relocs are always
2292 stored in the data (REL-style), and not in the reloc entry itself
2293 (RELA-style).
2294 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2295 stabs.
2296
2297 2001-11-01 Michael Snyder <msnyder@redhat.com>
2298
2299 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2300 and regular expression operators by using quoting.
2301
2302 2001-10-31 Michael Snyder <msnyder@redhat.com>
2303
2304 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2305 depending on what the symbol table contains.
2306 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2307 the output of the ptype command. Similarly, accept both "const &"
2308 and "const&".
2309
2310 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
2311
2312 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2313 symbol `STORAGE' to allow to choose the storage class of
2314 the local datastructures.
2315 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2316 compiler directive.
2317
2318 2001-10-30 Michael Snyder <msnyder@redhat.com>
2319
2320 * gdb.base/jump.exp: Allow it to run for all targets.
2321
2322 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2323
2324 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2325 with new double_array size.
2326 (main): Change storage class of all local variables to static.
2327 Reduce size of double_array to 9.
2328 * gdb.base/call-ar-st.exp: Increase timeout value.
2329 Change expected output for double array to match new size in
2330 call-ar-st.c.
2331
2332 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2333
2334 * gdb.base/ending-run.exp: Create identical output when passing
2335 `step to end of run' case. Add regular expression branch satisfying
2336 Stormy16 target.
2337
2338 2001-10-28 Mark Kettenis <kettenis@gnu.org>
2339
2340 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2341 that we catch the expected failure under Linux/x86.
2342
2343 2001-10-29 Orjan Friberg <orjanf@axis.com>
2344
2345 * gdb.base/setvar.exp: Escape curly braces.
2346 * gdb.stabs/weird.exp: Ditto.
2347
2348 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
2349
2350 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2351 * gdm.mi/mi0-hack-cli.exp: Likewise.
2352
2353 2001-10-25 Andrew Cagney <ac131313@redhat.com>
2354
2355 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2356 messages.
2357
2358 2001-10-21 Andrew Cagney <ac131313@redhat.com>
2359
2360 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2361 checking MI enabled.
2362
2363 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
2364
2365 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2366
2367 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
2368
2369 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2370 if gdb child process crashes, just signal an error.
2371
2372 2001-10-02 Jim Blandy <jimb@redhat.com>
2373
2374 * lib/gdb.exp (test_xfail_format): Simplify.
2375
2376 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2377 front of the variable name `format'. Simplify `if'.
2378
2379 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2380
2381 * gdb.threads/pthreads.exp: Wait for output and delay
2382 before sending ^C.
2383
2384 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2385
2386 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2387 some incorrect output instead of timing out.
2388 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2389
2390 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
2391
2392 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2393 check to allow additional `int'.
2394
2395 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
2396
2397 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2398 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2399
2400 2001-09-27 Michael Snyder <msnyder@redhat.com>
2401
2402 * lib/gdb.exp (test_debug_format): New proc.
2403 (setup_xfail_format): Use new proc test_debug_format.
2404 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2405 proc; use new service proc test_debug_format.
2406 Replace all other "gcc_compiled" tests with this test.
2407 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2408 proc; use new service proc test_debug_format.
2409 Replace all other "gcc_compiled" tests with this test.
2410
2411 2001-09-27 Michael Snyder <msnyder@redhat.com>
2412
2413 * gdb.base/cvexpr.exp: New file.
2414 * gdb.base/cvexpr.c: New file
2415 Test for expressions using const and volatile keywords.
2416
2417 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
2418
2419 * gdb.base/constvars.exp: Check for different orders of keywords
2420 and additional "int" strings in output.
2421
2422 2001-09-22 Andrew Cagney <ac131313@redhat.com>
2423
2424 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2425 responses from "help maint".
2426
2427 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
2428
2429 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2430 to localhost:NNN instead of :NNN, in case Xvfb is listening
2431 only on TCP.
2432
2433 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
2434
2435 * gdb.base/recurse.exp: When checking leaving the watchpoint
2436 scope, recognize when gdb is in function's epilogue and pass.
2437
2438 2001-09-18 Keith Seitz <keiths@redhat.com>
2439
2440 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2441 support for running tests against sid targets.
2442 (gdbtk_done): Ditto.
2443
2444 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
2445
2446 * gdb.base/ending-run.c (main): Set stdout buffersize
2447 to the same reasonable value for any target.
2448 * gdb.base/ending-run.exp: Add a regular expression
2449 to make testsuite happy on Sanyo Stormy16 target.
2450
2451 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
2452
2453 * gdb.base/display.c (do_loops): Add float variable `f'.
2454 Increment f in loop.
2455 * gdb.base/display.exp: Increment timeout by 60 seconds.
2456 Change float display test to use variable `f'.
2457
2458 2001-09-17 Jim Blandy <jimb@redhat.com>
2459
2460 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2461 overflowing the limited breakpoint tables on some ROM monitors
2462 (like the ROM68K).
2463
2464 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
2465
2466 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2467 the "-ac" (disable access control) flag.
2468
2469 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
2470
2471 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2472 ints.
2473
2474 2001-08-30 Keith Seitz <keiths@redhat.com>
2475
2476 * lib/gdb.exp: Move all insight-related functionality into
2477 separate file.
2478 * lib/insight-support.exp: New file.
2479
2480 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
2481
2482 * config/sid.exp (sid_start): Never set sid verbosity; disable
2483 expect_background {} that consumed its stdout; tolerate </dev/null.
2484 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2485
2486 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2487
2488 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2489 CLI jump command to start it.
2490 (mi_run_to_main): Fail immediatly when unexpected output.
2491
2492 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2493
2494 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2495 beginning of function. Fix PR gdb/191.
2496
2497 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
2498
2499 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2500 what to force sid endianness to.
2501
2502 2001-08-15 Keith Seitz <keiths@redhat.com>
2503
2504 * lib/gdb.exp (gdbtk_start): Don't set environment
2505 variables for TCL_LIBRARY and friends. Insight will
2506 now figure these out for itself.
2507
2508 2001-08-02 Michael Snyder <msnyder@redhat.com>
2509
2510 * gdb.base/completion.exp: Remove the symbol "a64l" from
2511 the expect string; this is target-specific, and not related
2512 to what is being tested.
2513
2514 2001-08-02 Dave Brolley <brolley@redhat.com>
2515
2516 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2517
2518 2001-07-25 Michael Snyder <msnyder@redhat.com>
2519
2520 * gdb.base/consecutive.exp: New file. Test stepping over
2521 breakpoints on consecutive instructions.
2522 * gdb.base/consecutive.c: New file.
2523
2524 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2525 curly braces in regular expressions.
2526
2527 2001-07-25 Michael Snyder <msnyder@redhat.com>
2528
2529 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2530 legitimate output from stepping out of main.
2531
2532 2001-07-22 Keith Seitz <keiths@redhat.com>
2533
2534 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2535 the empty string, do not run the tests.
2536
2537 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2538
2539 * gdb.base/long_long.exp: Detect size of pointer. Take into
2540 account 2-byte pointers when testing for p/a results.
2541
2542 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2543
2544 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2545 and defined to 1K for m68hc11.
2546 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2547 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2548 (sizeof_random_data): New variable to tell the size of the data table;
2549 don't test past this size; always run to main.
2550
2551 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2552
2553 * gdb.base/return2.exp: return of long long and double fails for
2554 68HC11; don't execute these tests on that platform.
2555 * gdb.base/return.exp: Return of a double fails for 68hc11.
2556
2557 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2558
2559 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2560 tests that print a float.
2561 * call-rt-st.exp: Likewise.
2562
2563 2001-07-12 Mark Kettenis <kettenis@gnu.org>
2564
2565 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2566 running this test on Linux.
2567
2568 2001-06-24 Michael Chastain <chastain@redhat.com>
2569
2570 * gdb.base/arithmet.exp: Remove some tests to make all test names
2571 unique.
2572
2573 2001-07-03 Michael Snyder <msnyder@redhat.com>
2574
2575 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2576 the output of the ptype command.
2577
2578 2001-07-02 Michael Snyder <msnyder@redhat.com>
2579
2580 * gdb.base/completion.exp: Don't assume that break.c is the only
2581 source file that may contain functions named "marker".
2582 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2583
2584 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2585
2586 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2587 of files to delete.
2588
2589 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2590 * gdb.disasm/h8300s.exp: New file.
2591 gdb.disasm/h8300s.s: Likewise.
2592
2593 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2594
2595 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2596 empty breakpoint tables.
2597
2598 2001-06-25 Andrew Cagney <ac131313@redhat.com>
2599
2600 * lib/mi-support.exp: Update args=... part of stop-reason
2601 patterns. Accept either a list or a tuple.
2602
2603 2001-06-23 Andrew Cagney <ac131313@redhat.com>
2604
2605 * lib/mi-support.exp: Remove local emacs variable defining
2606 change-log-default-name.
2607
2608 2001-06-22 Michael Chastain <chastain@redhat.com>
2609
2610 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2611 This is operationally compatible with the previous version.
2612
2613 2001-06-13 Jim Blandy <jimb@redhat.com>
2614
2615 * lib/gdb.exp (gdb_test): Doc fix.
2616
2617 2001-06-10 Michael Chastain <chastain@redhat.com>
2618
2619 * gdb.base/exprs.exp: Remove a duplicate test.
2620
2621 2001-06-06 Jim Blandy <jimb@redhat.com>
2622
2623 * gdb.base/return2.exp (main): Use values to test float and double
2624 returns that are not NaN's, to avoid being confused by IEEE
2625 comparison rules.
2626
2627 2001-06-04 Michael Snyder <msnyder@redhat.com>
2628
2629 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2630 non-zero if control_c fails. Terminate the test on failure,
2631 rather than wait for 12 more tests to time out.
2632
2633 2001-06-06 Jim Blandy <jimb@redhat.com>
2634
2635 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2636 Don't forget to match the GDB prompt.
2637
2638 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2639
2640 2001-06-04 Jim Blandy <jimb@redhat.com>
2641
2642 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2643 command.
2644
2645 2001-05-31 Kevin Buettner <kevinb@redhat.com>
2646
2647 * gdb.base/annota1.exp (info break): Match four or more spaces
2648 after "Address".
2649
2650 2001-05-31 Michael Chastain <chastain@redhat.com>
2651
2652 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2653 (dm_type_int_star): Likewise.
2654 (dm_type_long_star): Likewise.
2655 (dm_type_void_star): Likewise.
2656
2657 2001-05-29 Kevin Buettner <kevinb@redhat.com>
2658
2659 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2660 to a known value in order to get consistent results regardless
2661 of the setting of INPUTRC or the presence or contents of .inputrc.
2662
2663 2001-05-24 Michael Snyder <msnyder@redhat.com>
2664
2665 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2666 Don't require that the main thread and the manager thread are the
2667 first in the list.
2668
2669 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2670 debugging. If test fails, issue an "unsupported" not a "fail".
2671
2672 2001-05-24 Jim Blandy <jimb@redhat.com>
2673
2674 Don't assume that short is shorter than int.
2675 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2676 assume that shorts are smaller than ints. On a 16-bit machine,
2677 this isn't true.
2678 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2679 an int, is not equal to ~0 stored in an unsigned char. This tests
2680 the same thing that the previous test meant to, but works on
2681 16-bit machines, too.
2682 ("print unsigned char != (~0)"): Same test, complemented.
2683
2684 2001-05-24 Michael Snyder <msnyder@redhat.com>
2685
2686 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2687 test for (full_coverage == 0). This makes the test run faster,
2688 and prevents dejagnu getting out of step.
2689
2690 2001-05-23 Kevin Buettner <kevinb@redhat.com>
2691
2692 * gdb.base/finish.exp (finish_void): Revise pattern for
2693 stopping on the call statement to not permit stopping at
2694 the start of the instructions comprising the call sequence.
2695
2696 2001-05-19 Michael Chastain <chastain@redhat.com>
2697
2698 * gdb.base/callfuncs.exp: Make all test names unique.
2699 * gdb.base/commands.exp: Make all test names unique.
2700 * gdb.base/condbreak.exp: Make all test names unique.
2701 * gdb.base/dbx.exp: Make all test names unique.
2702 * gdb.base/default.exp: Make all test names unique.
2703 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2704 and TIMEOUT messages to their corresponding PASS message.
2705 * gdb.base/ending-run.exp: Make all test names unique.
2706 * gdb.base/long_long.exp: Remove duplicate test.
2707
2708 2001-05-21 Kevin Buettner <kevinb@redhat.com>
2709
2710 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2711 stop on the call statement as well as the statement after the
2712 call.
2713
2714 2001-05-21 Michael Snyder <msnyder@redhat.com>
2715
2716 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2717
2718 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2719
2720 * gdb.base/completion.exp: Revamp test. Make it execute on all
2721 platforms.
2722
2723 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
2724
2725 * config/gdbserver.exp (gdb_load): Handle the case
2726 in which the arguments to gdbserver are given in the
2727 baseboard configuration file.
2728 Also handle the case in which the server needs to do a
2729 load.
2730
2731 2001-05-07 Keith Seitz <keiths@cygnus.com>
2732
2733 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2734 set up the display for testing.
2735 (gdbtk_start): Convert all paths to paths that tcl will like.
2736 Export target information to environment.
2737 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2738 necessary.
2739 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2740 (to_tcl_path): New proc to convert a given pathname into
2741 a path acceptible as an argument to a tcl command.
2742 (_gdbtk_export_target_info): New proc to export target info
2743 into the environment for gdbtk testing.
2744 (gdbtk_done): New proc to signal end-of-test.
2745
2746 2001-05-06 Jim Blandy <jimb@redhat.com>
2747
2748 * restore.c: Make the code of caller0 correspond to its comment.
2749
2750 2001-05-03 Michael Snyder <msnyder@redhat.com>
2751
2752 * config/sid.exp (gdb_target_sid): Check for error messages.
2753 On error or timeout, don't make expect exit (which will terminate
2754 all subsequent tests); instead just make gdb exit.
2755 (gdb_load): Check for error messages. On error or timeout,
2756 return a negative value.
2757
2758 2001-04-24 Jim Blandy <jimb@redhat.com>
2759
2760 * gdb.c++/templates.exp: If we see the prompt for the overload
2761 list, but we haven't recognized any of the longer patterns,
2762 arrange for this test to fail, not hang.
2763
2764 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2765 variations.
2766
2767 2001-04-22 Michael Chastain <chastain@redhat.com>
2768
2769 * gdb.c++/local.exp: Use the 'runto' library function.
2770 * gdb.c++/namespace.exp: Likewise.
2771 * gdb.c++/overload.exp: Likewise.
2772
2773 2001-03-26 Kevin Buettner <kevinb@redhat.com>
2774
2775 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2776 * gdb.base/step-line.exp: New file. Test step/next in presence of
2777 #line directives.
2778 * gdb.base/step-line.c: New file. Test program for the above.
2779 * gdb.base/step-line.inp: New file. We pretend that this file has
2780 been transformed by some other tool into step-line.c.
2781
2782 2001-03-21 Jim Blandy <jimb@redhat.com>
2783
2784 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2785 unmangled operator names.
2786
2787 2001-03-20 Jim Blandy <jimb@redhat.com>
2788
2789 * gdb.threads/linux-dp.exp: Recognize an additional message
2790 generated by GDB when it doesn't understand how to debug threads
2791 on the target system.
2792
2793 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2794
2795 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2796
2797 2001-03-12 Michael Chastain <chastain@redhat.com>
2798
2799 * gdb.c++/derivation.exp: Use the 'runto' library function.
2800
2801 2001-03-12 Michael Chastain <chastain@redhat.com>
2802
2803 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2804
2805 2001-02-24 Michael Chastain <chastain@redhat.com>
2806
2807 * gdb.c++/ref-types.exp: Change handwritten code to library
2808 function 'runto'.
2809
2810 2001-03-16 Orjan Friberg <orjanf@axis.com>
2811
2812 * gdb.base/signals.exp: Set count to 0 explicitly.
2813
2814 2001-03-15 Mark Salter <msalter@redhat.com>
2815
2816 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2817 (gdb_target_monitor): Add check of gdb_target_cmd return value.
2818 (gdb_load): Add support for additional target_info: gdb_download_size
2819 and gdb_load_timeout.
2820
2821 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2822
2823 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2824 file -- to prevent failing when the compile fails but we have no
2825 intention of running the tests anyway.
2826
2827 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2828 tests if set.
2829
2830 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2831 integers.
2832
2833 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2834 * gdb.c++/namespace.exp: Ditto.
2835
2836 2001-03-07 Orjan Friberg <orjanf@axis.com>
2837
2838 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2839 * gdb.base/pointers.exp: Relax pattern match of decimals.
2840
2841 2001-03-06 Kevin Buettner <kevinb@redhat.com>
2842
2843 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2844 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2845 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2846 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2847 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2848 config/sh.exp, config/sid.exp, config/slite.exp,
2849 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2850 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2851 config/vxworks.exp, config/vxworks29k.exp,
2852 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2853 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2854 gdb.base/arithmet.exp, gdb.base/assign.exp,
2855 gdb.base/async.exp, gdb.base/attach.exp,
2856 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2857 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2858 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2859 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2860 gdb.base/commands.exp, gdb.base/completion.exp,
2861 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2862 gdb.base/constvars.exp, gdb.base/corefile.exp,
2863 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2864 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2865 gdb.base/ending-run.exp, gdb.base/environ.exp,
2866 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2867 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2868 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2869 gdb.base/funcargs.exp, gdb.base/help.exp,
2870 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2871 gdb.base/logical.exp, gdb.base/long_long.exp,
2872 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2873 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2874 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2875 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2876 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2877 gdb.base/regs.exp, gdb.base/relational.exp,
2878 gdb.base/remote.exp, gdb.base/reread.exp,
2879 gdb.base/restore.exp, gdb.base/return2.exp,
2880 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2881 gdb.base/selftest.exp, gdb.base/setshow.exp,
2882 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2883 gdb.base/sigall.exp, gdb.base/signals.exp,
2884 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2885 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2886 gdb.base/step-test.exp, gdb.base/structs.c,
2887 gdb.base/structs.exp, gdb.base/structs2.exp,
2888 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2889 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2890 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2891 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2892 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2893 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2894 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2895 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2896 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2897 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2898 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2899 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2900 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2901 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2902 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2903 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2904 gdb.trace/circ.exp, gdb.trace/collection.exp,
2905 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2906 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2907 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2908 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2909 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2910 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2911 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2912 notices.
2913
2914 2001-02-27 Michael Snyder <msnyder@cygnus.com>
2915
2916 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2917 first arg is int not float.
2918
2919 2001-02-22 Michael Snyder <msnyder@cygnus.com>
2920
2921 * gdb.base/reread.exp: Unsupported for non-native targets;
2922 doesn't work for remote debugging.
2923
2924 2001-02-19 Fernando Nasser <fnasser@redhat.com>
2925
2926 From Drew Moseley <dmoseley@redhat.com>
2927 * gdb.base/ending-run.exp: Properly handle the BSP state when
2928 stepping past the end of main.
2929
2930 2001-02-19 John Moore <jmoore@redhat.com>
2931
2932 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2933 Converted HPUX fix for non-expected items following multiple
2934 step commands into general solution for all platforms.
2935
2936 2001-02-18 Michael Chastain <chastain@redhat.com>
2937
2938 * gdb.c++/classes.exp (do_tests): Change runto statements
2939 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2940 statements demangler agnostic.
2941 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2942 (gdb_virtfunc_restart): Likewise.
2943
2944 2001-02-14 Michael Chastain <chastain@redhat.com>
2945
2946 * gdb.c++/inherit.exp (do_tests): Change runto statements
2947 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2948 statements demangler agnostic.
2949
2950 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2951
2952 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2953 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2954 before calling common_routine 15 times'' tests.
2955
2956 2001-02-11 Michael Chastain <chastain@redhat.com>
2957
2958 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2959 Helps the test script figure out which demangler is in use.
2960 (dm_type_foo_ref): Ditto.
2961 (dm_type_int_star): Ditto.
2962 (dm_type_long_star): Ditto.
2963 (dm_type_unsigned_int): Ditto.
2964 (dm_type_void): Ditto.
2965 (dm_type_void_star): Ditto.
2966 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
2967 Probe the gdb demangler and set variables to accommodate
2968 formatting differences.
2969 (info_func_regexp): New function. Same as info_func, but
2970 matches against a regexp.
2971 (info_func): Match against a literal string.
2972 (print_addr_2): New function. Match against a literal string,
2973 which can be different from the input to gdb.
2974 (print_addr): Simply call print_addr_2 with the same argument twice.
2975 (test_lookup_operator_functions): Use demangler formatting variables.
2976 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2977 the tests in the same order as the C++ class declaration.
2978 (test_paddr_operator_functions): Ditto.
2979 (test_paddr_overloaded_functions): Ditto.
2980 (test_paddr_hairy_functions): Use demangler formatting variables.
2981 Add reference to gdb/19 for related tests.
2982 (do_tests): Call probe_demangler.
2983
2984 2001-01-30 Kevin Buettner <kevinb@redhat.com>
2985
2986 * gdb.c++/templates.cc (printf): Remove unused function definition.
2987
2988 2001-01-26 Felix Lee <flee@redhat.com>
2989
2990 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2991
2992 2001-01-25 matthew green <mrg@redhat.com>
2993
2994 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2995 up sid.
2996 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2997
2998 2001-01-25 matthew green <mrg@redhat.com>
2999
3000 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3001 Deprecate $sid_spawn_id.
3002 (sid_exit): Remove code necessary only for `spawn.'
3003
3004 2001-01-25 matthew green <mrg@redhat.com>
3005
3006 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3007
3008 2001-01-28 Michael Chastain <chastain@redhat.com>
3009
3010 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3011 to call when tests fail. It takes gdb out of the overloaded
3012 function choice menu back to the main prompt, so that the test
3013 program stays synchronized.
3014 (set_bp_overloaded): New proc to collect all the common
3015 code for setting a breakpoint on an overloaded name. Calls
3016 take_gdb_out_of_choice_menu when needed.
3017 (menu_overload1arg): New variable to collect the repeated
3018 instances of the expected menu for an overloaded name. Change
3019 the regular expression to handle changes in g++ type encoding:
3020 "void" can be either "void" or "", and "unsigned int" can be
3021 either "unsigned int" or "unsigned".
3022 (continue_to_bp_overloaded): Change regular expressions to handle
3023 changes in g++ type encoding.
3024 (no proc): Call take_gdb_out_of_choice_menu when needed.
3025 Remove redundant calls to "info break". Accept either "canceled"
3026 or "cancelled". Change regular expressions in "info break"
3027 calls to handle changes in g++ type encoding. Give all tests
3028 unique strings.
3029
3030 2001-01-17 Ben Elliston <bje@redhat.com>
3031
3032 * config/sid.exp: New file.
3033
3034 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3035
3036 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3037
3038 2000-12-21 Michael Snyder <msnyder@cygnus.com>
3039
3040 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3041 Add a RE to accept a non-ascii char if one is ever presented.
3042
3043 2000-12-20 Fernando Nasser <fnasser@redhat.com>
3044
3045 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
3046
3047 2000-12-18 Michael Snyder <msnyder@cygnus.com>
3048
3049 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3050 in regexp. One '\' does not suffice on Linux.
3051
3052 2000-12-09 Michael Chastain <chastain@redhat.com>
3053
3054 * gdb.base/break.exp (test_clear_command): Use a marker function
3055 rather than 'main' for the test function. Also move this
3056 test to an execution point where the marker function names are
3057 guaranteed to be bound to functions. (Executing tests after a
3058 'finish' from main runs into name conflicts with local names
3059 in __libc_start_main).
3060
3061 2000-12-07 Michael Snyder <msnyder@cygnus.com>
3062
3063 * gdb.base/finish.exp: New test for gdb's "finish" command.
3064 * gdb.base/return2.exp: New test for gdb's "return" command.
3065 * gdb.base/return2.c: New source file for above.
3066
3067 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3068
3069 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3070 * gdb.base/miscexprs.exp: Ditto.
3071 * gdb.base/pointers.exp: Ditto.
3072 * gdb.c++/derivation.exp: Ditto.
3073 * gdb.c++/local.exp: Ditto.
3074 * gdb.c++/namespace.exp: Ditto.
3075 * gdb.c++/overload.exp: Ditto.
3076 * gdb.c++/ref-types.exp: Ditto.
3077
3078 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3079
3080 * gdb.base/constvars.exp: Test result of "up" command.
3081 * gdb.base/miscexprs.exp: Ditto.
3082 * gdb.base/pointers.exp: Ditto.
3083 * gdb.base/scope.exp: Ditto.
3084 * gdb.c++/derivation.exp: Ditto.
3085 * gdb.c++/local.exp: Ditto.
3086 * gdb.c++/namespace.exp: Ditto.
3087 * gdb.c++/overload.exp: Ditto.
3088 * gdb.c++/ref-types.exp: Ditto.
3089
3090 2000-11-22 Michael Chastain <chastain@redhat.com>
3091
3092 * mips_pro.exp: Accept either "middle -> top -> main" or
3093 "middle -> main" in the backtrace, because gcc can optimize
3094 tail calls to jumps. Remove setup_xfail for the hppa case.
3095 Add a comment with the original warning messages from PR 3016,
3096 which was filed in 1993, to preserve them for posterity.
3097
3098 2000-11-17 Nick Duffek <nsd@redhat.com>
3099
3100 * lib/gdb.exp (gdb_test): Override timeout with board info.
3101
3102 2000-11-17 Nick Duffek <nsd@redhat.com>
3103
3104 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3105 the second kill and detach messages.
3106
3107 2000-11-17 Nick Duffek <nsd@redhat.com>
3108
3109 * configure.in: Add AC_EXEEXT.
3110 * configure: Regenerate.
3111 * Makefile.in (just-check): Export EXEEXT.
3112 * lib/gdb.exp ($EXEEXT): Import from environment.
3113 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3114 expect "maint dump-me" on Cygwin.
3115 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3116 $EXEEXT.
3117
3118 2000-11-17 Nick Duffek <nsd@redhat.com>
3119
3120 * gdb.base/break.exp: Test backtrace and finish from called
3121 function on all platforms, not just HP-UX.
3122
3123 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3124
3125 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3126 code from gdb_target_monitor, so it can be used independantly
3127 for gdbserver. Also comment out an unnecessary PUTS.
3128
3129 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3130
3131 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3132 * gdb.base/corefile.exp: Expect the message "Program is being
3133 debugged already" when we send the "corefile" command, since
3134 the preceeding gdb_load may have connected gdb to a remote target.
3135 * gdb.base/display.exp: Disable hardware watchpoints if new
3136 board info variable "no_hardware_watchpoints" is true.
3137 Replace single-letter commands with more readable ones.
3138 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3139 if new board info variable "no_hardware_watchpoints" is true.
3140 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3141 to see if stdio (printf) testing is possible.
3142 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3143 board info variable "no_hardware_watchpoints" is true. Use new
3144 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3145
3146 2000-11-13 Fernando Nasser <fnasser@redhat.com>
3147
3148 From Orjan Friberg <orjanf@axis.com>:
3149 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3150 in array print pattern match.
3151
3152 2000-11-09 Fernando Nasser <fnasser@redhat.com>
3153
3154 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3155 spelling "cancelled" to U.S. spelling "canceled" to match changes
3156 made to gdb.
3157 * gdb.c++/ovldbreak.exp: Ditto.
3158
3159 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3160
3161 * gdb.base/callfuncs.c (main): Moved to end of file, call
3162 t_double_values to initialize the FPU before inferior calls are made.
3163 * gdb.base/callfuncs.exp: Test for register preservation after calling
3164 inferior functions. Add tests for continuining, finishing and
3165 returning from a stop in a call dummy.
3166
3167 2000-10-24 Michael Snyder <msnyder@cygnus.com>
3168
3169 * gdb.base/commands.exp: Break up long lines, and re-indent.
3170
3171 2000-10-19 Michael Snyder <msnyder@cygnus.com>
3172
3173 * config/gdbserver.exp: Rewritten from the ground up, to make it
3174 compatible with the current dejagnu tree, and to make it work with
3175 the new "gdbserver" in libremote.
3176
3177 2000-10-16 Michael Snyder <msnyder@cygnus.com>
3178
3179 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3180 * gdb.base/varargs.exp: Skip entire test if no printf support.
3181 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3182 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3183
3184 2000-10-13 Michael Snyder <msnyder@cygnus.com>
3185
3186 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3187 no floating point support.
3188 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3189 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3190 * gdb.base/call-rt-st.exp: Ditto.
3191 * gdb.base/call-strs.exp: Ditto.
3192
3193 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3194
3195 * gdb.base/sizeof.c: include <stdio.h>.
3196
3197 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3198 'finish', otherwise uncaptured gdb_prompt would potentially
3199 throw remaining test points out of sync.
3200
3201 2000-07-26 Scott Bambrough <scottb@netwinder.org>
3202
3203 * gdb.base/recurse.exp: Run tests for all targets.
3204 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3205 gnu-oldld case on ARM.
3206 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3207 for ARM targets.
3208
3209 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3210
3211 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3212 * gdb.java/configure: Rebuild.
3213
3214 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3215
3216 * gdb.java/jv-exp.exp: New file.
3217
3218 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3219
3220 * configure: Rebuilt.
3221 * configure.in (configdirs): Add gdb.java.
3222 * gdb.java/jmisc.java: New file.
3223 * gdb.java/jmisc.exp: New file.
3224 * gdb.java/Makefile.in: New file.
3225 * gdb.java/configure: Rebuilt.
3226 * gdb.java/configure.in: New file.
3227 * lib/java.exp: New file.
3228
3229 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3230
3231 * gdb.base/exprs.exp: Test casts to a pointer including over and
3232 underflow.
3233
3234 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3235
3236 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3237 and the compilers sizes.
3238
3239 2000-07-09 Nick Duffek <nsd@redhat.com>
3240
3241 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3242 (use_methods): New function.
3243 (main): Call use_methods().
3244 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3245 (do_tests): Call test_method_param_class.
3246
3247 2000-07-09 Nick Duffek <nsd@redhat.com>
3248
3249 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3250 spelling.
3251 (test_enums): New procedure. Move enum tests from end of script
3252 to here. Set breakpoint on function name instead of line number.
3253 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3254 (enums2): New marker function.
3255 (enums1): New function.
3256 (main): Call enums1(). Move enum tests to enums1().
3257
3258 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3259
3260 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3261 compile/link program. Update line numbers.
3262 * gdb.asm/d10v.inc: Define ``startup''.
3263 * gdb.asm/asmsrc1.s: Add definition of _start.
3264
3265 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3266
3267 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3268
3269 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3270
3271 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3272 of 'help maint print' command.
3273
3274 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3275
3276 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3277 they use gdb_expect_list.
3278
3279 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3280
3281 * gdb.base/commands.exp: Use ``set remote
3282 memory-read-packet-size'' instead of ``set endian big'' to test
3283 long commands.
3284
3285 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
3286
3287 * gdb.c++/templates.exp (do_tests): Make all of these work under
3288 g++, and stop skipping them.
3289
3290 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3291 work under g++.
3292
3293 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3294 initialization.
3295
3296 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3297
3298 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3299 the regular expression: accept an (almost) arbitrary sequence of
3300 "frames-invalid" and "breakpoints-invalid" messages both before
3301 and after the "starting" message.
3302
3303 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3304
3305 * gdb.c++/local.exp: This test has never been known to work with g++.
3306
3307 2000-05-18 Michael Snyder <msnyder@cygnus.com>
3308
3309 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3310 Relax the regular expression a little, make it pass on Solaris 8.
3311
3312 2000-05-12 Kevin Buettner <kevinb@redhat.com>
3313
3314 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3315 a call, do not require that gdb stop on the line after the call.
3316 Instead, it is permissible for gdb to stop on the line of the
3317 call itself.
3318
3319 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
3320
3321 * gdb.base/break.exp (bp on small function, optimized file):
3322 Add a second pass pattern. The behavior differs here between stabs
3323 and dwarf for one-line functions. Stabs preserves two line symbols
3324 (one before the prologue and one after) with the same line number,
3325 but dwarf regards these as duplicates and discards one of them.
3326 Therefore the address after the prologue (where the breakpoint is)
3327 has no exactly matching line symbol, and GDB reports the breakpoint
3328 as if it were in the middle of a line rather than at the beginning.
3329
3330 2000-05-08 Michael Snyder <msnyder@cygnus.com>
3331
3332 * gdb.base/interrupt.exp: Make "pass" message say "send"
3333 rather than "send_gdb" (for consistancy).
3334
3335 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3336
3337 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3338 * gdb.c++/templates.cc: Properly check for GCC version number.
3339 * lib/compiler.cc: Likewise
3340
3341 2000-04-28 Michael Snyder <msnyder@cygnus.com>
3342
3343 * gdb.base/break.exp: When compiled with -O2 optimization,
3344 gdb may not stop at the first line of main, due to code motion.
3345
3346 2000-04-26 Michael Snyder <msnyder@cygnus.com>
3347
3348 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3349 This test depends on parsing the printf output from the target.
3350 Since the sparclet stub doesn't do stdio, this will never work.
3351 * gdb.base/call-rt-st.exp: ditto.
3352 * gdb.base/call-strs: ditto.
3353
3354 2000-04-24 Michael Snyder <msnyder@cygnus.com>
3355
3356 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3357
3358 * gdb.base/ending-run.exp: After connecting to a remote target,
3359 but before running, the target will appear to be in a random
3360 location. Specify both a file and a line for breakpoints.
3361 Also, the function that calls main may be called 'init'
3362 rather than 'start'.
3363
3364 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3365
3366 * gdb.base/help.exp: Update output for add-symbol-file command.
3367
3368 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
3369
3370 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3371 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3372
3373 2000-04-07 J.T. Conklin <jtc@redback.com>
3374
3375 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3376
3377 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3378
3379 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3380
3381 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3382 values that can be represented exactly.
3383 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3384 above change, and to not check against the directory part of the source
3385 file name.
3386 (step into print_long_arg_list): Likewise.
3387 (print print_small_structs from print_long_arg_list): Likewise.
3388 (print print_long_arg_list): Likewise.
3389
3390 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3391
3392 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
3393
3394 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3395
3396 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3397
3398 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
3399
3400 * gdb.base/commands.exp (deprecated_command_test): Add test for
3401 deprecate with no arguments.
3402
3403 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3404
3405 * gdb.base/break.exp: Add new test for setting breakpoints on
3406 optimized code so we can test breakpoints work even when function
3407 prologues may be optimized away
3408
3409 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3410
3411 From David Whedon <dwhedon@gordian.com>
3412 * gdb.base/commands.exp : Added command deprecator tests.
3413
3414 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
3415
3416 * gdb.base/help.exp: Added test for new apropos command.
3417
3418 2000-03-21 Kevin Buettner <kevinb@redhat.com>
3419
3420 * gdb.base/pointers.c (usevar): New function.
3421 (main): Make sure that global variables v_int_pointer2, rptr,
3422 and y are all referenced someplace in the program by calling
3423 usevar() on them. [Some linkers delete symbols which are
3424 never referenced. The space remains, but there's no way to
3425 get a (symbolic) handle on the variable from the debugger.]
3426
3427 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3428
3429 * gdb.base/printcmds.c: Add typedeffed arrays.
3430
3431 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3432 procedure to test arrays that are typedef'd.
3433
3434 2000-03-13 James Ingham <jingham@leda.cygnus.com>
3435
3436 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
3437 the library directories.
3438
3439 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3440
3441 * configure.in (configdirs): Add sub directory gdb.mi.
3442 * configure: Re-generate.
3443
3444 * gdb.mi: New directory.
3445
3446 2000-02-25 Scott Bambrough <scottb@netwinder.org>
3447
3448 * gdb.base/long_long.exp: Correct test suite failure when printing
3449 a long long value as a double on ARM platforms.
3450
3451 2000-02-16 Jim Blandy <jimb@redhat.com>
3452
3453 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3454 default source file is set properly before running this test.
3455
3456 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3457
3458 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3459 gdbtk/library directory, not in gdbtcl2.
3460
3461 2000-02-04 Jim Blandy <jimb@redhat.com>
3462
3463 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3464 backslash from regexp pattern.
3465
3466 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3467 procedure. Use it to run all the "continue to bp overloaded"
3468 tests. Note that this changes the names of the tests slightly.
3469 If the breakpoint hit message includes a hex PC value, because
3470 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3471 from the real source code, still consider that a pass.
3472
3473 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3474 XFAIL here if the breakpoint message contains a hex address. Note
3475 similar change on 1999-11-02.
3476
3477 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3478
3479 * gdb.base/ptype.exp: Establish a default source file before
3480 calling get_debug_format.
3481
3482 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3483
3484 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3485
3486 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3487
3488 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3489 of successive stepi commands -- while in the prologue we should see
3490 the function entry bracket.
3491
3492 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3493
3494 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3495 reach __change_mode() when stepping through the end of main().
3496
3497 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3498
3499 * gdb.base/default.exp: Fix expected pattern.
3500 * gdb.base/help.exp: Same.
3501
3502 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3503
3504 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3505 Don't use xfail's because that affects only the following test.
3506
3507 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3508 solaris or linux.
3509
3510 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3511
3512 2000-01-07 Michael Snyder <msnyder@cygnus.com>
3513
3514 * gdb.base/display.exp: Some yacc parsers like to say
3515 "A syntax error" rather than "A parse error". Accept both.
3516
3517 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3518
3519 * gdb.base/default.exp: Remove OS dependent string from "target
3520 remote" test.
3521 * gdb.base/help.exp: Same for "help target remote" test.
3522
3523 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3524
3525 From Jim Kingdon <kingdon@redhat.com>:
3526
3527 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3528 prompt (cleanup rather than necessity, but still might keep output
3529 from spilling to next test).
3530
3531 2000-01-02 Fred Fish <fnf@cygnus.com>
3532
3533 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3534 AIX, which defines them in <sys/types.h>.
3535
3536 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
3537
3538 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3539 float" test.
3540
3541 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
3542
3543 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
3544
3545 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3546 outermost frame disallowed".
3547
3548 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3549
3550 * gdb.base/setvar.exp: New tests for setting the value of a struct
3551 with a constant list.
3552
3553 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3554
3555 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3556 require the user to type a cast before setting the value of a struct.
3557
3558 1999-12-06 Jim Blandy <jimb@cygnus.com>
3559
3560 * gdb.base/default.exp: Expect the new 'info float' command on
3561 all i386 platforms.
3562
3563 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3564 LinuxThreads libraries that don't support debugging.
3565
3566 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3567
3568 * gdb.base/remote.c: Fill the buffer with truely random data.
3569 Change the buffer type to ``unsigned char'' to simplify size
3570 arithmetic.
3571
3572 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3573 stub only handles 400-1 byte packets. Verify that the download
3574 worked.
3575
3576 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3577
3578 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3579 tests, using UNRESOLVED for the untested cases. Also, does not wait
3580 for a timeout if the prompt was received before a recognizable pattern.
3581
3582 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3583
3584 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3585
3586 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3587
3588 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3589 watchpoints.
3590
3591 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3592
3593 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3594
3595 * gdb.c++/local.exp: Be more flexible in recognizing local class
3596 name mangling. Don't allow horribly truncated method names.
3597 * gdb.c++/derivation.exp: Expect protected inheritance.
3598 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3599 * gdb.c++/virtfunc.exp: Likewise.
3600 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3601 when printing a nested enum.
3602
3603 1999-11-22 Jim Blandy <jimb@cygnus.com>
3604
3605 * gdb.base/step-test.exp: Properly await GDB's response to setting
3606 a breakpoint on the call to large_struct_by_value.
3607
3608 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3609 just because we have debug info for the `start' function.
3610
3611 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3612
3613 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3614 "Unknown signal" messages, which indicate (on LinuxThreads) that
3615 GDB doesn't know how to debug threads on this system. This is
3616 better than hanging while philosopher 0 dumps chatter into gdb.log.
3617
3618 1999-11-18 Tom Tromey <tromey@cygnus.com>
3619
3620 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3621
3622 1999-11-18 Fred Fish <fnf@cygnus.com>
3623
3624 * gdb.base/coremaker2.c: Add sample program for generating
3625 cores that is more self contained than coremaker.c. Eventually
3626 I'll add more code to this and tie it into the testsuite.
3627
3628 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3629
3630 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3631
3632 1999-11-10 Jimmy Guo <guo@cup.hp.com>
3633
3634 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3635 from $srcdir/lib/.
3636 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3637 and gdb.c++/.
3638
3639 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3640
3641 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
3642 'continue with watch' test point.
3643
3644 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3645
3646 Merged from p2linux-990323-branch:
3647
3648 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3649
3650 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3651
3652 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3653 {limit,fixed}''. Test ``set download-write-size''.
3654
3655 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3656
3657 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3658 gdb_expect_list.
3659
3660 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3661
3662 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3663
3664 1999-11-03 Mark Salter <msalter@cygnus.com>
3665
3666 * gdb.base/break.exp: Fix "stub continue" pattern.
3667
3668 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3669
3670 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3671
3672 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3673
3674 * gdb.base/display.exp ("finish"): Add timeout clause.
3675
3676 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3677 plain prompt clause, so this doesn't have to time out in order to
3678 fail.
3679
3680 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3681 breakpoint hit messages include an address.
3682
3683 * gdb.base/display.exp: Don't forget to escape parens in regular
3684 expressions. Unix regexp notatation sucks.
3685
3686 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3687
3688 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3689 order for 'signalled' message.
3690
3691 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3692
3693 From Jimmy Guo <guo@cup.hp.com>:
3694 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3695 * gdb.base/annota1.c: Add code for tests to work with.
3696
3697 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3698
3699 * gdb.base/remote.exp: New test for remote downloading settings.
3700 * gdb.base/remote.c: New file with large .data.
3701
3702 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3703
3704 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3705 for LinuxThreads support, merged from the Code Fusion branch.
3706
3707 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3708
3709 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3710 containing exp_continue into a while within an expect. Don't
3711 attempt a start more than three times. Check return value from
3712 gdb_load.
3713
3714 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3715
3716 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3717 a pass case.
3718
3719 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
3720
3721 * gdb.base/break.c (main): Added a statement that we can step
3722 off of.
3723 * gdb.base/break.exp: Added tests for setting a breakpoint
3724 at an offset and stepping onto a breakpoint.
3725
3726 1999-10-01 Fred Fish <fnf@cygnus.com>
3727
3728 * gdb.base/help.exp (help add-symbol-file): Update to match current
3729 gdb output.
3730
3731 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3732
3733 * gdb.base/break.exp: Code locations are in hex, don't forget!
3734 (For HP-UX.)
3735
3736 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3737
3738 * condbreak.exp: Use break.c as test program.
3739 * condbreak.c: Remove, redundant with break.c.
3740
3741 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3742
3743 * config/monitor.exp (gdb_target_monitor): Disable X- and
3744 Z-packets if the target needs it.
3745
3746 1999-09-13 James Ingham <jingham@leda.cygnus.com>
3747
3748 * gdb.c++/overload.exp: Added tests for listing overloaded
3749 functions with function pointers in the arg, explicitly calling
3750 out the version you want.
3751
3752 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3753
3754 * long_long.exp: Add variations of test cases that work for
3755 targets with 16-bit ints and 32-bit doubles.
3756
3757 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3758
3759 * break.c (main): Compare a possibly-uninitialized argc with an
3760 unlikely value that fits in 16 bits.
3761
3762 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3763
3764 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3765 0xfeeb, don't want negative numbers if ints are 16 bits.
3766
3767 * lib/gdb.exp (skip_cplus_tests): New proc.
3768 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3769 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3770 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3771 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3772 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3773 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3774 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3775 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3776
3777 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3778
3779 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3780
3781 * gdb.base/corefile.exp (up): Allow a parameter to appear
3782 in the frame that we're going up to.
3783
3784 From Jim Blandy <jimb@cygnus.com>:
3785
3786 * gdb.base/default.exp (info float): Expect some output now.
3787
3788 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3789 returning floating-point values to fail on the x86.
3790 * gdb.base/callfwmall.exp (do_function_calls): Same.
3791
3792 * gdb.base/list.exp (test_listsize): Correct expectations for
3793 listing line 1 with listsize 2. Also, listing a single line
3794 works now, as does listing three lines. [Kevin's note: There
3795 were a number of other cases fixed too where the expectations
3796 differed...]
3797
3798 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3799
3800 * gdb.base/selftest.exp: Add case for when version prints as
3801 constant string instead of char pointer.
3802
3803 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3804
3805 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3806 stepping out of main.
3807
3808 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3809 G++ used.
3810
3811 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3812 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3813
3814 * gdb.c++/ovldbreak.exp: Update match string in test that
3815 includes a warning of multiple breakpoints.
3816
3817 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3818
3819 * gdb.base/display.exp: Improve precision of step-after-finish
3820 added yesterday.
3821
3822 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3823 test.
3824
3825 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3826 configs when using G++, not just hppa*.
3827
3828 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3829
3830 * gdb.base/async.c: New file.
3831 * gdb.base/async.exp: New file.
3832
3833 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3834
3835 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3836 PA64.
3837
3838 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3839
3840 * gdb.base/display.exp: "finish" can leave us mid-line on many
3841 targets, deal with it. Add a small constant to main, instead of
3842 1000 since main+1000 may not be a valid address in the target.
3843
3844 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3845 on hpux11.
3846
3847 * gdb.base/attach.exp: Handle another hpux11 error message variant
3848 when attaching to a process that does not exist.
3849
3850 1999-08-19 J.T. Conklin <jtc@redback.com>
3851
3852 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3853 characters in 'continue to 1241' test.
3854
3855 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3856
3857 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3858 stop in print_long_arg_list, define and use a whitespace
3859 variable in print_small_structs test, add an XFAIL for Solaris.
3860 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3861 interested enough to fix.
3862
3863 1999-08-13 Keith Seitz <keiths@cygnus.com>
3864
3865 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3866 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3867 proc knows about targets other than the natives.
3868 (test_assign): Use "gdb_run_cmd" to "run" the target.
3869 Check that we've actually hit the breakpoint at main.
3870 When we attempt to assign a value to a local variable, check
3871 that the variable is in the current scope, i.e., don't use
3872 a test with an empty result.
3873
3874 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3875
3876 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3877 command.
3878
3879 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3880
3881 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3882 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3883 gdb.compat, gdb.threads-hp.
3884 gdb.hp/configure, gdb.hp/configure.in: New files.
3885 gdb.hp/Makefile.in: Recurse into new subdirs.
3886 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3887 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3888 in object files.
3889 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3890
3891 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3892
3893 * gdb.base/display.exp: Help expect by putting a newline in the
3894 funky printf, remove a bogus p/a test.
3895
3896 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3897
3898 * gdb.base/display.exp: Make sure that when we say 'run', we are
3899 connected to the target. This is necessary when running not
3900 natively.
3901
3902 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3903
3904 * gdb.base/step-test.exp: Removed some extraneous messages.
3905
3906 * gdb.base/long_long.exp: Don't run memory examination tests
3907 on little-endian targets (they will need a different set of
3908 results to match).
3909
3910 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3911
3912 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3913 until somebody decides to fix GDB.
3914
3915 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3916 constant as "ULL".
3917 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3918 matches for a couple x/2 commands.
3919
3920 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3921
3922 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3923 by merging in ref-types2 tests.
3924 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3925
3926 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3927 * gdb.c++/Makefile.in: Add standard actions.
3928 (EXECUTABLES): Rename from PROGS, update list.
3929 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3930 from gdb.hp.
3931 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3932 foo and bar locals.
3933 * gdb.c++/anon-union.exp: Fix tests to match.
3934 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3935 expect matches to handle output variations.
3936 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3937 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3938 output, add HP alternatives for new and delete prints.
3939 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3940 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3941 * gdb.c++/demangle.exp: Use $style when reporting failure.
3942 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3943 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3944 match alternatives.
3945 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3946 compilers.
3947 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3948 * gdb.c++/method.exp: Add match alternatives.
3949 * gdb.c++/misc.cc: Add bool types.
3950 * gdb.c++/misc.exp: Add tests for bool types.
3951 * gdb.c++/overload.exp: Add xfails.
3952 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3953 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3954 add some more template parameter tests (only for HP currently).
3955 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3956 * gdb.c++/virtfunc.cc: Add return type and value for main.
3957 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3958 match alternatives.
3959
3960 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3961
3962 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3963
3964 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3965
3966 * gdb.base/signals.exp: Don't expect getting a backtrace from
3967 within a signal handler to fail on Linux.
3968
3969 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3970
3971 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3972 * lib/gdb.exp: Remove some gratuitious semicolons.
3973 (delete_breakpoints): Increase timeout.
3974 (gdb_expect): Add -notransfer option.
3975 (gdb_test): Use -notransfer option.
3976 (get_compiler_info): Add f77 case.
3977 (get_compiler): New proc, split out from gdb_preprocess, add f77
3978 case.
3979 (gdb_preprocess): Call get_compiler.
3980
3981 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3982 * gdb.base/attach.exp, gdb.base/display.exp,
3983 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3984 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3985 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3986 third arg to gdb_test.
3987 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3988 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3989 HP-UX xfails, add others.
3990 * gdb.base/completion.exp: Reflect name change of self-test.
3991 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3992 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3993 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3994 HP failure number.
3995 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3996 useless HP-UX 10.30 references.
3997 * gdb.base/maint.exp: Loosen matches.
3998 * gdb.base/pointers.c (main): Declare more_code.
3999 * gdb.base/pointers.exp: Match on output of a `next'.
4000 * gdb.base/structs.c: Add prototypes.
4001 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4002 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4003
4004 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4005
4006 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4007 command.
4008
4009 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4010
4011 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4012 Fix run to main failures. Watchpoint can be hardware watchpoint.
4013
4014 * gdb.base/annota1.exp: Clean up some more, in case printf has
4015 debug info. Deal with lack of signal hanlder info in stack.
4016
4017 From Jim Kingdon <kingdon@redhat.com>:
4018 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4019
4020 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4021
4022 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4023 gdb.base/foll-vfork.exp: Don't run for crosses.
4024
4025 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4026
4027 * gdb.base/configure.in: Check for gdbvars.exp instead of
4028 a1-selftest.exp.
4029 * gdb.base/configure: Re-generate.
4030
4031 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4032
4033 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4034 in trying to run first and name is too long.
4035
4036 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4037 pointers2.c and pointers2.exp, respectively.
4038 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4039 doschk happier.
4040
4041 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4042
4043 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4044 callfuncs2.c and callfuncs2.exp.
4045
4046 * gdb.base/list.exp: Remove mistaken xfails.
4047 * gdb.base/list0.h: Add optional prototypes.
4048
4049 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4050
4051 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4052 calling malloc.
4053 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4054 * ptype.exp: Move test for get_debug_format to before its first
4055 use.
4056
4057 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4058
4059 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4060 * gdb.base/annota2.cc, annota2.exp: Move from here.
4061 * gdb.c++/annota2.cc, annota2.exp: To here.
4062 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4063
4064 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4065
4066 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4067 a consistent format.
4068
4069 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4070
4071 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4072 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4073 HP compilers, also set the globals $true and $false.
4074
4075 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4076 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4077 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4078 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4079 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4080 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4081 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4082 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4083 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4084 whatis.c} Add C++ compatible function definitions and return
4085 types, add includes for library functions.
4086 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4087 * gdb.base/step-test.c (myglob): Rename from glob.
4088 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4089 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4090 files, move here from gdb.hp.
4091 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4092 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4093 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4094 Adjust line numbers in regexps.
4095
4096 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4097 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4098 instead of 0/1.
4099
4100 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4101 foll-vfork.exp: New files, move here from gdb.hp.
4102 * gdb.base/page.exp: New file, test of pagination command.
4103
4104 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4105 recursion test.
4106 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4107
4108 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4109 gdb.base/solib.exp: Fix compiler invocation process.
4110
4111 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4112 HP-UX 11, turn off overload resolution explicitly.
4113 * gdb.base/commands.exp: Set argument list explicitly, add
4114 watchpoint test.
4115 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4116 them work.
4117 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4118 expressions properly.
4119 * gdb.base/corefile.exp: Loosen the match slightly.
4120 * gdb.base/default.exp: Allow "Error accessing memory" message
4121 also.
4122 * gdb.base/display.exp: Skip over x/0 j if PA64.
4123 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4124 * gdb.base/interrupt.exp: Ditto.
4125 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4126 in use.
4127 * gdb.base/list.exp: Add xfails for HP-UX.
4128 * gdb.base/long_long.exp: Refine some of the numeric matches.
4129 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4130 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4131 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4132 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4133 * gdb.base/ptype.exp: Succeed on more varieties of output.
4134 * gdb.base/scope.exp: Add xfails for HP-UX.
4135 * gdb.base/sect-cmd.exp: Add more cases.
4136 * gdb.base/setvar.exp: Add xfails for HP-UX.
4137 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4138 * gdb.base/signals.exp: Match on void symbolically.
4139 * gdb.base/step-test.exp: Add case for PA64.
4140 * gdb.base/term.exp: Add exit and restart.
4141 * gdb.base/twice.exp: Clean up after self.
4142 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4143 * gdb.base/whatis.exp: Allow more ways to pass tests.
4144
4145 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4146 no longer useful.
4147
4148 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4149
4150 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4151 list of patterns.
4152 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4153 print_double_array(double_array)", "continuing to breakpoint
4154 1018", "print print_double_array(array_d)" and "continuing to
4155 1034" tests.
4156
4157 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4158
4159 * Makefile.in: Add empty html and install-html targets.
4160
4161 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4162
4163 * config/mt-*: Remove, these haven't been used since 1996.
4164
4165 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4166
4167 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4168 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4169 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4170
4171 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4172
4173 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4174 simpler match case for the ptype of the big class.
4175
4176 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4177
4178 * gdb.exp: Fix test for gdb_prompt existence.
4179
4180 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4181
4182 * gdb.exp (gdb_test): Add fail after calls to perror.
4183
4184 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4185
4186 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4187
4188 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4189
4190 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4191
4192 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4193
4194 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4195 malloc() is linked in.
4196
4197 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4198
4199 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4200 step at end.
4201
4202 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4203
4204 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4205
4206 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4207
4208 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4209
4210 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4211 * gdb.base/mips_pro.exp: Likewise.
4212
4213 1999-06-02 Keith Seitz <keiths@cygnus.com>
4214
4215 * gdb.c++/templates.cc: Change all "new" operators to throw
4216 an exception.
4217 * gdb.c++/cplusfuncs.cc: Likewise.
4218
4219 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4220
4221 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4222
4223 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4224 * gdb.base/ending-run.exp: When stepping out of main, accept a
4225 step into an arbitrary assembler file.
4226
4227 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4228
4229 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
4230 "breakpoint-invalid" to be printed.
4231 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
4232 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4233 * gdb.base/annota2.cc: Initialize a.x to 0.
4234
4235 1999-05-17 Keith Seitz <keiths@cygnus.com>
4236
4237 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4238 when "skip_float_tests" set.
4239 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4240 "print print_ten_doubles", and "step into print_long_arg_list".
4241 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4242 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4243 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4244 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4245 "skip_float_tests" is set.
4246 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4247 when "skip_float_tests" set.
4248
4249 1999-05-06 Keith Seitz <keiths@cygnus.com>
4250
4251 * gdb.base/annota2.cc: Include stdio.h.
4252
4253 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4254
4255 * gdb.base/crossload.exp: Remove, this has been disabled ever
4256 since BFD stopped including all targets, and cross-GDB gets
4257 plenty of testing anyway.
4258 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4259 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4260 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4261 * gdb.base/README: Remove, was doc for this.
4262 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4263 needed.
4264
4265 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4266
4267 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4268 output.
4269
4270 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4271 * gdb.base/annota2.exp: New file. More annotation tests.
4272 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4273 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4274
4275 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
4276
4277 * config/cfdbug.exp: New file.
4278
4279 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4280
4281 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4282 Marcus Daniel's and Dale Hawkins's demangler crashes.
4283
4284 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4285 test_lucid_style_demangling, test_arm_style_demangling,
4286 test_hp_style_demangling): Try Tom Tromey's core-dumping
4287 identifier under each demangling style.
4288
4289 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4290
4291 * gdb.c++/demangle.exp: Include the current demangling style
4292 in all test names.
4293 (current_demangling_style): New global variable.
4294 (set_demangling_style, test_demangling_core, test_demangling,
4295 test_demangling_exact): New functions.
4296 (test_gnu_style_demangling, test_lucid_style_demangling,
4297 test_arm_style_demangling, test_hp_style_demangling): Use those,
4298 instead of calling gdb_test and gdb_test_exact directly.
4299 (catch_demangling_errors): New function, which reports errors
4300 signalled by the demangling test functions in an orderly way.
4301 (do_tests): Use catch_demangling_errors.
4302
4303 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4304
4305 * gdb.base/signals.exp (test_handle_all_print): Use () for
4306 grouping in expressions, not {}.
4307
4308 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4309 initialized yet.
4310
4311 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4312
4313 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4314 are listed.
4315
4316 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4317
4318 * gdb.stabs/weird.exp: Test for CC being defined before
4319 looking at its value.
4320
4321 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4322
4323 * gdb.base/call-ar-st.exp: Remove stray '#'.
4324 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4325 "short int" and "long int".
4326 * gdb.c++/overload.cc: Cast the string added in the previous
4327 change, to mollify finicky HP compiler.
4328 * gdb.hp/reg-test.exp (testfile): Fix file name.
4329 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
4330
4331 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4332 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4333 alternate form of enum ptype.
4334
4335 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4336
4337 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4338 * gdb.hp/*.exp: Change all to run compiler probe only after
4339 passing skip_hp_tests, so as not to waste time on guaranteed
4340 failure.
4341
4342 * gdb.c++/overload.cc: Pass string instead of char addr, always
4343 init ccpfoo.
4344 * gdb.c++/templates.cc: Fix syntax error.
4345
4346 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4347
4348 * gdb.base/commands.exp: Add test for correct position of '>'
4349 when issuing the 'commands' command after a 'while' or 'if'
4350 command.
4351
4352 1999-03-18 James Ingham <jingham@cygnus.com>
4353
4354 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4355
4356 * gdb.c++/method.exp: It was testing an uninitialized int on the
4357 stack and assuming it was positive.
4358
4359 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4360
4361 * gdb.base/step-test.exp: Catch a case where finish is broken and
4362 keep it from killing the rest of the tests.
4363 Use gdb_continue_to_end.
4364
4365 * gdb.base/sigall.exp: use gdb_continue_to_end.
4366
4367 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4368
4369 * gdb.base/display.exp: use runto_main, not run.
4370
4371 * gdb.base/default.exp: Check for the current error message in the
4372 r abbreviation test.
4373 Add strongarm to the targets that know info float.
4374
4375 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
4376 run which doesn't work with monitors.
4377
4378 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4379
4380 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4381
4382 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
4383 program. Traps the case (in Cygmon) when the program never really
4384 exits. Same as Mark's continue_to_exit, but I had put it in a lot
4385 more places, so I used my name. Sorry Mark...
4386
4387 * config/monitor.exp (gdb_target_monitor): added another
4388 target_info parameter: remotebinarydownload. This will set the
4389 remotebinarydownload flag if this is causing some boards trouble.
4390
4391 1999-03-18 Mark Salter <msalter@cygnus.com>
4392
4393 * lib/gdb.exp (continue_to_exit): New function.
4394
4395 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4396 * gdb.base/ending-run.exp: Ditto.
4397 * gdb.base/step-test.exp: Ditto.
4398
4399 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4400
4401 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4402 (suggested by Art Haas <ahaas@neosoft.com>).
4403
4404 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4405
4406 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4407
4408 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4409
4410 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4411 descriptions of types (short unsigned int vs unsigned short, etc).
4412
4413 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4414
4415 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4416 a call to strlen; sometimes we do have sources.
4417
4418 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4419
4420 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4421 character, so GDB won't print garbage after its end.
4422
4423 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4424 breakpoint there instead. Sometimes GCC emits memcpy to handle
4425 the large structures being passed by value, so we step into that
4426 instead of sum_array_print, which obscures what we're really testing.
4427 * gdb.base/step-test.exp: However, we do want a test that notices
4428 the bizarre steps into memcpy, so do that here. Add check for
4429 stepping into function calls that pass large structures by value.
4430 ("Is that a noun clause, or are you just happy to see me?")
4431 Remove all references to specific line numbers.
4432 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4433 New type and function.
4434 (main): Call large_struct_by_value, passing it a large struct by value.
4435 * lib/gdb.exp (gdb_get_line_number): New function.
4436
4437 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4438 more portable.
4439
4440 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4441
4442 * lib/gdb.exp: Doc fixes.
4443
4444 1999-03-05 Nick Clifton <nickc@cygnus.com>
4445
4446 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
4447
4448 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4449
4450 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4451 commands. They're not germane to this test, and they don't work
4452 that way on remote targets.
4453
4454 1999-03-01 James Ingham <jingham@cygnus.com>
4455
4456 * Changelog entries merged over from gdb development branch.
4457
4458 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4459
4460 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4461 for outputting results of test run.
4462
4463 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
4464
4465 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
4466
4467 1999-02-25 Felix Lee <flee@cygnus.com>
4468
4469 * lib/gdb.exp (debug_format): initialize
4470
4471 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4472
4473 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4474 * gdb.base/call-rt-st.c: Ditto.
4475
4476 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4477
4478 * gdb.threads/pthreads.exp (horiz): New variable.
4479 (test_startup): Fix regexps that capture thread numbers.
4480
4481 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4482
4483 * gdb.base/smoke.exp: Disambiguate two test case names (both
4484 called ``print'').
4485
4486 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4487
4488 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4489 compilation.
4490
4491 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4492
4493 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4494 actual output formatting.
4495 * gdb.base/smoke.exp: GDB removes leading 0's.
4496 * gdb.base/volatile.exp: Don't check type of remuneration;
4497 that variable is no longer defined in constvars.c.
4498 * gdb.base/step-test.c (main): Exit with explicit exit code.
4499 * gdb.base/step-test.exp: Remove two nexti checks--they are
4500 not portable.
4501
4502 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4503
4504 * gdb.base/help.exp ("help delete display"): Fix test to match
4505 gdb's output.
4506
4507 * gdb.base/long_long.c (known_types): Initialize values to zero.
4508 * gdb.base/long_long.exp: Step one more line
4509 so 'dec' is initialized in "get to known place". GDB removes
4510 leading zeros. Explicitly ask for hex formatting. Use
4511 unique test case names.
4512
4513 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4514
4515 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
4516
4517 * gdb.c++/method.exp: Add missing close brace.
4518
4519 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4520
4521 * gdb.base/maint.exp: Use 'set height 0' to disable page
4522 prompting, not 'set height 400'.
4523
4524 Fix a bunch of timeouts.
4525 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4526 four separate tests, so expect doesn't take forever to match a ton
4527 of text against a regexp with lots of .* forms.
4528 ("maint print psymbols", "maint print symbols"): Make some of
4529 these greps more selective, so that expect doesn't try to wade
4530 through huge piles of output and time out.
4531
4532 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4533
4534 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4535 tests: one which doesn't expect shlib events to be reported, and
4536 another which does, but is XFAIL for all platforms other than
4537 HP/UX.
4538
4539 * gdb.base/break.exp: Teach the test suite that the `catch
4540 fork', `catch vfork', and `catch exec' commands produce error
4541 messages on platforms that don't provide these features.
4542
4543 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4544
4545 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4546 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4547 (shortening names from solib_threshold.exp etc), won't run on
4548 anything but HP-UX for the foreseeable future.
4549 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4550 reflect move.
4551
4552 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4553
4554 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4555 gdb.trace/Makefile.in (clean): Remove all test executables.
4556
4557 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4558
4559 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4560 successfully re-sets breakpoints in shared libraries.
4561 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4562
4563 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4564
4565 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4566 and compiled w/o GCC.
4567
4568 * gdb.hp/watch-cmd.exp: ditto.
4569
4570 * gdb.hp/watch-hp.exp: ditto.
4571
4572 * gdb.hp/xdb1.exp: ditto.
4573
4574 * gdb.hp/xdb2.exp: ditto.
4575
4576 * gdb.hp/dbx.exp: ditto.
4577
4578 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4579
4580 * constvars.c: Remove C++-isms.
4581 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4582 with GCC.
4583
4584 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4585
4586 The following changes are part of the HP merge.
4587
4588 * gdb.base/break.exp: new tests to verify that catchpoints for
4589 fork, vfork, and exec don't trigger inappropriately.
4590
4591 * gdb.base/opaque.exp: compile one file at a time, then link.
4592
4593 * gdb.base/signals.exp: be more restrictive about which hppa
4594 systems receive a setup_xfail. new tests.
4595
4596 * gdb.base/solib_threshold.build: new file.
4597 * gdb.base/solib_threshold.exp: new file.
4598 * gdb.base/solib_threshold.link_opts: new file.
4599 * gdb.base/solib_threshold.mk: new file.
4600 * gdb.base/gen_solib_threshold.c: new file.
4601
4602 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4603 tests. New tests for enums inside classes.
4604
4605 * gdb.c++/compiler.cc: indicate support of template debugging.
4606
4607 * gdb.c++/demangle.exp: run hp style demangling tests.
4608
4609 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4610 tests.
4611
4612 * gdb.c++/misc.cc: changes to support new tests.
4613
4614 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4615 to support new tests.
4616
4617 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4618 gcc, then skip these tests.
4619
4620 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4621
4622 The following files are part of the HP merge; some had longer
4623 names at HP, but have been renamed to be no more than 14
4624 characters in length.
4625
4626 * gdb.hp/ambiguous.cc: new file.
4627 * gdb.hp/ambiguous.exp: new file.
4628 * gdb.hp/attach.exp: new file.
4629 * gdb.hp/attach2.exp: new file.
4630 * gdb.hp/classes-hp.exp: new file.
4631 * gdb.hp/ctti.exp: new file.
4632 * gdb.hp/ctti-add.cc: new file.
4633 * gdb.hp/ctti-add1.cc: new file.
4634 * gdb.hp/ctti-add2.cc: new file.
4635 * gdb.hp/ctti-add3.cc: new file.
4636 * gdb.hp/dbx.exp: new file.
4637 * gdb.hp/exception.cc: new file.
4638 * gdb.hp/exception.exp: new file.
4639 * gdb.hp/foll-exec.c: new file.
4640 * gdb.hp/foll-exec.exp: new file.
4641 * gdb.hp/foll-fork.c: new file.
4642 * gdb.hp/foll-fork.exp: new file.
4643 * gdb.hp/foll-vfork.c: new file.
4644 * gdb.hp/foll-vfork.exp: new file.
4645 * gdb.hp/inherit-hp.exp: new file.
4646 * gdb.hp/more-steps.exp: new file.
4647 * gdb.hp/namespace.cc: new file.
4648 * gdb.hp/namespace.exp: new file.
4649 * gdb.hp/optimize.exp: new file.
4650 * gdb.hp/pxdb.c: new file.
4651 * gdb.hp/pxdb.exp: new file.
4652 * gdb.hp/quicksort.exp: new file.
4653 * gdb.hp/reg-test.exp: new file.
4654 * gdb.hp/reg-test.s: new file.
4655 * gdb.hp/sized-enum.c: new file.
4656 * gdb.hp/sized-enum.exp: new file.
4657 * gdb.hp/start-stop.exp: new file.
4658 * gdb.hp/templ-hp.cc: new file.
4659 * gdb.hp/templ-hp.exp: new file.
4660 * gdb.hp/thr-lib.c: new file.
4661 * gdb.hp/thr-lib.exp: new file.
4662 * gdb.hp/thr-lib.h: new file.
4663 * gdb.hp/thr-liblib.c: new file.
4664 * gdb.hp/virtfun-hp.c: new file.
4665 * gdb.hp/virtfun-hp.exp: new file.
4666 * gdb.hp/watch-cmd.exp: new file.
4667 * gdb.hp/watch-hp.exp: new file.
4668 * gdb.hp/xdb1.exp: new file.
4669 * gdb.hp/xdb2.exp: new file.
4670 * gdb.hp/xdb3.exp: new file.
4671
4672 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4673
4674 The following files are part of the HP merge; some had longer
4675 names at HP, but have been renamed to be no more than 14
4676 characters in length.
4677
4678 * gdb.base/ss.h: new file.
4679 * gdb.base/call-ar-st.c: new file.
4680 * gdb.base/call-ar-st.exp: new file.
4681 * gdb.base/call-rt-st.c: new file.
4682 * gdb.base/call-rt-st-exp: new file.
4683 * gdb.base/call-strs.exp: new file.
4684 * gdb.base/ena-dis-br.exp: new file.
4685 * gdb.base/environ.exp: new file.
4686 * gdb.base/long_long.exp: new file.
4687 * gdb.base/sect-cmd.exp: new file.
4688 * gdb.base/shlib-cl2.exp: new file.
4689 * gdb.base/smoke.exp: new file.
4690 * gdb.base/so-impl-ld.c: new file.
4691 * gdb.base/so-impl-ld.exp: new file.
4692 * gdb.base/so-indr-cl.c: new file.
4693 * gdb.base/so-indr-cl.exp: new file.
4694 * gdb.base/varargs.exp: new file.
4695 * gdb.base/volatile.exp: new file.
4696 * gdb.base/whatis-exp.exp: new file.
4697 * gdb.base/display.exp: new file.
4698 * gdb.c++/derivation.exp: new file.
4699 * gdb.c++/local.exp: new file.
4700 * gdb.c++/member-ptr.exp: new file.
4701 * gdb.c++/overload.exp: new file.
4702 * gdb.c++/ovldbreak.exp: new file.
4703 * gdb.c++/ref-types.exp: new file.
4704 * gdb.c++/ref-types2.exp: new file.
4705 * gdb.c++/userdef.exp: new file.
4706
4707 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4708
4709 * gdb.base/default.exp: Reflect wording change in remote.c.
4710
4711 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
4712
4713 * gdb.base/help.exp: Update to reflect current text.
4714
4715 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4716
4717 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4718 they're stack variables and contain garbage.
4719 * gdb.c++/anon-union.exp: new file.
4720
4721 The following changes were made by David Taylor
4722 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4723 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4724 in changes by HP.
4725
4726 * gdb.base/bitops.exp: new file.
4727 * gdb.base/default.exp: change expected messages for catch and
4728 info catch tests to reflect HP merge changes.
4729 * gdb.base/enable-disable-break.exp
4730 * gdb.base/ending-run.c: new file.
4731 * gdb.base/long_long.c: new file.
4732 * gdb.base/maint.exp: new file.
4733 * gdb.base/pointers2.exp: new file.
4734 * gdb.base/shlib-call2.exp: new file.
4735 * gdb.base/solib.exp: new file.
4736 * gdb.base/step-test.c: new file.
4737 * gdb.c++/anon-union.cc: new file.
4738 * gdb.c++/local.cc: new file.
4739 * gdb.c++/member-pointer.cc: new file.
4740 * gdb.c++/method.cc: new file.
4741 * gdb.c++/ref-types.cc: new file.
4742 * gdb.c++/ref-types2.cc: new file.
4743 * gdb.c++/userdef.cc: new file.
4744
4745 * gdb.base/scope.exp: compile one file at a time, then link.
4746 * gdb.base/langs.exp: ditto.
4747 * gdb.base/list.exp: ditto.
4748
4749 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4750
4751 The following changes were made by David Taylor
4752 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4753 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4754 in changes by HP.
4755
4756 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4757 skip tests. When compiling pass c++ flag to gdb_compile.
4758 * gdb.c++/
4759
4760 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4761 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4762 (skip_hp_tests): new function.
4763 (gdb_preprocess): new function.
4764
4765 * configure.in (hpdir): decide whether to configure gdb.hp.
4766 * configure: regenerated.
4767
4768 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4769 to delete on clean.
4770 (EXECUTABLES): update to reflect new additions.
4771 * gdb.base/commands.exp: update message expected.
4772 * gdb.base/default.exp: add copyright notice.
4773 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4774 * gdb.base/help.exp: update messages to reflect current text.
4775 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4776 targets for recurse tests.
4777 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4778 skip this file.
4779
4780 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4781 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4782 compilation.
4783 * gdb.c++/misc.exp: ditto.
4784 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4785 run the tests. tell gdb_compile that it's a c++ compilation.
4786
4787 * gdb.threads/pthreads.exp: fix typo in message.
4788
4789 * gdb.base/all-bin.exp: new file.
4790 * gdb.base/arithmet.exp: new file.
4791 * gdb.base/assign.exp: new file.
4792 * gdb.base/completion.exp: new file.
4793 * gdb.base/cond-expr.exp: new file.
4794 * gdb.base/condbreak.exp: new file.
4795 * gdb.base/define.exp: new file.
4796 * gdb.base/dollar.exp: new file.
4797 * gdb.base/environment.exp: new file.
4798 * gdb.base/eval-skip.exp: new file.
4799 * gdb.base/jump.exp: new file.
4800 * gdb.base/logical.exp: new file.
4801 * gdb.base/pointers.exp: new file.
4802 * gdb.base/relational.exp: new file.
4803 * gdb.base/section_command.exp: new file.
4804 * gdb.base/whatis-expr.exp: new file.
4805
4806 * gdb.base/all-types.c: new file.
4807 * gdb.base/call-array-struct.c: new file.
4808 * gdb.base/call-return-struct.c: new file.
4809 * gdb.base/call-strings.c: new file.
4810 * gdb.base/callfuncs2.c: new file.
4811 * gdb.base/condbreak.c: new file.
4812 * gdb.base/constvars.c: new file.
4813 * gdb.base/display.c: new file.
4814 * gdb.base/int-type.c: new file.
4815 * gdb.base/jump.c: new file.
4816 * gdb.base/miscexprs.c: new file.
4817 * gdb.base/pointers.c: new file.
4818 * gdb.base/pointers2.c: new file.
4819 * gdb.base/shmain.c: new file.
4820 * gdb.base/shr1.c: new file.
4821 * gdb.base/shr2.c: new file.
4822 * gdb.base/solib.c: new file.
4823 * gdb.base/solib1.c: new file.
4824 * gdb.base/solib2.c: new file.
4825 * gdb.base/varargs.c: new file.
4826 * gdb.c++/derivation.cc: new file.
4827 * gdb.c++/overload.cc: new file.
4828 * gdb.c++/ovldbreak.cc: new file.
4829 * gdb.hp/attach.c: new file.
4830 * gdb.hp/attach2.c: new file.
4831 * gdb.hp/average.c: new file.
4832 * gdb.hp/compiler.c: new file.
4833 * gdb.hp/compiler.cc: new file.
4834 * gdb.hp/execd-program.c: new file.
4835 * gdb.hp/follow-exec.c: new file.
4836 * gdb.hp/follow-fork.c: new file.
4837 * gdb.hp/follow-vfork-and-exec.c: new file.
4838 * gdb.hp/misc-hp.cc: new file.
4839 * gdb.hp/more-steps.c: new file.
4840 * gdb.hp/optimize.c: new file.
4841 * gdb.hp/quicksort.c: new file.
4842 * gdb.hp/run-hp.c: new file.
4843 * gdb.hp/start-stop.c: new file.
4844 * gdb.hp/sum.c: new file.
4845 * gdb.hp/templates-hp.cc: new file.
4846 * gdb.hp/thread-local-in-lib.c: new file.
4847 * gdb.hp/thread-local-in-lib.h: new file.
4848 * gdb.hp/thread-local-in-lib.lib.c: new file.
4849 * gdb.hp/vforked-program.c: new file.
4850 * gdb.hp/virtfunc-hp.cc: new file.
4851 * gdb.hp/watchpoint-hp.c: new file.
4852 * gdb.hp/xdb.c: new file.
4853 * gdb.hp/xdb0.c: new file.
4854 * gdb.hp/xdb0.h: new file.
4855 * gdb.hp/xdb1.c: new file.
4856
4857 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4858
4859 The following change was made by Edith Epstein
4860 <eepstein@cygnus.com> as part of a project to merge in changes
4861 originally made by HP; HP did not create ChangeLog entries.
4862
4863 * gdb.c++/demangle.exp: changed the expected output for some
4864 ARM-style mangling -- removed second reference to datatype.
4865 For example, maint demangle __dt__11T1__pt__2_cFv
4866 T1<char>::~T1<char>(void)
4867 becomes,
4868 maint demangle __dt__11T1__pt__2_cFv
4869 T1<char>::~T1(void)
4870
4871 (test_hp_style_demangling): new hp specific demangling test cases.
4872
4873 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4874
4875 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4876 * gdb.trace/backtrace.exp: Likewise.
4877 * gdb.trace/circ.exp: Likewise.
4878 * gdb.trace/collection.exp: Likewise.
4879 * gdb.trace/deltrace.exp: Likewise.
4880 * gdb.trace/infotrace.exp: Likewise.
4881 * gdb.trace/limits.exp: Likewise.
4882 * gdb.trace/packetlen.exp: Likewise.
4883 * gdb.trace/passc-dyn.exp: Likewise.
4884 * gdb.trace/passcount.exp: Likewise.
4885 * gdb.trace/report.exp: Likewise.
4886 * gdb.trace/save-trace.exp: Likewise.
4887 * gdb.trace/tfind.exp: Likewise.
4888 * gdb.trace/tracecmd.exp: Likewise.
4889 * gdb.trace/while-dyn.exp: Likewise.
4890 * gdb.trace/while-stepping.exp: Likewise.
4891
4892 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4893
4894 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4895
4896 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4897
4898 From Brendan Kehoe:
4899 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4900 int return types.
4901
4902 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4903
4904 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4905 remote dos host testing right.
4906
4907 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4908
4909 * gdb.base/corefile.exp: remove some xfails.
4910
4911 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4912
4913 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4914 have different timestamps.
4915
4916 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4917
4918 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4919 gdb.base/default.exp: Replace "exec" with "executable".
4920
4921 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4922
4923 * gdb.base/default.exp: Change else if to elseif from previous
4924 delta.
4925
4926 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4927
4928 * gdb.base/default.exp: Add brace missing from previous delta.
4929
4930 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4931
4932 * gdb.base/default.exp: Support test for info float for all
4933 varieties of arm toolchain.
4934
4935 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
4936
4937 * gdb.trace/*.exp: remove "remote_download" command.
4938
4939 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
4940
4941 * gdb.trace/*.exp: remove -gdwarf from compile.
4942
4943 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4944
4945 * gdb.trace/configure.in(AC_INIT): typo
4946 * gdb.trace/configure: regenerated
4947
4948 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
4949
4950 * config/m68k-emc.exp: New file.
4951 * lib/<emc-support.exp trace-support.exp}: New files.
4952 * configure.in: add new test directory gdb.trace.
4953 * gdb.trace/{configure configure.in Makefile.in}: New files.
4954 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4955 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4956 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4957 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4958 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4959 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4960 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
4961
4962 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
4963
4964 * gdb.c++/classes.exp: Change all regular expressions to match
4965 arbitrary combinations of newline/carriage-return, so that they
4966 will work equally well on Unix and Windows.
4967 * gdb.c++/inherit.exp: ditto.
4968 * gdb.c++/virtfunc.exp: ditto.
4969
4970 1998-08-11 Dawn Perchik <dawn@cygnus.com>
4971
4972 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4973
4974 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4975
4976 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4977 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4978 to use a0-a3/d0-d3 as needed.
4979
4980 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4981
4982 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4983 * gdb.disasm/am33.exp: Corresponding changes.
4984
4985 1998-07-11 Felix Lee <flee@cygnus.com>
4986
4987 * gdb.base/callfuncs.exp: add cmp10 test.
4988 * gdb.base/callfuncs.c (cmp10): new function.
4989
4990 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4991
4992 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
4993 into two parts to get around a synchronization problem in expect.
4994
4995 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4996
4997 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4998
4999 * configure.in: Add options for gdbtk testsuite.
5000
5001 * configure: Regenerate.
5002
5003 * gdb.gdbtk: New directory to hold gdbtk tests.
5004
5005 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5006
5007 * gdb.fortran/types.exp: Escape brackets in expect patterns
5008 for test_float_literal_types_accepted tests.
5009 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5010 before run test.
5011
5012 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5013
5014 * am33.exp: Just compile, do not link the testcase.
5015 * am33.s: Add ".am33" pseudoop to force am33 mode.
5016
5017 1998-06-25 Felix Lee <flee@cygnus.com>
5018
5019 * gdb.base/setshow.exp: make sure $pc is sane.
5020
5021 * gdb.stabs/weird.exp: split expect patterns properly.
5022
5023 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5024
5025 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5026 * gdb.disasm/am33.exp: Run it.
5027
5028 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
5029
5030 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5031 match processing (and eliminate spurious timeouts when running).
5032
5033 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
5034
5035 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5036 exception test, but conditionalize it on target [mach | gnu].
5037
5038 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
5039
5040 * gdb.base/overlays.exp: fixup compile line for linker script.
5041
5042 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5043
5044 * gdb.fortran/types.exp: don't guess at float size.
5045
5046 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5047
5048 * gdb.base/exprs.exp: delete test that depends on int size.
5049
5050 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5051
5052 * config/sim.exp: Removed checks for target triplets.
5053 (gdb_target_sim): Use gdb,target_sim_options.
5054
5055 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5056
5057 * gdb.base/reread.exp: New file.
5058 * gdb.base/reread1.c: New file.
5059 * gdb.base/reread2.c: New file.
5060
5061 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5062
5063 * config/sim.exp: Use 'target sim -sparclite' when running
5064 SPARClite programs.
5065
5066 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5067
5068 * gdb.base/structs2.exp: New file.
5069 * gdb.base/structs2.c: New file.
5070
5071 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5072
5073 * gdb.asm/common.inc: New file.
5074 * gdb.asm/d10v.inc: New file.
5075 * asm-source.exp: Pass -I's to gas to find .inc files.
5076 Update line numbers in expected output.
5077 * asmsrc1.s: Rewrite.
5078 * asmsrc2.s: Rewrite.
5079 * configure.in: Create arch.inc symlink.
5080 * configure: Regenerate.
5081 * Makefile.in (distclean): Delete arch.inc.
5082
5083 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5084
5085 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5086 (t_enum_value2): ditto
5087 (t_enum_value3): ditto
5088 (main): ditto
5089 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5090
5091 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5092 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5093 change.
5094 Use gdb_test instead of send_gdb/gdb_expect sequences.
5095
5096 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5097
5098 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5099 not void.
5100
5101 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5102
5103 * gdb.base/branches.c: Code with lots of loops and
5104 subroutines. Used to test gdbs ability to single step through PC
5105 changes, especially to test mips-tdep.c:mips_next_pc
5106
5107 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5108
5109 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5110 more rigorous EGCS C++ error checking.
5111
5112 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5113
5114 * gdb.base/help.exp: Clean up `help set args' and `help show args'
5115 tests.
5116 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
5117 function when asleep.
5118 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
5119 for i*86 Linux and SVR4 signal handling problems.
5120 Remove linux xfail for `next to handler in signals_tests_1', fixed
5121 by recent infrun.c change.
5122 Limit backtrace to 10 frames to avoid timeout problems with infinite
5123 stack backtraces.
5124 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5125 target.[ch] change.
5126
5127 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5128
5129 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5130 for a newline from gdb before continuing.
5131 (default_gdb_exit): Just look for y or n.
5132 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5133 it does, fail the rests of the tests in the file.
5134
5135 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5136
5137 * config/cygmon.exp: New file.
5138
5139 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5140
5141 * gdb.base/list.exp: Fix problem with "list default lines around
5142 main" test on remote targets.
5143
5144 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5145 run test on remote targets.
5146
5147 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5148
5149 * gdb.asm: New directory.
5150 * configure.in: Configure it.
5151 * configure: Regenerate.
5152 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5153 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5154
5155 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5156
5157 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5158
5159 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
5160
5161 * gdb.base/overlays (several files): Merge the two overlay
5162 managers into one. Change variables (foox, barx, bazx, grbxx)
5163 back into ints but force them to load in their proper sections.
5164
5165 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5166
5167 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5168 on-chip insn memory and IMAP1 to upper 128k.
5169 (D10VCopy): Handle memory regions crossing 16k boundaries.
5170 (D10VCopy): Transfer data in 32 bit chunks.
5171
5172 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5173
5174 * gdb.base/overlays.c (main): Exit normally when result is
5175 correct.
5176
5177 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5178 map. Include space for printf in .text segment.
5179
5180 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5181 updated d10v memory VMA/LMA map.
5182 (D10VCopy): Call D10VTranslate.
5183
5184 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5185
5186 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5187
5188 * gdb.base/bar.c (barx, bar): Change variable to small array so
5189 that it won't be put into the .sdata - small data -
5190 section. Update reference.
5191 * gdb.base/baz.c (bazx, baz): Ditto.
5192 * gdb.base/foo.c (foox, foo): Ditto.
5193 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5194
5195 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5196 to be arrays.
5197
5198 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
5199
5200 * gdb.base/overlays.exp: fix up and get working again.
5201 Add tests for backtraces from an overlay function.
5202
5203 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5204
5205 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5206 "calling function with watchpoint enabled".
5207
5208 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5209
5210 * gdb.base/break.exp (test_next_with_recursion): Remove
5211 gdb_suppress_tests for d10v-*-*.
5212 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5213 pending review of whether it is useful or not.
5214
5215 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5216
5217 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5218
5219 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5220
5221 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5222 * config/dve.exp: New file to support Densan boards.
5223
5224 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5225
5226 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5227 reads and BSD.
5228
5229 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5230
5231 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5232 response.
5233
5234 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5235
5236 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5237
5238 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5239 test.
5240
5241 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5242 target_sizeof_long and target_bigendian_p.
5243 (structs_by_value, structs_by_reference): Check values according
5244 to targets word size and endianess.
5245
5246 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5247
5248 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5249 output.
5250
5251 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5252
5253 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5254 Update test of set args help to match source change.
5255
5256 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5257
5258 * gdb.base/default.exp: Expect help system output to be in
5259 alphabetical order.
5260 * gdb.base/help.exp: Ditto.
5261
5262 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5263
5264 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5265 "i*86-pc-linux-gnu*".
5266 * gdb.base/interrupt.exp: Ditto.
5267 * gdb.base/corefile.exp: Ditto.
5268
5269 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5270 define vxworks when building the testcase.
5271
5272 * gdb.base/ptype.exp: Fix testnames to be unique.
5273 * gdb.base/radix.exp: Ditto.
5274 * gdb.base/term.exp: Ditto.
5275 * gdb.base/whatis.exp: Ditto.
5276 * gdb.c++/classes.exp: Ditto.
5277
5278 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5279
5280 * gdb.base/callfuncs.exp: Fix indentation.
5281
5282 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5283 suppress_flag has been set.
5284 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5285 target feature.
5286
5287 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5288
5289 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5290 the testcase.
5291
5292 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5293 set_debug_traps() and breakpoint().
5294 * gdb.c++/misc.cc (main): Ditto.
5295 * gdb.c++/templates.cc (main): Ditto.
5296 * gdb.c++/virtfunc.cc (main): Ditto.
5297
5298 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5299
5300 * lib/gdb.exp(gdb_step_for_stub): New function.
5301 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5302 exists, reload the executable and do a "continue" instead of
5303 doing a jump.
5304 (runto_main): Use gdb_step_for_stub.
5305
5306 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5307 tests to have unique names.
5308 * gdb.base/callfuncs.exp: Ditto.
5309 * gdb.base/commands.exp: Ditto.
5310 * gdb.base/default.exp: Ditto.
5311 * gdb.base/help.exp: Ditto.
5312 * gdb.base/list.exp: Ditto.
5313 * gdb.base/opaque.exp: Ditto.
5314 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5315 similar tests.
5316
5317 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5318 * gdb.c++/cplusfuncs.cc: Ditto.
5319 * gdb.c++/virtfunc.cc: Ditto.
5320
5321 * config/monitor.exp: Keep track of the last file we saw, rather
5322 than trying to get the info from gdb.
5323
5324 * gdb.fortran/types.exp: Move comment to previous line.
5325
5326 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5327
5328 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5329 target mode.
5330
5331 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5332
5333 From Bob Manson:
5334 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5335 string from GDB when it connects.
5336
5337 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5338
5339 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5340
5341 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5342 if we can't get a debug format from GDB (we may be testing an
5343 older GDB). Use a 10 second timeout when checking for the format.
5344
5345 * gdb.stabs/weird.exp: Fix quoting.
5346
5347 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5348
5349 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5350
5351 * config/arm-ice.exp: New file.
5352
5353 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5354
5355 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5356 until it has been modified to work with the new testsuite.
5357
5358 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
5359 testcase won't compile, cause all of the testcases in the file to
5360 fail instead.
5361
5362 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5363 (gdb_clear_suppressed): New procedure.
5364 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5365 it contains a positive value.
5366
5367 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5368
5369 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5370
5371 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5372
5373 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5374
5375 * lib/gdb.exp (setup_xfail_format): New function.
5376 (get_debug_format): New function to get debug format.
5377 (debug_format): New global variable to hold last value set
5378 by get_debug_format.
5379 * gdb.base/list.exp: Call get_debug_format and expect some
5380 tests to fail for DWARF 1 and COFF formats.
5381 * gdb.c++/ptype.exp: Ditto.
5382 * gdb.c++/classes.exp: Ditto.
5383 * gdb.c++/cplusfuncs.exp: Ditto.
5384 * gdb.c++/inherit.exp: Ditto.
5385 * gdb.c++/templates.exp: Ditto.
5386 * gdb.c++/virtfunc.exp: Ditto.
5387
5388 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5389
5390 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5391 host doesn't have a currently-open connection.
5392
5393 * config/sparclet.exp: Cleanups and fixes to make it generic for
5394 any gdb stub target. Handle cases where gdb doesn't respond when
5395 interrupted in a sane fashion.
5396
5397 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5398 same thing in a totally different way.
5399
5400 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5401 setting "timeout".
5402 (gdb_start): We set the global gdb_prompt variable in
5403 default_gdb_init now.
5404
5405 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5406
5407 * gdb.base/printcmds.exp: Fix "check for floating addition"
5408 regexp to accept results within approx +/- .01 of exact value.
5409 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5410
5411 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5412
5413 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5414 properly.
5415 (gdb_expect): Add optional timeout parameter, and add timeout
5416 value to various calls.
5417 (gdb_suppress_tests): Only give one warning message per group.
5418
5419 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5420
5421 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5422 global variables. Handle getting a value for $timeout more
5423 gracefully.
5424
5425 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5426
5427 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5428 initialize.
5429 (default_gdb_init): New procedure; allow gdb_init to be overridden
5430 by a target configuration file.
5431 (gdb_expect): Pass the timeout to remote_expect.
5432
5433 * config/monitor.exp(gdb_load): Fix typo in regexp.
5434
5435 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5436
5437 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5438
5439 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5440
5441 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5442 here. Call gdb_target_exec before rebooting the target, to make
5443 sure the connection to the target is closed.
5444 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5445 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5446 Also detect "Timeout reading from remote" error.
5447
5448 * config/gdbserver.exp: Pass the executable being loaded to
5449 gdb_target_monitor. Don't call gdb_file_cmd here; let
5450 gdb_target_monitor do it.
5451
5452 * gdb.disasm/hppa.exp: Don't use exec_output.
5453
5454 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5455
5456 * gdb.base/list.exp: If we're debugging a non-native target,
5457 try to set the pc register to point to the start of the
5458 program before doing the first list command.
5459
5460 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5461 test_calls after restarting.
5462
5463 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5464 reloading.
5465
5466 * gdb.base/watchpoint.exp: Fix typo.
5467
5468 * gdb.base/setshow.exp: Check for use_gdb_stub.
5469
5470 * gdb.base/break.exp: Fix continue until exit test for the gdb
5471 stub case.
5472 * gdb.base/langs.exp: Ditto.
5473
5474 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5475 gdb_load_offset. If we weren't given a file to load, figure out
5476 what the current file is and use it.
5477
5478 * config/i386-bozo.exp: New file.
5479
5480 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5481
5482 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5483 feature.
5484
5485 * config/proelf.exp: New entry.
5486
5487 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5488
5489 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5490 of regexps.
5491
5492 * gdb.base/watchpoint.exp: Don't run the test_stepping
5493 tests if gdb can't call functions on the target.
5494
5495 * gdb.base/setshow.exp: Don't run the set prompt tests if
5496 the board has gdb_prompt set.
5497
5498 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5499
5500 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5501 * gdb.base/commands.exp: Likewise.
5502 * gdb.base/setshow.exp: Likewise.
5503
5504 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5505
5506 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5507 feature.
5508
5509 * config/i960.exp: New file.
5510
5511 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5512
5513 * gdb.base/funcargs.exp: Check for gdb,short_int target
5514 feature instead of looking for explicit target triplets.
5515
5516 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
5517
5518 * gdb.base/printcmds.exp: add a couple more tests a la
5519 "p 123DEADBEEF", to check parse_number.
5520 * top.c: change "to enable to enable" to "to enable" in a couple
5521 of help strings.
5522
5523 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5524
5525 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5526 on the mn10300.
5527
5528 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5529
5530 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5531 where the test executable is run with explicit args.
5532 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5533
5534 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5535
5536 * gdb.base/run.c: Use FAKEARGV to build test executable that
5537 does not require a command line arg, since most simulators
5538 don't currently support passing such an arg into the simulated
5539 program.
5540 * gdb.base/commands.exp: Change tests to insert the proper
5541 value as the arg to the first recursive factorial call. Change
5542 compilation line to define FAKEARGV at compile time.
5543
5544 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5545
5546 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5547 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5548 function with watchpoint enabled" test.
5549
5550 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5551
5552 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5553 Don't call gdb_test when the command doesn't return to a gdb prompt.
5554
5555 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5556 "Tests restarted" messages.
5557
5558 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5559
5560 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5561
5562 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
5563
5564 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5565 for INFO SYMBOL; add help tests for OVERLAY commands.
5566 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5567 add tests for OVERLAY commands
5568 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5569 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5570 * gdb.base/sigall.c: add usestubs code frag
5571 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
5572
5573 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5574
5575 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5576 failures.
5577 (gdb_stop_suppressing_tests): Note that tests have restarted.
5578
5579 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5580
5581 * config/h8300.exp: New file.
5582
5583 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5584
5585 * gdb.base/setshow.exp: Check for the existence of a
5586 feature, not its value.
5587
5588 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5589
5590 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5591
5592 * gdb.base/scope.exp: It's now init0(), not init().
5593
5594 * gdb.base/scope0.c: For now, change init() to be init0().
5595
5596 * config/monitor.exp: Use gdb_serial in preference to serial
5597 or netport.
5598
5599 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5600 and it's not already set.
5601
5602 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5603
5604 * gdb.base/setshow.exp: Only test the run command if the target
5605 isn't using a stub and if it supports argument passing.
5606
5607 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5608
5609 * config/udi.exp(gdb_start): Make sure UDICONF is set
5610 properly before starting gdb.
5611
5612 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5613
5614 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5615 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5616 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5617
5618 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5619
5620 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5621 specialized code to reboot the board, use remote_reboot instead.
5622
5623 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5624
5625 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5626
5627 * config/monitor.exp: Make sure we disconnect from the target.
5628 Also, try a reboot/reload cycle instead of failing if the
5629 load fails.
5630
5631 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5632
5633 * gdb.base/default.exp: Don't set match_max.
5634 * gdb.base/help.exp: Ditto.
5635 * gdb.base/list.exp: Ditto.
5636 * gdb.base/signals.exp: Ditto.
5637
5638 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5639 set, use remote_ld to download the testcase instead of
5640 the GDB loader.
5641
5642 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5643
5644 * config/vr5000.exp: New file.
5645
5646 * config/monitor.exp(gdb_target_monitor): Add pattern for
5647 "Ending remote" to detect errors in connecting.
5648
5649 * gdb.base/setshow.exp: Add .* within auto language test.
5650
5651 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5652 target feature.
5653
5654 * config/monitor.exp(gdb_load): Check for a failure when loading,
5655 and reboot the board if necessary.
5656
5657 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5658 a set of tests. Remove print.* from the patterns being checked.
5659
5660 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5661
5662 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5663 refer to gdb_spawn_id.
5664
5665 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5666 longer used.
5667 * config/sparclet.exp: Ditto.
5668 * config/sparclet-old.exp: Ditto.
5669 * config/slite.exp: Ditto.
5670 * config/sim.exp: Ditto.
5671 * gdb.base/funcargs.exp: Ditto.
5672
5673 * lib/gdb.exp:Remove references to gdb_spawn_id.
5674 (gdb_expect): Move to remote.exp.
5675
5676 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5677
5678 * config/monitor.exp: Detect the "Couldn't establish connection"
5679 message from GDB.
5680
5681 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5682
5683 * gdb.base/bitfields.exp: Use runto instead of explicit
5684 gdb_run_cmd/gdb_expect sequences.
5685
5686 * gdb.base/break.exp(text_next_with_recursion): Add match for
5687 gdb_expect call.
5688
5689 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5690 We also need to handle the "A program is being debugged already"
5691 prompt from gdb. Use gdb_test to set the baud rate.
5692
5693 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5694 to 20000. Really. I mean it.
5695
5696 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5697
5698 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5699 fails. If suppress_flag is set, skip perror message about not
5700 being able to send to GDB.
5701 (send_gdb): If suppress_flag is set, don't try to send commands to
5702 GDB.
5703 (gdb_expect): If suppress_flag is set, always fail immediately.
5704 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5705 (gdb_init): Call gdb_stop_suppressing_tests.
5706 (default_gdb_exit): Ditto.
5707 (default_gdb_start): Ditto.
5708
5709 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5710 gdb_stop_suppressing_tests as appropriate.
5711 * gdb.base/break.exp: Ditto.
5712 * gdb.base/callfuncs.exp: Ditto.
5713 * gdb.base/commands.exp: Ditto.
5714 * gdb.base/exprs.exp: Ditto.
5715 * gdb.base/funcargs.exp: Ditto.
5716 * gdb.base/list.exp: Ditto.
5717 * gdb.base/recurse.exp: Ditto.
5718 * gdb.base/scope.exp: Ditto.
5719 * gdb.base/structs.exp: Ditto.
5720 * gdb.c++/inherit.exp: Ditto.
5721
5722 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5723
5724 * config/vr4300.exp: New file.
5725
5726 * gdb.*/*.exp: Call gdb_expect instead of expect.
5727
5728 * lib/gdb.exp(gdb_expect): New function.
5729
5730 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5731
5732 * lib/gdb.exp(gdb_init): New function.
5733
5734 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5735 for each individual variable set.
5736
5737 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5738 name.
5739
5740 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5741
5742 * gdb.base/scope.exp: Use gdb_test.
5743
5744 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5745 aborting; the testsuite driver will do that for us (see
5746 gdb_finish). Also, use gdb_test in a few more places.
5747
5748 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5749
5750 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5751
5752 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5753
5754 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5755 and "add_tests" are not at the same address.
5756
5757 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5758
5759 * gdb.base/ptype.exp: Use gdb_test.
5760
5761 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5762
5763 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5764 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5765 left in. No longer expect them to fail.
5766
5767 * gdb.stabs/*.mt; Deleted, no longer used.
5768 * gdb.stabs/configure.in: Remove references to target makefile
5769 frags.
5770 * gdb.stabs/configure: Rebuilt.
5771
5772 * gdb.disasm/*.mt: Deleted, no longer used.
5773 * gdb.disasm/configure.in: Remove references to target makefile
5774 frags. Use "sh3.s" as the unique filename for this directory.
5775 * gdb.disasm/configure: Rebuilt.
5776
5777 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5778 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5779 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5780
5781 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5782
5783 * config/udi.exp: Use mondfe,name instead of remote_host.
5784
5785 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5786
5787 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5788 a function with a watchpoint enabled on the mn10200.
5789
5790 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5791 before trying to create it!
5792
5793 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5794
5795 * config/vx.exp: Use hostname instead of netport.
5796
5797 * config/vxworks.exp: New file.
5798
5799 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5800
5801 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5802 gdb before assuming everything worked. Send a ^C if a timeout
5803 occurs.
5804
5805 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5806 $gdb_spawn_id directly.
5807 (gdb_run_cmd): Try _start as well as start. Use the target feature
5808 gdb,start_symbol as the symbol to start from when jumping.
5809
5810 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5811
5812 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5813 redundant) test.
5814
5815 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5816 it doesn't lose for 16bit integer systems.
5817
5818 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5819
5820 * gdb.fortran/types.exp: If the target doesn't support "double"
5821 data types, then expect "real" types to only be 4 bytes.
5822
5823 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5824 call tests if the target doesn't support inferior function calls.
5825
5826 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5827 in printf tests.
5828
5829 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5830
5831 * gdb.base/help.exp: Disable "help set", "help show", and
5832 "help support". Simplify regexp for "help stack".
5833
5834 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5835 to 60 seconds. Temporarily set match_max to 15000 around the
5836 "info copying" test.
5837
5838 * gdb.base/nodebug.exp: Don't try to do an inferior function
5839 call if the target doesn't support them.
5840 * gdb.base/printcmds.exp: Likewise.
5841 * gdb.base/setvar.exp: Likewise.
5842 * gdb.base/structs.exp: Likewise.
5843 * gdb.c++/templates.exp: Likewise.
5844 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5845
5846 * gdb.base/recurse.exp: Enable for the mn10200.
5847
5848 * configure.in: Do configure gdb.stabs directory for *-*-elf
5849 targets.
5850 * configure: Rebuilt.
5851
5852 * gdb.base/break.exp: Check for gdb,noresults before testing
5853 exit status and/or results from the target.
5854 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5855 * lib/gdb.exp: Remove old (now bogus) initialization of
5856 noinferior, noargs, noresults and nosignals.
5857
5858 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5859
5860 * config/sh.exp: New file.
5861
5862 * config/slite.exp: Try to connect multiple times to the board
5863 before rebooting. Only send a "monitor run" if need_monitor_run
5864 is set.
5865
5866 * gdb.base/break.exp: Don't do the "stub continue" test if
5867 the target has gdb_stub set.
5868
5869 * gdb.base/callfuncs.exp: Increase the timeout.
5870
5871 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5872 if the target has gdb,noinferiorio set.
5873
5874 * gdb.base/list.exp: Increase match_max to 10000 characters.
5875
5876 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5877
5878 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5879 target.
5880
5881 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5882
5883 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5884
5885 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5886 trying to delete the copy of gdb. Catch the file delete so we
5887 don't die if the delete fails; also, the file should be copied to
5888 the host, not to the build.
5889
5890 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5891
5892 * lib/gdb.exp(gdb_test): Surround the result pattern with
5893 parenthesis in case it contains multiple regexps separated
5894 with |.
5895
5896 * gdb.base/watchpoint.exp: Use gdb_test.
5897 * gdb.base/default.exp: Ditto.
5898
5899 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5900
5901 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
5902
5903 * gdb.base/scope.exp: Use gdb_test.
5904 * gdb.c++/classes.exp: Ditto.
5905 * gdb.c++/inherit.exp: Ditto.
5906
5907 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5908
5909 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5910 remote_exec instead.
5911 * gdb.base/corefile.exp: Don't be ridiculous.
5912 * gdb.base/*.c: Add missing stub invocations.
5913
5914 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5915
5916 * config/slite.exp: Miscellaneous fixes.
5917
5918 * lib/gdb.exp: Fix runto.
5919
5920 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5921 the target.
5922
5923 * gdb.base/watchpoint.exp: Fix regexp.
5924
5925 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5926 close and wait commands, as the descriptor may now be
5927 invalid. Always call "remote_close host".
5928
5929 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5930
5931 Major rewrite for testsuite revision.
5932
5933 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5934 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5935 instead of relying on spawn_id to always contain a valid
5936 spawn id.
5937 (get_compiler_info): New procedure to build the ${binfile}.ci
5938 file, instead of replicating this in N different places.
5939 (gdb_compile): New procedure.
5940
5941 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5942 appropriate arguments) instead of compile. Use gdb_test in a lot
5943 more places. Use send_gdb instead of send. Always run gdb_start
5944 at the start of a testcase, as this is no longer done magically.
5945
5946 config/*-gdb.exp: Rename without the -gdb suffix.
5947
5948 config/mips.exp: Use remote_close instead of exit_remote_shell.
5949 config/monitor.exp: Use target_info instead of looking at
5950 baud, timeout, etc.
5951 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5952
5953 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5954
5955 * gdb.c++/templates.exp (test_ptype_of_templates),
5956 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5957 Update expect patterns for destructors and assignment operators
5958 to match corresponding c-typeprint.c changes.
5959 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5960 to destructor breakpoint test, GDB should be able to set the
5961 destructor breakpoint without specifying arguments.
5962
5963 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5964
5965 * gdb.threads/pthreads.exp: Change result for failure to compile due
5966 to lack of pthreads runtime support from an error to simply an
5967 unsupported test, per dejagnu standards.
5968
5969 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5970
5971 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5972 where GDB exits to reduce pattern match time.
5973 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5974
5975 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5976
5977 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
5978
5979 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5980 * gdb.base/default.exp: ditto.
5981 * gdb.base/nodebug.exp: ditto.
5982 * gdb.base/printcmds.exp: ditto.
5983 * gdb.base/ptype.exp: ditto.
5984 * gdb.base/setvar.exp: ditto.
5985 * gdb.base/structs.exp: ditto.
5986 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5987
5988 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5989
5990 * configure, */configure: Rebuild with autoconf 2.12.
5991
5992 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5993
5994 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5995 use new i*86-pc-linux*-gnu quads.
5996 * gdb.base/corefile.exp: Ditto.
5997 * gdb.base/signals.exp: Ditto.
5998 * gdb.base/sigall.exp: Ditto.
5999 * gdb.base/interrupt.exp: Ditto.
6000
6001 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6002 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6003 RedHat 4.0.
6004
6005 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6006 linux. This allows the test case to at least compile on latest
6007 linux, but still not run due to missing the threads runtime library.
6008
6009 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6010
6011 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6012 directory to search gdb directory. Accept and step over conditional
6013 stack alignment code. Consume $prompt in failure cases.
6014 Reset timeout to $oldtimeout instead of some arbitrary value.
6015 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6016 timeout problems with infinite stack backtraces.
6017 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6018 Accept function parameters for linkfunc member.
6019
6020 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6021
6022 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6023 (CXXFLAGS): Remove, unreferenced.
6024 (B_OPTIONS): Add for -B options and add code to initialize with
6025 previous -B options and also add -B option to pick up cross compiled
6026 runtime.
6027 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6028 doing cross compiles.
6029 (target_alias): Declare global.
6030 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6031 to verify that gcc exists in build tree, and if so set CC to that
6032 gcc and to use B_OPTIONS and TARGET_INCLUDES.
6033
6034 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6035
6036 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6037 ptype test for anonymous union. Fixup testcase to match
6038 current gcc debug output.
6039
6040 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6041
6042 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6043 force argument to an unsigned long type.
6044
6045 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6046
6047 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6048 tests and anonymous union print/ptype tests.
6049 * gdb.base/list.exp (test_forward-search): Increase timeout by
6050 5 minutes for the "search extremely long line" case.
6051 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6052 completely optional and that the pass/fail messages use the command as
6053 the message if that third arg is a null string.
6054 (gdb_test_exact): Arrange that a null string pattern means match a
6055 null string output rather than any output, which might include random
6056 errors.
6057 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6058 backtrace test.
6059 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6060 always failing and failure is now exposed by gdb.exp changes.
6061
6062 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6063
6064 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6065 weren't being noted.
6066
6067 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6068
6069 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6070 * gdb.stabs/weird.exp: Remove v_comb xfails.
6071
6072 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
6073
6074 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6075 list.exp scope.exp watchpoint.exp]
6076 Make all timeout error msgs explicitly say "(timeout)".
6077
6078 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
6079
6080 * config/monitor.exp: Increase download timeout to 1000 seconds.
6081
6082 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
6083
6084 * config/m32r.exp: Increase timeout to 120 seconds.
6085
6086 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6087
6088 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6089 and accept older ordering as obsolescent gcc or gdb.
6090 * gdb.c++/templates.exp: Ditto.
6091 * gdb.c++/virtfunc.exp: Ditto.
6092
6093 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6094
6095 * gdb.base/coremaker.c: Add code to mmap some data so we
6096 can check that it ends up in the core file.
6097 * gdb.base/corefile.exp: Add test to read mmapped data
6098 from core file.
6099
6100 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
6101
6102 * config/m32r.exp: New file.
6103
6104 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6105
6106 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6107 that cflags can contains -gstabs, and work correctly for other tests.
6108
6109 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
6110
6111 * gdb.base/setshow.exp: New file, tests show and set.
6112 * gdb.base/setshow.c: New file, tests show and set.
6113 * gdb.base/help.exp: Add test for help set|show annotate.
6114 * gdb.base/default.exp: Add test for set|show annotate.
6115
6116 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6117
6118 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6119 errors unique.
6120 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6121 explicitly.
6122
6123 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6124
6125 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6126 and width commands. This is done elsewhere.
6127 * (gdb_start): Don't call gdb_start_sim here. That's already
6128 done in gdb_load. This fixes lots of failures in default.exp.
6129
6130 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6131
6132 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6133 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6134 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6135 in the same we we treat other failures (since it may be an expected
6136 condition), rather than as an error.
6137 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6138 old test format.
6139
6140 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6141
6142 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6143 (distclean maintainer-clean realclean): No need to remove files
6144 twice. Nuke the duplicates.
6145 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
6146 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
6147 Remove config.h along with other config files.
6148
6149 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6150
6151 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6152 "p func1 ()" and note that rests of tests are skipped.
6153 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6154 setup_xfails for "print func2::coremaker_local".
6155 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6156 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6157 affected by the previous run test.
6158 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6159 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6160 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6161 "pass int powerset tuple" and "pass modeless int powerset tuple".
6162 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6163 "real write 4" and "real write 8".
6164 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6165 setup_xfails for "print vs1 after tuple assign 2",
6166 "print \$i after tuple assign 2", and
6167 "print vs2 after tuple assign 2".
6168 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6169 meaningful error message and return -1 so the caller can
6170 suppress further tests and avoid a cascade of errors.
6171
6172 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6173
6174 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6175 format for printing version.
6176 * gdb.base/default.exp: Ditto.
6177 * gdb.base/interrupt.exp: Fix problem with cascade of
6178 errors if child process dies while calling a function.
6179
6180 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6181
6182 * Makefile.in (VPATH): Add
6183 * Makefile.in (Makefile, config.status): Fix rules so things get
6184 remade when necessary.
6185
6186 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6187
6188 * Makefile.in (just-check): Add path to sibling expect dir
6189 to environment variable specified by RPATH_ENVVAR.
6190
6191 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6192
6193 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6194 (just-check): Add shared library paths for libstdc++, tk,
6195 tcl, bfd, and opcodes to the environment variable specified
6196 in RPATH_ENVVAR.
6197 * configure.in: Add support to recognize --enable-shared flag
6198 and generate correct value for RPATH_ENVVAR.
6199 * configure: Regenerated with autoconf.
6200
6201 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6202
6203 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6204 include all osf versions.
6205 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6206 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6207 when target is linux. When failing to build pthreads test
6208 executable, give more meaningful message.
6209 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6210 arg for pthread_create.
6211
6212 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6213
6214 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6215 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6216 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6217 and -lpthreads (everybody else).
6218 (test_startup): Fail gracefully if threads are not supported.
6219 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6220 "p/c array_index("abcdef",2)" when not gcc compiled.
6221 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6222 "print func2::coremaker_local" when not gcc compiled.
6223 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6224 "ptype on opaque struct tagname (statically)",
6225 "ptype on opaque struct tagname (dynamically) 1", and
6226 "ptype on opaque struct tagname (dynamically) 2"
6227 for not compiled with gcc.
6228 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6229 backtrace when compiled with gcc.
6230 * lib/gdb.exp (runto_main): Return result of "runto main" rather
6231 than always return success.
6232
6233 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6234
6235 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6236
6237 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6238
6239 * gdb.base/structs.exp: Undo last change.
6240
6241 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6242
6243 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6244 encapsulate all the steps/nexts done during self test, starting
6245 at main, and makes them less sensitive to optimization issues.
6246 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6247 signal handler" test.
6248 * gdb.threads/pthreads.exp: Only run this for native configs.
6249 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6250 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6251 tests.
6252 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6253 for "runto test_calls(void)" test.
6254
6255 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6256
6257 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6258 and don't expect address info in breakpoint confirmations.
6259
6260 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6261
6262 * gdb.base/list.exp (test_forward_search): Increase timeout
6263 temporarily by 60 seconds for searching extremely long line,
6264 and then reset to old value when done. Increase expect input
6265 buffer to 10000.
6266
6267 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6268
6269 * gdb.base/list.exp (test_forward_search): Fix to handle very
6270 long source line without overflowing expect's input buffer.
6271
6272 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6273
6274 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6275 "buffer_full".
6276
6277 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6278 "buffer_full".
6279
6280 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6281 "buffer_full".
6282
6283 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6284 "buffer_full".
6285
6286 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6287
6288 * configure.in (configdirs): Add gdb.threads.
6289 * configure: Regenerated with autoconf.
6290 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6291 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6292 * gdb.threads/configure: New, generated with autoconf.
6293
6294 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6295
6296 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6297
6298 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6299
6300 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6301 each signal's status in the output of "handle all print".
6302 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6303 the \r\n sequence that immediately precedes the gdb prompt.
6304 * gdb.base/a1-selftest.exp: Save original timeout and restore
6305 after test.
6306
6307 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6308
6309 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6310 symbol.
6311
6312 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6313
6314 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6315
6316 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6317
6318 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6319 timeout by 60 seconds.
6320
6321 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6322
6323 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6324 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6325 error return.
6326
6327 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6328
6329 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6330 gdb initialization, also report how long dejagnu waited. Restore
6331 old timeout before doing error return. Temporarily increase timeout
6332 by 3 minutes to allow for slow startups over heavy NFS use.
6333
6334 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6335
6336 * lib/gdb.exp: Report timeout value for verbosity level 2.
6337 * config/gdbserver.exp: Ditto.
6338 * config/hppro.exp: Ditto.
6339 * config/mips-gdb.exp: Ditto.
6340 * config/monitor.exp: Ditto.
6341 * config/netware.exp: Ditto.
6342 * config/sim-gdb.exp: Ditto.
6343 * config/slite-gdb.exp: Ditto.
6344 * config/udi-gdb.exp: Ditto.
6345 * config/unix-gdb.exp: Ditto.
6346 * config/vx-gdb.exp: Ditto.
6347 * gdb.base/a1-selftest.exp: Ditto.
6348 * gdb.base/a2-run.exp: Ditto.
6349 * gdb.base/break.exp: Ditto.
6350 * gdb.base/corefile.exp: Ditto.
6351 * gdb.base/list.exp: Ditto.
6352 * gdb.base/recurse.exp: Ditto.
6353 * gdb.base/scope.exp: Ditto.
6354 * gdb.base/signals.exp: Ditto.
6355
6356 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6357
6358 * gdb.threads/Makefile.in (docdir): Removed.
6359
6360 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6361
6362 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
6363 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
6364 @srcdir@.
6365 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
6366 autoconf 2.5 or higher.
6367 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6368
6369 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6370
6371 * configure: Regenerated.
6372 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6373 avoid name clashes with SunOS headers.
6374
6375 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6376
6377 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6378
6379 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6380
6381 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6382 prototype information ends up in the compiler info file.
6383
6384 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6385
6386 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6387 attempting to regenerate it. Eliminate use of a temporary file
6388 and just generate the info file directly. Source it immediately,
6389 for consistency of use.
6390 * gdb.base/corefile.exp: Ditto
6391 * gdb.base/exprs.exp: Ditto.
6392 * gdb.base/funcargs.exp: Ditto.
6393 * gdb.base/langs.exp: Ditto.
6394 * gdb.base/list.exp: Ditto.
6395 * gdb.base/mips_pro.exp: Ditto.
6396 * gdb.base/nodebug.exp: Ditto.
6397 * gdb.base/opaque.exp: Ditto.
6398 * gdb.base/ptype.exp: Ditto.
6399 * gdb.base/scope.exp: Ditto.
6400 * gdb.base/setvar.exp: Ditto.
6401 * gdb.base/signals.exp: Ditto.
6402 * gdb.base/whatis.exp: Ditto.
6403 * gdb.c++/templates.exp: Ditto.
6404 * gdb.c++/virtfunc.exp: Ditto.
6405 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6406 whether or not to add -lstdc++ to the compile command line args.
6407
6408 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6409
6410 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6411 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6412 Increase timeout, a lot of single stepping might be needed if the
6413 target has no hardware watchpoints.
6414
6415 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6416
6417 * gdb.base/break.exp: Ignore compiler warnings when compiling
6418 break.c.
6419 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6420 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6421 from remote-sim.
6422 * gdb.base/exprs.exp: Add h8300 xfails.
6423 * gdb.base/funcargs.exp: Likewise.
6424 * gdb.base/nodebug.exp: Likewise.
6425 * gdb.base/printcmds.exp: Likewise.
6426 * gdb.base/ptype.exp: Likewise.
6427 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6428 h8300 xfails.
6429 * gdb.base/return.exp: Handle float/double precision problems
6430 on the h8300.
6431 * gdb.base/funcargs.c: Explicitly make last constant argument to
6432 call_after_alloca_subr an unsigned long type.
6433 * gdb.base/return.c: Include stdio.h.
6434
6435 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6436
6437 * config/abug.exp: New file for the older Motorola Bug monitor
6438 that runs on the mvme13x series VME boards.
6439 * config/monitor.exp: Use the new config array for target settings
6440 if they exist.
6441
6442 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6443
6444 * sim-gdb.exp: Make the SH simulator allocate less space when
6445 it is targeted.
6446
6447 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6448
6449 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6450 test.
6451
6452 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6453
6454 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6455 "rs6000-*-*" for "list function in include file" when gcc compiled.
6456 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6457 for "p ctable1[120]".
6458 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6459 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6460 Remove setup_xfail for "rs6000-*-*" for
6461 "print 'scope0.c'::filelocal before run".
6462 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6463 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6464 since some compilers don't allow both options to be given
6465 on the same command line. Create object file and move it.
6466
6467 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6468
6469 * gdb.base/corefile.exp: Always regenerate the core file, since
6470 we always regenerate the coremaker program. Detect special case
6471 where registers cannot be read from core file.
6472
6473 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6474
6475 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6476 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6477 * gdb.c++/templates.exp: Only match on basename of file since
6478 some formats like xcoff don't encode directory information.
6479 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6480 and rs6000 AIX xcoff targets.
6481 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6482 * configure: Regenerate.
6483 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6484 here, rather than in distclean.
6485
6486 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6487
6488 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6489 defined, and use it to compile the test case with -O2. The
6490 native compilation still uses no optimization.
6491 * gdb.base/mips_pro.c: Remove inline assembly code since
6492 it is compiled PIC by default, which results in assembler
6493 warnings that make the testsuite think the compilation
6494 was unsuccessful.
6495
6496 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6497
6498 * gdb.c++/misc.exp: Add note to message for
6499 "print s.a for foo struct" that this is a known gcc 2.7.2
6500 and earlier bug.
6501
6502 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6503
6504 * gdb.base/break.exp: Fix pattern for matching "Delete all
6505 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6506 setup_xfail for deleting all breakpoints test. Fix various
6507 timeout messages to include "(timeout)".
6508 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6509 for "p t_float_values2(3.14159,float_val2)".
6510 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6511 for "continue to call2g" when gcc compiled.
6512 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6513 "up to foo in langs.exp", "show language at foo in langs.exp",
6514 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6515 and "show language at fsub in langs.exp".
6516 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6517 "list line 1 in include file", "list message for lines past EOF",
6518 "list function in include file", "list list0.h:foo", and
6519 "list filename:function; nonexistant function".
6520 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6521 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6522 and "ptype t_char_array" to be for native cc only.
6523
6524 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6525
6526 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
6527 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6528 "print func2::coremaker_local", and "backtrace in corefile.exp".
6529
6530 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6531
6532 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6533 "bt in signals.exp". This problem only appears when running
6534 the testsuite, and then only intermittently.
6535
6536 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6537
6538 * gdb.base/return.exp (return_tests): Differentiate between
6539 two tests of continuing.
6540
6541 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6542
6543 * */Makefile.in (maintainer-clean): Remove config.log.
6544 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6545 * gdb.c++/Makefile.in (PROGS): Add inherit.
6546 (clean): Remove *.ci.
6547
6548 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6549
6550 * gdb.c++/misc.cc: Add test code from Mike Stump.
6551 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6552
6553 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6554
6555 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6556 to "alpha-*-osf2*" and add comment.
6557 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6558 setup_xfail for "step over execarg initialization" and
6559 "step over corearg initialization".
6560 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6561 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6562 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6563 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6564 "print func2::coremaker_local", and "backtrace in corefile.exp".
6565 * gdb.base/signals.exp: Build and source signals.ci.
6566 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6567 to be for gcc only.
6568 * lib/gdb.exp: Move verbose statements outside conditionals.
6569
6570 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6571
6572 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6573 Feb 3 procfs.c change.
6574
6575 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6576
6577 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6578
6579 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6580
6581 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6582 from dejagnu's apparent default of 10 seconds, which gives random
6583 results when running the tests over NFS on moderately loaded systems.
6584 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6585
6586 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6587
6588 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6589 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6590 result reports.
6591
6592 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6593
6594 * configure.in (CY_AC_PATH_TCLH): Remove.
6595 * configure: Regenerate.
6596
6597 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6598
6599 * gdb.c++/Makefile.in (clean): Add missing '{'.
6600
6601 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6602
6603 * lib/gdb.exp: Provide a default value for noinferior.
6604
6605 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6606 Load libgloss.exp.
6607
6608 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6609
6610 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6611 the executable, not the .o to run the tests from.
6612
6613 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6614
6615 * gdb.base/break.exp: Don't test for program exit or exit status
6616 if $noresults if nonzero.
6617 * gdb.base/langs.exp: Likewise.
6618 * gdb.base/watchpoint.exp: Likewise.
6619
6620 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6621 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6622 trying to compile the testcase.
6623
6624 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6625
6626 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6627 * gdb.base/signals.exp (continue to handler): Likewise.
6628
6629 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6630
6631 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6632
6633 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6634
6635 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6636
6637 * gdb.base/corefile.exp: Recognize "not found" as failure
6638 when trying to determine if a core file was generated.
6639 If no core file was generate the first time, try again without
6640 the ulimit -c to work around braindamaged shells.
6641
6642 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6643
6644 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6645 [] tests with "test" and enclose string in quotes.
6646 * gdb.stabs/configure: Rebuild
6647
6648 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6649
6650 Changes in sync with expect:
6651 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6652 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6653 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6654 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6655 argument to AC_REQUIRE.
6656 * configure: Regenerated.
6657
6658 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6659
6660 * gdb.base/corefile.exp: When generating a core, discard any
6661 error messages about ulimit not found and the "core dumped"
6662 message from the shell that runs the coredumper.
6663
6664 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6665
6666 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6667
6668 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6669 which sed script to run. Expect failure for v_comb test
6670 on PA targets too.
6671
6672 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6673
6674 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6675 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6676
6677 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6678
6679 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6680 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6681 "sparc-sun-solaris*" xfails for "p v_comb".
6682 * lib/gdb.exp (default_gdb_start): Fix typo.
6683 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6684 messages to not include the full program name that caused
6685 the core dump since some systems (such as solaris) apparently
6686 truncate this path to about 80 characters.
6687 When generating a core file first try increasing the core file
6688 size limit to unlimited since some systems may default it to
6689 zero, and it is harmless to try it. Move the test for failing
6690 to generate a core file to where it will actually get executed.
6691 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6692 new gdb result from g++ debug info improvements and make old
6693 pattern obsolescent. Also account for size_t differences
6694 (may be int or long).
6695 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6696 initialization before function call is placed in the delay slot
6697 and thus appears to be skipped over by commands such as "next".
6698
6699 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6700
6701 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6702
6703 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6704
6705 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6706 input source file; fix code to compile test to deal with this
6707 convention.
6708 * gdb.c++/*.exp: Likewise.
6709
6710 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6711
6712 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6713 "bt in signals.exp".
6714
6715 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6716
6717 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6718 "step over execarg initialization" and
6719 "step over corearg initialization".
6720
6721 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6722
6723 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6724 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6725
6726 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6727
6728 From Rob Savoye (rob@poseidon.cygnus.com)
6729 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6730 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6731 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6732 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6733 configure.in}: Major reworking for autoconfig.
6734 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6735 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6736 New files.
6737 * config/unix-gdb.exp: Make GDB global.
6738 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6739 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6740 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6741 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6742 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6743 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6744 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6745 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6746 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6747 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6748 pr-8136.exp, result.exp, string.exp, tuples.exp},
6749 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6750 to returns as necessary, arrange for test to compile own testcase
6751 executable.
6752 * lib/gdb.exp: Changes for testsuite to compile own test cases.
6753
6754 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6755
6756 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6757 clear_xfail at end of test which might not call either pass or fail.
6758 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6759 "backtrace through signal handler".
6760
6761 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6762
6763 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6764 continuing from a job control stop signal.
6765 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6766
6767 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6768
6769 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6770 * gdb.base/corefile.exp: Likewise.
6771 * gdb.base/funcargs.exp: Likewise.
6772
6773 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6774
6775 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6776 * config/monitor.exp: Add support for setting baud rate.
6777
6778 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6779
6780 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6781 i*86-*-linux* xfails for "backtrace through signal handler".
6782 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6783 "print func2::coremaker_local".
6784 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6785 alpha-dec-osf2* xfail for
6786 "delete all breakpoints when none".
6787
6788 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6789
6790 * gdb.base/break.exp: Change test that deletes all breakpoints
6791 when no user breakpoints are installed. A post 4.15 change
6792 causes gdb to no longer prompt in this case.
6793
6794 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6795
6796 * gdb.base/return.exp (return_tests): Change xfail for test
6797 "correct value returned double test" to stop xfailing at
6798 Solaris 2.5. Apparently the bug has been fixed.
6799
6800 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6801
6802 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6803 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6804
6805 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6806
6807 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6808 * gdb.disasm/hppa.s: Corresponding changes.
6809
6810 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6811
6812 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6813 makefile fragment.
6814 * config/mt-hpux: Deleted.
6815
6816 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6817
6818 * Many files: When warning about suppressed tests due to a
6819 nonexistant test binary, avoid incrementing the warning count.
6820
6821 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6822
6823 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
6824
6825 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6826
6827 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6828 "sparc-*-solaris2*".
6829
6830 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6831
6832 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6833 Add global and local variables and initialize them.
6834 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6835 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6836 extracts the file name and terminating signal from the core file.
6837 * TODO: Remove note about tests for correct mapping of corefile.
6838 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6839 from optimizing it away.
6840 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6841 handles common blocks.
6842
6843 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6844
6845 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6846 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6847
6848 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6849
6850 * Makefile.in (maintainer-clean): New target, synonym for
6851 realclean.
6852 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6853 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6854 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6855 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6856 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6857 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6858
6859 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6860
6861 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6862 xfails when not gcc compiled for "print foo::funclocal".
6863 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6864 "print foo::funclocal at foo",
6865 "print 'scope1.c'::foo::funclocal at foo",
6866 "print foo::funclocal_bss at foo",
6867 "print 'scope1.c'::foo::funclocal_bss at foo",
6868 "print foo::funclocal_ro at foo",
6869 "print 'scope1.c'::foo::funclocal_ro at foo",
6870 "print bar::funclocal at foo" and
6871 "print 'scope1.c'::bar::funclocal at foo".
6872 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6873 gcc compiled for "print foo::funclocal at bar".
6874 Expand all messages to ensure that they identify that
6875 the test is at bar().
6876 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6877 gcc compiled for:
6878 "ptype on opaque struct pointer (statically)",
6879 "ptype on opaque struct tagname (statically)",
6880 "ptype on opaque struct pointer (dynamically) 1",
6881 "ptype on opaque struct tagname (dynamically) 1",
6882 "ptype on opaque struct pointer (dynamically) 2" and
6883 "ptype on opaque struct tagname (dynamically) 2
6884 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6885 gcc compiled for:
6886 "p datalocal"
6887 "whatis datalocal",
6888 "ptype datalocal",
6889 "p bsslocal",
6890 "whatis bsslocal", and
6891 "ptype bsslocal".
6892 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6893 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6894 when not gcc compiled.
6895 * gdb.base/funcargs.exp (float_and_integral_args): Add
6896 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6897 compiled.
6898 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6899 "backtrace from call6a" when not gcc compiled.
6900 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6901 "backtrace from call7a" when not gcc compiled.
6902 * gdb.base/callfuncs.exp (do_function_calls):
6903 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6904 "p t_char_array_values(char_array_val2,char_array_val1)",
6905 "p t_char_array_values(char_array_val1,char_array_val2)",
6906 "p t_char_array_values("carray 1","carray 2")",
6907 "p t_char_array_values("carray 1",char_array_val2)",
6908 "p t_char_array_values(char_array_val1,"carray 2")",
6909 "p sum_args(1,{2})",
6910 "p sum_args(2,{2,3})",
6911 "p sum_args(3,{2,3,4})",
6912 "p sum_args(4,{2,3,4,5})"
6913 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6914 "backtrace in corefile.exp" when not gcc compiled.
6915
6916 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6917
6918 * gdb.base/signals.exp: Rewrite `handle all print' test as
6919 a procedure. Accept blanks or TABs as whitespace, increase
6920 timeout and expect input buffer size for the large output
6921 from the command. Remove "i*86-*-bsdi2.0" xfail.
6922
6923 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6924
6925 * gdb.base/setvar.exp: Add new testcases for truncation when
6926 assigning invalid values to bitfields.
6927
6928 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6929
6930 * gdb.base/callfuncs.exp (do_function_calls): Remove
6931 mips-sgi-irix* xfail for
6932 "call inferior func with struct - returns char *"
6933 and fix test so that an optional (unsigned char *) cast is
6934 accepted in the result.
6935
6936 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6937
6938 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6939 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6940 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6941 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6942 that accidentally got checked in.
6943
6944 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6945
6946 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
6947 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6948 compiled test.
6949 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6950 Add mips-sgi-irix5* xfail for not gcc compiled.
6951 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6952 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6953 "p top", "whatis top", "p middle", and "whatis middle".
6954 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6955 "whatis signed char" for not gcc compiled.
6956 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6957 "set variable signed char=-1 (-1)" and
6958 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6959 * gdb.base/funcargs.exp (float_and_integral_args):
6960 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6961 Add mips-sgi-irix* xfail when not gcc compiled for
6962 "continue to call2b".
6963 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6964 "continue to call2g".
6965 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6966 "backtrace from call6a"
6967 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6968 "backtrace from call7k".
6969 Add mips-sgi-irix5* xfail when not gcc compiled for
6970 "backtrace from call7a".
6971 (localvars_after_alloca): Fix gdb_test cmds for
6972 "print * after runto ...".
6973 Remove rs6000-*-* xfails for
6974 "print i after runto localvars_after_alloca" and
6975 "print l after runto localvars_after_alloca"
6976 for all compilers.
6977 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6978 when not compiled with gcc, for:
6979 "print signed char == (minus)",
6980 "print signed char != (minus)",
6981 "print signed char < (minus)",
6982 "print signed char > (minus)".
6983 * gdb.base/callfuncs.exp (do_function_calls):
6984 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6985 "call inferior func with struct - returns char *".
6986 * gdb.base/return.exp (return_tests): Change xfail for
6987 "correct value returned double test" to include Solaris 2.4.
6988 * gdb.base/funcargs.exp (float_and_integral_args):
6989 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6990
6991 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6992
6993 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6994 enumeration bitfields if compiling with GNU C.
6995 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6996 to empty' prompt.
6997
6998 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6999
7000 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7001 test for PRO targets.
7002
7003 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7004 breakpoints in the inferior at any given time by making
7005 two groups of breakpoints for call2*, call6* and call7*
7006 tests.
7007
7008 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7009
7010 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7011 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7012 from optimizing it away.
7013 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7014 "call inferior func with struct".
7015
7016 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7017
7018 * configure.in: Only configure gdb.chill for particular targets.
7019
7020 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7021
7022 * gdb.base/Makefile.in: Add action to .c.o transformation
7023 rule that generates a .ci file for each .o file and remove
7024 explicit .c.o rules except for callfuncs.o.
7025 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7026 generates a .ci file for each .o file and remove explicit
7027 .cc.o rules.
7028 (clean): Remove *.tmp *.ci files.
7029 (EXECUTABLES): Remove templ-info.exp.
7030 * gdb.base/compiler.c: New file.
7031 * gdb.c++/compiler.cc: New file
7032 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7033 Change rs6000-*-* xfail for
7034 "print 'scope0.c'::filelocal_ro" and
7035 "print 'scope1.c'::filelocal" and
7036 "print 'scope1.c'::filelocal_bss" and
7037 "print 'scope1.c'::filelocal_ro" and
7038 "print 'scope1.c'::foo::funclocal" and
7039 "print 'scope1.c'::foo::funclocal_ro" and
7040 "print 'scope1.c'::bar::funclocal" and
7041 "print 'scope0.c'::filelocal_ro" and
7042 "print 'scope1.c'::filelocal at foo" and
7043 "print 'scope1.c'::filelocal_bss at foo" and
7044 "print 'scope1.c'::filelocal_ro at foo" and
7045 "print 'scope1.c'::foo::funclocal at foo" and
7046 "print 'scope1.c'::foo::funclocal_bss at foo" and
7047 "print 'scope1.c'::foo::funclocal_ro at foo" and
7048 "print 'scope1.c'::bar::funclocal at foo" and
7049 "print 'scope0.c'::filelocal_ro" and
7050 "print 'scope1.c'::filelocal" and
7051 "print 'scope1.c'::filelocal_bss" and
7052 "print 'scope1.c'::filelocal_ro" and
7053 "print 'scope1.c'::foo::funclocal" and
7054 "print 'scope1.c'::foo::funclocal_bss" and
7055 "print 'scope1.c'::foo::funclocal_ro" and
7056 "print 'scope1.c'::bar::funclocal" and
7057 "print 'scope1.c'::bar::funclocal_bss"
7058 to only be xfail'd when not compiled with gcc.
7059 Add rs6000-*-* xfail for
7060 "print 'scope0.c'::filelocal_bss before run"
7061 when compiled with gcc.
7062 (test_at_main): Add rs6000-*-* xfail for
7063 "print filelocal_ro in test_at_main"
7064 when compiled with gcc.
7065 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
7066 Add rs6000-*-aix* xfail for
7067 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7068 "ptype t_char_array", not compiled with gcc.
7069 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7070 xfail for "list foo (in include file)" when gcc compiled.
7071 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7072 (integral_args): Add rs6000-*-* xfail for
7073 "run to call0a" if not compiled with gcc.
7074 (unsigned_integral_args): Add rs6000-*-* xfail for
7075 "run to call1a" if not compiled with gcc.
7076 (float_and_integral_args): Add rs6000-*-* xfail for
7077 "run to call2a" if not compiled with gcc and for
7078 "continue to call2b" for any compiler.
7079 Add rs6000-*-* xfail to
7080 "print f1 after run to call2a" for gcc compiled.
7081 (discard_and_shuffle): Add rs6000-*-* xfail for
7082 "run to call6a".
7083 (shuffle_round_robin): Add rs6000-*-* xfail for
7084 "backtrace from call7a" if not compiled with gcc.
7085 Add rs6000-*-* xfail for
7086 "backtrace from call7b" if compiled with gcc.
7087 (call_after_alloca): Add rs6000-*-* xfail for
7088 "print c in call_after_alloca" and
7089 "print s in call_after_alloca" and
7090 "backtrace from call_after_alloca_subr"
7091 if not compiled with gcc.
7092 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7093 "print c in localvars_in_indirect_call" and
7094 "print c in localvars_in_indirect_call" and
7095 "backtrace in indirectly called function" and
7096 "stepping into indirectly called function"
7097 if not compiled with gcc.
7098 (localvars_after_alloca): Add rs6000-*-* xfail for
7099 "print c after runto localvars_after_alloca" and
7100 "print s after runto localvars_after_alloca" and
7101 "print i after runto localvars_after_alloca" and
7102 "print l after runto localvars_after_alloca"
7103 for all compilers.
7104 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7105 than whatis-info.exp.
7106 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7107 than opaque-info.exp.
7108 Setup rs6000-*-* xfail for
7109 "ptype on opaque struct pointer (statically)" and
7110 "ptype on opaque struct pointer (dynamically)" when
7111 not compiled with gcc.
7112 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7113 rather than callf-info.exp.
7114 (do_function_calls): Add clear_xfail for rs6000-*-* for
7115 "p t_float_values2(3.14159,float_val2)". Seems to work
7116 fine there, both with xlc and gcc. Need to find out what
7117 it is doing right and fix other platforms.
7118 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7119 "call inferior func with struct - returns int",
7120 "call inferior func with struct - returns long",
7121 "call inferior func with struct - returns float",
7122 "call inferior func with struct - returns double",
7123 "call inferior func with struct - returns char *",
7124 but only if not gcc compiled (presumes xlc compiled).
7125 Change rs6000-*-* xfails for
7126 "call inferior func with struct - returns char" and
7127 " call inferior func with struct - returns short" to only
7128 xfail if not using gcc.
7129 (clean mostlyclean): Remove *.ci and *.tmp files.
7130 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7131 than templ-info.exp.
7132 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7133 Add rs6000-*-* xfail for "up to foo in langs.exp"
7134 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7135 when not gcc compiled.
7136
7137 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7138
7139 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7140 * gdb.base/corefile.exp: Likewise.
7141 * gdb.base/list.exp: Likewise.
7142 * gdb.base/scope.exp: Likewise.
7143 * gdb.base/siganls.exp: Likewise.
7144
7145 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7146 compiler output.
7147 * gdb.base/whatis.exp: Likewise.
7148
7149 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7150
7151 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7152 failure (opcode table has been fixed to match reality).
7153
7154 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7155
7156 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7157 "call inferior func with struct - returns char",
7158 "call inferior func with struct - returns short"
7159
7160 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7161 "print 'scope0.c'::filelocal at main",
7162 "print 'scope0.c'::filelocal_bss in test_at_main",
7163 "print 'scope0.c'::filelocal at foo",
7164 "print 'scope0.c'::filelocal_bss in test_at_foo",
7165 "print 'scope0.c'::filelocal at bar",
7166 "print 'scope0.c'::filelocal_bss in test_at_bar"
7167
7168 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7169 in source file 1". This bug seems to have been fixed with both
7170 gcc and native cc (was native assembler bug?).
7171
7172 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7173
7174 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7175 "backtrace through signal handler" to "i*86-*-sysv4*".
7176 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7177 continue" case. Add "known SVR4 bug" to fail message.
7178 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7179 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7180 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7181 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7182 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7183 "up to foo in langs.exp", "show language at foo in
7184 langs.exp", "up to cppsub_ in langs.exp", "show
7185 language at cppsub_ in langs.exp", "up to fsub in
7186 langs.exp", and "show language at fsub in langs.exp".
7187 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7188 "bactrace in corefile.exp".
7189 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7190 "call inferior function with struct - returns float" and
7191 "call inferior function with struct - returns double".
7192
7193 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7194
7195 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7196 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7197 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7198 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7199
7200 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7201
7202 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7203 (or overriden) "CHILL" macro rather then bare "gcc".
7204 Also look for ../../gcc/xgcc since that is what we will
7205 actually need, not "Makefile". Remove following assignment
7206 of CHILL to CHILL_FOR_TARGET because that results in
7207 recursive definition.
7208
7209 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7210
7211 * gdb.base/corefile.exp: Change xfail for backtrace in
7212 corefile.exp from linuxaout to all linux.
7213 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7214 cases where we miss the breakpoint at the signal handler
7215 for some reason. Setup xfail for linuxoldld/linuxaout and
7216 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7217 hitting SIGURG breakpoint.
7218 * gdb.base/signals.exp: Setup xfail for "next" acting like
7219 continue to add linuxoldld. Setup xfail for all linux for
7220 "next to handler in signals_tests_1", "backtrace in
7221 signals_tests_1", "continue to func1", "pass SIGUSR1",
7222 and continue to handler".
7223
7224 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7225
7226 * Update all FSF addresses except those in COPYING* files.
7227
7228 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7229
7230 * gdb.base/a2-run.exp: Change messages to be more explicit about
7231 the status of args, and quote binfile in results.
7232
7233 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7234
7235 * gdb.base/callfuncs.exp: Add tests for passing structs to
7236 inferior functions and return various types.
7237 * gdb.base/callfuncs.c: Add functions to receive a struct
7238 and return a member of the struct, in various types.
7239
7240 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7241
7242 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7243
7244 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7245
7246 * config/vxworks29k.exp: New file, sources vxworks.exp.
7247
7248 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7249
7250 * config/gdbremote.exp: New file. Testing framework using
7251 gdbserver.
7252
7253 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7254
7255 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7256 "call function when asleep" and "send end of file".
7257 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7258 for "backtrace in corefile.exp".
7259 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7260 for "backtrace through signal handler".
7261 * gdb.base/corefile.exp: Make sure we actually generate a core file
7262 before trying the core tests. Some systems allow the user to suppress
7263 generation of core files and default to that (linux for example).
7264 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7265 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7266
7267 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7268
7269 * gdb.threads: New directory with some crude multi-threaded
7270 gdb tests (step.exp and step2.exp).
7271 * config/mt-lynx (STEP_EXECUTABLE): Define.
7272 (THREADFLAGS): Define.
7273
7274 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7275
7276 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7277
7278 * gdb.base/signals.exp: Disable whole file for lynx until
7279 further notice.
7280
7281 * gdb.base/signals.exp: xfail test where "next" acts like
7282 "continue" for lynx.
7283
7284 * gdb.base/interrupt.exp: xfail test for calling function while
7285 inferior is asleep for lynx.
7286
7287 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7288 than one cr-lf after each command.
7289
7290 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7291
7292 * configure.in: Reinstate setting of stabsdirs variable, fix
7293 typo in setting up configdirs for native builds.
7294
7295 * gdb.base/return.exp: Fix typo in return double test.
7296 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7297 compiler from optimizing them away.
7298
7299 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7300
7301 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7302 sequences to be echo'd by gdb when using gdb_test.
7303 * gdb.chill/chexp.exp: Likewise.
7304 * gdb.fortran/exprs.exp: Likewise
7305
7306 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7307
7308 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7309 after the inferior gdb has started.
7310
7311 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7312 after each command.
7313 * gdb.base/funcargs.exp: Likewise.
7314 * gdb.base/gdbvars.exp: Likewise.
7315 * gdb.base/interrupt.exp: Likewise.
7316 * gdb.base/list.exp: Likewise.
7317 * gdb.base/watchpoint.exp: Likewise.
7318 * gdb.c++/demangle.exp: Likewise.
7319 * gdb.c++/inherit.exp: Likewise.
7320 * gdb.chill/chexp.exp: Likewise.
7321 * gdb.fortran/exprs.exp: Likewise.
7322
7323 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7324 test if we can't handle IO to/from the inferior.
7325
7326 * gdb.c++/misc.exp: Always check for a program already being
7327 started after sending a "run" command to gdb.
7328
7329 * gdb.base/twice.exp: Start with a fresh gdb.
7330
7331 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7332 only depend on gdb's expression code, not the chill runtime.
7333
7334 * gdb.base/return.c: Put return values into variables so we
7335 can have gdb print them rather than depending on the program
7336 to print them.
7337 * gdb.base/return.exp: Corresponding changes.
7338
7339 * lib/gdb.exp: Provide default value for noinferiorio.
7340 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7341 the inferior.
7342
7343 * gdb.base/break.exp: Always check for a program already being
7344 started after sending a "run" command to gdb.
7345 (text_next_with_recursion): Don't check the output from the
7346 program's printf statement. Instead just make sure the program
7347 exited.
7348
7349 * gdb.base/commands.exp: Protect tests which need arguments with
7350 $noargs conditionals.
7351
7352 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7353
7354 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7355 of structure member arrays to match gdb/valops.c:value_addr change.
7356
7357 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7358
7359 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7360 cases.
7361
7362 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7363
7364 * configure.in (configdirs): Remove gdb.chill from default list
7365 of subdirs and then add it back in only if doing a native build.
7366 The current chill compiler does not yet work in any cross build.
7367 * Revert all signal changes from Jul 6.
7368 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7369 for sh-hms targets, allowing these tests to link, with no other
7370 changes. Testing is suppressed by setting "nosignals" in site.exp.
7371
7372 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7373
7374 * configure.in (signaldirs): Define and add to configdirs for all
7375 targets except some specific ones that are known to not support signals.
7376 Also clean up formatting.
7377 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7378 (signals, sigall): Remove rules to build.
7379 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7380 Moved to new gdb.signals directory.
7381 * gdb.signals: New test directory.
7382 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7383 signals.c signals.exp}: New or moved files.
7384
7385 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7386
7387 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7388
7389 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7390
7391 * gdb.base/return.exp: Xfail `return double' test failure
7392 on at least Solaris 2.3 and handle future/past versions on
7393 a case by case basis as appropriate. Also update message
7394 to include i*86 failures.
7395
7396 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7397
7398 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7399
7400 * lib/gdb.exp: Fix comment which erroneously identified
7401 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7402 gdb_file_cmd not gdb_load).
7403 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7404
7405 * gdb.base/setvar.exp: Make test names consistent between pass and
7406 fail cases. Use gdb_test more.
7407
7408 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7409
7410 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7411
7412 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7413
7414 * gdb.base/help.exp: Fix expected help string for `show commands'.
7415
7416 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7417
7418 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7419
7420 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7421 of a text section.
7422
7423 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7424
7425 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7426 that loop eventually terminates. Fix Connection refused logic so
7427 that testsuite will expire nicely.
7428
7429 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7430
7431 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7432 config/rom68k.exp: New tcl glue for the appropriate monitors.
7433 These all just end up calling monitor.exp.
7434 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7435 refused' by retrying. Cleanup some timeout issues.
7436 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7437 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7438 callers don't have to set/restore global timeout variable.
7439
7440 * The following set of changes centralizes management of the global
7441 timeout variable. This way, it can be set in one target dependent
7442 place instead of dozens of places scattered throughout the test suite.
7443 If you need to lengthen a timeout, then you should either set timeout
7444 in one of the config/{target}.exp files, or multiply it by a factor.
7445 Setting it to an absolute value is always going to lose for some
7446 targets.
7447 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7448 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7449 * gdb.base/funcargs.exp: Don't set timeout.
7450 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7451 * gdb.base/printcmds.exp (test_print_string_constants
7452 test_print_array_constants): Don't set timeout.
7453 * gdb.base/ptype.exp: Don't set timeout.
7454 * gdb.base/recurse.exp: Don't set timeout.
7455 * gdb.base/return.exp: Don't set timeout.
7456 * gdb.base/watchpoint.exp: Don't set timeout.
7457 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7458 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7459
7460 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7461
7462 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7463
7464 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7465
7466 * lib/gdb.exp: Disable chill tests for irix5.
7467
7468 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7469
7470 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7471 each test pass or fail.
7472
7473 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7474
7475 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7476 xlc not gcc.
7477
7478 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7479
7480 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7481
7482 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7483
7484 * config/est.exp: Fix copyright and comments. Remove dead code.
7485 Use targetname, serialport and baud variables instead of fixed
7486 constants.
7487 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7488 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7489
7490 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7491
7492 * gdb.base/watchpoint.exp: Don't run
7493 test_watchpoint_triggered_in_syscall for sunos.
7494
7495 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7496
7497 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7498 they don't seem to exist. Do include stdio.h.
7499
7500 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7501
7502 * gdb.base/a1-selftest.exp: Add alpha xfail.
7503
7504 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7505
7506 * gdb.base/watchpoint.c (main): Prompt before calling read().
7507 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7508 Revise accordingly. Remove cruft about sending "123" several
7509 times, until it gets noticed. Clean up the "print buf[0]" stuff
7510 so that it passes or fails, and waits for prompts in the usual way.
7511
7512 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7513
7514 * gdb.base/recurse.exp: Fix comment.
7515
7516 * TODO: Remove item about printing variables in nodebug.exp. Add
7517 item about enabling tests which are only run on some targets.
7518
7519 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7520 fail, make test names unique, use new gdb_test convention
7521 regarding pattern, use gdb_test more, etc.).
7522
7523 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7524 fail, make test names unique, etc.).
7525
7526 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7527
7528 * gdb.base/nodebug.c: Change return type of top and middle to
7529 short.
7530 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7531 are fixed by the recent mdebugread.c changes. Allow `short ()'
7532 as type for top and middle.
7533
7534 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7535
7536 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7537 nearly as I can tell, the whole thing was an accident in Stu's
7538 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7539 to replace a send/expect pair with gdb_test, but ended up only
7540 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7541 of 30 Mar 1995 took care of it, but left this vestigial comment
7542 which I am now nuking.
7543
7544 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7545
7546 * gdb.base/break.exp: Look for different line number for
7547 breakpoint at main depending on usestubs.
7548
7549 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7550
7551 * gdb.base/list.exp: Adjust some alternate expect patterns to
7552 match recent list0.c change. Add alternate expect pattern for
7553 output from `list default lines around main' for optimizing
7554 compilers.
7555
7556 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7557
7558 * lib/gdb.exp: If nosignals is not set, set it to 0.
7559
7560 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7561
7562 * config/slite-gdb.exp: Responds to load symbol table prompt.
7563 * gdb.base/break.exp: Adjust line number, fix rerun.
7564 * gdb.base/langs0.c: Add #ifdef usestubs.
7565
7566 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7567
7568 * gdb.base/list.exp: Adjust line contents after adding new lines in
7569 list0.c. Also fix a syntax error.
7570
7571 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7572 * gdb.base/break.exp: ditto.
7573 * gdb.base/list.exp: ditto.
7574 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7575 * gdb.base/run.c: ditto.
7576 * gdb.base/list0.c: ditto.
7577 * gdb.base/funcargs.c: ditto.
7578
7579 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7580
7581 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7582 $targetname, $serialport and $baud instead of hardwired variables.
7583 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7584 target doesn't support signals.
7585
7586 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7587
7588 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7589
7590 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7591
7592 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7593 Don't rely on the value of an auto variable before it has been
7594 initialized. Use gdb_test more.
7595
7596 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7597
7598 * lib/gdb.exp (default_gdb_version): A version number must start
7599 with a digit, but other than that contains all characters up to
7600 the first whitespace character.
7601
7602 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7603
7604 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7605
7606 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7607
7608 * gdb.c++/*.exp: Warn if executable does not exist. The original
7609 reason for skipping the warning was that configure.in sometimes
7610 intentionally skipped building the executables but the tcl code
7611 had no way of knowing. That (a) was always bogus with respect to
7612 error handling, (b) is no longer true (right now there is no way
7613 to skip C++ tests).
7614
7615 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7616
7617 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7618
7619 * gdb.base/list.exp: Add expect patterns for output from
7620 SunPRO compiled executables.
7621 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7622 types.
7623
7624 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7625
7626 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7627 number (we are already testing that the correct source line text
7628 gets printed).
7629
7630 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7631 that is what is intended, but something needed to be done to get
7632 sunos4 native working again.
7633
7634 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7635
7636 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7637 apparently went with a (very) old xfail.
7638
7639 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7640
7641 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7642 runto_main is a proc in gdb.exp that will do 'step' for target use
7643 stubs.
7644 * gdb.base/exprs.exp: ditto.
7645 * gdb.base/interrupt.exp: ditto.
7646 * gdb.base/opaque.exp: ditto.
7647 * gdb.base/printcmds.exp: ditto.
7648 * gdb.base/ptype.exp: ditto.
7649 * gdb.base/scope.exp: ditto.
7650 * gdb.base/setvar.exp: ditto.
7651 * gdb.base/signals.exp: ditto.
7652 * gdb.base/twice.exp: ditto.
7653 * gdb.c++/classes.exp: ditto.
7654 * gdb.c++/inherit.exp: ditto.
7655 * gdb.c++/templates.exp: ditto.
7656 * gdb.base/break.exp: no run and hit main for stubs. Change line
7657 numbers for breakpoints and info breakpoint.
7658 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7659 breakpoint().
7660 * gdb.base/callfuncs.c: ditto.
7661 * gdb.base/exprs: ditto.
7662 * gdb.base/interrupt.c: ditto.
7663 * gdb.base/opaque0.c: ditto.
7664 * gdb.base/printcmds.c: ditto.
7665 * gdb.base/ptype.c: ditto.
7666 * gdb.base/scope0.c: ditto.
7667 * gdb.base/setvar.c: ditto.
7668 * gdb.base/signals.c: ditto.
7669 * gdb.base/twice.c: ditto.
7670 * gdb.c++/misc.cc: ditto.
7671 * gdb.c++/templates.cc: ditto.
7672
7673 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7674
7675 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7676
7677 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7678 somewhere between `read' and `main.c'. I'm pretty sure the
7679 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7680 and it isn't particularly useful.
7681
7682 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7683
7684 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7685
7686 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7687
7688 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7689
7690 * config/mt-slite: add LIBS and -nostdlib.
7691 * config/slite-gdb.exp: add this new file to support sparclite target.
7692
7693 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7694
7695 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7696
7697 * gdb.base/a2-run.exp: Change argument to istarget from
7698 "*-*-vxworks" to "*-*-vxworks*".
7699 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7700
7701 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7702
7703 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7704 will not runto main but do a 'step' to step out of breakpoint().
7705 * config/mt-slite: add -Dusestubs.
7706
7707 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7708
7709 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7710 instead of just @.
7711
7712 * gdb.base/signals.exp: Add test for "handle all print".
7713 * TODO: Remove "handle all print". Also remove item about
7714 checking copyright date (I don't like the idea of a spurious FAIL
7715 based on when we run the tests).
7716
7717 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7718 for SunOS4 (reason for failure not investigated). Remove
7719 redundant test for $binfile.
7720
7721 * gdb.base/nodebug.c (array_index): Call malloc.
7722
7723 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7724
7725 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7726
7727 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7728 conventions and slightly simplify the matching regexp.
7729
7730 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7731
7732 * gdb.base/break.exp: Update gdb_test invocation to use new
7733 convention.
7734
7735 * lib/gdb.exp: If noargs is not set, set it to 0.
7736
7737 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7738 tests unique.
7739
7740 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7741
7742 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7743
7744 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7745 one argument of type "<non-float parameter>".
7746
7747 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7748
7749 * config/rom68k.exp: New file to support Motorola IDP board.
7750 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7751 * gdb.base/break.c: Change things around so that this program
7752 doesn't depend upon args. This is necessary to make remote
7753 targets work (in general, they can't take args).
7754 * gdb.base/break.exp: Don't try to send args to program. Don't
7755 expect output. Also, replace lots of code with gdb_test.
7756
7757 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7758
7759 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7760 printing of '\'' (which is what the comment says we are testing,
7761 even though we were not), not '''.
7762 (test_integer_literals_rejected): Test that printing ''' is an error.
7763
7764 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7765 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7766 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7767 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7768 Use gdb_test not test_print_accept.
7769 * lib/gdb.exp: Remove test_print_accept.
7770
7771 * gdb.base/signals.exp (signal_tests_1): Make pass message
7772 consistent with fail message.
7773
7774 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7775 unsigned char; the bug (PR 1821) is fixed.
7776
7777 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7778
7779 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7780 successful tests--makes xfailing them work right.
7781
7782 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7783
7784 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7785 only \r\n, not .*. The test can pass .* as the last thing in
7786 $pattern if that is what it wants. In addition to providing this
7787 flexibility, this change should speed up pattern matching in cases
7788 where the pattern already ended with .* (there were a number of
7789 them). This change also helps catch bad patterns--in the old
7790 scheme the typo "char \*" instead of "char \\*" would pass. Now
7791 it is caught.
7792 * Many .exp files: Update callers.
7793
7794 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7795 clearer and does not spuriously match multiple ('s. Likewise for
7796 ) and *.
7797
7798 * gdb.base/nodebug.exp: Test ability to call a function and pass
7799 it a string (even with no debugging info).
7800
7801 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7802 "p '\'", which is the same as "p ''" once tcl gets done with
7803 quoting, to "p '\\'", which I suspect is what is intended (one
7804 backslash gets sent to GDB).
7805
7806 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7807
7808 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7809
7810 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7811 1817) was fixed literally years ago.
7812
7813 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7814
7815 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7816 test, it causes stepping out of call_after_alloca_subr with
7817 optimizing compilers.
7818 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7819 fails.
7820
7821 * gdb.c++/templates.exp: Source templ-info.exp only if
7822 the templates executable exists.
7823
7824 * gdb.c++/misc.cc (class Contains_static_instance,
7825 class Contains_nested_static_instance),
7826 gdb.c++/classes.exp (test_static_members): Test printing of
7827 a class that contains a static instance of the class.
7828
7829 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7830
7831 * gdb.base/langs2.c (cppsub_): Don't prototype.
7832 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7833 only, I believe).
7834
7835 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7836
7837 * lib/gdb.exp (skip_chill_tests): New procedure.
7838
7839 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7840
7841 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7842
7843 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7844 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7845
7846 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7847
7848 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7849
7850 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7851 disassemble 8, not 16, instructions for part 4.
7852
7853 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7854 support the latter anymore.
7855
7856 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7857 -DNO_PROTOTYPES.
7858 * gdb.base/callfuncs.c: Control use of prototypes based on
7859 NO_PROTOTYPES, not __STDC__.
7860 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7861 t_float_values2 tests if prototypes in use.
7862
7863 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7864 t_double_values): When checking differences against DELTA, check
7865 that difference is within the range (-DELTA,DELTA), not just
7866 (-infinity,DELTA).
7867
7868 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7869
7870 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7871 'file' command firts, then 'target', then 'load', this is due to gdb
7872 target set up.
7873 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7874
7875 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7876
7877 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7878 FP load/store variants.
7879 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7880
7881 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7882
7883 * gdb.base/term.exp: Do not give a warning if not native, it is
7884 not an abnormal condition.
7885
7886 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7887
7888 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7889 t_char_array".
7890
7891 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7892
7893 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7894 are getting the version number.
7895
7896 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7897 if not native, it is not an abnormal condition.
7898
7899 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7900
7901 * lib/gdb.exp: Just use "file exists", rather than undocumented
7902 dejagnu procedure "findfile".
7903
7904 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7905
7906 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7907 (LDFLAGS): Set to -Xlinker -Ur.
7908
7909 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7910 Removed, these values are set by lib/gdb.exp.
7911
7912 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7913
7914 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7915
7916 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7917 of replicating gdb startup code.
7918
7919 * config/mt-vxworks (LDFLAGS): Set to -r.
7920 (CFLAGS_FOR_TARGET): Removed.
7921
7922 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7923 (gdb) and gdb for vxworks uses (vxgdb).
7924
7925 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7926 executable is not in the tree and host != target, use sed and
7927 program_transform_name to determine the gdb name used by the
7928 target.
7929
7930 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7931 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7932
7933 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7934
7935 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7936 floats, chars, and shorts where there are ANSI-style function
7937 definitions.
7938
7939 * gdb.base/langs.exp, gdb.base/langs*: New test.
7940 * gdb.base/Makefile.in: Build it.
7941 * TODO: Remove item about checking that C names don't get C++
7942 demangling applied; this test tests it.
7943
7944 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7945
7946 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7947 went with the const70 xfail. The xfail went away a year ago.
7948
7949 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7950
7951 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7952 for hp300.
7953
7954 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7955
7956 * gdb.base/a1-selftest.exp: Don't run on hp300.
7957
7958 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7959
7960 * Makefile.in (site.exp): Set host_alias and target_alias as well
7961 as host_triplet and target_triplet.
7962
7963 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7964
7965 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7966
7967 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7968 places as other ecoff systems).
7969
7970 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7971 ultrix.
7972
7973 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7974
7975 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7976 remove them.
7977 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7978 variable and "variable" in addition to "data variable".
7979 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7980
7981 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7982 2.
7983 * gdb.base/list1.c (long_line): Add additional statement at start
7984 of function.
7985 * gdb.base/list.exp (test_forward_search): Update line number to
7986 reflect new statement.
7987
7988 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7989
7990 * gdb.base/signals.exp: Reinitialize searched source directories
7991 after gdb_start call.
7992
7993 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7994
7995 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7996 * gdb.stabs/Makefile.in: Likewise.
7997
7998 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7999 change. Instead split the tests into smaller pieces.
8000 * gdb.disasm/hppa.s: Corresponding changes.
8001
8002 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8003
8004 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8005 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8006
8007 * gdb.base/funcargs.exp: Modify many tests so that every test
8008 either passes or fails. Make some test names unique.
8009
8010 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8011
8012 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8013 Call stty to set interrupt character.
8014
8015 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8016 for HP assembler versus GNU assembler based on actual behavior of
8017 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8018
8019 * TODO: Suggest a few more stepping tests.
8020
8021 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8022
8023 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8024 restart GDB for h8300 after a continue.
8025 (return): Add pattern to match a29k-udi behavior.
8026 * gdb.base/nodebug.exp: Remove obsolete comment.
8027 * gdb.base/regs.exp: New file, testing of register displays.
8028 * gdb.base/return.exp: Fix typo in reference to $objdir.
8029 * gdb.base/whatis.exp: Always start with a fresh GDB.
8030
8031 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8032
8033 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8034 higher, these tests generate a lot of output.
8035
8036 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8037
8038 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8039 code following the catch silently ignored some errors; without the
8040 catch they should be thrown like any other tcl error. Also, the
8041 catch used "" instead of {} which meant all the callers who wanted
8042 to include one of the characters "[]$ had to quote it an extra time.
8043 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8044 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8045 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8046 Remove extra quoting.
8047
8048 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8049
8050 * gdb.base/commands.exp: Make test names unique; every test either
8051 passes or fails. Update some comments.
8052
8053 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8054
8055 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8056
8057 The following fixes a FAIL caused by the fact that the alpha stabs
8058 configuration didn't use the ".if alpha" code in weird.def.
8059 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8060 bit pointer, so the 32 bit version works even on the alpha.
8061 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8062 Remove the stuff which allowed us to have separate versions for
8063 alpha and everything else.
8064
8065 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8066 regexp which "info func operator\[\](" is supposed to match. Fix
8067 string to send to GDB. Note that GDB still doesn't work right. Add a
8068 new test for "info func .perator\[\](" which GDB does handle correctly.
8069
8070 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8071
8072 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8073
8074 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8075 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8076 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8077 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8078 it makes the tests harder to understand and confuses test-o-matic.
8079 The preferred style is that each test provides a PASS or a FAIL,
8080 and has a unique message (e.g. "continue #54" not just "continue")
8081 which is the same for the pass and the fail.
8082 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8083 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8084 to lib/gdb.exp.
8085 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8086 prt_accept which was basically the same thing. Likewise for
8087 test_print_reject and prt_reject.
8088 * lib/gdb.exp (test_print_reject): Add some more error message
8089 patterns to match from the former printcmds.exp (prt_reject).
8090 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8091 One defect of the passcount stuff is that some of it failed to
8092 report XPASS where appropriate.
8093 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8094 stuff before and after arg in expected pattern.
8095 (test_paddr_operator_functions): Re-do test without print_addr_of;
8096 this is the only test which seems to want extra stuff there.
8097
8098 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8099
8100 * gdb.base/nodebug.exp: Update new tests to reflect improved
8101 wording of gdb output.
8102
8103 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8104 and "ptype" work on variables in files compiled without -g.
8105 Replaces commented out "maint print msymbol" tests.
8106
8107 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8108
8109 * gdb.base/setvar.c (dummy): Call malloc.
8110
8111 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8112 losing with the irix4 sed.
8113
8114 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8115 ALRM" on irix4.
8116
8117 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8118
8119 * TODO: Remove items about corefile.exp testing new exec-file and
8120 backtrace; both are now done. Add items about printing enums.
8121
8122 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8123
8124 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8125 "get signal $thissig" test fails.
8126
8127 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8128
8129 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8130
8131 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8132 compiler warning with dec alpha compiler.
8133
8134 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8135 extra \n from gdb_test call (this explains why the prompt test
8136 that I removed yesterday was there).
8137 (user_defined_command_test): Remove extra \n and prompt test.
8138
8139 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8140 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8141 doesn't exist.
8142 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8143 Also remove alpha workaround, which turns out to be because
8144 SIGABRT == SIGLOST.
8145
8146 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8147
8148 * gdb.base/help.exp: Don't test "help show".
8149
8150 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8151
8152 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8153 "set print address" is on.
8154 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8155 pass prompt to gdb_test; gdb_test already looks for the prompt.
8156
8157 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8158
8159 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8160 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8161 was to make sure that gdb can read a core file. But (a) the "read
8162 the corefile" part didn't make it to a1-selftest.exp, we just
8163 delete the corefile after creating it, and (b) we test reading
8164 corefiles in corefile.exp anyway. Also, this test left around a
8165 xgdb process on Solaris.
8166
8167 * gdb.base/corefile.exp: Also test backtrace.
8168
8169 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8170
8171 * gdb.base/commands.exp: Test a simple user defined command with
8172 arguments and if/while statements; verify the full user command is
8173 printed by "show user".
8174
8175 * gdb.base/commands.exp: Test if/while commands as part of a
8176 breakpoint command list; verify they appear in breakpoint
8177 information.
8178
8179 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8180
8181 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8182 than by dividing by zero.
8183
8184 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8185
8186 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8187 performing an inferior call with watchpoints enabled.
8188 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8189 call.
8190
8191 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8192
8193 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8194 of "file" command.
8195
8196 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8197 Add additional pattern for when "int operator int(void);" appears
8198 in a different order.
8199
8200 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8201
8202 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8203
8204 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8205 and "signal" with ".*".
8206
8207 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8208
8209 * TODO: Add note about "handle all nostop".
8210
8211 * gdb.base/{sigall.c, sigall.exp}: New test.
8212 * gdb.base/Makefile.in: Add it.
8213
8214 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8215
8216 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8217 when invoking GDB, suppresses any windowing interface.
8218
8219 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8220
8221 * config/sim-gdb: New file, simulator testing support.
8222
8223 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8224
8225 * gdb.base/interrupt.exp: Test calling func1 twice.
8226
8227 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8228
8229 * gdb.base/list.exp (test_forward_search): Set timeout higher
8230 when we'll be getting lots of output from gdb.
8231
8232 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8233 "init_malloc" to after the expect statement. Run it if that
8234 regexp is taken, but also for two others which happen if source
8235 cannot be found.
8236
8237 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8238
8239 * gdb.base/printcmds.exp: New test, for printing register before
8240 program is running.
8241
8242 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8243
8244 * gdb.base/list.exp: Correct some alternate expect patterns
8245 to reflect changes in list1.c.
8246
8247 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8248
8249 * TODO: Add item regarding large frames.
8250
8251 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8252
8253 * TODO: Remove item about enabling return.exp; it
8254 is enabled. Suggest a few more "return" tests.
8255
8256 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8257
8258 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8259 anonymous unions.
8260
8261 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8262
8263 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8264 and pr-5646.o, so "make" is the same as "make all", not "make
8265 pr-4975.o".
8266
8267 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8268
8269 * gdb.base/list.exp: Adjust expectations to reflect changes in
8270 list1.c.
8271 (test_forward_search): New test proc.
8272 * gdb.base/list1.c (long_line): New function, has long source line.
8273
8274 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8275
8276 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8277 additional line of code that was added.
8278
8279 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8280
8281 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8282 tests so as not to overflow expect's input buffers.
8283 * gdb.disasm/hppa.exp: Corresponding changes.
8284
8285 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8286
8287 Beginnings of template debugging tests.
8288 * gdb.c++/templ-info.cc: New file to test for template
8289 debugging capability of the compiler.
8290 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8291 templ-info.cc.
8292 * gdb.c++/templates.cc: Add explicit template instantiations
8293 to enable compiling with -fno-implicit-templates. Add destructor
8294 and 'value' method to T5 class for template tests.
8295 * gdb.c++/templates.exp: Add testcases for printing of template
8296 types, setting breakpoints on template methods and calling a
8297 template method.
8298
8299 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8300
8301 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8302 branch target since some assemblers (gas-2.5) may emit a
8303 relocation for the branch instead of resolving it in the
8304 assembler.
8305
8306 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8307
8308 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8309 through signal handler.
8310
8311 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8312
8313 * configure.in (*-*-netware): Use config/mt-netware.
8314
8315 * config/mt-netware: New file.
8316 * config/mt-i386-netware: Removed, separate configs for different
8317 netware architectures are no longer needed now that we have
8318 --with-headers.
8319
8320 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8321
8322 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8323 by the recent changes to use ANSI C arithmetic conversions.
8324
8325 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8326
8327 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8328 bug involving using inferior_pid to figure out whether to select a
8329 frame.
8330
8331 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8332
8333 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8334 match the current disassembler output.
8335
8336 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8337
8338 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8339 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8340 types, expect "int" as type of integer values (for now).
8341
8342 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8343
8344 * gdb.base/commands.exp: New tests for if/while commands.
8345
8346 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8347
8348 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8349 by .*, since hex values have different syntax in Chill mode.
8350
8351 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8352
8353 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8354 linefeed from expect pattern for repeated types with indices > 9.
8355
8356 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8357
8358 First part of Fortran test suite.
8359 * gdb.fortran: New directory.
8360 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8361
8362 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8363
8364 * gdb.base/default.exp: Update expect pattern for load command
8365 without arguments.
8366
8367 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8368
8369 * configure.in: Change i386 to i[345]86.
8370 * gdb.base/configure.in: Likewise.
8371 * gdb.c++/configure.in: Likewise.
8372 * gdb.chill/configure.in: Likewise.
8373
8374 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8375
8376 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8377 patterns, since that is not a valid context for comments.
8378
8379 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8380
8381 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8382 repeated types and repeated types with indices > 9.
8383
8384 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8385
8386 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8387 2417; old bug has been fixed.
8388
8389 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8390
8391 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8392 send the newline ourselves instead of assuming gdb_test will do
8393 so when passed an empty input string.
8394
8395 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8396 stabs testcode.
8397
8398 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8399
8400 * lib/gdb.exp (gdb_test): Don't send anything if the first
8401 argument is an empty string. This makes cases where we want to
8402 match output that is already in expect's buffers (for example,
8403 matching a breakpoint after gdb_run_cmd has been called) work
8404 reliably.
8405
8406 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8407
8408 * config/netware.exp: New file.
8409
8410 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8411
8412 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8413 the -B and -L prefixes so we can find the debugging stub.
8414
8415 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8416 there and we are using the gcc from the tree.
8417
8418 * gdb.base/types.c: Removed.
8419
8420 * gdb.base/configure.in: Look for makefile fragments in ../config.
8421 Recognize i386-*-netware.
8422 * gdb.c++/configure.in: Likewise.
8423
8424 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8425
8426 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8427 the correct TCL syntax.
8428
8429 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8430
8431 * gdb.base/opaque.exp: use runto instead of messing around with
8432 breakpoints. Simplify by using gdb_test.
8433
8434 * gdb.base/bitfields.exp: restart between tests on netware targets
8435 because breakpoints aren't relocated after target death. Run
8436 processes to completion.
8437
8438 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8439
8440 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8441
8442 * Makefile.in: Remove extra tabs that confuse some versions
8443 of "make". Use the newly built gdb to test with by default,
8444 rather than the first one in the tester's search path.
8445
8446 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8447
8448 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8449
8450 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8451 condition help.
8452
8453 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8454
8455 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8456
8457 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8458 running.
8459 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8460 * gdb.base/funcargs.exp: Likewise.
8461
8462 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8463 * gdb.base/funcargs.exp: Likewise.
8464
8465 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8466 message is "".
8467
8468 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8469
8470 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8471 return,signals,twice}.exp: Handle non-existant binaries
8472 consistantly.
8473
8474 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8475 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8476 might testing a cross development system.
8477
8478 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8479
8480 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8481 runtest script is relative to ${srcdir}, not ${rootdir}.
8482
8483 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8484
8485 * gdb.base/signals.exp: Allow for optionality of breakpoint
8486 address.
8487
8488 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8489
8490 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8491
8492 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8493
8494 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8495 for size_t definition.
8496 * gdb.c++/templates.cc: Likewise
8497
8498 * config/mt-i386-netware: New file.
8499
8500 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8501 defined.
8502
8503 * gdb.base/Makefile.in: Added support for systems that name core
8504 files by appending "core" to the program name.
8505 * gdb.base/a1-selftest.exp: Likewise.
8506
8507 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8508
8509 * gdb.base/return.exp: Add comment and message for `return double'
8510 test failure on Sparc Solaris.
8511
8512 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8513
8514 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8515
8516 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8517
8518 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8519 from optimizing them away.
8520 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8521 patterns to include default constructors and assignment operators,
8522 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8523 character in the output of the virtual base pointer.
8524
8525 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8526
8527 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8528 expression match in print_addr_of to avoid unintented matches.
8529 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8530 versions up to 2.5.8.
8531
8532 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8533
8534 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8535 included file to run under newer versions of expect.
8536 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8537 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8538 Remove xfail for the virtual table of BDDHookV.
8539
8540 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8541
8542 * lib/gdb.exp (string_to_regexp): Set a default result.
8543 (default_gdb_start): Fix misleading message.
8544
8545 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8546
8547 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8548 Remove all CC, etc definitions.
8549 * config/mt-hpux: New file.
8550 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8551 (CFLAGS, LDFLAGS): Define.
8552 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8553
8554 * Makefile.in (site.exp): Don't insert host_os, etc.
8555 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8556 (distclean): Check existence of subdir.
8557 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8558 * gdb.base/Makefile.in: General cleanup and simplification.
8559 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8560 to build executables. Use default rule to build .o files.
8561 (EXPECT, RUNTEST, CC): Fix relative pathname.
8562 (site.exp): Don't insert host_os, etc.
8563 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8564 and/or SIGUSR1 defined.
8565 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8566 * gdb.c++/Makefile.in: General cleanup and simplification.
8567 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8568 (CFLAGS): Remove.
8569 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8570
8571 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8572
8573 * gdb.base/recurse.exp: Misc changes to get tests running again
8574 after Kung's changes to the watchpoint code.
8575 * gdb.base/watchpoint.exp: Likewise.
8576
8577 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8578
8579 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8580
8581 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8582
8583 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8584 * lib/gdb.exp (default_gdb_start): Define.
8585 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8586 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8587 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8588 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8589 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8590 Don't call gdb_target_udi in between tests.
8591
8592 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8593
8594 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8595 (which was basically just a local version of the same thing). In
8596 addition to avoiding duplication, gdb_test_exact is faster.
8597 * lib/gdb.exp (gdb_test_exact): Fix typo.
8598
8599 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8600 don't give an error.
8601
8602 * gdb.base/term.exp: Call delete_breakpoints before starting.
8603
8604 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8605 (t10): Add comment.
8606
8607 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8608
8609 Reorganization of the GDB Test Suite.
8610
8611 * gdb.base: New directory, contains all the basic tests.
8612 * gdb.c++: New directory, tests specific to C++.
8613 * gdb.chill: New directory, tests specific to Chill.
8614 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8615 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8616 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8617 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8618 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8619 t30-31 to chill).
8620 * */gdbme.*: Rename to match appropriate expect scripts.
8621 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8622 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8623 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8624 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8625 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8626 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8627 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8628 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8629 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8630 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8631 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8632 gdb.c++/virtfunc.cc: New names of C++ files.
8633 * gdb.chill/chillvars.ch: New name of Chill file.
8634 * gdb.base/configure.in, gdb.c++/configure.in,
8635 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8636 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8637 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8638 * configure.in (configdirs): Update to reflect directory changes.
8639 (target_abbrev): No longer define for any configuration.
8640 * Makefile.in: Cosmetic improvements to header comments.
8641
8642 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8643
8644 Various changes to gdb.t31:
8645
8646 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8647 * gdbme.ch: Make all key-words and predefineds be upper-case.
8648 * chillvars.exp: Expect key-words and predefinds in upper-case.
8649
8650 * chillvars.exp: Use gdb_test_exact many places.
8651 Change expected output for arrays (which now includes index labels).
8652
8653 * pr-5020.exp, gdme.ch (module PR_5020):
8654 New test, for PR-5020.
8655
8656 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8657
8658 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8659 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8660
8661 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8662
8663 * Makefile.in: Fix bit-rot in definitions of CHILL,
8664 CHILL_FOR_TARGET and Chill_LIB.
8665 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8666 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8667 CHILL, and CHILL_LIB.
8668
8669 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8670
8671 * Revert the previous changes. Please see Rob's directory
8672 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8673
8674 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8675
8676 * Makefile.in, configure.in, config/mips-gdb.exp,
8677 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8678 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8679 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8680 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8681 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8682 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8683 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8684 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8685 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8686 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8687 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8688 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8689 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8690 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8691 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8692 changes from 94Q1.
8693
8694 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8695
8696 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8697 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8698 Rob's new testing fragments.
8699
8700 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8701
8702 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8703 lib/gdb.exp: Replace error proc calls with perror.
8704
8705 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8706
8707 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8708 version also, match on casted version strings, and match on
8709 gdb startup case where the line numbers might be messed up.
8710
8711 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8712
8713 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8714 (CFLAGS): Delete it from here.
8715
8716 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8717
8718 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8719
8720 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8721
8722 * Makefile.in (RUNTEST): Default to just "runtest".
8723
8724 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8725
8726 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8727 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8728 the code has been restructured.
8729
8730 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8731
8732 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8733 \n, not just one of each.
8734
8735 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8736 /bin/cc gives a warning if you do.
8737
8738 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8739
8740 * gdb.t24/demangle.exp: change expect pattern of
8741 __t10ListS_link1ZUiRCUiPT0
8742
8743 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8744
8745 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8746 on local variables in recursive functions.
8747
8748 * gdb.t07/Makefile.in: Build the new test.
8749
8750 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8751
8752 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8753 directly. Instead compare the return values from actual calls.
8754
8755 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8756
8757 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8758
8759 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8760
8761 * From Peter Schauer with minor modifications.
8762 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8763 stops in mid-line in the caller. Add xfail for returning a float
8764 value on X86 targets.
8765
8766 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8767
8768 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8769 to avoid expect lossage.
8770 (fmem_LRbug_tests): Likewise.
8771 * gdb.disasm/hppa.s: Corresponding changes.
8772
8773 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8774 conditions to work with latest dejagnu/expect.
8775
8776 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8777 expected to fail on the PA.
8778 (backtrace in call with trampolines): Explicitly require main
8779 to be frame #1 (no trampolines should show up in backtrace).
8780
8781 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8782 "continue -expect".
8783 * gdb.t06/break.exp: Likewise.
8784 * gdb.t07/watchpoint.exp: Likewise.
8785 * gdb.t13/bitfields.exp: Likewise.
8786 * gdb.t15/{funcargs,return}.exp: Likewise.
8787 * gdb.stabs/weird.exp: Likewise.
8788 * config/{mips,udi}-gdb.exp: Likewise.
8789
8790 * hppa.sed: Enclose comments within a sed command to avoid
8791 losing with the old OSF1 sed.
8792
8793 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8794
8795 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8796 sequent dynix.
8797 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8798 * gdb.t15/funcargs.exp: Conditionally step again to really
8799 finish from marker_call_with_trampolines. Handle the case where
8800 the first step from within call_with_trampolines already steps
8801 us back to main.
8802 * gdb.t15/gdbme.c: Add comment to closing brace of
8803 call_with_trampolines for funcargs.exp.
8804
8805 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8806
8807 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8808 Fix typo(s).
8809
8810 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8811
8812 * gdb.t07/gdbme.c: More code for watchpoint testing.
8813
8814 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8815 "Hardware watchpoint" throughout file.
8816 (test_watchpoint_triggered_in_syscall): New test.
8817 (test_complex_watchpoint): New test.
8818
8819 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8820
8821 * gdbme.c (call_with_trampolines): New function to try and step
8822 into. Tests trampoline problems on the PA.
8823
8824 * funcargs.exp (localvars_in_indirect_call): No longer expect
8825 stepping into indirect call to fail on PAs.
8826 (test_stepping_over_trampolines): New test.
8827
8828 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8829
8830 * TODO: Add suggestions for static member function tests, and
8831 completion tests.
8832
8833 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8834
8835 * TODO: Add suggestions for "p/a" tests.
8836
8837 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8838 (default_gdb_exit): Replace all the hair with sending "quit" to
8839 the process with a simple close.
8840
8841 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8842
8843 * TODO: Add suggestions for shared library tests.
8844
8845 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8846
8847 * TODO: Add suggestions for x/s tests.
8848
8849 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8850
8851 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8852 "enable once", and "enable breakpoints once" with ".*".
8853
8854 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8855
8856 * TODO: Add suggestions about structure passing tests.
8857
8858 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8859
8860 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8861 the primary1 test, use work around if __GNUC__ < 2.
8862 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8863 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8864 Test for bad output rather than waiting for timeout. Issue
8865 second continue only if first continue failed.
8866
8867 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8868
8869 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8870 operator[] test with gdb_test because the old code didn't seem to
8871 be getting the quoting right with the new dejagnu.
8872
8873 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8874
8875 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8876 one from the path.
8877 * Makefile.in: Use a fresh expect if there is one, use runtest
8878 from the src tree if there is one.
8879
8880 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8881
8882 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8883 next over recursive call. Revise the tests from that point on
8884 (which had been skipped) to match GDB's actual (correct) output.
8885
8886 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8887 with next over a breakpoint whose condition is false.
8888
8889 * gdb.t00/help.exp: Comment out "help set print" tests just like
8890 (and for same reason as) "help set" test.
8891
8892 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8893
8894 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8895 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8896
8897 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8898
8899 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8900 necessary gdb_target_udi.
8901
8902 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8903
8904 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8905 1838 and 2417; they are fixed.
8906
8907 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8908 gdb.t03/ptype.exp (ptype structure, ptype union):
8909 Remove xfails; the test is looser than when the xfails were added.
8910
8911 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8912 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8913
8914 * gdb.t01/run.exp: Only run shell test if isnative.
8915
8916 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8917 since "run" automatically loads if necessary. Call gdb_target_udi
8918 after the "file" since "file" kills any execution target.
8919
8920 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8921 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8922 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8923 argument for UDI.
8924
8925 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8926
8927 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8928
8929 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8930
8931 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8932
8933 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8934 properly quoting regexps. This makes the second argument to
8935 demangle a fixed string, which matches the callers, instead of a
8936 shell-style pattern which is what the previous implementation
8937 used. Update some of the callers.
8938
8939 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8940
8941 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8942 (comib_nullified_tests): Fix typo.
8943 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8944 strings. No longer expected to fail.
8945
8946 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8947 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8948 strings. No longer expected to fail.
8949
8950 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8951 string. No longer expected to fail.
8952
8953 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8954
8955 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8956 No longer expected to fail.
8957
8958 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8959 string. No longer expected to fail.
8960
8961 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8962
8963 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8964 only in the names (I probably got most of them). I was even
8965 generous with some which differed in underscores in names, and
8966 probably missed a few, and I *still* was able to remove almost a
8967 third of the file with almost no impact on testsuite coverage.
8968
8969 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8970
8971 * gdb.t00/default.exp: Match udi_attach error message as well as
8972 the one from child_attach.
8973
8974 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8975
8976 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8977
8978 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8979 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8980
8981 * Move test with enums and partial symbols back to
8982 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8983 Reverts the change of 26 May 93. Per today's change to
8984 stabs.texinfo, the behavior that weird.exp was expecting was
8985 unreasonable; what is important is that the compiler+gdb get
8986 things right, which happens with a recent gcc. Also fix the test
8987 to deal with native compilers which put out the stab gdb can't
8988 deal with.
8989
8990 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8991
8992 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8993 in the names. The main thing these accomplish is to slow things down.
8994 Many more such duplicates surely remain.
8995
8996 * gdb.t00/help.exp: Comment out "help support" test just like
8997 (and for same reason as) "help set" test.
8998
8999 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9000
9001 * gdb.t06/break.exp: Remove setup_xfails for
9002 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9003 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9004 about known bug in gcc to include up through 2.5.8.
9005 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9006 well as "_vb$".
9007 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9008 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9009 with latest gcc and gdb.
9010 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9011 well as "_vb$".
9012
9013 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9014
9015 * configure.in (hppa*-*-*): Also configure and build stabs-only
9016 tests.
9017
9018 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9019
9020 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9021 * gdb.t10/configure.in (hppa*-*-*): Use it.
9022
9023 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9024
9025 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9026
9027 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9028
9029 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9030 versions prior to 1.13.5.
9031
9032 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9033
9034 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9035 the prompt is at the start of a line.
9036
9037 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9038
9039 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9040 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9041 in the copr tests now.
9042 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9043 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9044 expected to fail.
9045
9046 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9047
9048 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9049 gdb.t31/chillvars.exp, lib/gdb.exp:
9050 Tweak to run under either version of expect.
9051 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9052 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9053 * gdb.t11/list.exp: Remove extraneous whitespace.
9054
9055 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9056
9057 * gdb.t16/printcmds.exp (test_print_strings): Accept
9058 "(unsigned char *) " before the string.
9059
9060 * TODO: Add notes about printing of fancy types and GDB expressions.
9061
9062 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9063
9064 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9065 * gdb.t06/configure.in: Don't try to compile signals test program
9066 if doing mips-idt-ecoff.
9067
9068 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9069
9070 * Most .exp files: Tweak to run under either version of expect.
9071
9072 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9073
9074 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9075 xfails; I'm not sure why they are failing, but not because of PR 1806.
9076
9077 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9078
9079 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9080 defined in lib/gdb.exp.
9081
9082 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9083
9084 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9085 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9086 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9087 have to be typeless.
9088
9089 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9090
9091 * TODO: Add suggestion for copyright year test.
9092
9093 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9094
9095 * configure.in (*-*-lynxos*): Add stabs tests.
9096
9097 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9098
9099 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9100 so insert a tab before any assembler directive in column zero.
9101
9102 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9103 stores.
9104 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9105 stores.
9106 (fpu_short_memory_tests): Likewise.
9107
9108 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9109
9110 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9111 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9112 .stabs directives in comments.
9113
9114 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9115
9116 * TODO: New file, describing tests we could write.
9117 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9118
9119 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9120
9121 * gdb.t06/signals.exp: Add kludge to force re-sync.
9122
9123 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9124 to xgdb instead of gdb, get out of gdb.
9125
9126 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9127
9128 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9129 for info.
9130
9131 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9132
9133 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9134 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9135 * gdb.stabs/hppa.sed: New sed script for the PA.
9136
9137 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9138
9139 * gdb.stabs: Re-write weird.def and configuration to use sed
9140 instead of cpp. sed is portable and POSIX; cpp is neither.
9141
9142 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9143
9144 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9145
9146 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9147
9148 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9149
9150 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9151
9152 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9153 "_vb$".
9154 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9155 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9156
9157 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9158
9159 * lib/gdb.exp: Comment out code which depends on non-existent
9160 `transform' procedure.
9161
9162 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9163
9164 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9165 * lib/gdb.exp: Transform tool name.
9166 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9167 1.1's new error handling system.
9168
9169 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9170
9171 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9172
9173 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9174
9175 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9176 They made pattern matching so slow that timeouts happened on
9177 heavily loaded systems. Now any output from "show print" which
9178 gets us back to the GDB prompt is a PASS.
9179
9180 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9181
9182 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9183
9184 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9185
9186 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9187
9188 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9189 It is not from PR 3220.
9190
9191 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9192
9193 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9194 just started failing because they depended on the order the
9195 subcommands are presented, or exact docstring text. This kind of
9196 test is a pain and has minimal benefit.
9197
9198 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9199
9200 * gdb.t09/corefile.exp: At end of test, use "core" command with
9201 no arguments.
9202
9203 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9204
9205 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9206 17}/Makefile.in: Make it possible to run the testsuite with Sun
9207 make and CC = cross gcc by adding explicit build rules for .o
9208 files.
9209
9210 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9211
9212 * gdb.t15/funcargs.exp: Don't put comments on same line as
9213 setup_xfail (@#$*%& tcl braindamage!).
9214
9215 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9216
9217 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9218
9219 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9220
9221 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9222 * gdb.t20/inherit.exp: remove three dumplicate entries.
9223
9224 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9225
9226 * gdb.t06/break.exp: For "next over recursive call", fail on any
9227 incorrect output, not just on "factorial (value=2)".
9228
9229 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9230
9231 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9232 working now. Add an xfail if accesing a bss variable causes
9233 a memory error if the target is not yet run.
9234
9235 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9236
9237 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9238 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9239 name of __st* demangling (2 strings). Did Kung really get the
9240 more than 95 others right without testing them?
9241
9242 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9243
9244 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9245
9246 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9247
9248 * configure.in (configdirs): Add gdb.disasm
9249 * gdb.disasm: New directory for GDB disassembler tests.
9250 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9251
9252 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9253
9254 * gdb.t00/help.exp: Don't test "help set".
9255
9256 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9257 from within expect statements. None of these happen anymore and
9258 they cause regressions to be silently unnoticed.
9259
9260 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9261 messages) about known failures with gcc cygnus-2.4.5-930417.
9262
9263 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9264 comp-info.exp so it gets built if it doesn't exist.
9265
9266 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9267 it is no longer used.
9268 * gdb.t13/comp-info.c: Removed.
9269
9270 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9271
9272 * gdb.t06/signals.exp: Add xfail for sun3.
9273
9274 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9275
9276 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9277 relevant because ^C doesn't get sent but failure can be reproduced
9278 interactively).
9279
9280 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9281
9282 * gdb.stabs/alpha.mt: New configuration file for alpha.
9283 * gdb.stabs/configure.in: Use it.
9284 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9285 sharing with alpha.mt, redefine long to word via preprocessor.
9286 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9287 for alpha.
9288 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9289 native cc.
9290 * gdb.t00/teststrategy.exp: Change expect string so that we
9291 consume the `(xgdb)' from the command echo and from the gdb prompt.
9292 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9293 gdb currently compares all values as long, so this failure probably
9294 applies to any configuration where LONGEST is bigger than a target int.
9295 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9296 with gcc.
9297 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9298 to handle opaque pointers, gcc is.
9299 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9300 as first argument. Include <sys/types.h> and change all operator
9301 new definitions to use size_t.
9302 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9303 now that we use size_t.
9304
9305 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9306
9307 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9308 a long or float array cast all array members to the same type.
9309 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9310 with 64 bit longs.
9311 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9312 on alpha.
9313 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9314
9315 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9316
9317 * gdb.t24 (demangle.exp): Constructors of templates have names like
9318 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9319 section 14.6 of the ARM.
9320
9321 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9322 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9323 accomplish little and slow down the testsuite.
9324
9325 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9326 Accept spaces various places.
9327
9328 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9329
9330 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9331 with watchpoint enabled.
9332
9333 * Makefile.in: Remove definition of CC and remove the second
9334 definition of CXX (the "CXX = gcc" one remains). These definitions
9335 were causing backquotes to be expanded within backquotes, which
9336 doesn't work.
9337
9338 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9339
9340 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9341
9342 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9343
9344 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9345 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9346 by mips cc and contains no stabs entries.
9347
9348 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9349
9350 * config/vx-gdb.exp: Use fake device to load files rather than
9351 NFS.
9352 * lib/gdb.exp: New proc to do "file" command.
9353 * config/unix-gdb.exp: Use new "file" proc.
9354
9355 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9356
9357 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9358 Rework board rebooting slightly.
9359 (gdb_exit): Don't exit from the remote shell; there isn't one.
9360 * gdb.stabs/weird.exp: If a program is being debugged already,
9361 kill it.
9362 * gdb.t04/setvar.exp: Stop and restart gdb.
9363 * gdb.t05/expr.exp: Likewise.
9364 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9365 restart gdb and reload the program.
9366 * gdb.t08/opaque.exp: Likewise.
9367 * gdb.t12/scope.exp: Likewise.
9368 * gdb.t13/bitfields.exp: Likewise.
9369 * gdb.t15/funcargs.exp: Likewise.
9370 * gdb.t20/classes.exp: Likewise.
9371 * gdb.t03/ptype.exp: Increase timeout.
9372 * gdb.t16/printcmds.exp (test_print_string_constants,
9373 test_print_array_constants): Likewise.
9374 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9375 * gdb.t20/classes.exp (do_tests): Likewise.
9376 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9377
9378 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9379
9380 * gdb.stabs: Renamed *wierd* to *weird*.
9381
9382 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9383
9384 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9385 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9386
9387 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9388
9389 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9390 (do_tests): Remove xfail for whatis on one_var and two_var.
9391
9392 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9393
9394 * Makefile.in: Made cross building work better by adding
9395 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9396
9397 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9398
9399 * gdb.t15/{return.c,return.exp,Makefile.in}:
9400 New test, currently commented out.
9401
9402 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9403
9404 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9405 still running and removes the leftover named socket so GDb can do
9406 clean restarts.
9407
9408 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9409
9410 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9411 console, not GDB.
9412 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9413 cross testing works better with "make check"
9414 * config/unix-gdb: Use default procedures for exit and version.
9415 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9416 with the newest VxWorks.
9417
9418 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9419
9420 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9421 old form.
9422
9423 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9424 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9425
9426 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9427
9428 * config/unix-gdb.exp: Remove this version of gdb_exit
9429 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9430 Rob says he'll look at it when he gets back to testing boards.
9431
9432 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9433
9434 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9435 an expected fail for certain ptype commands.
9436
9437 * gdb.t20/classes.exp: Update expected results of "ptype class
9438 Base1" to account for the constructor that now appears in the type.
9439
9440 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9441
9442 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9443 disappeared from list.
9444 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9445 "alldone" proc with call to cleanup and exit.
9446 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9447 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9448 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9449 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9450 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9451 "alldone" proc with simple returns that suppress remaining
9452 tests. The alldone proc went away many months ago.
9453
9454 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9455
9456 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9457
9458 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9459
9460 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9461
9462 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9463 as vax gdb will display them.
9464
9465 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9466
9467 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9468 optimizers.
9469
9470 * scope.exp: Change "bad value for localval" messages so each one
9471 is unique.
9472
9473 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9474 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9475
9476 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9477
9478 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9479
9480 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9481 doesn't exist (due to optimization).
9482
9483 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9484
9485 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9486 contains \r because the filename is long.
9487
9488 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9489 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9490
9491 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9492
9493 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9494 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9495 Ultrix.
9496 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9497 int tests.
9498 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9499
9500 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9501
9502 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9503
9504 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
9505 to match does not match the passing case but still matches the
9506 failing case.
9507
9508 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9509
9510 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9511
9512 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9513
9514 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9515 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9516 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9517 Remove various versions of gdb_exit.
9518 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9519 gdb_exit.
9520 * config/unix-gdb.exp: gdb_exit remains here, and should override
9521 the generic version, since it's doing a lot of wierd stuff that
9522 the other versions aren't. FIXME, fold it in, or abandon this
9523 version.
9524
9525 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9526
9527 * gdb.t24/demangle.exp: Add tests for PR 3220.
9528
9529 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9530
9531 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9532
9533 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9534
9535 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9536 "i386-*-*". Works for i486 as well.
9537
9538 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9539 bug, and expand domain of xfail to all SVR4 systems, since the
9540 actual problem is likely to be in generic SVR4 /proc support.
9541
9542 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9543
9544 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9545
9546 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9547
9548 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9549 xfails for other systems. Match a missing 'Continuing.' as an
9550 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9551
9552 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9553 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9554 Only issue warning for missing executables if -all option is used.
9555
9556 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9557 file if -all option is used. It's like an unpredictable XFAIL.
9558
9559 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9560
9561 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9562 for dynamically linked binaries.
9563
9564 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9565
9566 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9567
9568 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9569 to state that this is a known bug in old versions of g++.
9570
9571 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9572
9573 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9574 while waiting for `Continuing'.
9575
9576 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9577
9578 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9579 in text, data, and bss.
9580 * gdb.t10/nodebug.c: Add local and global test variables for
9581 initialized and uninitialized data.
9582
9583 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9584
9585 * config/unix-gdb.exp (gdb_exit): Add "wait".
9586
9587 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9588
9589 * gdb.t06/signals.exp: xfail the continue from the handler for all
9590 targets.
9591
9592 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9593 function with watchpoints enabled, the i386 call dummy starts with
9594 a call.
9595
9596 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9597 386 bsd names its corefiles.
9598
9599 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9600
9601 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9602 compilers don't grok it.
9603 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9604 with small octal ints rather than character constants, which
9605 are signed and might not fit if first promoted to int.
9606
9607 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9608
9609 * gdb.t09/Makefile.in (clean): Remove corefile.
9610
9611 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9612
9613 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9614
9615 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9616 and Jim Kingdon (kingdon@cygnus.com)
9617
9618 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9619 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9620 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9621
9622 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9623
9624 * gdb.t17/interrupt.exp: Add xfail for hppa.
9625
9626 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9627
9628 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9629 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9630 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9631 to determine signed-ness of bitfields and use the result to setup
9632 the xfail.
9633 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9634 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9635 call line is reached if necessary.
9636
9637 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9638
9639 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9640
9641 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9642
9643 * gdb.t06/break.exp: Also test `clear' command.
9644
9645 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9646
9647 * gdb.t00/teststrategy.exp: Remove extra quote.
9648
9649 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9650 watchpoint enabled to be for all non-68k machines.
9651
9652 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9653
9654 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9655
9656 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9657 targets use aout.mt instead of ecoff.mt as gas understands
9658 standard aout format.
9659
9660 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9661
9662 * lib/gdb.exp (runto): Don't insist that function we are running to
9663 was compiled with -g.
9664
9665 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9666
9667 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9668 to get back into the read system call.
9669 Accept leading newline in case where we woke it up.
9670
9671 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9672
9673 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9674 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9675 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9676 enable ecoff configuration.
9677
9678 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9679
9680 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9681
9682 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9683
9684 * gdb.t16/printcmds.exp: Add another printf test.
9685
9686 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9687
9688 * configure.in: If configured -with-stabs on any target, add
9689 stabsdirs to configdirs.
9690
9691 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9692
9693 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9694 fun" so pattern does not match the command itself.
9695
9696 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9697
9698 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9699
9700 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9701
9702 * gdb.t17/interrupt.exp: Test for more things.
9703
9704 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9705
9706 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9707 compiler arranges the code and line numbers.
9708
9709 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9710
9711 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9712
9713 * gdb.t00/help.exp: Increase expect input buffer size.
9714
9715 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9716
9717 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9718
9719 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9720
9721 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9722
9723 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9724 [0-9]*, not just [0-9].
9725
9726 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9727
9728 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9729
9730 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9731
9732 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9733
9734 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9735
9736 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9737
9738 * gdb.t06/signals.c: Add xfails for sun3.
9739
9740 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9741
9742 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9743 test_stepping tests.
9744
9745 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9746
9747 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9748
9749 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9750
9751 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9752 rather than actually putting it through cpp twice.
9753
9754 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9755
9756 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9757
9758 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9759 no longer needed.
9760
9761 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9762
9763 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9764
9765 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9766 C++ features prints as "struct", make it a pass, not an xfail.
9767
9768 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9769
9770 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9771 Don't require VA to print as "class" rather than "struct".
9772
9773 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9774
9775 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9776
9777 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9778
9779 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9780
9781 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9782
9783 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9784 order.
9785
9786 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9787
9788 * gdb.t16/printcmds.exp: Add printf tests.
9789
9790 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9791
9792 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9793
9794 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9795
9796 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9797 pass counts, to counteract any existing or future setup_xfails.
9798
9799 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9800
9801 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9802 {BEGIN,END}_COMMON for common block instead of STAB.
9803 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9804
9805 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9806 intp_var should be N_GSYM not N_LSYM.
9807 wierd-aout.S: Use a label for the value of the N_SO.
9808 wierd.def: Remove all backslashes.
9809 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9810
9811 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9812
9813 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9814 get the expected next to inheritance3.
9815
9816 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9817
9818 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9819 now that gcc-2.4 gets it right.
9820
9821 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9822
9823 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9824
9825 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9826 generating comp-info.exp which works for cross-compilation.
9827
9828 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9829
9830 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9831 "*-*-sysv4.*".
9832
9833 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9834
9835 * gdb.t01/run.exp: Start with a fresh gdb.
9836 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9837 SVR4.x.
9838
9839 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9840
9841 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9842 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9843 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9844 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9845 things to remove.
9846
9847 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9848
9849 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9850 test cases from bug reports.
9851
9852 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9853
9854 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9855 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9856 avoid spurious xfails.
9857 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9858 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9859 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9860
9861 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9862
9863 * gdb.t00/teststrategy.exp: Rework to provide more useful
9864 description of each test, fix problem with systems that define
9865 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9866 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9867 results for "next over recursive call" so timeouts aren't taken
9868 by error.
9869
9870 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9871
9872 * gdb.t12/scope.exp: Test printing of variables before run.
9873
9874 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9875 printed in wrong order due to sorting.
9876
9877 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9878
9879 * gdb.t00/teststrategy.exp: Fix expected results for printing
9880 user entered string constant. Is array of char, prints with no
9881 address.
9882
9883 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9884 commands.
9885 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9886 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9887 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9888 of struct of char arrays.
9889 * gdb.t00/radix.exp: New tests for radix commands.
9890
9891 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9892
9893 * gdb.t16/printcmd.exp: Print a variable before running program
9894 (with xfail for AIX).
9895
9896 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9897
9898 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9899
9900 * gdb.t16/printcmd.exp: Don't print variables before running program.
9901
9902 * gdb.t06/break.exp: Don't require envp argument to main.
9903
9904 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9905
9906 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9907 Add xfails for rs6000.
9908
9909 * gdb.t02/whatis.exp: Change other tests not to re-test something
9910 we already tested.
9911
9912 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9913 each type used has a variable of that type.
9914
9915 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9916
9917 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9918
9919 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9920
9921 * configure.in: change srctrigger to be a file, not a directory
9922
9923 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9924
9925 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9926
9927 * gdb.t11/list.exp: Fixed a couple of typos.
9928
9929 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9930
9931 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9932 is fixed and PR is closed.
9933 * gdb.t16 (gdbme.c): Add simple test string variable.
9934 * gdb.t16 (printcmds.exp): Add tests with simple test string
9935 variable, primarily for boundaries on "set print elements".
9936
9937 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9938
9939 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9940 Make leading 0's optional and don't expect a tab in the middle
9941 of the number.
9942
9943 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9944
9945 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9946 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9947 don't end command passed to gdb_test with newline.
9948
9949 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9950 signed keyword away, don't expect signed bitfields to be signed.
9951
9952 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9953 printing with only as many 1's as are in the field as well as printing
9954 with 32 1's (see comment).
9955
9956 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9957
9958 * gdb.t00/default.exp: Start with a fresh gdb.
9959 * configure.in (configdirs): Remove gdb.t31 until the chill
9960 compiler works again. It no longer is able to find chillrt0
9961 since it isn't in libchill.a anymore.
9962 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9963 wierd.o, make more modular.
9964 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9965 spurious newlines that caused problems.
9966
9967 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9968
9969 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9970 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9971 gdb.stabs/wierd.{exp,def}: Many new tests.
9972
9973 * gdb.t00/default.exp: update info line for new message.
9974
9975 * gdb.t02/{whatis.exp,gdbme.c}:
9976 Test that "char *" doesn't print as "caddr_t".
9977
9978 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9979
9980 * gdb.t00/help.exp: Use .* in place of some help messages which
9981 just changed.
9982 gdb.t00/default.exp: Update "info frame" test for new message.
9983 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9984 Remove some xfails
9985
9986 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9987
9988 * gdb.t03/{gdbme.c,ptype.exp}:
9989 Add tests for typedef'd struct and union without tags.
9990 Also check "whatis" on a variable of a typedef'd enum without a tag.
9991
9992 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9993 PRMS 1823; the bug still exists but isn't reproduced by this test
9994 anymore), and remove rs6000 XFAIL (the bug is fixed).
9995
9996 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9997 duplicated from whatis.exp. For those that are left, accept
9998 "long", "long int", or "int" for long variables (whatis.exp already
9999 has an XFAIL for "int", so no need to fail it here).
10000
10001 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10002 Deal with GCC's names for types now that GDB uses the compiler's names.
10003
10004 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10005 setup_xfail's for sunos4. If we #defined the signed keyword away,
10006 don't expect GDB to know that char it is signed.
10007
10008 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10009
10010 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10011
10012 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10013 should work on any system, regardless of debugging format.
10014 * gdb.t21/demangle.exp: Move to gdb.t24.
10015 * gdb.t24/demangle.exp: Move from gdb.t21.
10016 * gdb.t24/{Makefile.in, configure.in}: New files.
10017
10018 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10019
10020 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10021 * gdb.stabs: New directory.
10022
10023 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10024
10025 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10026 not just "Quit anyway?".
10027
10028 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10029
10030 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10031 that all setup_xfails are immediately followed by clear_xfails.
10032
10033 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10034
10035 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10036 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10037 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10038 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10039 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10040 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10041 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10042 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10043 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10044 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10045 gdb.t31/chillvars.exp, lib/gdb.exp:
10046 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10047 bug-gdb@prep.ai.mit.edu.
10048
10049 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10050
10051 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10052 with 0.0, not integer 0.
10053
10054 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10055
10056 * gdb.t06/break.exp: Update for "Kill the program" message change.
10057
10058 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10059
10060 * Makefile.in (GDBFLAGS): Set to -nx.
10061 * Makefile.in (site.exp): Use GDBFLAGS.
10062
10063 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10064
10065 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10066 Makefiles.
10067 (check): depend on just-check.
10068 (just-check): added so that tests can be run without a noop
10069 build pass.
10070
10071 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10072
10073 Switch to using configure's configdirs.
10074 * Makefile.in (Makefile): add configure.in dependency.
10075 (SUBDIRS): removed redundant assignment.
10076 * configure.in: switch subdirs assignment to configdirs.
10077 * gdb.t*/configure.in: new files.
10078
10079 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10080
10081 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10082 works.
10083
10084 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10085
10086 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10087 in explicit rules. Apparently this is not supported by some makes.
10088
10089 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10090
10091 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10092
10093 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10094
10095 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10096 disappeared.
10097
10098 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10099
10100 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10101
10102 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10103
10104 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10105 watchpoint problem that is now fixed.
10106 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10107 uninitialized convenience variables.
10108 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10109 structures.
10110
10111 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10112
10113 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10114 which causes expect to get out of sync with gdb on long output
10115 from help set.
10116 * gdb.t09/corefile.exp: Make expected pattern for core file
10117 failing signal and frame output format less sun specific.
10118
10119 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10120
10121 * gdb.t31/chillvars.exp: Add and remove initial dummy
10122 breakpoint, so that symbol table is forced in.
10123 (Needed at least on Sunos4, though it seems not SVR4.)
10124 * gdb.t31/chillvars.exp: Update for changed output format.
10125
10126 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10127
10128 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10129
10130 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10131
10132 * Makefile.in: Added --srcdir when invoking runtest, removed the
10133 need for a local config file. (optional now)
10134
10135 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10136
10137 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10138 failure count used to force early termination. Add some more
10139 expected failures for gnu style demangling.
10140
10141 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10142
10143 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10144 pmi variable from gdb.t20/gdbme to get optimized away.
10145 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10146 Check for written corefile upon timeout _and_ eof.
10147
10148 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10149
10150 * config/unix-gdb.exp: Add missing return 0.
10151
10152 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10153
10154 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10155 test termination.
10156
10157 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10158
10159 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10160 disappeared.
10161
10162 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10163
10164 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10165 time as i860 support works.
10166
10167 * gdb.t15/funcargs.exp: Fix expected outputs to include
10168 "backtrace 100\r" rather than just "backtrace\r", to match last
10169 change.
10170
10171 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10172
10173 * config/udi-gdb.exp (gdb_exit): Remove close command.
10174 (gdb_target_udi): New procedure to set the UDI target.
10175 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10176 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10177 Added waits for prompts after several question responses. Added
10178 some more responses used by a29k-amd-udi-gdb.
10179 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10180 pass different arguments, restart UDI connection after program
10181 completion.
10182 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10183 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10184 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10185 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10186 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10187 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10188 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10189 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10190 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10191 after program completion.
10192 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10193 compiled with a SELECT_VECS setting.
10194 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10195 infinite recursion.
10196
10197 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10198 Added checks for COFF results, and made them expected failures for
10199 all targets. It would be better to make them expected failures
10200 for COFF targets only.
10201
10202 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10203
10204 * Makefile.in: add null dvi target, don't bother to recurse
10205 through test directories for info and install-info; rename
10206 $(datadir) to be dejagnu instead of deja-gnu
10207
10208 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10209
10210 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10211 compiler to coredump.
10212 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10213 code.
10214
10215 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10216
10217 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10218 coredump.
10219 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10220 code.
10221
10222 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10223
10224 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10225 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10226 which in a shell. Deletes xgdb when done.
10227 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10228 Tests the return from the "set height" or "set width" commands.
10229 Added a few return codes where needed.
10230
10231 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10232
10233 * Makefile.in (SUBDIRS): Add gdb.t17.
10234 * configure.in (subdirs): Add gdb.t17.
10235 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10236 files to test gdb's calling of functions in the inferior with
10237 the correct arguments and gdb's ability to retrieve any
10238 result returned.
10239
10240 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10241
10242 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10243 may be called after gdb goes away. Previous versions of expect
10244 needed these to avoid file descriptor leaks, but they cause
10245 errors with the current revision of expect.
10246 * gdb.t00/gdbvars.exp: Use -re on expected output after
10247 setting sevenbit-strings.
10248 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10249 to set sevenbit-strings consistent across tests.
10250 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10251 set sevenbit-strings consistent across tests.
10252
10253 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10254
10255 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10256 expected output to match current "expect" expectations.
10257
10258 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10259
10260 * gdb.t00/default.exp: Change expected output for default "source"
10261 command, to match new gdb behavior which requires a filename to
10262 source.
10263
10264 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10265
10266 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10267 expected fail for i486-*-* that misses the marker2 function.
10268 * gdb.t10/crossload.exp (bfddefault): Allow successful
10269 recognition of a format to pass even if no symbols are found.
10270 Explicitly catch failures where the format is not recognized
10271 or is ambiguous, and add the reason to the fail message.
10272 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10273 the cause is and invalid target and add reason to failure message.
10274 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10275 elf32-i386, elf32-sparc, and elf32-i860.
10276 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10277 Set up expected failure for 'filename'::variable scope resolution,
10278 which is now apparently broken on all targets.
10279 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10280 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10281 gdb.t23/templates.exp: Change failure for missing binfile into
10282 just a warning.
10283 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10284 references.
10285
10286 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10287
10288 * gdb.t00/default.exp: Add expected output for default "source"
10289 command, to match new gdb behavior.
10290 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10291
10292 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10293
10294 * config/*-gdb.exp: returns an error, rather than exiting on
10295 internal errors.
10296
10297 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10298
10299 * gdb.t03/gdbme.c: Add pointer to struct variable.
10300 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10301 referencing struct members.
10302
10303 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10304
10305 * configure.in (mips-idt-ecoff): New target.
10306 * config/mips-gdb.exp: New file for remote board using MIPS remote
10307 debugging protocol.
10308
10309 * Redid configuration scheme. Removed gdb.t*/configure.in.
10310 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10311 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10312 distclean targets. Built executables via .o files. Adjusted
10313 tests to account for source files in $(srcdir) rather than
10314 $(objdir).
10315 * lib/gdb.exp (runto): Don't expect () after the function name,
10316 because it may have arguments.
10317
10318 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10319
10320 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10321 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10322 expected failures for mips-idt-* and mips-sgi-*.
10323 * gdb.t00/default.exp (attach): Kill process if requested.
10324 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10325 that does not read core files.
10326 * gdb.t01/run.exp: Removed checks for exit status code.
10327 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10328 it is linked in.
10329 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10330 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10331 appropriate, rather than doing it by hand.
10332 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10333 execution.
10334 * gdb.t10/crossload.exp: Kill existing program if needed.
10335 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10336 appropriate, rather than doing it by hand. Always increase
10337 timeout for this test, not just for VxWorks.
10338
10339 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10340
10341 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10342 of Chill STRUCT types and STRUCT values.
10343 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10344 than "char".
10345 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
10346 struct2): New struct definitions and initializations to test
10347 simple Chill STRUCT types.
10348
10349 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10350
10351 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10352 the null byte at the end of strings.
10353 * gdb.t00/default.exp: Make show version insensitive to copyright
10354 date.
10355 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10356 to avoid dependencies on target char signedness.
10357 * gdb.t16/printcmds.exp: Update expected results for explicitly
10358 unsigned char.
10359 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10360 now work.
10361 * gdb.t21/demangle.exp: Add many more patterns for template
10362 demangling, most of them being expected failures.
10363 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10364 string we are matching for, to match on the whole string.
10365 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10366 and fix a whole bunch that had incorrect expected output but were
10367 passing anyway because of the bug in "proc demangle".
10368 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10369 type.
10370 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10371
10372 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10373
10374 * gdb/testsuite: made modifications to testcases, etc., to allow
10375 them to work properly given the reorganization of deja-gnu and the
10376 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10377
10378 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10379
10380 * gdb/testsuite: Initial creation of gdb/testsuite.
10381 Migrated dejagnu testcases and support files for testing nm to
10382 gdb/testsuite from deja-gnu. These files were moved "as is"
10383 with no modifications. This migration is part of a major overhaul
10384 of dejagnu. The modifications to these testcases, etc., which
10385 will allow them to work with the new version of dejagnu will be
10386 made in a future update.
10387 \f
10388 Local Variables:
10389 mode: indented-text
10390 left-margin: 8
10391 fill-column: 74
10392 version-control: never
10393 End:
This page took 0.269842 seconds and 4 git commands to generate.