]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* ld-mips-elf/elf-rel-got-n64-linux.d: New file.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f56973f8
DJ
12003-06-29 Daniel Jacobowitz <drow@mvista.com>
2
3 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
4 gdb/1265.
5
62003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
7 Daniel Jacobowitz <drow@mvista.com>
8
9 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
10 initial line count of 'captured_main' from 26 to 32.
11 (test_with_self): Allow xmalloc call to be interleaved with the
12 preceding two lines.
13
e766d4d6
JB
142003-06-24 Joel Brobecker <brobecker@gnat.com>
15
16 * gdb.base/bang.exp: New testcase.
17
f125c9a4
JB
182003-06-23 Joel Brobecker <brobecker@gnat.com>
19
20 * gdb.base/langs.exp: Add some tests for the "minimal" language
21 support.
22
6e25beaf
EZ
232003-06-23 Elena Zannoni <ezannoni@redhat.com>
24
25 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
26 the testcase.
27
2f816dda
DJ
282003-06-22 Daniel Jacobowitz <drow@mvista.com>
29
30 * gdb.base/relocate.exp: Test add-symbol-file with a variable
31 offset.
32
db5a5748
DJ
332003-06-22 Daniel Jacobowitz <drow@mvista.com>
34
35 * gdb.c++/pr-1210.cc: New file.
36 * gdb.c++/pr-1210.exp: New file.
37
1df0c130
DJ
382003-06-21 Daniel Jacobowitz <drow@mvista.com>
39
40 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
41 000-exec-continue.
42
a92feac0
MK
432003-06-15 Mark Kettenis <kettenis@gnu.org>
44
45 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
46 on *-*-*bsd* instead of *-*-freebsd*.
47
81a58f5b
AC
482003-06-14 Andrew Cagney <cagney@redhat.com>
49
50 * gdb.base/store.exp: Test longest and doublest. Test all
51 parameters. Weaken return statement match.
52 * gdb.base/store.c: Add longest and doublest - aka long long and
53 long double functions. Put all parameters into local register
54 variables. Use negative values.
55
b257a0d3
AC
562003-06-14 Andrew Cagney <cagney@redhat.com>
57
58 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
59 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
60 exit status.
61 * gdb.base/fileio.exp: Disable target when nointerrupts and
62 noinferiorio, instead of limiting it to remote. Use remote_exec
63 instead of system.
64
21c38304
JJ
652003-06-12 Jeff Johnston <jjohnstn@redhat.com>
66
67 * gdb.base/float.exp: Add ia64 support.
68
1bcdb424
CV
692003-06-12 Corinna Vinschen <vinschen@redhat.com>
70
71 * gdb.base/fileio.exp: Run only on remote targets.
72
6aeb981f
CV
732003-06-10 Corinna Vinschen <vinschen@redhat.com>
74
75 * gdb.base/fileio.c: New file, testing File-I/O.
76 * gdb.base/fileio.exp: Ditto.
77
53df362e
RG
782003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
79
80 * gdb.base/shreloc.exp: New file, check symbol values obtained from
81 shared objects after relocation at load time (gdb PR/1132).
82 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
83 as above, part of the shared object relocation test.
84
ffee1b46
MK
852003-06-08 Mark Kettenis <kettenis@gnu.org>
86
b5ca3722
MK
87 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
88 fully filled history list.
89 * gdb.base/gdb_history: New file.
90
03ed860d
MK
91 * gdb.base/signals.exp: XFAIL "continue to func1" on
92 i*86-*-freebsd*.
93
ffee1b46
MK
94 * gdb.base/attach.exp: When trying to attach to a nonexistent
95 process, make it possible to specify the PID based on the target,
96 and do so for *-*-freebsd*.
97
d80dbb52
RH
982003-06-02 Richard Henderson <rth@redhat.com>
99
100 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
101
6dd77b81
RH
1022003-06-02 Richard Henderson <rth@redhat.com>
103
104 * gdb.base/selftest.exp: Next over lim_at_start initialization.
105
f6347e16
RH
1062003-06-02 Richard Henderson <rth@redhat.com>
107
108 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
109
2c161407
DJ
1102003-06-01 Daniel Jacobowitz <drow@mvista.com>
111
112 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
113 of globalvar.
114
572eb746
MK
1152003-06-01 Mark Kettenis <kettenis@gnu.org>
116
117 * gdb.asm/asm-source.exp: Check for memory read errors in
118 disassembler test on *BSD too.
119
9e9617a5
RH
1202003-06-01 Richard Henderson <rth@redhat.com>
121
122 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
123 for .frame.
124 (gdbasm_call): Lose ldgp.
125 (gdbasm_startup): Add frame information.
126 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
127
7b34ad4e
MK
1282003-05-31 Mark Kettenis <kettenis@gnu.org>
129
130 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
131 i?86-*-*.
132
10059fdf
MK
1332003-05-30 Mark Kettenis <kettenis@gnu.org>
134
135 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
136 FreeBSD.
137
acf4b816
RH
1382003-05-29 Richard Henderson <rth@redhat.com>
139
140 * gdb.asm/alpha.inc: New file.
141 * gdb.asm/asm-source.exp: Use it.
142
e9ecd949
JB
1432003-05-29 Jim Blandy <jimb@redhat.com>
144
145 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
146 'core.PID'.
147
e3e5a4f3
JB
1482003-05-22 Jim Blandy <jimb@redhat.com>
149
150 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
151 backtrace.
152
72fe3d25
DC
1532003-05-20 David Carlton <carlton@math.stanford.edu>
154
155 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
156 this time.
157
58da2eb2
DC
1582003-05-19 David Carlton <carlton@bactrian.org>
159
160 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
161 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
162
1fcb5155
DC
1632003-05-19 David Carlton <carlton@bactrian.org>
164
165 * gdb.c++/namespace.exp: Add namespace scope and anonymous
166 namespace tests.
167 Bump copyright date.
168 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
169 (main): Call C::D::marker2.
170 * gdb.c++/namespace1.cc: New file.
171
85e85163
JJ
1722003-05-14 Jeff Johnston <jjohnstn@redhat.com>
173
174 Roland McGrath <roland@redhat.com>
175 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
176 there is no manager thread.
177
a25fbfec
JJ
1782003-05-08 Jeff Johnston <jjohnstn@redhat.com>
179
180 * gdb.threads/schedlock.exp: Remove assumption that all threads
181 will run in a particular small time slice. Also ensure we break
182 in one of the child threads rather than the main thread.
183
be375bae
JB
1842003-05-07 Jim Blandy <jimb@redhat.com>
185
09bf6082
JB
186 Add support for assembly source testing on the s390x.
187 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
188 architecture.
189 * gdb.asm/s390x.inc: New file.
190
be375bae
JB
191 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
192 succession of 'if' statements.
193
00905d52
AC
1942003-05-05 Andrew Cagney <cagney@redhat.com>
195
196 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
197
b1e29e33
AC
1982003-05-05 Andrew Cagney <cagney@redhat.com>
199
200 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
201 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
202
e33d66ec
EZ
2032003-05-02 Elena Zannoni <ezannoni@redhat.com>
204
205 * gdb.base/charset.exp: Update based on new behavior of set/show
206 charset commands.
207
2b6fd0d8
AC
2082003-05-01 Andrew Cagney <cagney@redhat.com>
209
210 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
211 variable do not give memory errors.
212
130cacce
AF
2132003-04-30 Adam Fedor <fedor@gnu.org>
214
215 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
216 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
217 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
218 gdb.objc/basicclass.m: : New files
219
220 * lib/gdb.exp (gdb_compile_objc): New procedure.
221
bea71854
DJ
2222003-04-27 Daniel Jacobowitz <drow@mvista.com>
223
224 * gdb.base/signals.exp: Make backtrace tests more specific.
225
0f20eeea
DC
2262003-04-23 David Carlton <carlton@bactrian.org>
227
228 * gdb.c++/maint.exp (test_first_component): Add tests for
229 'operator' in more locations.
230
c8c4d8dc
KB
2312003-04-16 Kevin Buettner <kevinb@redhat.com>
232
233 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
234
3fe60e3c
EZ
2352003-04-16 Elena Zannoni <ezannoni@redhat.com>
236
237 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
238 func marke' instead. Update test name.
239
9219021c
DC
2402003-04-15 David Carlton <carlton@math.stanford.edu>
241
242 * gdb.c++/maint.exp: New file.
243
5dd55bdd
EZ
2442003-04-14 Elena Zannoni <ezannoni@redhat.com>
245
246 * gdb.threads/schedlock.c: Change type of thread function argument
247 to long, to avoid warnings on 64-bit platforms.
248
00890572
EZ
2492003-04-14 Elena Zannoni <ezannoni@redhat.com>
250
251 * gdb.base/attach.exp: Add new message from ptrace in case of
252 attaching to nonexistent process.
253
93201743
JB
2542003-04-11 Jim Blandy <jimb@redhat.com>
255
256 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
257 gdb.c++/userdef.cc: Place comments on the lines to which the
258 marker function might return.
259 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
260 gdb.c++/userdef.exp: Look for those comments to check that we've
261 returned to the right place, instead of checking line numbers.
262
2a11c64d
EZ
2632003-04-11 Elena Zannoni <ezannoni@redhat.com>
264
265 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
266 match on sourcefile name, instead of directory name.
267
68ab8fc5
EZ
2682003-04-10 Elena Zannoni <ezannoni@redhat.com>
269
270 * gdb.base/completion.exp: Use string_to_regexp to match the
271 working directory name.
272
5624293a
JB
2732003-04-09 Jim Blandy <jimb@redhat.com>
274
275 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
276 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
277 after an inferior function call, report the failure, but allow the
278 test to continue.
279
f1f02ee4
SC
2802003-04-05 Stephane Carrez <stcarrez@nerim.fr>
281
282 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
283 with -DPROTOTYPES.
284
6eb79af0
SC
2852003-04-05 Stephane Carrez <stcarrez@nerim.fr>
286
287 * gdb.base/break.exp: Revert last patch.
288
8dfb4cf0
SC
2892003-04-04 Stephane Carrez <stcarrez@nerim.fr>
290
291 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
292 with -DPROTOTYPES.
293
ed4c619a
AC
2942003-04-02 Andrew Cagney <cagney@redhat.com>
295
296 * gdb.base/callfuncs.exp: Make "print add" messages unique.
297 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
298 matching directories by the name breakpoint.
299 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
300 Make "continue to marker1" consistent.
301 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
302 message consistent.
303 * lib/gdb.exp: Put "the program is no longer running", and "the
304 program exited" in parenthesis.
305 * lib/mi-support.exp: Ditto.
306
4e35d5f0
BR
3072003-04-02 Bob Rossi <bob_rossi@cox.net>
308
309 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
310
71900fe8
AC
3112003-03-29 Andrew Cagney <cagney@redhat.com>
312
313 * gdb.base/sizeof.c (main): Print the value of '\377'.
314 * gdb.base/sizeof.exp: Check the sign of '\377'.
315
c0655a16
MC
3162003-03-27 Michael Chastain <mec@shout.net>
317
318 * gdb.base/gdb1090.exp: New file.
319 * gdb.base/gdb1090.cc: New file.
320
5b2a3989
JB
3212003-03-27 J. Brobecker <brobecker@gnat.com>
322
323 * gdb.gdb/observer.exp: New regression test.
324
79876890
MC
3252003-03-27 Michael Chastain <mec@shout.net>
326
327 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
328 * gdb.base/ptype.exp: Likewise.
329
6eac95e3
CV
3302003-03-27 Corinna Vinschen <vinschen@redhat.com>
331
332 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
333
e8c71839
MC
3342003-03-26 Michael Chastain <mec@shout.net>
335
336 * gdb.base/ptype.exp: Actually use some typedef'd types.
337
71b10041
SC
3382003-03-21 Stephane Carrez <stcarrez@nerim.fr>
339
340 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
341 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
342
2512cf80
CV
3432003-03-20 Corinna Vinschen <vinschen@redhat.com>
344
345 * gdb.base/default.exp: Fix regular expression.
346
0d195a4f
CV
3472003-03-20 Corinna Vinschen <vinschen@redhat.com>
348
349 * gdb.base/args.exp: Fix regular expression.
350
8a2dbca8
CV
3512003-03-20 Corinna Vinschen <vinschen@redhat.com>
352
353 * gdb.base/help.exp: Allow Win32 child process.
354
bf028682
CV
3552003-03-20 Corinna Vinschen <vinschen@redhat.com>
356
357 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
358 when stepping out of main().
359
182dbe85
CV
3602003-03-20 Corinna Vinschen <vinschen@redhat.com>
361
362 * gdb.base/default.exp: Check for win32 specific message when calling
363 "run" without executable.
364
d67a6ba5
CV
3652003-03-20 Corinna Vinschen <vinschen@redhat.com>
366
367 * gdb.base/args.exp: Expect .exe in output.
368
a955b5bb
CV
3692003-03-20 Corinna Vinschen <vinschen@redhat.com>
370
371 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
372 Cygwin native.
373
bf6bad4b
AC
3742003-03-17 Andrew Cagney <cagney@redhat.com>
375
376 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
377 vector registes.
378 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
379 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
380
293e9a31
DC
3812003-03-17 David Carlton <carlton@math.stanford.edu>
382
383 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
384 test, for PR breakpoints/38.
385 Call test_watchpoint_and_breakpoint.
386 * gdb.base/watchpoint.c (func3): New function.
387 (main): Call func3.
388
5330f2db
DC
3892003-03-04 David Carlton <carlton@math.stanford.edu>
390
391 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
392 Garply<Garply<char> >:: garply".
393 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
394 with respect to PR c++/1111; note also PR c++/1113.
395 (test_template_breakpoints): KFAIL "constructor breakpoint" with
396 respect to PR c++/1062.
397 KFAIL "destructor breakpoint" with respect to PR c++/1112.
398
6ece72da
DC
3992003-03-03 David Carlton <carlton@math.stanford.edu>
400
401 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
402 with respect to PR c++/57.
403 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
404 c++/826.
405 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
406 respect to PR c++/57.
407
85ca1584
DC
4082003-03-03 David Carlton <carlton@math.stanford.edu>
409
410 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
411 respect to PR c++/33 into FAILs.
412
98e9c5b8
MC
4132003-03-03 Michael Chastain <mec@shout.net>
414
7bedbf27
MC
415 * configure.in: Update copyright years.
416
4172003-03-03 Michael Chastain <mec@shout.net>
418
419 * Makefile.in: Update copyright years.
98e9c5b8 420
f683e100
DC
4212003-02-28 David Carlton <carlton@math.stanford.edu>
422
423 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
424 print class instead of struct and/or superfluous protection
425 specifiers, as long as the resulting output is equivalent to the
426 source code.
427 Delete FIXME from end of messages on tests that don't need
428 fixing.
429
a9e0cf2c
DC
4302003-02-28 David Carlton <carlton@math.stanford.edu>
431
432 * gdb.c++/templates.exp (do_tests): Allow const in the two
433 Foo<volatile char *>::foo tests.
434
e8d359df
MS
4352003-02-27 Michael Snyder <msnyder@redhat.com>
436
437 * gdb.base/restore.c (main): Return zero, so exit code
438 will be consistant.
439
0b71dc91
DC
4402003-02-26 David Carlton <carlton@math.stanford.edu>
441
442 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
443 char *>::foo" test with respect to PR c++/33. Create a new test
444 which is identical to that one except that it doesn't put the
445 space between the "char" and the "*"; KFAIL it, too.
446
dd14ab43
DC
4472003-02-26 David Carlton <carlton@math.stanford.edu>
448
449 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
450 template types into either PASSes or KFAILs (corresponding to PR
451 c++/57). Tweak indentation. Update copyright.
452
1146c7f1
SC
4532003-02-23 Stephane Carrez <stcarrez@nerim.fr>
454
455 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
456
74641dfb
MC
4572003-02-13 Michael Chastain <mec@shout.net>
458
459 * gdb.base/exprs.exp: Remove i960 remnants.
460 * gdb.base/funcargs.exp: Likewise.
461 * gdb.base/list.exp: Likewise.
462 * gdb.base/ptype.exp: Likewise.
463
559cd2d0
DC
4642003-02-14 David Carlton <carlton@math.stanford.edu>
465
466 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
467 pEe->D::vg()" from XFAIL to KFAIL.
468
c4f90d87
JM
4692003-02-13 Jason Molenda (jmolenda@apple.com)
470
471 * gdb.base/maint.exp: Update maint print statistics regexp to include
472 new entries.
473
cbc4d97c
MC
4742003-02-13 Michael Chastain <mec@shout.net>
475
476 * gdb.c++/inherit.exp: Remove call to get_debug_format.
477
40f235b7
MC
4782003-02-12 Michael Chastain <mec@shout.net>
479
480 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
481 * gdb.c++/inherit.exp: Likewise.
482 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
483 * gdb.c++/templates.exp: Likewise.
484 * gdb.c++/virtfunc.exp: Likewise.
485
c56716b0
JM
4862003-02-06 Jason Molenda (jason-cl@molenda.com)
487
488 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
489 why the code is written that way.
490
070afcf8
MC
4912003-02-05 Michael Chastain <mec@shout.net>
492
493 * gdb.base/dump.exp: Add missing copyright line.
494
5d0331e5
JM
4952003-02-05 Jason Molenda (jason-cl@molenda.com)
496
f7ae6d3e 497 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
498 at the beginning so the breakpoint doesn't get set on the loop.
499
92851186
MC
5002003-02-05 Michael Chastain <mec@shout.net>
501
502 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
503 output for configurations with gcc 2.95.3.
504
cbf1e085
AC
5052003-02-05 Keith Seitz <keiths@redhat.com>
506 Andrew Cagney <ac131313@redhat.com>
507
508 * gdb.mi/mi-cli.exp: New file.
509
29518e1e
MC
5102003-02-04 Michael Chastain <mec@shout.net>
511
512 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
513 Call perror and then continue.
514
5af1d5f3
MC
5152003-02-03 Michael Chastain <mec@shout.net>
516
517 * gdb.c++/pr-1023.cc: New file.
518 * gdb.c++/pr-1023.exp: New file.
519
6b549786
JB
5202003-02-05 Jim Blandy <jimb@redhat.com>
521
522 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
523 it's local to foobar. Check for it there, and check that it's not
524 present in main.
525 * gdb.c++/local.cc (marker2): New function.
526 (foobar): Call marker1.
527 (main): Call marker2 instead of marker1.
528
67f16606
AC
5292003-02-04 Andrew Cagney <ac131313@redhat.com>
530
531 * gdb.disasm/mn10200.exp: Obsolete file.
532 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
533 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
534 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
535
1c5cb38e
DC
5362003-02-04 David Carlton <carlton@math.stanford.edu>
537
538 * gdb.c++/overload.exp: Test intToChar(1).
539 * gdb.c++/overload.cc (intToChar): New.
540 (main): Call intToChar.
541
d1fe6965
DC
5422003-02-03 David Carlton <carlton@math.stanford.edu>
543
544 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
545 'might_kfail' arg.
546 KFAIL some of the continue_to_bp_overloaded calls, according to
547 PR c++/1025.
548
9ba61c5d
MC
5492003-02-01 Michael Chastain <mec@shout.net>
550
551 * gdb.base/advance.c (marker1): New marker function.
552 * gdb.base/advance.exp: When the 'advance' command lands on the
553 return breakpoint, it can legitimately stop on either the
554 current line or the next line. Accommodate both outcomes.
555 * gdb.base/until.exp: Likewise.
556
e7494ffb
AC
5572003-02-02 Andrew Cagney <ac131313@redhat.com>
558
559 2002-11-10 Jason Molenda (jason-cl@molenda.com):
560 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
561 now a list, not a tuple.
562 * gdb.mi/mi-var-display.exp: Ditto.
563 * gdb.mi/gdb792.exp: Ditto.
564
075559bc
AC
5652003-02-01 Andrew Cagney <ac131313@redhat.com>
566
567 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
568 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
569 stack backtraces.
570 * gdb.mi/mi-syn-frame.c: Part of same.
571
2bd4c7b1
MK
5722003-02-01 Mark Kettenis <kettenis@gnu.org>
573
574 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
575 gdb.mi/mi1-pthreads.exp: Return instead of calling
576 gdb_suppress_entire_file.
577
eabd8992
MS
5782003-02-01 Mark Salter <msalter@redhat.com>
579
580 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
581
71469e2f
MS
5822003-01-31 Mark Salter <msalter@redhat.com>
583
584 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
585 Support empty arg.
586
38a94d44
MC
5872003-01-30 Michael Chastain <mec@shout.net>
588
589 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
590 This was a workaround for a UTF-8 bug in readline 4.3. The bug
591 has been fixed in gdb/readline on 2003-01-09.
592
19ea9e73
MS
5932003-01-29 Michael Snyder <msnyder@redhat.com>
594
e8d359df
MS
595 * gdb.base/maint.exp: Allow for leading underscore in symbol.
596 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
597 * gdb.base/args.exp: Skip if target does not support args passing.
598
2307bd6a
DJ
5992003-01-22 Daniel Jacobowitz <drow@mvista.com>
600
19ea9e73 601 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
602 gdb_test. Accept a list of expect arguments as the third
603 parameter.
604 (gdb_test): Use it.
605
f2dd3617
EZ
6062003-01-20 Elena Zannoni <ezannoni@redhat.com>
607
608 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
609 allow for different test tree configurations. Update some
610 tescases accordingly.
611 * gdb.arch/altivec-regs.exp: Ditto.
612 * gdb.asm/asm-source.exp: Ditto.
613 * gdb.base/advance.exp: Ditto.
614 * gdb.base/display.exp: Ditto.
615 * gdb.base/long_long.exp: Ditto.
616 * gdb.base/mips_pro.exp: Ditto.
617 * gdb.base/overlays.exp: Ditto.
618 * gdb.base/relocate.exp: Ditto.
619 * gdb.base/setshow.exp: Ditto.
620 * gdb.base/step-line.exp: Ditto.
621 * gdb.base/step-test.exp: Ditto.
622 * gdb.base/until.exp: Ditto.
623 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
624
c71cdefd
DC
6252003-01-17 David Carlton <carlton@math.stanford.edu>
626
627 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
628 corresponding to PR c++/945.
629 Update copyright.
630
fdba05d7
DC
6312003-01-17 David Carlton <carlton@math.stanford.edu>
632
633 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
634 corresponding to PR c++/68.
635
6362003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
637
638 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
639 (test_paddr_hairy_functions): Call print_addr_2_kfail for
640 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
641
c362c33a
EZ
6422003-01-15 Elena Zannoni <ezannoni@redhat.com>
643
0fbc361c
EZ
644 * gdb.base/break.exp: Fix change of default location, because of
645 removal of until tests.
646 * gdb.base/help.exp: Update test for new 'until' help message.
647 Add test for help on 'advance'.
c362c33a
EZ
648 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
649
dabf8a35
MK
6502003-01-15 Mark Kettenis <kettenis@gnu.org>
651
652 * gdb.base/default.exp: Adapt "info float" test for recent changes
653 to that command. Add test for "info vector".
654 * gdb.base/float.exp: New file. Add test for "info float" that
655 resembles the old test in gdb.base/default.exp.
656
a1769aca
DC
6572003-01-15 David Carlton <carlton@math.stanford.edu>
658
659 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
660
82025e13
EZ
6612003-01-15 Elena Zannoni <ezannoni@redhat.com>
662
663 * gdb.base/break.exp: Move the tests of until command from here...
664 * gdb.base/until.exp: ... to here. New file. Add other tests.
665 * gdb.base/advance.c: New file.
666 * gdb.base/advance.exp: New file.
667
8f9ab801
EZ
6682003-01-14 Elena Zannoni <ezannoni@redhat.com>
669
670 * gdb.base/args.c: New file.
671 * gdb.base/args.exp: New file.
672
9ae66589
DJ
6732003-01-14 Daniel Jacobowitz <drow@mvista.com>
674
675 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
676
8d77e5c3
DJ
6772003-01-14 Daniel Jacobowitz <drow@mvista.com>
678
679 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
680
12d2f0a1
DJ
6812003-01-14 Daniel Jacobowitz <drow@mvista.com>
682
683 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
684 dates.
685
6ca37014
DJ
6862003-01-13 Daniel Jacobowitz <drow@mvista.com>
687
688 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
689
b0023472
DJ
6902003-01-13 Daniel Jacobowitz <drow@mvista.com>
691
692 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
693 (ptype &*"foo").
694 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
695
d6abaea5
DJ
6962002-01-13 Daniel Jacobowitz <drow@mvista.com>
697
698 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
699 * gdb.mi/mi1-console.exp: Likewise.
700
dfd536a7
DJ
7012002-01-13 Daniel Jacobowitz <drow@mvista.com>
702
703 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
704 * gdb.mi/mi1-console.exp: Likewise.
705
a1fb14a2
DJ
7062003-01-13 Daniel Jacobowitz <drow@mvista.com>
707
708 * gdb.c++/overload.exp: Remove some fixed XFAILs.
709
c4cf40b7
DJ
7102003-01-09 Daniel Jacobowitz <drow@mvista.com>
711
712 * gdb.base/detach.exp: New test.
713
696d5a5b
DJ
7142003-01-09 Daniel Jacobowitz <drow@mvista.com>
715
716 * Makefile.in (ALL_SUBDIRS): New variable.
717 (subdirs, clean, distclean): Use it.
718 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
719 regenerating Makefile, since it is generated from the top level.
720 * gdb.asm/Makefile.in: Likewise.
721 * gdb.base/Makefile.in: Likewise.
722 * gdb.c++/Makefile.in: Likewise.
723 * gdb.disasm/Makefile.in: Likewise.
724 * gdb.java/Makefile.in: Likewise.
725 * gdb.mi/Makefile.in: Likewise.
726 * gdb.threads/Makefile.in: Likewise.
727 * gdb.trace/Makefile.in: Likewise.
728
754533e4
DC
7292003-01-09 David Carlton <carlton@math.stanford.edu>
730
731 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
732 Add copyright year 2003.
733
d8b3e9ee
MC
7342003-01-06 Michael Chastain <mec@shout.net>
735
736 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
737 When selecting a thread, 'line' and 'file' are optional.
738 * gdb.mi/mi1-pthreads.exp: Likewise.
739
8e9e0fe6
AS
7402003-01-06 Andreas Schwab <schwab@suse.de>
741
742 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
743 failures.
744
b5ab8ff3
DJ
7452003-01-04 Daniel Jacobowitz <drow@mvista.com>
746
747 Fix PR gdb/844
748 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
749 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
750
751 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
752 instead of calling gdb_suppress_entire_file.
753 * gdb.threads/print-threads.exp: Likewise.
754 * gdb.threads/schedlock.exp: Likewise.
755
756 * gdb.threads/killed.exp: Return instead of calling
757 gdb_suppress_entire_file.
758 * gdb.threads/linux-dp.exp: Likewise.
759 * gdb.threads/pthreads.exp: Likewise.
760
1e698235
DJ
7612003-01-04 Daniel Jacobowitz <drow@mvista.com>
762
763 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
764 stabs.
765 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
766 * gdb.base/whatis.exp: Always allow (void) after function names.
767
147ff08c
DJ
7682003-01-04 Daniel Jacobowitz <drow@mvista.com>
769
770 * gdb.c++/casts.exp: Correct regexp.
771
dc62bfc2
MK
7722003-01-04 Mark Kettenis <kettenis@gnu.org>
773
774 * configure.in: Call AC_CONFIG_HEADER. Don't call
775 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
776 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
777 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
778 aforementioned directories in the AC_OUPUT call.
779 * config.hin: New file.
780 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
781 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
782 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
783 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
784 pass -I$objdir instead of -I$objdir/$subdir in compilation.
785 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
786 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
787 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
788 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
789 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
790 gdb.threads/configure.in, gdb.threads/configure,
791 gdb.threads/config.in, gdb.trace/configure.in,
792 gdb.trace/configure: Removed.
793
77afa639
MC
7942003-01-03 Michael Chastain <mec@shout.net>
795
796 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
797 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
798
7634bb6e
DJ
7992003-01-03 Daniel Jacobowitz <drow@mvista.com>
800
801 * gdb.base/store.exp: Fix regular expressions.
802
b39c905e
MK
8032002-12-28 Mark Kettenis <kettenis@gnu.org>
804
805 * configure.in: Rewrite.
806 * configure: Regenerated.
807
0a8551dd
DC
8082003-01-03 David Carlton <carlton@math.stanford.edu>
809
810 * gdb.base/psymtab.exp: New file.
811 * gdb.base/psymtab1.c: Ditto.
812 * gdb.base/psymtab2.c: Ditto.
813
c60b7188
AF
8142002-12-23 Adam Fedor <fedor@gnu.org>
815
816 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
817
ee73db83
DC
8182002-12-23 David Carlton <carlton@math.stanford.edu>
819
820 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
821 and current_directory initialization.
822
d6c1774e
JB
8232002-12-22 Jim Blandy <jimb@redhat.com>
824
f0a847b8
JB
825 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
826 rather than as part of the output file name.
827
d6c1774e
JB
828 * gdb.base/attach.exp: There's no need to copy the test program to
829 /tmp; that was only ever necessary on HP/UX, and this test is
830 entirely disabled there anyway.
831
f0708dbb
JB
8322002-12-21 Jim Blandy <jimb@redhat.com>
833
4c2acfea
JB
834 * gdb.c++/psmang.exp: Doc fix.
835
f0708dbb
JB
836 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
837 test.
838
9579e000
DC
8392002-12-20 David Carlton <carlton@math.stanford.edu>
840
841 * gdb.c++/annota2.exp: KFAIL annotate-quit.
842
d1810171
MC
8432002-12-18 Michael Chastain <mec@shout.net>
844
845 * gdb.c++/annota2.exp: Add copyright year 2002.
846
76565097
DC
8472002-12-17 David Carlton <carlton@math.stanford.edu>
848
849 * gdb.c++/try_catch.cc: Add marker comments.
850 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
851 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
852 * gdb.c++/m-static.cc: Ditto.
853 * gdb.c++/m-static1.cc: Ditto.
854 * gdb.c++/try_catch.cc: Ditto.
855
da81390b
JJ
8562002-12-16 Jeff Johnston <jjohnstn@redhat.com>
857
858 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
859 to see whether we are using the new -environment-directory
860 command which resets via -r or the old version of the command
861 which may prompt the user. Part of fix for gdb/741.
862
b304d130
AC
8632002-12-13 Andrew Cagney <ac131313@redhat.com>
864
865 * gdb.fortran/types.exp: Update obsolete comment.
866 * gdb.fortran/exprs.exp: Ditto.
867 * lib/gdb.exp: Delete obsolete code.
868 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
869 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
870 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
871 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
872 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
873 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
874 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
875 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
876 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
877 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
878 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
879 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
880 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
881 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
882 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
883 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
884 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
885 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
886 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
887 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
888 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
889 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
890 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
891 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
892 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
893 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
894 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
895 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
896 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
897 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
898 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
899 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
900 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
901 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
902 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
903 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
904 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
905
a23b6e6a
DC
9062002-12-11 David Carlton <carlton@math.stanford.edu>
907
908 * gdb.c++/m-data.exp: Add test for members that shadow global
909 variables: see PR gdb/804.
910 * gdb.c++/m-data.cc: Ditto.
911
6604731b
DJ
9122002-12-10 Daniel Jacobowitz <drow@mvista.com>
913
914 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
915
de46ecd7
DC
9162002-12-06 David Carlton <carlton@math.stanford.edu>
917
918 * gdb.base/store.c: Don't declare functions static.
919
27e829d0
AC
9202002-12-04 Andrew Cagney <ac131313@redhat.com>
921
922 * gdb.base/store.exp, gdb.base/store.c: New files.
923
92806416
DJ
9242002-12-03 Daniel Jacobowitz <drow@mvista.com>
925
926 * gdb.base/selftest.exp: Update for current gdb.
927
3bcbaac5
DJ
9282002-12-03 Daniel Jacobowitz <drow@mvista.com>
929
930 * gdb.base/maint.exp: Only dump symbols from one source file
931 or objfile.
932
f4f00b1f
DJ
9332002-12-03 Daniel Jacobowitz <drow@mvista.com>
934
935 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
936 function call.
937
f1c8a949
JB
9382002-11-25 Jim Blandy <jimb@redhat.com>
939
940 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
941 function appearing in error message.
942
9e297a97
DJ
9432002-11-21 Daniel Jacobowitz <drow@mvista.com>
944
945 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
946
1f312e79
JJ
9472002-11-08 Jeff Johnston <jjohnstn@redhat.com>
948
949 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
950 for mi1 and current mi is in correct format. New mi startup message
951 should be in mi console format. This is part of fix for PR gdb/604.
952
83c31e7d
FN
9532002-09-18 Fernando Nasser <fnasser@redhat.com>
954
955 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
956 which explicitly prints the zero offset as "+0".
957
322b3f65
DJ
9582002-10-22 Daniel Jacobowitz <drow@mvista.com>
959
960 * gdb.threads/schedlock.c (args): Make unsigned.
961
9622002-10-21 Daniel Jacobowitz <drow@mvista.com>
963
964 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
965 numbers. Allow "foo2|selected stack frame".
966 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
967 * gdb.asm/asmsrc2.s: Likewise.
968 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
969 comments.
970 * gdb.asm/mips.inc: New file.
971
5e2fe5b8
AF
9722002-10-18 Adam Fedor <fedor@gnu.org>
973
974 * gdb.base/default.exp: Update expected output to include 'ObjC'.
975 * gdb.base/help.exp: Likewise.
976
abe1a5d0
KB
9772002-10-17 Kevin Buettner <kevinb@redhat.com>
978
979 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
980 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
981
10abb1d4
JB
9822002-10-02 Jim Blandy <jimb@redhat.com>
983
984 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
985
1f609b42
AC
9862002-10-01 Andrew Cagney <ac131313@redhat.com>
987
988 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
989 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
990 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
991 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
992 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
993 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
994 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
995
0aee02e4
AC
9962002-09-29 Andrew Cagney <ac131313@redhat.com>
997
998 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
999 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1000 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1001 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1002 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1003 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1004 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1005
6fde09ad
KB
10062002-09-27 Kevin Buettner <kevinb@redhat.com>
1007
1008 * gdb.base/annota1.exp (info break): Make directory components of
1009 path optional since not all compilers emit this debug information.
1010
1011 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1012 step ends up stepping out of the function instead of stopping on
1013 the epilogue.
1014
9e8aab75
KS
10152002-09-26 Keith Seitz <keiths@redhat.com>
1016
1017 * lib/insight-support.exp (gdbtk_start): Figure out where
1018 the insight executable is based on where gdb is. Use this
1019 executable to start insight instead of gdb.
1020
e36180d7
AC
10212002-09-25 Andrew Cagney <cagney@redhat.com>
1022
1023 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1024
9dd34b2b
AC
10252002-09-24 Andrew Cagney <ac131313@redhat.com>
1026
1027 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1028 test_isolated_complaints.
1029 (test_empty_complaint): New function.
1030 (test_empty_complaints): New function. Check no output when no
1031 complaints.
1032
dea97812
KB
10332002-09-19 Jim Blandy <jimb@redhat.com>
1034
1035 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1036
54951bd7
AC
10372002-09-19 Andrew Cagney <ac131313@redhat.com>
1038
1039 * gdb.gdb/complaints.exp: New file.
1040
dec43320
AC
10412002-09-18 Andrew Cagney <ac131313@redhat.com>
1042
1043 * gdb.base/maint.exp: Check `help maint internal-warning'.
1044
e70d6e3f
DC
10452002-09-18 David Carlton <carlton@math.stanford.edu>
1046
1047 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1048 numbers, and replace them by a single breakpoint after the
1049 constructors are all finished.
1050 Add test 4.
1051 * gdb.c++/m-static.cc: Add test 4.
1052 * gdb.c++/m-static.h: New file.
1053 * gdb.c++/m-static1.cc: New file.
1054
1055 * gdb.c++/printmethod.exp: New file.
1056 * gdb.c++/printmethod.cc: New file.
1057
1058 * gdb.c++/pr-574.exp: New file.
1059 * gdb.c++/pr-574.cc: New file.
1060
afb5c968
CV
10612002-09-18 Corinna Vinschen <vinschen@redhat.com>
1062
1063 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1064 embedded targets which never actually exit.
1065
31e45dee
FN
10662002-09-18 Fernando Nasser <fnasser@redhat.com>
1067
1068 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1069 "don't step after run" as unresolved or unsupported, instead of xfail.
1070
a283c5a1
CV
10712002-09-18 Corinna Vinschen <vinschen@redhat.com>
1072
1073 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1074 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1075 Add newline to expected string in "step out of main (status wrapper)"
1076 case.
1077
11350d2a
CV
10782002-09-18 Corinna Vinschen <vinschen@redhat.com>
1079
1080 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1081 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1082
0deec7d6
TT
10832002-09-17 Tom Tromey <tromey@redhat.com>
1084
1085 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1086 \000, not \0, in double-quoted string.
1087
b2b4a1b5
CV
10882002-09-14 Corinna Vinschen <vinschen@redhat.com>
1089
1090 * gdb.base/command.exp: Don't expect a "Program exited normally"
1091 string after running the commands execution on breakpoint tests.
1092
1c56143a
CV
10932002-09-13 Corinna Vinschen <vinschen@redhat.com>
1094
1095 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1096
37f8da45
JB
10972002-09-12 Joel Brobecker <brobecker@gnat.com>
1098
1099 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1100
08b468e0
KS
11012002-09-10 Keith Seitz <keiths@redhat.com>
1102
1103 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1104 runto proc.
1105 (mi_run_to_main): Use mi_runto.
1106 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1107
dc360f58
KS
11082002-09-10 Keith Seitz <keiths@redhat.com>
1109
1110 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1111 regexp for stopping at main. Could have multiple event notifications.
1112 Don't assume that main was declared with no parameters.
1113 (mi_next): Use mi_step_to.
1114 (mi_step): Use mi_next_to.
1115
ce3abcfb
CV
11162002-09-09 Corinna Vinschen <vinschen@redhat.com>
1117
1118 * gdb.base/default.exp: Fix expected string in `info float' test.
1119
d1f5b980
BE
11202002-09-09 Ben Elliston <bje@redhat.com>
1121
1122 * config/mips.exp: Update comments.
1123 * config/mips-idt.exp: Likewise.
1124 * config/nind.exp: Likewise.
1125 * config/slite.exp: Likewise.
1126 * config/sparclet.exp: Likewise.
1127 * config/udi.exp: Likewise.
1128 * config/vx.exp: Likewise.
1129 * config/vxworks29k.exp: Likewise.
1130
2f71430b
JB
11312002-09-05 Jim Blandy <jimb@redhat.com>
1132
1133 * gdb.threads/killed.exp: Fix test failure message.
1134
7ddebc7e
KS
11352002-09-04 Keith Seitz <keiths@redhat.com>
1136
1137 * lib/mi-support.exp: Update copyright.
1138 (mi_gdb_test): Increase the priority of the expected pattern
1139 so that it matches gdb_test.
1140
0ae67eb3
KS
11412002-09-03 Keith Seitz <keiths@redhat.com>
1142
1143 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1144 Use integer comparison instead of string comparison for testing
1145 whether binary was built.
1146
38fc42c8
JB
11472002-09-03 Jim Blandy <jimb@redhat.com>
1148
1149 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1150
b6ff0e81
JB
11512002-08-29 Jim Blandy <jimb@redhat.com>
1152
1153 * gdb.threads/pthreads.exp: Move the portable thread compilation
1154 code into a function in lib/gdb.exp, and call that from here.
1155 * lib/gdb.exp (gdb_compile_pthreads): New function.
1156
07c98896
KS
11572002-08-29 Keith Seitz <keiths@redhat.com>
1158
1159 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1160 expect_out so that callers can get at it.
1161
0312286c
DJ
11622002-08-23 Daniel Jacobowitz <drow@mvista.com>
1163
1164 * gdb.threads/print-threads.c: New file.
1165 * gdb.threads/print-threads.exp: New file.
1166 * gdb.threads/schedlock.c: New file.
1167 * gdb.threads/schedlock.exp: New file.
1168
dd039bc4
EZ
11692002-08-22 Elena Zannoni <ezannoni@redhat.com>
1170
1171 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1172 not altivec.c.
1173
1f36144c
MK
11742002-08-17 Mark Kettenis <kettenis@gnu.org>
1175
1176 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1177 targets. The problem should be fixed now.
1178
16057ec7 11792002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1180
1181 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1182 2002-07-24 change that removes final dots from error messages.
1183
3c1499ad
TT
11842002-08-13 Tom Tromey <tromey@redhat.com>
1185
1186 * gdb.base/readline.exp: New file.
1187
a20ce2c3
AC
11882002-08-01 Andrew Cagney <ac131313@redhat.com>
1189
1190 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1191 supress message.
1192
db034ac5
AC
11932002-08-01 Andrew Cagney <cagney@redhat.com>
1194
1195 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1196 CHILL_FOR_TARGET and CHILL_LIB.
1197 * configure.in (configdirs): Remove gdb.chill.
1198 * configure: Regenerate.
1199 * lib/gdb.exp: Obsolete references to chill.
1200 * gdb.fortran/types.exp: Ditto.
1201 * gdb.fortran/exprs.exp: Ditto.
1202
3e000b18
KB
12032002-07-30 Kevin Buettner <kevinb@redhat.com>
1204
1205 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1206 set Irix-specific compile and link flags.
1207
28f4966b
KB
12082002-07-29 Kevin Buettner <kevinb@redhat.com>
1209
1210 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1211 source files. The ``-o'' option doesn't work with the ``-E'' option
1212 when using the Irix compiler.
1213
46c0d5a6
DJ
12142002-07-19 Daniel Jacobowitz <drow@mvista.com>
1215
1216 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1217 Improve support for reusing an exec file. Copy exec file
1218 to target, and run gdbserver on the target instead of on the host.
1219
eecf4bed
JB
12202002-07-18 Jim Blandy <jimb@redhat.com>
1221
0f815cdf
JB
1222 * gdb.base/ending-run.exp: Don't expect to see the program end in
1223 some orderly fashion when we're running on a real stand-alone
1224 board.
1225
eecf4bed
JB
1226 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1227 targets that don't support interrupts.
1228
52d309e4
JB
12292002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1230
1231 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1232 systems.
1233 Move comments in expect statements to inside the actions, so that they
1234 don't get matched against.
1235
ff683d9e
MK
12362002-07-10 Mark Kettenis <kettenis@gnu.org>
1237
1238 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1239 function when asleep" test.
1240
b5356753
AC
12412002-07-10 Andrew Cagney <ac131313@redhat.com>
1242
1243 * gdb.base/page.exp: Rewrite to handle problems with very long
1244 `info set' output. Update copyright.
1245
6aa4d13a
AC
12462002-06-26 Andrew Cagney <ac131313@redhat.com>
1247
1248 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1249 gdb.threads-hp.
1250 * gdb.hp/configure: Regenerate.
1251 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1252 * gdb.hp/gdb.threads-hp/configure: Delete file.
1253 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1254
8cf8c2b8
AC
12552002-06-22 Andrew Cagney <ac131313@redhat.com>
1256
1257 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1258 setlocale, bindtextdomain and textdomain.
1259
6827a8f8
JB
12602002-06-11 Jim Blandy <jimb@redhat.com>
1261
919d772c
JB
1262 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1263 preprocessor macro information is present.
1264
6827a8f8
JB
1265 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1266 tests.
1267
c15b0d21
MS
12682002-06-06 Michael Snyder <msnyder@redhat.com>
1269
c5984d70
MS
1270 * gdb.base/overlays.exp: Record addresses of overlay
1271 functions in TCL variables rather than in GDB variables,
1272 to avoid having GDB convert them to pointers (with loss
1273 of information).
1274
99a8512b
MS
1275 * gdb.base/d10v.ld: Merge in several years worth of
1276 default linker script changes.
c15b0d21
MS
1277 * gdb.base/long_long.exp: Add check for sizeof (long double).
1278
be26fe0d
ML
12792002-06-06 Michal Ludvig <mludvig@suse.cz>
1280
1281 * gdb.asm/asm-source.exp: Add x86-64 target.
1282 * gdb.asm/x86_64.inc: New.
1283
258093ca 12842002-05-30 Michael Chastain <mec@shout.net>
258093ca 1285
4b3153f1 1286 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1287 * gdb.c++/m-static.cc: New file.
1288 * gdb.c++/m-static.exp: New file.
1289
241264c6
MS
12902002-05-28 Michael Snyder <msnyder@redhat.com>
1291
1292 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1293 precision.
1294
9bba8c8f 12952002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1296
4b3153f1 1297 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1298 * gdb.c++/m-data.cc: New file.
1299 * gdb.c++/m-data.exp: New file.
1300
13012002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1302
4b3153f1 1303 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1304 * gdb.c++/try_catch.cc: New file.
1305 * gdb.c++/try_catch.exp: New file.
1306
def1b996
MC
13072002-05-27 Michael Chastain <mec@shout.net>
1308
1309 * gdb.c++/local.exp: Accept more nested types in output.
1310
522ba268
MC
13112002-05-26 Michael Chastain <mec@shout.net>
1312
1313 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1314
277254ba
MS
13152002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1316
1317 * lib/gdb.exp (gdb_wrapper_init): Just because
1318 gdb_wrapper_file exists, this does not mean that the file
1319 should not be rebuilt. That is what gdb_wrapper_initialized
1320 is for.
1321 (default_gdb_init): Reset gdb_wrapper_initialized.
1322
b61a8733
MS
13232002-05-23 Michael Snyder <msnyder@redhat.com>
1324
5bdb6d01
MS
1325 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1326 the precision of the floating point test results.
1327 * gdb.base/call-rt-st.exp: Ditto.
1328
b61a8733
MS
1329 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1330 * gdb.base/call-rt-st.exp: Ditto.
1331
56f6e910
MC
13322002-05-19 Michael Chastain <mec@shout.net>
1333
1334 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1335
ad0b0016
EZ
13362002-05-19 Elena Zannoni <ezannoni@redhat.com>
1337
1338 * configure.in (configdirs): Add gdb.arch.
1339 * configure: Regenerate.
1340
f617d2b6
JB
13412002-05-17 Jim Blandy <jimb@redhat.com>
1342
1343 * gdb.base/completion.exp: Recognize the more detailed error
1344 messages produced by the macro expander's lexical analyzer.
1345
eac2a696
EZ
13462002-05-14 Elena Zannoni <ezannoni@redhat.com>
1347
1348 * gdb.arch/altivec-abi.c: New file.
1349 * gdb.arch/altivec-abi.exp: New file.
1350 * gdb.arch/altivec-regs.c: New file.
1351 * gdb.arch/altivec-regs.exp: New file.
1352
2fdde8f8
DJ
13532002-05-14 Daniel Jacobowitz <drow@mvista.com>
1354
1355 * gdb.base/maint.exp (maint print type): Update for new type
1356 structure.
eac2a696 1357
e31f1a7c
EZ
13582002-05-14 Elena Zannoni <ezannoni@redhat.com>
1359
1360 * gdb.arch: New directory.
1361 * gdb.arch/configure.in: New file.
1362 * gdb.arch/configure: New file.
1363 * gdb.arch/Makefile.in: New file.
1364
db589741
CV
13652002-05-13 Corinna Vinschen <vinschen@redhat.com>
1366
1367 * gdb.asm/asm-source.exp: Add v850 as supported target.
1368 * gdb.asm/v850.inc: New file.
1369
8ce2a7dc
DJ
13702002-05-13 Daniel Jacobowitz <drow@mvista.com>
1371
1372 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1373
df763c7f
DJ
13742002-05-12 Daniel Jacobowitz <drow@mvista.com>
1375
1376 * gdb.base/break.exp: Check 'break "marker2"'.
1377
377daeed
MS
13782002-05-10 Michael Snyder <msnyder@redhat.com>
1379
1380 * gdb.base/long_long.exp: Fix typo.
1381
c4b7bc2b
JB
13822002-05-10 Jim Blandy <jimb@redhat.com>
1383
ecac9a4e
JB
1384 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1385 a bug.
1386
c4b7bc2b
JB
1387 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1388 Recognize more detailed error message produced by the macro
1389 expander's lexical analyzer.
1390 * lib/gdb.exp (test_print_reject): Same.
1391
e71019a1
MK
13922002-05-09 Mark Kettenis <kettenis@gnu.org>
1393
1394 * gdb.c++/method.exp: Fix typo.
1395
fedfc8e6
MS
13962002-05-08 Michael Snyder <msnyder@redhat.com>
1397
166a1957
MS
1398 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1399 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1400 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1401 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1402 Add iftarget clause for strongarm.
1403
f1c47eb2
MS
14042002-05-06 Michael Snyder <msnyder@redhat.com>
1405
cb9a9d3e
MS
1406 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1407 (gdb_continue_to_end): Accept output from status wrapper.
1408 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1409 Clean up fail messages to match pass messages.
1410
f1c47eb2
MS
1411 Enable the "needs_status_wrapper" testsuite feature.
1412 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1413 (gdb_compile): Conditionally call gdb_wrapper_init.
1414 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1415 * gdb.c++/method.exp: Recognize output from status wrapper.
1416
6079c749
BE
14172002-05-06 Ben Elliston <bje@redhat.com>
1418From Graydon Hoare <graydon@redhat.com>
1419
1420 * config/sid.exp: Include support for "rawsid" protocol.
1421
188baff3
JB
14222002-05-03 Jim Blandy <jimb@redhat.com>
1423
1424 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1425 * gdb.c++/hang3.C: New file.
1426
b9c07f0f
AC
14272002-05-04 Andrew Cagney <ac131313@redhat.com>
1428
1429 * gdb.base/default.exp: Remove obsolete code.
1430 * gdb.c++/misc.exp: Ditto. Update copyright.
1431 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1432 * gdb.base/whatis.exp: Ditto. Update copyright.
1433 * gdb.base/scope.exp: Ditto. Update copyright.
1434 * gdb.base/ptype.exp: Ditto. Update copyright.
1435 * gdb.base/printcmds.exp: Ditto. Update copyright.
1436 * gdb.base/opaque.exp: Ditto. Update copyright.
1437 * gdb.base/list.exp: Ditto.
1438 * gdb.base/funcargs.exp: Ditto. Update copyright.
1439 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1440 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1441 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1442 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1443 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1444 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1445
5c7a0397
MS
14462002-05-02 Michael Snyder <msnyder@redhat.com>
1447
d6dcc264 1448 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1449 * gdb.base/long_long.exp: Add xscale target.
1450 * gdb.base/default.exp: Add xscale target.
1451
eb7f1c48
JB
14522002-05-01 Jim Blandy <jimb@redhat.com>
1453
1454 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1455 gdb.c++/hang.exp: New test.
1456
a6befae8
FF
14572002-05-01 Fred Fish <fnf@redhat.com>
1458
1459 * gdb.base/completion.exp: Handle completions of "./Make" for
1460 more than one completion possibility, as is the case when we
1461 build and test in the source tree.
1462
0a310277
AG
14632002-04-29 Anthony Green <green@redhat.com>
1464
1465 * gdb.java/jmisc1.exp: New file.
1466 * gdb.java/jmisc2.exp: New file.
1467
6ff9af88
DJ
14682002-04-24 Daniel Jacobowitz <drow@mvista.com>
1469
1470 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1471
96b3d632
EZ
14722002-04-23 Elena Zannoni <ezannoni@redhat.com>
1473
1474 * gdb.base/help.exp: Change 'help status' to allow for target
1475 dependent output differences.
1476
5019bb54
MC
14772002-04-22 Michael Chastain <mec@shout.net>
1478
1479 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1480
a805a116
MC
14812002-04-22 Michael Chastain <mec@shout.net>
1482
1483 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1484
a1706bfd
DM
14852002-04-17 David S. Miller <davem@redhat.com>
1486
1487 * gdb.asm/sparc64.inc: New file.
1488 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1489
a73a20a2
EZ
14902002-04-19 Elena Zannoni <ezannoni@redhat.com>
1491
1492 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1493 instruction file directly into the build tree. Clean up at end of
1494 test.
1495
ba678339
DM
14962002-04-18 David S. Miller <davem@redhat.com>
1497
1498 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1499 handle 64-bit platforms correctly.
1500 * gdb.base/maint.exp: Likewise.
1501
b03399da
KB
15022002-04-18 Kevin Buettner <kevinb@redhat.com>
1503
1504 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1505 ``-fpic'' when compiling files comprising a shared library, but
1506 it does need additional linker flags in order to find shared
1507 libraries at run time.
1508
e2004992
KB
15092002-04-18 Kevin Buettner <kevinb@redhat.com>
1510
1511 * gdb.base/cvexpr.c (use): New function.
1512 (main): Invoke use() on all global variables to prevent
1513 some linkers from deleting these otherwise unused symbols.
1514
d8937120
MC
15152002-04-17 Michael Chastain <mec@shout.net>
1516From David S. Miller <davem@redhat.com>
1517
1518 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1519 handle 64-bit platforms correctly.
1520
ffd61a58
MS
15212002-04-12 Michael Snyder <msnyder@redhat.com>
1522From Jim Blandy <jimb@redhat.com>
1523 * gdb.base/foo.c (foox): Remove section attribute; the linker
1524 script can handle this instead.
1525 * gdb.base/bar.c (barx): Same.
1526 * gdb.base/baz.c (bazx): Same.
1527 * gdb.base/grbx.c (grbxx): Same.
1528
1529 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1530 manager doesn't automatically unmap overlays unnecessarily.
1531
6b8426a6
MH
15322002-04-10 Martin M. Hunt <hunt@redhat.com>
1533
1534 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1535 stepping out of main.
1536
34af4875
MC
15372002-04-09 Michael Chastain <mec@shout.net>
1538
1539 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1540 scope so that the nested scope tests will make sense.
1541 * gdb.c++/local.exp: Write patterns that actually work with gcc
1542 (the HP patterns "were never known to work with gcc").
1543 Keep the old aCC patterns too.
1544
2d1676a0
DJ
15452002-04-09 Daniel Jacobowitz <drow@mvista.com>
1546
1547 * gdb.base/attach.exp: Correct target board test.
1548
3a63e3f9
MC
15492002-04-08 Michael Chastain <mec@shout.net>
1550
1551 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1552 in a const method. Add some xfail and fail cases for configurations
1553 that do not emit the "const ...".
1554
f18dabd2
MC
15552002-04-07 Michael Chastain <mec@shout.net>
1556
1557 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1558 Accept "A * const" and "const A * const" as type of "this".
1559 Fix spelling of getFunky throughout. Make messages uniform.
1560
0fcddd82
EZ
15612002-04-07 Elena Zannoni <ezannoni@redhat.com>
1562
1563 Work around for PR gdb/285:
1564 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1565
16a8534a
EZ
15662002-04-07 Elena Zannoni <ezannoni@redhat.com>
1567
1568 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1569 instructions file at run time instead of configure time.
1570 Sometimes we run the test in a directory that is not the one we
1571 configured in.
1572 * gdb.asm/configure.in: Delete creation of symlink.
1573 * gdb.asm/configure: Regenerate.
1574
24181d81
JB
15752002-04-05 J. Brobecker <brobecker@gnat.com>
1576
1577 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1578 xfullpath () function.
1579
7cdb7107
DJ
15802002-04-04 Daniel Jacobowitz <drow@mvista.com>
1581
1582 * gdb.asm/Makefile.in: Correct dependencies.
1583
1584 * gdb.asm/powerpc.inc: New file.
1585 * gdb.asm/asm-source.exp: Add PowerPC.
1586 * gdb.asm/configure.in: Likewise.
1587 * gdb.asm/configure: Regenerated.
1588
a7d17088
DJ
15892002-04-04 Daniel Jacobowitz <drow@mvista.com>
1590
1591 * gdb.base/relocate.exp: New file.
1592 * gdb.base/relocate.c: New file.
1593
cd721503
FF
15942002-04-04 Fred Fish <fnf@redhat.com>
1595
1596 * gdb.base/step-test.exp: Update comment regarding stopping in
1597 memcpy/bcopy calls inserted as part of the compiler runtime.
1598
b22ad7a7
MS
15992002-04-04 Michael Snyder <msnyder@redhat.com>
1600
1601 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1602
5f279fa6
DJ
16032002-04-03 Daniel Jacobowitz <drow@mvista.com>
1604
1605 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1606 (gdb_expect): Remove $notransfer hack.
1607
dd0fd3ce
DJ
16082002-04-02 Daniel Jacobowitz <drow@mvista.com>
1609
1610 * gdb.c++/classes.exp ("calling method for small class"): Match
1611 updated register output.
1612
1e50cda1
DJ
16132002-03-30 Daniel Jacobowitz <drow@mvista.com>
1614
1615 Fix PR gdb/452
1616 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1617 when finished. Make gdb_file_cmd send "exec-file" when
1618 appropriate.
1619
24015922
DJ
16202002-03-30 Daniel Jacobowitz <drow@mvista.com>
1621
1622 * gdb.base/attach.exp: Remove extra setup_xfail.
1623
dd7dfd64
MS
16242002-03-26 Michael Snyder <msnyder@redhat.com>
1625
1626 * gdb.base/default.exp: Add tests for dump, append, and restore.
1627 * gdb.base/help.exp: Add tests for dump, append, and restore.
1628 * gdb.base/dump.exp: New file, test dump, append and restore.
1629 * gdb.base/dump.c: New file.
1630
48b2f8d7
MS
16312002-03-27 Michael Snyder <msnyder@redhat.com>
1632
1633 * gdb.base/help.exp: Modify expect strings to reflect
1634 clean-ups in help messages.
1635
05b4d525
FF
16362002-03-26 Fred Fish <fnf@redhat.com>
1637
1638 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1639 have debugging info for those functions and the compiler uses them
1640 internally to copy structs around.
1641
d7679631
FF
16422002-03-26 Fred Fish <fnf@redhat.com>
1643
1644 * gdb.base/list.exp: Revert the change made yesterday and add note
1645 about why we don't list the default lines for remote targets.
1646
523ac3f9
MS
16472002-03-25 Michael Snyder <msnyder@redhat.com>
1648
1649 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1650
754b2b8d
FF
16512002-03-25 Fred Fish <fnf@redhat.com>
1652
1653 * gdb.base/list.exp: This test works on remote targets so remove
1654 the short circuit for remote targets. Update copyright.
1655
33c3e192
FF
16562002-03-25 Fred Fish <fnf@redhat.com>
1657
1658 * gdb.base/attach.exp: Fix logic error that was suppressing this
1659 test for all non hppa*-*-hpux* targets, instead of the hp target.
1660 Move comments closer to the suppression point. Also now need to
1661 check that we are running natively.
1662
d43e73ee
MS
16632002-03-22 Michael Snyder <msnyder@redhat.com>
1664
882c8f02
MS
1665 * gdb.base/default.exp: Add test for gcore. Update copyright.
1666 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1667
04c12f60
FF
16682002-03-06 Fred Fish <fnf@redhat.com>
1669
1670 * gdb.base/funcargs.c: Remove extraneous ';' character.
1671 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1672
b43df995
MC
16732002-03-04 Michael Chastain <mec@shout.net>
1674
1675 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1676 accommodate gcc v3 function signature.
1677 * gdb.mi/mi0-var-cmd-exp: Ditto.
1678
92362027
AC
16792002-02-24 Andrew Cagney <ac131313@redhat.com>
1680
1681 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1682 ``GNU/Linux'' or ``Linux kernel''
1683 * testsuite/gdb.threads/pthreads.c: Ditto.
1684
258ad32d
MC
16852002-02-24 Michael Chastain <mec@shout.net>
1686
1687 * gdb.threads/pthreads.c (thread1): Add a return statement.
1688 (thread2): Likewise.
1689 (foo): Likewise.
1690
04c3b3d4
MC
16912002-02-23 Michael Chastain <mec@shout.net>
1692
1693 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1694 to placate gcc.
1695
5a2a0a20
MC
16962002-02-23 Michael Chastain <mec@shout.net>
1697
1698 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1699 test "ptype bint". The test passes on all my stabs configurations.
1700
a640f7fc
JB
17012002-02-21 Jim Blandy <jimb@redhat.com>
1702
27924826
JB
1703 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1704 filename at a time, and watch for the ones we want to see.
1705
a640f7fc
JB
1706 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1707 types of pointers to prototyped functions.
1708
edcc8c75
AC
17092002-02-20 Andrew Cagney <ac131313@redhat.com>
1710
1711 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1712 signed, unsigned and straight char.
1713 (padding_char, padding_short, padding_int, padding_long,
1714 padding_long_long, padding_float, padding_double,
1715 padding_long_double): New global variables.
1716 (fill, fill_structs): New functions.
1717
1718 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1719 for correctly sized writes. Update copyright.
1720 (get_valueof): New procedure.
1721 (get_sizeof): Call get_valueof.
1722 (check_valueof): New procedure.
1723 (check_padding): New procedure.
1724
ac57ea44
MC
17252002-02-20 Michael Chastain <mec@shout.net>
1726
1727 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1728 to setup_xfail. Document some of the remaining calls.
1729
7a10c941
MC
17302002-02-18 Michael Chastain <mec@shout.net>
1731
1732 * gdb.c++/userdef.exp: Update copyright year.
1733
fb8acdcc
DJ
17342002-02-18 Daniel Jacobowitz <drow@mvista.com>
1735
1736 * gdb.c++/userdef.exp: Test overloaded operators properly.
1737 Remove xfails.
1738
fda6ae12
MS
17392002-02-14 Michael Snyder <msnyder@redhat.com>
1740
1741 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1742
676a0442
DJ
17432002-02-14 Daniel Jacobowitz <drow@mvista.com>
1744
1745 * gdb.base/a2-run.exp: Check for a remote target properly.
1746 * gdb.base/annota1.exp: Likewise.
1747 * gdb.base/list.exp: Likewise.
1748 * gdb.base/reread.exp: Likewise.
1749 * gdb.base/scope.exp: Likewise.
1750 * gdb.base/shlib-call.exp: Likewise.
1751 * gdb.base/term.exp: Likewise.
1752 * gdb.c++/annota2.exp: Likewise.
1753
78b4f468
RE
17542002-02-13 Richard Earnshaw <rearnsha@arm.com>
1755
1756 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1757
9a81ba51
MC
17582002-02-10 Michael Chastain <mec@shout.net>
1759
1760 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1761 (call_after_alloca): Ditto.
1762
004af6c7
DJ
17632002-02-10 Daniel Jacobowitz <drow@mvista.com>
1764
1765 * gdb.base/ending-run.exp: Guard "cont" test with
1766 gdb_skip_stdio_test.
1767
37225f62
JB
17682002-02-06 Jim Blandy <jimb@redhat.com>
1769
1770 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1771 from here...
1772 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1773 To here. Disable this test on non-HP platforms. Add big comment.
1774
fe6fdd96
MS
17752002-02-04 Michael Snyder <msnyder@redhat.com>
1776
1777 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1778 other than d10v and m32r.
1779
036fad3f
RE
17802002-02-02 Richard Earnshaw <rearnsha@arm.com>
1781
1782 * gdb.base/default.exp: Rewrite test patterns to reduce time
1783 taken to match them.
1784
7148ab62
DJ
17852002-01-30 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1788 Allow a start function above main.
1789 * gdb.threads/linux-dp.exp: Fix copyright date.
1790
396cc255
DJ
17912002-01-30 Daniel Jacobowitz <drow@mvista.com>
1792
1793 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1794 (check_philosopher_stack): Check for manager thread before checking
1795 for a just-starting thread.
1796
f038d31b
DJ
17972002-01-30 Daniel Jacobowitz <drow@mvista.com>
1798
1799 From Neil Booth <neil@daikokuya.demon.co.uk>:
1800 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1801 warnings.
1802
b3ff9d9a
FF
18032002-01-21 Fred Fish <fnf@redhat.com>
1804
1805 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1806 not caller.
1807
39ad761d
JB
18082002-01-21 Jim Blandy <jimb@redhat.com>
1809
1810 * gdb.base/reread.exp: Check that GDB properly re-reads the
1811 executable file when it changes while no inferior is running.
1812
aaf320fa
FF
18132002-01-21 Fred Fish <fnf@redhat.com>
1814
1815 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1816 optionally accept the "shlib events" variation.
1817
808a31f5
JB
18182002-01-21 Jim Blandy <jimb@redhat.com>
1819
1820 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1821 call `fflush' after every `printf', so that the output is produced
1822 at predictable points, regardless of whatever buffering does (or
1823 doesn't) take place.
1824 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1825 at different points.
1826
4420d5e2
DJ
18272002-01-20 Daniel Jacobowitz <drow@mvista.com>
1828
1829 * gdb.c++/inherit.exp: Update copyright years.
1830 * gdb.c++/method.exp: Likewise.
1831
3e36a0f4
DJ
18322002-01-20 Daniel Jacobowitz <drow@mvista.com>
1833
1834 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1835 artificial methods/arguments.
1836 * gdb.c++/derivation.exp: Likewise.
1837 * gdb.c++/inherit.exp: Likewise.
1838 * gdb.c++/method.exp: Likewise.
1839 * gdb.c++/virtfunc.exp: Likewise.
1840
b4ceaee6
AC
18412002-01-18 Andrew Cagney <ac131313@redhat.com>
1842
1843 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1844 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1845 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1846 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1847 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1848 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1849
ecace851
JB
18502002-01-17 Jim Blandy <jimb@redhat.com>
1851
1852 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1853 anchoring the pattern matching the entry point symbol's name.
1854
375fc983
AC
18552002-01-17 Andrew Cagney <ac131313@redhat.com>
1856
1857 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1858 continue/quit query. Update copyright.
1859
fe6fdd96
MS
18602002-01-14 Michael Snyder <msnyder@redhat.com>
1861
1862 * gdb.base/gcore.exp: Remove extra debugging output.
1863
e017c81f
DJ
18642002-01-13 Daniel Jacobowitz <drow@mvista.com>
1865
1866 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1867 for slightly dubious v2 mangled string.
1868
37ab3bf8
DJ
18692002-01-13 Daniel Jacobowitz <drow@mvista.com>
1870
1871 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1872
1bc05c3a 18732002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1874
1bc05c3a 1875 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1876
1bc05c3a
JM
1877 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1878 constructors.
1879 * gdb.c++/derivation.exp: Likewise.
1880 * gdb.c++/templates.exp: Likewise.
1881 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1882
1bc05c3a
JM
18832002-01-10 Michael Snyder <msnyder@redhat.com>
1884
1885 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1886
a911c360
MS
18872002-01-08 Michael Snyder <msnyder@redhat.com>
1888
1889 * gdb.base/gcore.exp: New test for generate-core-file command.
1890 * gdb.base/gcore.c: Testcase for above.
1891 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1892
ea2119ec
JM
18932002-01-08 Jason Merrill <jason@redhat.com>
1894
1895 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1896
68203136
FF
18972002-01-07 Fred Fish <fnf@redhat.com>
1898
1899 * gdb.c++/overload.exp: Remove unconditional xfails for:
1900 print foo_instance1.overloadargs(1)
1901 print foo_instance1.overloadargs(1, 2)
1902 print foo_instance1.overloadargs(1, 2, 3)
1903 print foo_instance1.overloadargs(1, 2, 3, 4)
1904 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1905 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1906 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1907 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1908 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1909 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1910 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1911 print foo_instance1.overload1arg()
1912 print foo_instance1.overload1arg((char)arg2)
1913 print foo_instance1.overload1arg((signed char)arg3)
1914 print foo_instance1.overload1arg((unsigned char)arg4)
1915 print foo_instance1.overload1arg((int)arg7)
1916 print foo_instance1.overload1arg((unsigned int)arg8)
1917 print foo_instance1.overload1arg((float)arg11)
1918 print foo_instance1.overload1arg((double)arg12)
1919
21b9b5b1
MS
19202002-01-07 Michael Snyder <msnyder@redhat.com>
1921
1922 * gdb.base/huge.exp: New test. Print a very large target data object.
1923 (skip_huge_test): New test variable. Define if you want to skip this
1924 test. The test reads an 8 megabyte data object from the target, so it
1925 might be very time consuming on remote targets with a slow connection.
1926 * gdb.base/huge.c: New file. Test case for above.
1927
725f922e
FF
19282002-01-07 Fred Fish <fnf@redhat.com>
1929
1930 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1931 g_instance.bfoo, and g_instance.cfoo.
1932
634d57ec
JL
1933Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1934
f286b2c3
JL
1935 * gdb.base/break.c (multi_line_if_conditional): New function.
1936 (multi_ilne_while_conditional): Likewise.
1937 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1938 IF or WHILE condition puts the breakpoint at the start of
1939 the condition.
1940
634d57ec
JL
1941 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1942 hppa*-*-hpux* expected failure.
1943 * gdb.base/structs.exp (do_function_calls): Similarly.
1944
1945 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1946 watchpoints.
1947
9fbfe2dc
AC
19482002-01-06 Andrew Cagney <ac131313@redhat.com>
1949
1950 Fix PR gdb/66.
1951 * gdb.base/structs.exp: Replace skip for a29k with skip for
1952 gdb,cannot_call_functions.
1953 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1954 * gdb.base/callfuncs.exp: Ditto.
1955 * gdb.base/call-rt-st.exp: Ditto.
1956 * gdb.base/call-strs.exp: Ditto.
1957 * gdb.base/callfwmall.exp: Ditto.
1958 * gdb.base/scope.exp: Obsolete xfail a29k.
1959 * gdb.c++/misc.exp: Ditto.
1960 * gdb.c++/cplusfuncs.exp: Ditto.
1961 * gdb.base/ptype.exp: Ditto.
1962 * gdb.base/printcmds.exp: Ditto.
1963 * gdb.base/opaque.exp: Ditto.
1964 * gdb.base/list.exp: Ditto.
1965 * gdb.base/funcargs.exp: Ditto.
1966 * gdb.base/default.exp: Ditto.
1967
8ddad156
MS
19682002-01-04 Michael Snyder <msnyder@redhat.com>
1969
ca4976a6 1970 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1971 * gdb.base/maint.exp: Add tests for maint info sections options.
1972
1b074332
JL
1973Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1974
1975 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1976
7d159115
CV
19772001-12-20 Corinna Vinschen <vinschen@redhat.com>
1978
1979 * gdb.asm/arm.inc: New file.
1980 * gdb.asm/asm-source.exp: Add arm targets.
1981 * gdb.asm/configure.in: Ditto.
1982 * gdb.asm/configure: Recreated from configure.in.
1983
8fb87725
JL
1984Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1985
afabe08c
JL
1986 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1987 with HP's compiler.
1988 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1989 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1990 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1991 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1992
1993 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1994 either HP's compilers or GCC.
1995
db521deb
JL
1996 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1997 a SIGBUS or SIGSEGV.
1998
1999 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2000
2001 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2002 can be compiled with either HP's compiler or GCC.
2003
cfa88ab7
JL
2004 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2005 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2006 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2007
ca344dff
JL
2008 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2009 to match current gdb output. Update due to using auto-solib-limit
2010 for limiting instead of overloading auto-solib-add.
2011 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2012 test program.
2013
3f3c6e55 2014 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2015 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2016 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2017 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2018 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2019 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2020 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2021 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2022 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2023 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2024 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2025 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2026 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2027
8fb87725
JL
2028 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2029 a SIGTRAP to the inferior.
2030
cf599fa7
CV
20312001-12-19 Corinna Vinschen <vinschen@redhat.com>
2032
2033 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2034 Substitute call to target_link by call to gdb_compile.
2035
2cd045cd
JL
2036Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2037
2038 * gdb.base/break.exp: Fix HP specific search string when testing
2039 backtracing in a called function.
2040
2041 * gdb.base/constvars.exp: Only set lang to C++ if we're
2042 compiling the test with HP's compilers.
2043 * gdb.base/volatile.exp: Similarly.
2044
99ebe9ac
JB
20452001-12-19 Jim Blandy <jimb@redhat.com>
2046
2047 * gdb.base/printcmds.exp: Expect the null character to be printed
2048 as '\0', and the '\013' to be printed as '\v'.
2049 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2050 * gdb.base/setvar.exp: Same.
2051
b9891b29
JB
20522001-12-17 Jim Blandy <jimb@redhat.com>
2053
0eba65ab
JB
2054 * gdb.base/completion.exp: Rather than completing very long
2055 filenames, which can make the readline library produce output we
2056 don't recognize, cd to the directory first, and then complete
2057 using nice, short relative paths.
2058
6970b5b1
JB
2059 * gdb.base/completion.exp: On some systems, there is, in fact, a
2060 variable named `b' in scope, since GDB treats all static
2061 variables as being in scope. So use `no_var_named_this'
2062 instead of `b'.
2063
b9891b29
JB
2064 * gdb.base/corefile.exp: Recognize the message saying that GDB
2065 can't find the core file's registers as a failure.
2066
e6ccd35f
JSC
20672001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2068
2069 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2070 test expect string more specific.
2071
105ba819
CV
20722001-12-13 Corinna Vinschen <vinschen@redhat.com>
2073
2074 * gdb.asm/asm-source.exp: Add support for xstormy16.
2075 * gdb.asm/configure.in: Ditto.
2076 * gdb.asm/configure: Rebuild.
2077 * gdb.asm/xstormy16.inc: New file.
2078
e9e79dd9
FF
20792001-12-10 Fred Fish <fnf@redhat.com>
2080
2081 * gdb.base/maint.exp: Update to match changes in type dumping code.
2082
347dc97d
JB
20832001-12-10 Jim Blandy <jimb@redhat.com>
2084
2085 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2086 matching the entry point symbol's name at the beginning of the
2087 line.
2088
5178b9d6
DJ
20892001-12-07 Daniel Jacobowitz <drow@mvista.com>
2090
2091 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2092 gdb.c++/inherit.exp, gdb.c++/method.exp,
2093 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2094 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2095 and class layout support.
2096
af890c52
DJ
20972001-12-07 Daniel Jacobowitz <drow@mvista.com>
2098
2099 * gdb.c++/classes.exp: Add test for static member function.
2100 * gdb.c++/misc.cc: Add class with static member function.
2101
7a345fb3
JB
21022001-12-07 Jim Blandy <jimb@redhat.com>
2103
f2e54a80 2104 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2105 those tests as `unsupported'.
2106 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2107 Rewrite subsequent tests to use it.
2108
2109 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2110 those tests as `unsupported'.
2111 * gdb.base/structs.exp (call_struct_func): New function.
2112 (do_function_calls): Use call_struct_func to call the functions
2113 returning structs.
2114
0bc69509
JB
2115 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2116 whether functions are prototyped or not, so we can't possibly pass
2117 arguments to t_float_values2 properly.
2118
7a345fb3
JB
2119 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2120 value of `timeout' for targets other than the mips*tx39-*.
2121
edb6ede1
MS
21222001-12-06 Michael Snyder <msnyder@redhat.com>
2123
2124 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2125 and detect whether the start symbol has a leading underscore.
2126
2d842f13
JB
21272001-12-04 Jim Blandy <jimb@redhat.com>
2128
2129 * gdb.base/completion.exp: Clarify indentation.
2130
68550daf
JB
21312001-12-03 Jim Blandy <jimb@redhat.com>
2132
2133 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2134 variables on the S/390, not `.word'.
2135
cd5195a8
JB
21362001-11-30 Jim Blandy <jimb@redhat.com>
2137
2138 Add assembly-source tests for s390-ibm-linux.
2139 * gdb.asm/s390.inc: New file.
2140 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2141 the S/390 architecture.
2142 * gdb.asm/configure: Regenerated.
2143
ca9efc90
MS
21442001-11-30 Michael Snyder <msnyder@redhat.com>
2145
2146 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2147 next, info source, info sources, info line, global and static
2148 variables, and static functions.
2149 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2150 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2151 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2152 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2153 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2154 (gdbasm_leave): Restore frame pointer.
2155 (gdbasm_startup): Copy stack set-up from crt0.S.
2156
d0e66976
FN
21572001-11-26 Fernando Nasser <fnasser@redhat.com>
2158
2159 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2160 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2161 to a local (non-static) variable. Copy tstruct.a to a static buffer
2162 and return a pointer to that buffer.
2163 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2164
e2334072
MK
21652001-11-24 Mark Kettenis <kettenis@gnu.org>
2166
2167 * gdb.asm/configure.in: Fix recognition of ix86 target.
2168 * gdb.asm/configure: Regenerate.
2169
756caa3d
MS
21702001-11-21 Michael Snyder <msnyder@redhat.com>
2171
2172 * gdb.asm/sparc.inc: New file.
2173 * gdb.asm/asm-source.exp: Recognize sparc target.
2174 * gdb.asm/configure.in: Recognize sparc target.
2175 * gdb.asm/configure: Regenerate.
2176
9a4d72d5
MS
21772001-11-21 Michael Snyder <msnyder@redhat.com>
2178
2179 * gdb.asm/m32r.inc: New file.
2180 * gdb.asm/asm-source.exp: Recognize m32r target.
2181 * gdb.asm/configure.in: Recognize m32r target.
2182 * gdb.asm/configure: Regenerate.
2183
a773d1cd
MS
21842001-11-20 Michael Snyder <msnyder@redhat.com>
2185
017ac23d
MS
2186 * gdb.asm/i386.inc: New file.
2187 * gdb.asm/asm-source.exp: Recognize ix86 target.
2188 * gdb.asm/configure.in: Recognize ix86 target.
2189 * gdb.asm/configure: Regenerate.
2190
a773d1cd
MS
2191 * gdb.c++/namespace.exp: Fix quotes in output messages.
2192
bb632afb
MS
21932001-11-14 Michael Snyder <msnyder@redhat.com>
2194
25d559ca 2195 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2196 qualifier in a type cast expression, to designate an address
2197 in the instruction space (Harvard architecture).
2198
4749e309
MS
21992001-11-13 Michael Snyder <msnyder@redhat.com>
2200
2201 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2202 Tests for expressions using 'const' and 'volatile'.
2203
25050984
CV
22042001-11-13 Corinna Vinschen <vinschen@redhat.com>
2205
2206 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2207
1902c51f
DJ
22082001-11-12 Daniel Jacobowitz <drow@mvista.com>
2209
2210 * lib/mi-support.exp (mi_run_to_helper): Move comments
2211 outside of gdb_expect.
2212
dcf95b47
DJ
22132001-11-11 Daniel Jacobowitz <drow@mvista.com>
2214
2215 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2216 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2217 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2218 mi0_run_to): New functions.
2219 * gdb.mi/mi-simplerun.exp: Use them.
2220 * gdb.mi/mi0-simplerun.exp: Likewise.
2221 * gdb.mi/mi-var-cmd.exp: Likewise.
2222 * gdb.mi/mi0-var-cmd.exp: Likewise.
2223
45b074e1
AC
22242001-11-10 Andrew Cagney <ac131313@redhat.com>
2225
2226 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2227 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2228
bf50d346
AC
22292001-11-09 Andrew Cagney <ac131313@redhat.com>
2230
2231 * gdb.base/restore.exp: Include $expected value in restored test
2232 message.
2233
9383332c
AC
22342001-11-09 Andrew Cagney <ac131313@redhat.com>
2235
2236 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2237 implemented.
2238
db62520a
MS
22392001-11-08 Michael Snyder <msnyder@redhat.com>
2240
2241 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2242 Add pass/fail message for stop at breakpoint in call dummy function.
2243
b5703437
MS
22442001-11-07 Michael Snyder <msnyder@redhat.com>
2245
760f6330
MS
2246 * gdb.c++/templates.exp (test_template_breakpoints):
2247 If we get an overload menu, but it does not match what
2248 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2249 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2250 making the whitespace optional. Argument for "new" may be
2251 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2252 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2253 making the whitespace optional. Also replace "(void) with
2254 "((void|)), making the keyword "void" optional.
63f50499
MS
2255 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2256 making the whitespace optional. Also replace "(void) with
2257 "((void|)), making the keyword "void" optional.
3bf40917
MS
2258 * gdb.base/callfuncs.c (t_float_values): This function must
2259 _not_ be prototyped, and the following function (t_float_values2)
2260 must be prototyped (if the compiler supports it), so that GDB
2261 can be tested against both cases. Usually one case involves
2262 promotion of float to double, while the other does not.
2263 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2264 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2265 includes a stack frame for "start".
2266
c8ab4e6d
JB
22672001-11-05 Jim Blandy <jimb@redhat.com>
2268
2269 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2270 pointers are 32 bits long, and that offsets of relocs are always
2271 stored in the data (REL-style), and not in the reloc entry itself
2272 (RELA-style).
2273 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2274 stabs.
2275
3f08ced9
MS
22762001-11-01 Michael Snyder <msnyder@redhat.com>
2277
2278 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2279 and regular expression operators by using quoting.
2280
cbfa24cd
MS
22812001-10-31 Michael Snyder <msnyder@redhat.com>
2282
2283 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2284 depending on what the symbol table contains.
2285 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2286 the output of the ptype command. Similarly, accept both "const &"
2287 and "const&".
2288
aaa68313
CV
22892001-10-31 Corinna Vinschen <vinschen@redhat.com>
2290
2291 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2292 symbol `STORAGE' to allow to choose the storage class of
2293 the local datastructures.
2294 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2295 compiler directive.
2296
91740388
MS
22972001-10-30 Michael Snyder <msnyder@redhat.com>
2298
2299 * gdb.base/jump.exp: Allow it to run for all targets.
2300
1b7c05e7
CV
23012001-10-29 Corinna Vinschen <vinschen@redhat.com>
2302
2303 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2304 with new double_array size.
2305 (main): Change storage class of all local variables to static.
2306 Reduce size of double_array to 9.
2307 * gdb.base/call-ar-st.exp: Increase timeout value.
2308 Change expected output for double array to match new size in
2309 call-ar-st.c.
2310
36a22261
CV
23112001-10-29 Corinna Vinschen <vinschen@redhat.com>
2312
2313 * gdb.base/ending-run.exp: Create identical output when passing
2314 `step to end of run' case. Add regular expression branch satisfying
2315 Stormy16 target.
2316
92b8ae91
MK
23172001-10-28 Mark Kettenis <kettenis@gnu.org>
2318
2319 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2320 that we catch the expected failure under Linux/x86.
2321
cb135b83
OF
23222001-10-29 Orjan Friberg <orjanf@axis.com>
2323
2324 * gdb.base/setvar.exp: Escape curly braces.
2325 * gdb.stabs/weird.exp: Ditto.
2326
6884aa54
DJ
23272001-10-27 Daniel Jacobowitz <drow@mvista.com>
2328
2329 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2330 * gdm.mi/mi0-hack-cli.exp: Likewise.
2331
0398c9aa
AC
23322001-10-25 Andrew Cagney <ac131313@redhat.com>
2333
2334 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2335 messages.
2336
d20bf2e8
AC
23372001-10-21 Andrew Cagney <ac131313@redhat.com>
2338
2339 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2340 checking MI enabled.
2341
03dd63aa
CV
23422001-10-09 Corinna Vinschen <vinschen@redhat.com>
2343
2344 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2345
1d9d99f3
FCE
23462001-10-04 Frank Ch. Eigler <fche@redhat.com>
2347
2348 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2349 if gdb child process crashes, just signal an error.
2350
838ae6c4
JB
23512001-10-02 Jim Blandy <jimb@redhat.com>
2352
2353 * lib/gdb.exp (test_xfail_format): Simplify.
2354
2355 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2356 front of the variable name `format'. Simplify `if'.
2357
8f0cbc1c
DJ
23582001-10-01 Daniel Jacobowitz <drow@mvista.com>
2359
2360 * gdb.threads/pthreads.exp: Wait for output and delay
2361 before sending ^C.
2362
1f08dafd
DJ
23632001-10-01 Daniel Jacobowitz <drow@mvista.com>
2364
2365 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2366 some incorrect output instead of timing out.
2367 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2368
674f90ff
CV
23692001-09-28 Corinna Vinschen <vinschen@redhat.com>
2370
2371 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2372 check to allow additional `int'.
2373
9b284272
DJ
23742001-09-27 Daniel Jacobowitz <drow@mvista.com>
2375
2376 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2377 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2378
b55a4771
MS
23792001-09-27 Michael Snyder <msnyder@redhat.com>
2380
2381 * lib/gdb.exp (test_debug_format): New proc.
2382 (setup_xfail_format): Use new proc test_debug_format.
2383 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2384 proc; use new service proc test_debug_format.
2385 Replace all other "gcc_compiled" tests with this test.
2386 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2387 proc; use new service proc test_debug_format.
2388 Replace all other "gcc_compiled" tests with this test.
2389
23902001-09-27 Michael Snyder <msnyder@redhat.com>
2391
2392 * gdb.base/cvexpr.exp: New file.
2393 * gdb.base/cvexpr.c: New file
2394 Test for expressions using const and volatile keywords.
2395
4e6667ac
CV
23962001-09-26 Corinna Vinschen <vinschen@redhat.com>
2397
2398 * gdb.base/constvars.exp: Check for different orders of keywords
2399 and additional "int" strings in output.
2400
4f337972
AC
24012001-09-22 Andrew Cagney <ac131313@redhat.com>
2402
2403 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2404 responses from "help maint".
2405
2015650d
FCE
24062001-09-19 Frank Ch. Eigler <fche@redhat.com>
2407
2408 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2409 to localhost:NNN instead of :NNN, in case Xvfb is listening
2410 only on TCP.
2411
f3bcedc1
CV
24122001-09-19 Corinna Vinschen <vinschen@redhat.com>
2413
2414 * gdb.base/recurse.exp: When checking leaving the watchpoint
2415 scope, recognize when gdb is in function's epilogue and pass.
2416
6b819c92
KS
24172001-09-18 Keith Seitz <keiths@redhat.com>
2418
2419 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2420 support for running tests against sid targets.
2421 (gdbtk_done): Ditto.
2422
a10c9419
CV
24232001-09-18 Corinna Vinschen <vinschen@redhat.com>
2424
2425 * gdb.base/ending-run.c (main): Set stdout buffersize
2426 to the same reasonable value for any target.
2427 * gdb.base/ending-run.exp: Add a regular expression
2428 to make testsuite happy on Sanyo Stormy16 target.
2429
739d0d99
CV
24302001-09-17 Corinna Vinschen <vinschen@redhat.com>
2431
2432 * gdb.base/display.c (do_loops): Add float variable `f'.
2433 Increment f in loop.
2434 * gdb.base/display.exp: Increment timeout by 60 seconds.
2435 Change float display test to use variable `f'.
2436
1b8947f0
JB
24372001-09-17 Jim Blandy <jimb@redhat.com>
2438
2439 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2440 overflowing the limited breakpoint tables on some ROM monitors
2441 (like the ROM68K).
2442
9890ac81
FCE
24432001-09-15 Frank Ch. Eigler <fche@redhat.com>
2444
2445 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2446 the "-ac" (disable access control) flag.
2447
6db765ea
JH
24482001-08-30 Jeff Holcomb <jeffh@redhat.com>
2449
2450 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2451 ints.
2452
4c32cc04
KS
24532001-08-30 Keith Seitz <keiths@redhat.com>
2454
2455 * lib/gdb.exp: Move all insight-related functionality into
2456 separate file.
2457 * lib/insight-support.exp: New file.
2458
8d6e6f81
FCE
24592001-08-29 Frank Ch. Eigler <fche@redhat.com>
2460
2461 * config/sid.exp (sid_start): Never set sid verbosity; disable
2462 expect_background {} that consumed its stdout; tolerate </dev/null.
2463 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2464
6a90e1d0
AC
24652001-08-18 Andrew Cagney <ac131313@redhat.com>
2466
2467 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2468 CLI jump command to start it.
2469 (mi_run_to_main): Fail immediatly when unexpected output.
2470
1759b3c3
AC
24712001-08-18 Andrew Cagney <ac131313@redhat.com>
2472
2473 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2474 beginning of function. Fix PR gdb/191.
2475
61d11d80
FCE
24762001-08-16 Frank Ch. Eigler <fche@redhat.com>
2477
2478 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2479 what to force sid endianness to.
2480
942a4df2
KS
24812001-08-15 Keith Seitz <keiths@redhat.com>
2482
2483 * lib/gdb.exp (gdbtk_start): Don't set environment
2484 variables for TCL_LIBRARY and friends. Insight will
2485 now figure these out for itself.
2486
0521c418
MS
24872001-08-02 Michael Snyder <msnyder@redhat.com>
2488
2489 * gdb.base/completion.exp: Remove the symbol "a64l" from
2490 the expect string; this is target-specific, and not related
2491 to what is being tested.
2492
74a9a58a
DB
24932001-08-02 Dave Brolley <brolley@redhat.com>
2494
2495 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2496
c70819fa
MS
24972001-07-25 Michael Snyder <msnyder@redhat.com>
2498
c2b8fa57
MS
2499 * gdb.base/consecutive.exp: New file. Test stepping over
2500 breakpoints on consecutive instructions.
2501 * gdb.base/consecutive.c: New file.
2502
c70819fa
MS
2503 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2504 curly braces in regular expressions.
2505
2b1a1355
MS
25062001-07-25 Michael Snyder <msnyder@redhat.com>
2507
2508 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2509 legitimate output from stepping out of main.
2510
413eca6f
KS
25112001-07-22 Keith Seitz <keiths@redhat.com>
2512
2513 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2514 the empty string, do not run the tests.
2515
7e5a9322
SC
25162001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2517
2518 * gdb.base/long_long.exp: Detect size of pointer. Take into
2519 account 2-byte pointers when testing for p/a results.
2520
de58f10f
SC
25212001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2522
2523 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2524 and defined to 1K for m68hc11.
2525 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2526 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2527 (sizeof_random_data): New variable to tell the size of the data table;
2528 don't test past this size; always run to main.
2529
d6f5fea1
SC
25302001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2531
2532 * gdb.base/return2.exp: return of long long and double fails for
2533 68HC11; don't execute these tests on that platform.
2534 * gdb.base/return.exp: Return of a double fails for 68hc11.
2535
c477543d
SC
25362001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2537
2538 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2539 tests that print a float.
2540 * call-rt-st.exp: Likewise.
2541
63cf1c79
MK
25422001-07-12 Mark Kettenis <kettenis@gnu.org>
2543
2544 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2545 running this test on Linux.
2546
112f9ab5
MC
25472001-06-24 Michael Chastain <chastain@redhat.com>
2548
2549 * gdb.base/arithmet.exp: Remove some tests to make all test names
2550 unique.
2551
4970cb0f
MS
25522001-07-03 Michael Snyder <msnyder@redhat.com>
2553
2554 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2555 the output of the ptype command.
2556
d85da69f
MS
25572001-07-02 Michael Snyder <msnyder@redhat.com>
2558
4c8a82de
MS
2559 * gdb.base/completion.exp: Don't assume that break.c is the only
2560 source file that may contain functions named "marker".
d85da69f
MS
2561 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2562
8afc772b
AC
25632001-06-28 Andrew Cagney <ac131313@redhat.com>
2564
2565 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2566 of files to delete.
2567
2568 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2569 * gdb.disasm/h8300s.exp: New file.
2570 gdb.disasm/h8300s.s: Likewise.
2571
cff22675
AC
25722001-06-27 Andrew Cagney <ac131313@redhat.com>
2573
2574 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2575 empty breakpoint tables.
2576
68c81b54
AC
25772001-06-25 Andrew Cagney <ac131313@redhat.com>
2578
2579 * lib/mi-support.exp: Update args=... part of stop-reason
2580 patterns. Accept either a list or a tuple.
2581
2dd62704
AC
25822001-06-23 Andrew Cagney <ac131313@redhat.com>
2583
2584 * lib/mi-support.exp: Remove local emacs variable defining
2585 change-log-default-name.
2586
b4127474
MC
25872001-06-22 Michael Chastain <chastain@redhat.com>
2588
2589 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2590 This is operationally compatible with the previous version.
2591
8dbfb380
JB
25922001-06-13 Jim Blandy <jimb@redhat.com>
2593
2594 * lib/gdb.exp (gdb_test): Doc fix.
2595
f2d8c86d
MC
25962001-06-10 Michael Chastain <chastain@redhat.com>
2597
2598 * gdb.base/exprs.exp: Remove a duplicate test.
2599
81564d34
JB
26002001-06-06 Jim Blandy <jimb@redhat.com>
2601
2602 * gdb.base/return2.exp (main): Use values to test float and double
2603 returns that are not NaN's, to avoid being confused by IEEE
2604 comparison rules.
2605
da55addb
MS
26062001-06-04 Michael Snyder <msnyder@redhat.com>
2607
2608 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2609 non-zero if control_c fails. Terminate the test on failure,
2610 rather than wait for 12 more tests to time out.
2611
42c65987
JB
26122001-06-06 Jim Blandy <jimb@redhat.com>
2613
b18bced9
JB
2614 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2615 Don't forget to match the GDB prompt.
2616
42c65987
JB
2617 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2618
5b41e5f0
JB
26192001-06-04 Jim Blandy <jimb@redhat.com>
2620
2621 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2622 command.
2623
015e046f
KB
26242001-05-31 Kevin Buettner <kevinb@redhat.com>
2625
2626 * gdb.base/annota1.exp (info break): Match four or more spaces
2627 after "Address".
2628
fb1ffbbe
MC
26292001-05-31 Michael Chastain <chastain@redhat.com>
2630
2631 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2632 (dm_type_int_star): Likewise.
2633 (dm_type_long_star): Likewise.
2634 (dm_type_void_star): Likewise.
2635
5ea2a32c
KB
26362001-05-29 Kevin Buettner <kevinb@redhat.com>
2637
2638 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2639 to a known value in order to get consistent results regardless
2640 of the setting of INPUTRC or the presence or contents of .inputrc.
2641
ae23c492
MS
26422001-05-24 Michael Snyder <msnyder@redhat.com>
2643
ac55707e
MS
2644 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2645 Don't require that the main thread and the manager thread are the
2646 first in the list.
2647
ae23c492
MS
2648 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2649 debugging. If test fails, issue an "unsupported" not a "fail".
2650
400071f1
JB
26512001-05-24 Jim Blandy <jimb@redhat.com>
2652
2653 Don't assume that short is shorter than int.
2654 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2655 assume that shorts are smaller than ints. On a 16-bit machine,
2656 this isn't true.
2657 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2658 an int, is not equal to ~0 stored in an unsigned char. This tests
2659 the same thing that the previous test meant to, but works on
2660 16-bit machines, too.
2661 ("print unsigned char != (~0)"): Same test, complemented.
2662
0816a3e5
MS
26632001-05-24 Michael Snyder <msnyder@redhat.com>
2664
2665 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2666 test for (full_coverage == 0). This makes the test run faster,
2667 and prevents dejagnu getting out of step.
2668
f6dc23a9
KB
26692001-05-23 Kevin Buettner <kevinb@redhat.com>
2670
2671 * gdb.base/finish.exp (finish_void): Revise pattern for
2672 stopping on the call statement to not permit stopping at
2673 the start of the instructions comprising the call sequence.
2674
7dbd117d
MC
26752001-05-19 Michael Chastain <chastain@redhat.com>
2676
2677 * gdb.base/callfuncs.exp: Make all test names unique.
2678 * gdb.base/commands.exp: Make all test names unique.
2679 * gdb.base/condbreak.exp: Make all test names unique.
2680 * gdb.base/dbx.exp: Make all test names unique.
2681 * gdb.base/default.exp: Make all test names unique.
2682 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2683 and TIMEOUT messages to their corresponding PASS message.
2684 * gdb.base/ending-run.exp: Make all test names unique.
2685 * gdb.base/long_long.exp: Remove duplicate test.
2686
6b0b0a9e
KB
26872001-05-21 Kevin Buettner <kevinb@redhat.com>
2688
2689 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2690 stop on the call statement as well as the statement after the
2691 call.
2692
2caa35cb
MS
26932001-05-21 Michael Snyder <msnyder@redhat.com>
2694
2695 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2696
40713331
EZ
26972001-05-10 Elena Zannoni <ezannoni@redhat.com>
2698
2699 * gdb.base/completion.exp: Revamp test. Make it execute on all
2700 platforms.
2701
c2c1be8d
EZ
27022001-05-10 Elena Zannoni <ezannoni@redhat.com>
2703
2c9cd303
EZ
2704 * config/gdbserver.exp (gdb_load): Handle the case
2705 in which the arguments to gdbserver are given in the
2706 baseboard configuration file.
2707 Also handle the case in which the server needs to do a
2708 load.
2709
9671de48
KS
27102001-05-07 Keith Seitz <keiths@cygnus.com>
2711
2712 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2713 set up the display for testing.
2714 (gdbtk_start): Convert all paths to paths that tcl will like.
2715 Export target information to environment.
2716 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2717 necessary.
2718 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2719 (to_tcl_path): New proc to convert a given pathname into
2720 a path acceptible as an argument to a tcl command.
2721 (_gdbtk_export_target_info): New proc to export target info
2722 into the environment for gdbtk testing.
2723 (gdbtk_done): New proc to signal end-of-test.
2724
5a360f47
JB
27252001-05-06 Jim Blandy <jimb@redhat.com>
2726
2727 * restore.c: Make the code of caller0 correspond to its comment.
2728
66c756c6
MS
27292001-05-03 Michael Snyder <msnyder@redhat.com>
2730
2731 * config/sid.exp (gdb_target_sid): Check for error messages.
2732 On error or timeout, don't make expect exit (which will terminate
2733 all subsequent tests); instead just make gdb exit.
2734 (gdb_load): Check for error messages. On error or timeout,
2735 return a negative value.
2736
a966fde5
JB
27372001-04-24 Jim Blandy <jimb@redhat.com>
2738
851c18e0
JB
2739 * gdb.c++/templates.exp: If we see the prompt for the overload
2740 list, but we haven't recognized any of the longer patterns,
2741 arrange for this test to fail, not hang.
2742
a966fde5
JB
2743 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2744 variations.
2745
db144853
MC
27462001-04-22 Michael Chastain <chastain@redhat.com>
2747
2748 * gdb.c++/local.exp: Use the 'runto' library function.
2749 * gdb.c++/namespace.exp: Likewise.
2750 * gdb.c++/overload.exp: Likewise.
2751
3207ec21
KB
27522001-03-26 Kevin Buettner <kevinb@redhat.com>
2753
2754 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2755 * gdb.base/step-line.exp: New file. Test step/next in presence of
2756 #line directives.
2757 * gdb.base/step-line.c: New file. Test program for the above.
2758 * gdb.base/step-line.inp: New file. We pretend that this file has
2759 been transformed by some other tool into step-line.c.
2760
13b57657
JB
27612001-03-21 Jim Blandy <jimb@redhat.com>
2762
2763 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2764 unmangled operator names.
2765
754cbe1c
JB
27662001-03-20 Jim Blandy <jimb@redhat.com>
2767
2768 * gdb.threads/linux-dp.exp: Recognize an additional message
2769 generated by GDB when it doesn't understand how to debug threads
2770 on the target system.
2771
177495c9
AC
27722001-03-19 Andrew Cagney <ac131313@redhat.com>
2773
2774 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2775
f266096b
MC
27762001-03-12 Michael Chastain <chastain@redhat.com>
2777
2778 * gdb.c++/derivation.exp: Use the 'runto' library function.
2779
cac3c2ff
MC
27802001-03-12 Michael Chastain <chastain@redhat.com>
2781
2782 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2783
b6c11a24
MC
27842001-02-24 Michael Chastain <chastain@redhat.com>
2785
2786 * gdb.c++/ref-types.exp: Change handwritten code to library
2787 function 'runto'.
2788
6bae5bce
OF
27892001-03-16 Orjan Friberg <orjanf@axis.com>
2790
2791 * gdb.base/signals.exp: Set count to 0 explicitly.
2792
0015fd9a
MS
27932001-03-15 Mark Salter <msalter@redhat.com>
2794
2795 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2796 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2797 (gdb_load): Add support for additional target_info: gdb_download_size
2798 and gdb_load_timeout.
0015fd9a 2799
fc33412a
DT
2800Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2801
2802 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2803 file -- to prevent failing when the compile fails but we have no
2804 intention of running the tests anyway.
2805
2806 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2807 tests if set.
2808
2809 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2810 integers.
2811
2812 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2813 * gdb.c++/namespace.exp: Ditto.
2814
115f06de
OF
28152001-03-07 Orjan Friberg <orjanf@axis.com>
2816
2817 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2818 * gdb.base/pointers.exp: Relax pattern match of decimals.
2819
b6ba6518
KB
28202001-03-06 Kevin Buettner <kevinb@redhat.com>
2821
2822 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2823 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2824 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2825 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2826 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2827 config/sh.exp, config/sid.exp, config/slite.exp,
2828 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2829 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2830 config/vxworks.exp, config/vxworks29k.exp,
2831 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2832 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2833 gdb.base/arithmet.exp, gdb.base/assign.exp,
2834 gdb.base/async.exp, gdb.base/attach.exp,
2835 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2836 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2837 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2838 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2839 gdb.base/commands.exp, gdb.base/completion.exp,
2840 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2841 gdb.base/constvars.exp, gdb.base/corefile.exp,
2842 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2843 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2844 gdb.base/ending-run.exp, gdb.base/environ.exp,
2845 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2846 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2847 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2848 gdb.base/funcargs.exp, gdb.base/help.exp,
2849 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2850 gdb.base/logical.exp, gdb.base/long_long.exp,
2851 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2852 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2853 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2854 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2855 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2856 gdb.base/regs.exp, gdb.base/relational.exp,
2857 gdb.base/remote.exp, gdb.base/reread.exp,
2858 gdb.base/restore.exp, gdb.base/return2.exp,
2859 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2860 gdb.base/selftest.exp, gdb.base/setshow.exp,
2861 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2862 gdb.base/sigall.exp, gdb.base/signals.exp,
2863 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2864 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2865 gdb.base/step-test.exp, gdb.base/structs.c,
2866 gdb.base/structs.exp, gdb.base/structs2.exp,
2867 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2868 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2869 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2870 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2871 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2872 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2873 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2874 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2875 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2876 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2877 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2878 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2879 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2880 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2881 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2882 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2883 gdb.trace/circ.exp, gdb.trace/collection.exp,
2884 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2885 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2886 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2887 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2888 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2889 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2890 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2891 notices.
2892
dc96c6c7 28932001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2894
2895 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2896 first arg is int not float.
2897
dc96c6c7 28982001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2899
2900 * gdb.base/reread.exp: Unsupported for non-native targets;
2901 doesn't work for remote debugging.
2902
9b0c4aeb
FN
29032001-02-19 Fernando Nasser <fnasser@redhat.com>
2904
2905 From Drew Moseley <dmoseley@redhat.com>
2906 * gdb.base/ending-run.exp: Properly handle the BSP state when
2907 stepping past the end of main.
2908
02aa71d5
MC
29092001-02-19 John Moore <jmoore@redhat.com>
2910
2911 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2912 Converted HPUX fix for non-expected items following multiple
2913 step commands into general solution for all platforms.
2914
1fa449a4
MC
29152001-02-18 Michael Chastain <chastain@redhat.com>
2916
2917 * gdb.c++/classes.exp (do_tests): Change runto statements
2918 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2919 statements demangler agnostic.
2920 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2921 (gdb_virtfunc_restart): Likewise.
2922
b2f9ec70
MC
29232001-02-14 Michael Chastain <chastain@redhat.com>
2924
2925 * gdb.c++/inherit.exp (do_tests): Change runto statements
2926 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2927 statements demangler agnostic.
2928
cf74b8ca
AC
2929Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2930
2931 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2932 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2933 before calling common_routine 15 times'' tests.
2934
99f78f56
MC
29352001-02-11 Michael Chastain <chastain@redhat.com>
2936
2937 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2938 Helps the test script figure out which demangler is in use.
2939 (dm_type_foo_ref): Ditto.
2940 (dm_type_int_star): Ditto.
2941 (dm_type_long_star): Ditto.
2942 (dm_type_unsigned_int): Ditto.
2943 (dm_type_void): Ditto.
2944 (dm_type_void_star): Ditto.
99707966 2945 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2946 Probe the gdb demangler and set variables to accommodate
2947 formatting differences.
2948 (info_func_regexp): New function. Same as info_func, but
2949 matches against a regexp.
2950 (info_func): Match against a literal string.
2951 (print_addr_2): New function. Match against a literal string,
2952 which can be different from the input to gdb.
2953 (print_addr): Simply call print_addr_2 with the same argument twice.
2954 (test_lookup_operator_functions): Use demangler formatting variables.
2955 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2956 the tests in the same order as the C++ class declaration.
2957 (test_paddr_operator_functions): Ditto.
2958 (test_paddr_overloaded_functions): Ditto.
2959 (test_paddr_hairy_functions): Use demangler formatting variables.
2960 Add reference to gdb/19 for related tests.
2961 (do_tests): Call probe_demangler.
2962
1de8f023
KB
29632001-01-30 Kevin Buettner <kevinb@redhat.com>
2964
2965 * gdb.c++/templates.cc (printf): Remove unused function definition.
2966
ca3f91ed
MS
29672001-01-26 Felix Lee <flee@redhat.com>
2968
2969 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2970
29712001-01-25 matthew green <mrg@redhat.com>
2972
2973 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2974 up sid.
2975 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2976
29772001-01-25 matthew green <mrg@redhat.com>
2978
2979 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2980 Deprecate $sid_spawn_id.
2981 (sid_exit): Remove code necessary only for `spawn.'
2982
29832001-01-25 matthew green <mrg@redhat.com>
2984
2985 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2986
fb18ec4a
MC
29872001-01-28 Michael Chastain <chastain@redhat.com>
2988
2989 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2990 to call when tests fail. It takes gdb out of the overloaded
2991 function choice menu back to the main prompt, so that the test
2992 program stays synchronized.
2993 (set_bp_overloaded): New proc to collect all the common
2994 code for setting a breakpoint on an overloaded name. Calls
2995 take_gdb_out_of_choice_menu when needed.
2996 (menu_overload1arg): New variable to collect the repeated
2997 instances of the expected menu for an overloaded name. Change
2998 the regular expression to handle changes in g++ type encoding:
2999 "void" can be either "void" or "", and "unsigned int" can be
3000 either "unsigned int" or "unsigned".
3001 (continue_to_bp_overloaded): Change regular expressions to handle
3002 changes in g++ type encoding.
3003 (no proc): Call take_gdb_out_of_choice_menu when needed.
3004 Remove redundant calls to "info break". Accept either "canceled"
3005 or "cancelled". Change regular expressions in "info break"
3006 calls to handle changes in g++ type encoding. Give all tests
3007 unique strings.
3008
9c646a6e
BE
30092001-01-17 Ben Elliston <bje@redhat.com>
3010
3011 * config/sid.exp: New file.
3012
9549d9c1
AC
3013Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3014
3015 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3016
dc96c6c7 30172000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3018
3019 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3020 Add a RE to accept a non-ascii char if one is ever presented.
3021
b4df4f68
FN
30222000-12-20 Fernando Nasser <fnasser@redhat.com>
3023
297dd0fd 3024 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3025
dc96c6c7 30262000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3027
3028 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3029 in regexp. One '\' does not suffice on Linux.
3030
4a7bddb6
MC
30312000-12-09 Michael Chastain <chastain@redhat.com>
3032
3033 * gdb.base/break.exp (test_clear_command): Use a marker function
3034 rather than 'main' for the test function. Also move this
3035 test to an execution point where the marker function names are
3036 guaranteed to be bound to functions. (Executing tests after a
3037 'finish' from main runs into name conflicts with local names
3038 in __libc_start_main).
3039
dc96c6c7 30402000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3041
3042 * gdb.base/finish.exp: New test for gdb's "finish" command.
3043 * gdb.base/return2.exp: New test for gdb's "return" command.
3044 * gdb.base/return2.c: New source file for above.
3045
dc96c6c7 30462000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3047
3048 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3049 * gdb.base/miscexprs.exp: Ditto.
3050 * gdb.base/pointers.exp: Ditto.
3051 * gdb.c++/derivation.exp: Ditto.
3052 * gdb.c++/local.exp: Ditto.
3053 * gdb.c++/namespace.exp: Ditto.
3054 * gdb.c++/overload.exp: Ditto.
3055 * gdb.c++/ref-types.exp: Ditto.
3056
dc96c6c7 30572000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3058
3059 * gdb.base/constvars.exp: Test result of "up" command.
3060 * gdb.base/miscexprs.exp: Ditto.
3061 * gdb.base/pointers.exp: Ditto.
3062 * gdb.base/scope.exp: Ditto.
3063 * gdb.c++/derivation.exp: Ditto.
3064 * gdb.c++/local.exp: Ditto.
3065 * gdb.c++/namespace.exp: Ditto.
3066 * gdb.c++/overload.exp: Ditto.
3067 * gdb.c++/ref-types.exp: Ditto.
3068
44097287
FN
30692000-11-22 Michael Chastain <chastain@redhat.com>
3070
3071 * mips_pro.exp: Accept either "middle -> top -> main" or
3072 "middle -> main" in the backtrace, because gcc can optimize
3073 tail calls to jumps. Remove setup_xfail for the hppa case.
3074 Add a comment with the original warning messages from PR 3016,
3075 which was filed in 1993, to preserve them for posterity.
3076
9d2e1bab
ND
30772000-11-17 Nick Duffek <nsd@redhat.com>
3078
3079 * lib/gdb.exp (gdb_test): Override timeout with board info.
3080
1aca8eb7
ND
30812000-11-17 Nick Duffek <nsd@redhat.com>
3082
3083 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3084 the second kill and detach messages.
3085
93076499
ND
30862000-11-17 Nick Duffek <nsd@redhat.com>
3087
3088 * configure.in: Add AC_EXEEXT.
3089 * configure: Regenerate.
3090 * Makefile.in (just-check): Export EXEEXT.
3091 * lib/gdb.exp ($EXEEXT): Import from environment.
3092 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3093 expect "maint dump-me" on Cygwin.
3094 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3095 $EXEEXT.
3096
30e87cd3
ND
30972000-11-17 Nick Duffek <nsd@redhat.com>
3098
3099 * gdb.base/break.exp: Test backtrace and finish from called
3100 function on all platforms, not just HP-UX.
3101
dc96c6c7 31022000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3103
3104 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3105 code from gdb_target_monitor, so it can be used independantly
3106 for gdbserver. Also comment out an unnecessary PUTS.
3107
dc96c6c7 31082000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3109
3110 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3111 * gdb.base/corefile.exp: Expect the message "Program is being
3112 debugged already" when we send the "corefile" command, since
3113 the preceeding gdb_load may have connected gdb to a remote target.
3114 * gdb.base/display.exp: Disable hardware watchpoints if new
3115 board info variable "no_hardware_watchpoints" is true.
3116 Replace single-letter commands with more readable ones.
3117 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3118 if new board info variable "no_hardware_watchpoints" is true.
3119 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3120 to see if stdio (printf) testing is possible.
3121 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3122 board info variable "no_hardware_watchpoints" is true. Use new
3123 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3124
39124dea
FN
31252000-11-13 Fernando Nasser <fnasser@redhat.com>
3126
3127 From Orjan Friberg <orjanf@axis.com>:
3128 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3129 in array print pattern match.
3130
a9e2e984
FN
31312000-11-09 Fernando Nasser <fnasser@redhat.com>
3132
3133 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3134 spelling "cancelled" to U.S. spelling "canceled" to match changes
3135 made to gdb.
3136 * gdb.c++/ovldbreak.exp: Ditto.
3137
c7db355b
PS
31382000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3139
3140 * gdb.base/callfuncs.c (main): Moved to end of file, call
3141 t_double_values to initialize the FPU before inferior calls are made.
3142 * gdb.base/callfuncs.exp: Test for register preservation after calling
3143 inferior functions. Add tests for continuining, finishing and
3144 returning from a stop in a call dummy.
3145
dc96c6c7 31462000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3147
3148 * gdb.base/commands.exp: Break up long lines, and re-indent.
3149
dc96c6c7 31502000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3151
3152 * config/gdbserver.exp: Rewritten from the ground up, to make it
3153 compatible with the current dejagnu tree, and to make it work with
3154 the new "gdbserver" in libremote.
3155
dc96c6c7 31562000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3157
3158 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3159 * gdb.base/varargs.exp: Skip entire test if no printf support.
3160 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3161 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3162
dc96c6c7 31632000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3164
3165 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3166 no floating point support.
3167 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3168 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3169 * gdb.base/call-rt-st.exp: Ditto.
3170 * gdb.base/call-strs.exp: Ditto.
3171
bac5fc66
JG
31722000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3173
3174 * gdb.base/sizeof.c: include <stdio.h>.
3175
3176 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3177 'finish', otherwise uncaptured gdb_prompt would potentially
3178 throw remaining test points out of sync.
3179
b22a6027
SB
31802000-07-26 Scott Bambrough <scottb@netwinder.org>
3181
3182 * gdb.base/recurse.exp: Run tests for all targets.
3183 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3184 gnu-oldld case on ARM.
3185 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3186 for ARM targets.
3187
d8231941
AG
3188Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3189
3190 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3191 * gdb.java/configure: Rebuild.
3192
8caabe69
AG
3193Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3194
3195 * gdb.java/jv-exp.exp: New file.
3196
9d273ca3
AG
3197Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3198
3199 * configure: Rebuilt.
3200 * configure.in (configdirs): Add gdb.java.
3201 * gdb.java/jmisc.java: New file.
3202 * gdb.java/jmisc.exp: New file.
3203 * gdb.java/Makefile.in: New file.
3204 * gdb.java/configure: Rebuilt.
3205 * gdb.java/configure.in: New file.
3206 * lib/java.exp: New file.
3207
4f823a66
AC
3208Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3209
3210 * gdb.base/exprs.exp: Test casts to a pointer including over and
3211 underflow.
3212
2391e11d
AC
3213Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3214
3215 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3216 and the compilers sizes.
3217
54602222
ND
32182000-07-09 Nick Duffek <nsd@redhat.com>
3219
3220 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3221 (use_methods): New function.
3222 (main): Call use_methods().
3223 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3224 (do_tests): Call test_method_param_class.
3225
2bec0572
ND
32262000-07-09 Nick Duffek <nsd@redhat.com>
3227
3228 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3229 spelling.
3230 (test_enums): New procedure. Move enum tests from end of script
3231 to here. Set breakpoint on function name instead of line number.
3232 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3233 (enums2): New marker function.
3234 (enums1): New function.
3235 (main): Call enums1(). Move enum tests to enums1().
3236
78492fde
AC
3237Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3238
3239 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3240 compile/link program. Update line numbers.
3241 * gdb.asm/d10v.inc: Define ``startup''.
3242 * gdb.asm/asmsrc1.s: Add definition of _start.
3243
49a2cef8
AC
3244Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3245
3246 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3247
3e6c8688
EZ
32482000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3249
3250 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3251 of 'help maint print' command.
3252
9ff5cbe9
AC
3253Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3254
3255 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3256 they use gdb_expect_list.
3257
17c579bd
AC
3258Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3259
3260 * gdb.base/commands.exp: Use ``set remote
3261 memory-read-packet-size'' instead of ``set endian big'' to test
3262 long commands.
3263
e6d71bf3
DB
32642000-06-03 Daniel Berlin <dan@cgsoftware.com>
3265
3266 * gdb.c++/templates.exp (do_tests): Make all of these work under
3267 g++, and stop skipping them.
3268
3269 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3270 work under g++.
3271
e5f9ba7b
MS
3272 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3273 initialization.
3274
dc96c6c7 32752000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3276
3277 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3278 the regular expression: accept an (almost) arbitrary sequence of
3279 "frames-invalid" and "breakpoints-invalid" messages both before
3280 and after the "starting" message.
3281
dc96c6c7 32822000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3283
3284 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3285
dc96c6c7 32862000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3287
3288 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3289 Relax the regular expression a little, make it pass on Solaris 8.
3290
8216cda9
KB
32912000-05-12 Kevin Buettner <kevinb@redhat.com>
3292
3293 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3294 a call, do not require that gdb stop on the line after the call.
3295 Instead, it is permissible for gdb to stop on the line of the
3296 call itself.
3297
1a570b2f
MS
32982000-05-12 Michael Snyder <msnyder@.cygnus.com>
3299
3300 * gdb.base/break.exp (bp on small function, optimized file):
3301 Add a second pass pattern. The behavior differs here between stabs
3302 and dwarf for one-line functions. Stabs preserves two line symbols
3303 (one before the prologue and one after) with the same line number,
3304 but dwarf regards these as duplicates and discards one of them.
3305 Therefore the address after the prologue (where the breakpoint is)
3306 has no exactly matching line symbol, and GDB reports the breakpoint
3307 as if it were in the middle of a line rather than at the beginning.
3308
dc96c6c7 33092000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3310
3311 * gdb.base/interrupt.exp: Make "pass" message say "send"
3312 rather than "send_gdb" (for consistancy).
3313
7d418785
AC
3314Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3315
3316 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3317 * gdb.c++/templates.cc: Properly check for GCC version number.
3318 * lib/compiler.cc: Likewise
3319
dc96c6c7 33202000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3321
3322 * gdb.base/break.exp: When compiled with -O2 optimization,
3323 gdb may not stop at the first line of main, due to code motion.
3324
dc96c6c7 33252000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3326
3327 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3328 This test depends on parsing the printf output from the target.
3329 Since the sparclet stub doesn't do stdio, this will never work.
3330 * gdb.base/call-rt-st.exp: ditto.
3331 * gdb.base/call-strs: ditto.
3332
dc96c6c7 33332000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3334
3335 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3336
3337 * gdb.base/ending-run.exp: After connecting to a remote target,
3338 but before running, the target will appear to be in a random
3339 location. Specify both a file and a line for breakpoints.
3340 Also, the function that calls main may be called 'init'
3341 rather than 'start'.
3342
a5a51225
EZ
33432000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3344
3345 * gdb.base/help.exp: Update output for add-symbol-file command.
3346
7930cc7c
FN
33472000-04-10 Fernando Nasser <fnasser@cygnus.com>
3348
3349 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3350 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3351
23e37ab1
C
33522000-04-07 J.T. Conklin <jtc@redback.com>
3353
e93c542c
C
3354 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3355
23e37ab1
C
3356 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3357
591b8fa3
PDM
3358Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3359
3360 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3361 values that can be represented exactly.
3362 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3363 above change, and to not check against the directory part of the source
3364 file name.
3365 (step into print_long_arg_list): Likewise.
3366 (print print_small_structs from print_long_arg_list): Likewise.
3367 (print print_long_arg_list): Likewise.
3368
7a495180
EZ
33692000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3370
30b53638 3371 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3372
beb998c6
AC
3373Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3374
3375 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3376
1c689132
DB
33772000-03-25 Daniel Berlin <dan@cgsoftware.com>
3378
3379 * gdb.base/commands.exp (deprecated_command_test): Add test for
3380 deprecate with no arguments.
3381
c1790a9d
JL
33822000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3383
3384 * gdb.base/break.exp: Add new test for setting breakpoints on
3385 optimized code so we can test breakpoints work even when function
3386 prologues may be optimized away
3387
003ba290
FN
33882000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3389
3390 From David Whedon <dwhedon@gordian.com>
3391 * gdb.base/commands.exp : Added command deprecator tests.
3392
6837a0a2
DB
33932000-03-22 Daniel Berlin <dan@cgsoftware.com>
3394
3395 * gdb.base/help.exp: Added test for new apropos command.
3396
b9593231
KB
33972000-03-21 Kevin Buettner <kevinb@redhat.com>
3398
3399 * gdb.base/pointers.c (usevar): New function.
3400 (main): Make sure that global variables v_int_pointer2, rptr,
3401 and y are all referenced someplace in the program by calling
3402 usevar() on them. [Some linkers delete symbols which are
3403 never referenced. The space remains, but there's no way to
3404 get a (symbolic) handle on the variable from the debugger.]
3405
751a959b
EZ
34062000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3407
3408 * gdb.base/printcmds.c: Add typedeffed arrays.
3409
3410 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3411 procedure to test arrays that are typedef'd.
3412
73a93a32
JI
34132000-03-13 James Ingham <jingham@leda.cygnus.com>
3414
3415 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3416 the library directories.
73a93a32 3417
fb40c209
AC
3418Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3419
3420 * configure.in (configdirs): Add sub directory gdb.mi.
3421 * configure: Re-generate.
3422
3423 * gdb.mi: New directory.
beb998c6 3424
ee4dd2c9
AC
34252000-02-25 Scott Bambrough <scottb@netwinder.org>
3426
3427 * gdb.base/long_long.exp: Correct test suite failure when printing
3428 a long long value as a double on ARM platforms.
3429
70f0cc22
JB
34302000-02-16 Jim Blandy <jimb@redhat.com>
3431
3432 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3433 default source file is set properly before running this test.
3434
853819b8
EZ
34352000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3436
3437 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3438 gdbtk/library directory, not in gdbtcl2.
3439
dfcd3bfb
JM
34402000-02-04 Jim Blandy <jimb@redhat.com>
3441
3442 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3443 backslash from regexp pattern.
3444
3445 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3446 procedure. Use it to run all the "continue to bp overloaded"
3447 tests. Note that this changes the names of the tests slightly.
3448 If the breakpoint hit message includes a hex PC value, because
3449 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3450 from the real source code, still consider that a pass.
3451
3452 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3453 XFAIL here if the breakpoint message contains a hex address. Note
3454 similar change on 1999-11-02.
3455
3456 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3457
3458 * gdb.base/ptype.exp: Establish a default source file before
3459 calling get_debug_format.
3460
34612000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3462
3463 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3464
8b93c638
JM
34652000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3466
3467 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3468 of successive stepi commands -- while in the prologue we should see
3469 the function entry bracket.
3470
34712000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3472
3473 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3474 reach __change_mode() when stepping through the end of main().
3475
c5394b80
JM
34762000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3477
3478 * gdb.base/default.exp: Fix expected pattern.
3479 * gdb.base/help.exp: Same.
3480
0d06e24b
JM
34812000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3482
3483 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3484 Don't use xfail's because that affects only the following test.
beb998c6 3485
0d06e24b
JM
3486 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3487 solaris or linux.
3488
3489 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3490
dc96c6c7 34912000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3492
beb998c6 3493 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3494 "A syntax error" rather than "A parse error". Accept both.
3495
34962000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3497
3498 * gdb.base/default.exp: Remove OS dependent string from "target
3499 remote" test.
3500 * gdb.base/help.exp: Same for "help target remote" test.
3501
c3f6f71d
JM
35022000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3503
3504 From Jim Kingdon <kingdon@redhat.com>:
3505
3506 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3507 prompt (cleanup rather than necessity, but still might keep output
3508 from spilling to next test).
3509
35102000-01-02 Fred Fish <fnf@cygnus.com>
3511
3512 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3513 AIX, which defines them in <sys/types.h>.
3514
ed9a39eb 35151999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3516
ed9a39eb
JM
3517 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3518 float" test.
3519
35201999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3521
ed9a39eb 3522 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3523
3524 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3525 outermost frame disallowed".
3526
35271999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3528
3529 * gdb.base/setvar.exp: New tests for setting the value of a struct
3530 with a constant list.
3531
35321999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3533
3534 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3535 require the user to type a cast before setting the value of a struct.
3536
de57eccd
JM
35371999-12-06 Jim Blandy <jimb@cygnus.com>
3538
3539 * gdb.base/default.exp: Expect the new 'info float' command on
3540 all i386 platforms.
3541
3542 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3543 LinuxThreads libraries that don't support debugging.
3544
c2d11a7d
JM
3545Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3546
3547 * gdb.base/remote.c: Fill the buffer with truely random data.
3548 Change the buffer type to ``unsigned char'' to simplify size
3549 arithmetic.
3550
3551 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3552 stub only handles 400-1 byte packets. Verify that the download
3553 worked.
3554
35551999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3556
3557 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3558 tests, using UNRESOLVED for the untested cases. Also, does not wait
3559 for a timeout if the prompt was received before a recognizable pattern.
3560
35611999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3562
3563 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3564
35651999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3566
3567 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3568 watchpoints.
3569
35701999-11-24 Jason Merrill <jason@casey.cygnus.com>
3571
3572 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3573
3574 * gdb.c++/local.exp: Be more flexible in recognizing local class
3575 name mangling. Don't allow horribly truncated method names.
3576 * gdb.c++/derivation.exp: Expect protected inheritance.
3577 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3578 * gdb.c++/virtfunc.exp: Likewise.
3579 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3580 when printing a nested enum.
3581
35821999-11-22 Jim Blandy <jimb@cygnus.com>
3583
3584 * gdb.base/step-test.exp: Properly await GDB's response to setting
3585 a breakpoint on the call to large_struct_by_value.
3586
3587 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3588 just because we have debug info for the `start' function.
3589
35901999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3591
3592 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3593 "Unknown signal" messages, which indicate (on LinuxThreads) that
3594 GDB doesn't know how to debug threads on this system. This is
3595 better than hanging while philosopher 0 dumps chatter into gdb.log.
3596
35971999-11-18 Tom Tromey <tromey@cygnus.com>
3598
3599 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3600
36011999-11-18 Fred Fish <fnf@cygnus.com>
3602
3603 * gdb.base/coremaker2.c: Add sample program for generating
3604 cores that is more self contained than coremaker.c. Eventually
3605 I'll add more code to this and tie it into the testsuite.
3606
4ce44c66
JM
36071999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3608
3609 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3610
36111999-11-10 Jimmy Guo <guo@cup.hp.com>
3612
3613 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3614 from $srcdir/lib/.
3615 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3616 and gdb.c++/.
3617
3618 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3619
beb998c6 3620 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3621 'continue with watch' test point.
3622
36231999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3624
3625 Merged from p2linux-990323-branch:
beb998c6 3626
4ce44c66
JM
3627 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3628
11cf8741
JM
3629Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3630
3631 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3632 {limit,fixed}''. Test ``set download-write-size''.
3633
3634Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3635
3636 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3637 gdb_expect_list.
3638
3639Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3640
3641 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3642
36431999-11-03 Mark Salter <msalter@cygnus.com>
3644
3645 * gdb.base/break.exp: Fix "stub continue" pattern.
3646
36471999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3648
3649 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3650
36511999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3652
3653 * gdb.base/display.exp ("finish"): Add timeout clause.
3654
3655 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3656 plain prompt clause, so this doesn't have to time out in order to
3657 fail.
3658
3659 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3660 breakpoint hit messages include an address.
3661
3662 * gdb.base/display.exp: Don't forget to escape parens in regular
3663 expressions. Unix regexp notatation sucks.
3664
36651999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3666
3667 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3668 order for 'signalled' message.
3669
5c44784c
JM
36701999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3671
3672 From Jimmy Guo <guo@cup.hp.com>:
3673 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3674 * gdb.base/annota1.c: Add code for tests to work with.
3675
36761999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3677
3678 * gdb.base/remote.exp: New test for remote downloading settings.
3679 * gdb.base/remote.c: New file with large .data.
3680
917317f4
JM
36811999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3682
3683 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3684 for LinuxThreads support, merged from the Code Fusion branch.
3685
3686Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3687
3688 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3689 containing exp_continue into a while within an expect. Don't
3690 attempt a start more than three times. Check return value from
3691 gdb_load.
beb998c6 3692
2df3850c
JM
3693Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3694
3695 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3696 a pass case.
3697
2acceee2
JM
36981999-10-01 Kevin Buettner <kevinb@cygnus.com>
3699
3700 * gdb.base/break.c (main): Added a statement that we can step
3701 off of.
3702 * gdb.base/break.exp: Added tests for setting a breakpoint
3703 at an offset and stepping onto a breakpoint.
3704
37051999-10-01 Fred Fish <fnf@cygnus.com>
3706
beb998c6 3707 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3708 gdb output.
3709
c2c6d25f
JM
37101999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3711
3712 * gdb.base/break.exp: Code locations are in hex, don't forget!
3713 (For HP-UX.)
3714
37151999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3716
3717 * condbreak.exp: Use break.c as test program.
3718 * condbreak.c: Remove, redundant with break.c.
3719
37201999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3721
3722 * config/monitor.exp (gdb_target_monitor): Disable X- and
3723 Z-packets if the target needs it.
3724
37251999-09-13 James Ingham <jingham@leda.cygnus.com>
3726
3727 * gdb.c++/overload.exp: Added tests for listing overloaded
3728 functions with function pointers in the arg, explicitly calling
3729 out the version you want.
3730
cff3e48b
JM
37311999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3732
3733 * long_long.exp: Add variations of test cases that work for
3734 targets with 16-bit ints and 32-bit doubles.
3735
d4f3574e
SS
37361999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3737
3738 * break.c (main): Compare a possibly-uninitialized argc with an
3739 unlikely value that fits in 16 bits.
3740
37411999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3742
3743 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3744 0xfeeb, don't want negative numbers if ints are 16 bits.
3745
3746 * lib/gdb.exp (skip_cplus_tests): New proc.
3747 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3748 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3749 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3750 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3751 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3752 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3753 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3754 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3755
3756 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3757
3758Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3759
3760 * gdb.base/corefile.exp (up): Allow a parameter to appear
3761 in the frame that we're going up to.
3762
3763 From Jim Blandy <jimb@cygnus.com>:
3764
3765 * gdb.base/default.exp (info float): Expect some output now.
3766
3767 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3768 returning floating-point values to fail on the x86.
3769 * gdb.base/callfwmall.exp (do_function_calls): Same.
3770
3771 * gdb.base/list.exp (test_listsize): Correct expectations for
3772 listing line 1 with listsize 2. Also, listing a single line
3773 works now, as does listing three lines. [Kevin's note: There
3774 were a number of other cases fixed too where the expectations
3775 differed...]
3776
37771999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3778
3779 * gdb.base/selftest.exp: Add case for when version prints as
3780 constant string instead of char pointer.
3781
104c1213
JM
37821999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3783
3784 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3785 stepping out of main.
3786
3787 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3788 G++ used.
3789
3790 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3791 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3792
3793 * gdb.c++/ovldbreak.exp: Update match string in test that
3794 includes a warning of multiple breakpoints.
3795
37961999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3797
3798 * gdb.base/display.exp: Improve precision of step-after-finish
3799 added yesterday.
3800
3801 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3802 test.
3803
3804 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3805 configs when using G++, not just hppa*.
3806
38071999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3808
3809 * gdb.base/async.c: New file.
3810 * gdb.base/async.exp: New file.
3811
3812Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3813
3814 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3815 PA64.
3816
53a5351d
JM
3817Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3818
104c1213
JM
3819 * gdb.base/display.exp: "finish" can leave us mid-line on many
3820 targets, deal with it. Add a small constant to main, instead of
3821 1000 since main+1000 may not be a valid address in the target.
3822
53a5351d
JM
3823 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3824 on hpux11.
3825
3826 * gdb.base/attach.exp: Handle another hpux11 error message variant
3827 when attaching to a process that does not exist.
3828
38291999-08-19 J.T. Conklin <jtc@redback.com>
3830
3831 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3832 characters in 'continue to 1241' test.
3833
38341999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3835
3836 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3837 stop in print_long_arg_list, define and use a whitespace
3838 variable in print_small_structs test, add an XFAIL for Solaris.
3839 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3840 interested enough to fix.
3841
7be570e7
JM
38421999-08-13 Keith Seitz <keiths@cygnus.com>
3843
3844 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3845 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3846 proc knows about targets other than the natives.
3847 (test_assign): Use "gdb_run_cmd" to "run" the target.
3848 Check that we've actually hit the breakpoint at main.
3849 When we attempt to assign a value to a local variable, check
3850 that the variable is in the current scope, i.e., don't use
3851 a test with an empty result.
3852
3853Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3854
3855 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3856 command.
3857
38581999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3859
3860 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3861 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3862 gdb.compat, gdb.threads-hp.
3863 gdb.hp/configure, gdb.hp/configure.in: New files.
3864 gdb.hp/Makefile.in: Recurse into new subdirs.
3865 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3866 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3867 in object files.
3868 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3869
96baa820
JM
38701999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3871
3872 * gdb.base/display.exp: Help expect by putting a newline in the
3873 funky printf, remove a bogus p/a test.
3874
38751999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3876
3877 * gdb.base/display.exp: Make sure that when we say 'run', we are
3878 connected to the target. This is necessary when running not
3879 natively.
3880
38811999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3882
3883 * gdb.base/step-test.exp: Removed some extraneous messages.
3884
3885 * gdb.base/long_long.exp: Don't run memory examination tests
3886 on little-endian targets (they will need a different set of
3887 results to match).
3888
38891999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3890
3891 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3892 until somebody decides to fix GDB.
3893
3894 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3895 constant as "ULL".
3896 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3897 matches for a couple x/2 commands.
3898
a0b3c4fd
JM
38991999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3900
3901 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3902 by merging in ref-types2 tests.
3903 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3904
3905 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3906 * gdb.c++/Makefile.in: Add standard actions.
3907 (EXECUTABLES): Rename from PROGS, update list.
3908 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3909 from gdb.hp.
3910 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3911 foo and bar locals.
3912 * gdb.c++/anon-union.exp: Fix tests to match.
3913 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3914 expect matches to handle output variations.
3915 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3916 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3917 output, add HP alternatives for new and delete prints.
3918 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3919 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3920 * gdb.c++/demangle.exp: Use $style when reporting failure.
3921 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3922 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3923 match alternatives.
3924 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3925 compilers.
3926 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3927 * gdb.c++/method.exp: Add match alternatives.
3928 * gdb.c++/misc.cc: Add bool types.
3929 * gdb.c++/misc.exp: Add tests for bool types.
3930 * gdb.c++/overload.exp: Add xfails.
3931 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3932 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3933 add some more template parameter tests (only for HP currently).
3934 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3935 * gdb.c++/virtfunc.cc: Add return type and value for main.
3936 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3937 match alternatives.
beb998c6 3938
a0b3c4fd
JM
39391999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3940
3941 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3942
39431999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3944
3945 * gdb.base/signals.exp: Don't expect getting a backtrace from
3946 within a signal handler to fail on Linux.
3947
39481999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3949
3950 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3951 * lib/gdb.exp: Remove some gratuitious semicolons.
3952 (delete_breakpoints): Increase timeout.
3953 (gdb_expect): Add -notransfer option.
3954 (gdb_test): Use -notransfer option.
3955 (get_compiler_info): Add f77 case.
3956 (get_compiler): New proc, split out from gdb_preprocess, add f77
3957 case.
3958 (gdb_preprocess): Call get_compiler.
3959
3960 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3961 * gdb.base/attach.exp, gdb.base/display.exp,
3962 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3963 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3964 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3965 third arg to gdb_test.
3966 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3967 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3968 HP-UX xfails, add others.
3969 * gdb.base/completion.exp: Reflect name change of self-test.
3970 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3971 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3972 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3973 HP failure number.
3974 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3975 useless HP-UX 10.30 references.
3976 * gdb.base/maint.exp: Loosen matches.
3977 * gdb.base/pointers.c (main): Declare more_code.
3978 * gdb.base/pointers.exp: Match on output of a `next'.
3979 * gdb.base/structs.c: Add prototypes.
3980 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3981 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3982
39831999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3984
3985 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3986 command.
3987
39881999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3989
3990 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3991 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3992
3993 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3994 debug info. Deal with lack of signal hanlder info in stack.
3995
3996 From Jim Kingdon <kingdon@redhat.com>:
3997 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3998
5a2468f5
JM
39991999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4000
4001 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4002 gdb.base/foll-vfork.exp: Don't run for crosses.
4003
adf40b2e
JM
4004Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4005
4006 * gdb.base/configure.in: Check for gdbvars.exp instead of
4007 a1-selftest.exp.
4008 * gdb.base/configure: Re-generate.
4009
40101999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4011
4012 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4013 in trying to run first and name is too long.
4014
4015 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4016 pointers2.c and pointers2.exp, respectively.
4017 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4018 doschk happier.
4019
43e526b9
JM
40201999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4021
4022 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4023 callfuncs2.c and callfuncs2.exp.
4024
4025 * gdb.base/list.exp: Remove mistaken xfails.
4026 * gdb.base/list0.h: Add optional prototypes.
4027
9846de1b
JM
4028Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4029
4030 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4031 calling malloc.
4032 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4033 * ptype.exp: Move test for get_debug_format to before its first
4034 use.
4035
40361999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4037
4038 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4039 * gdb.base/annota2.cc, annota2.exp: Move from here.
4040 * gdb.c++/annota2.cc, annota2.exp: To here.
4041 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4042
43ff13b4
JM
4043Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4044
4045 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4046 a consistent format.
4047
085dd6e6
JM
40481999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4049
4050 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4051 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4052 HP compilers, also set the globals $true and $false.
4053
4054 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4055 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4056 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4057 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4058 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4059 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4060 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4061 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4062 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4063 whatis.c} Add C++ compatible function definitions and return
4064 types, add includes for library functions.
4065 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4066 * gdb.base/step-test.c (myglob): Rename from glob.
4067 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4068 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4069 files, move here from gdb.hp.
4070 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4071 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4072 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4073 Adjust line numbers in regexps.
4074
4075 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4076 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4077 instead of 0/1.
4078
4079 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4080 foll-vfork.exp: New files, move here from gdb.hp.
4081 * gdb.base/page.exp: New file, test of pagination command.
4082
4083 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4084 recursion test.
4085 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4086
4087 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4088 gdb.base/solib.exp: Fix compiler invocation process.
4089
4090 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4091 HP-UX 11, turn off overload resolution explicitly.
4092 * gdb.base/commands.exp: Set argument list explicitly, add
4093 watchpoint test.
4094 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4095 them work.
4096 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4097 expressions properly.
4098 * gdb.base/corefile.exp: Loosen the match slightly.
4099 * gdb.base/default.exp: Allow "Error accessing memory" message
4100 also.
4101 * gdb.base/display.exp: Skip over x/0 j if PA64.
4102 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4103 * gdb.base/interrupt.exp: Ditto.
4104 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4105 in use.
4106 * gdb.base/list.exp: Add xfails for HP-UX.
4107 * gdb.base/long_long.exp: Refine some of the numeric matches.
4108 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4109 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4110 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4111 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4112 * gdb.base/ptype.exp: Succeed on more varieties of output.
4113 * gdb.base/scope.exp: Add xfails for HP-UX.
4114 * gdb.base/sect-cmd.exp: Add more cases.
4115 * gdb.base/setvar.exp: Add xfails for HP-UX.
4116 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4117 * gdb.base/signals.exp: Match on void symbolically.
4118 * gdb.base/step-test.exp: Add case for PA64.
4119 * gdb.base/term.exp: Add exit and restart.
4120 * gdb.base/twice.exp: Clean up after self.
4121 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4122 * gdb.base/whatis.exp: Allow more ways to pass tests.
4123
4124 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4125 no longer useful.
4126
4127Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4128
4129 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4130 list of patterns.
4131 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4132 print_double_array(double_array)", "continuing to breakpoint
4133 1018", "print print_double_array(array_d)" and "continuing to
4134 1034" tests.
beb998c6 4135
085dd6e6
JM
41361999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4137
4138 * Makefile.in: Add empty html and install-html targets.
4139
41401999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4141
4142 * config/mt-*: Remove, these haven't been used since 1996.
4143
41441999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4145
4146 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4147 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4148 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4149
9e0b60a8
JM
41501999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4151
4152 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4153 simpler match case for the ptype of the big class.
4154
41551999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4156
4157 * gdb.exp: Fix test for gdb_prompt existence.
4158
41591999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4160
4161 * gdb.exp (gdb_test): Add fail after calls to perror.
4162
41631999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4164
4165 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4166
41671999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4168
4169 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4170
0f71a2f6
JM
4171Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4172
4173 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4174 malloc() is linked in.
4175
41761999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4177
4178 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4179 step at end.
4180
4181 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4182
41831999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4184
4185 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4186
cce74817
JM
4187Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4188
4189 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4190 * gdb.base/mips_pro.exp: Likewise.
4191
41921999-06-02 Keith Seitz <keiths@cygnus.com>
4193
4194 * gdb.c++/templates.cc: Change all "new" operators to throw
4195 an exception.
4196 * gdb.c++/cplusfuncs.cc: Likewise.
4197
4198 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4199
4200Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4201
4202 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4203 * gdb.base/ending-run.exp: When stepping out of main, accept a
4204 step into an arbitrary assembler file.
4205
392a587b
JM
42061999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4207
beb998c6 4208 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4209 "breakpoint-invalid" to be printed.
beb998c6 4210 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4211 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4212 * gdb.base/annota2.cc: Initialize a.x to 0.
4213
9e086581
JM
42141999-05-17 Keith Seitz <keiths@cygnus.com>
4215
4216 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4217 when "skip_float_tests" set.
4218 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4219 "print print_ten_doubles", and "step into print_long_arg_list".
4220 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4221 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4222 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4223 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4224 "skip_float_tests" is set.
4225 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4226 when "skip_float_tests" set.
beb998c6 4227
cd0fc7c3
SS
42281999-05-06 Keith Seitz <keiths@cygnus.com>
4229
4230 * gdb.base/annota2.cc: Include stdio.h.
4231
4232Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4233
4234 * gdb.base/crossload.exp: Remove, this has been disabled ever
4235 since BFD stopped including all targets, and cross-GDB gets
4236 plenty of testing anyway.
4237 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4238 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4239 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4240 * gdb.base/README: Remove, was doc for this.
4241 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4242 needed.
4243
b83266a0
SS
42441999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4245
4246 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4247 output.
4248
4249 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4250 * gdb.base/annota2.exp: New file. More annotation tests.
4251 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4252 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4253
42541999-04-23 Angela Marie Thomas <angela@cygnus.com>
4255
4256 * config/cfdbug.exp: New file.
4257
7a292a7a
SS
42581999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4259
4260 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4261 Marcus Daniel's and Dale Hawkins's demangler crashes.
4262
4263 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4264 test_lucid_style_demangling, test_arm_style_demangling,
4265 test_hp_style_demangling): Try Tom Tromey's core-dumping
4266 identifier under each demangling style.
4267
42681999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4269
4270 * gdb.c++/demangle.exp: Include the current demangling style
4271 in all test names.
4272 (current_demangling_style): New global variable.
4273 (set_demangling_style, test_demangling_core, test_demangling,
4274 test_demangling_exact): New functions.
4275 (test_gnu_style_demangling, test_lucid_style_demangling,
4276 test_arm_style_demangling, test_hp_style_demangling): Use those,
4277 instead of calling gdb_test and gdb_test_exact directly.
4278 (catch_demangling_errors): New function, which reports errors
4279 signalled by the demangling test functions in an orderly way.
4280 (do_tests): Use catch_demangling_errors.
4281
42821999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4283
4284 * gdb.base/signals.exp (test_handle_all_print): Use () for
4285 grouping in expressions, not {}.
4286
4287 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4288 initialized yet.
4289
42901999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4291
4292 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4293 are listed.
4294
42951999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4296
4297 * gdb.stabs/weird.exp: Test for CC being defined before
4298 looking at its value.
4299
43001999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4301
4302 * gdb.base/call-ar-st.exp: Remove stray '#'.
4303 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4304 "short int" and "long int".
4305 * gdb.c++/overload.cc: Cast the string added in the previous
4306 change, to mollify finicky HP compiler.
4307 * gdb.hp/reg-test.exp (testfile): Fix file name.
4308 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4309
7a292a7a
SS
4310 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4311 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4312 alternate form of enum ptype.
4313
c906108c
SS
43141999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4315
7a292a7a
SS
4316 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4317 * gdb.hp/*.exp: Change all to run compiler probe only after
4318 passing skip_hp_tests, so as not to waste time on guaranteed
4319 failure.
4320
c906108c
SS
4321 * gdb.c++/overload.cc: Pass string instead of char addr, always
4322 init ccpfoo.
4323 * gdb.c++/templates.cc: Fix syntax error.
4324
7a292a7a
SS
4325Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4326
4327 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4328 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4329 command.
4330
43311999-03-18 James Ingham <jingham@cygnus.com>
4332
4333 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4334
4335 * gdb.c++/method.exp: It was testing an uninitialized int on the
4336 stack and assuming it was positive.
4337
4338 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4339
4340 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4341 keep it from killing the rest of the tests.
7a292a7a
SS
4342 Use gdb_continue_to_end.
4343
4344 * gdb.base/sigall.exp: use gdb_continue_to_end.
4345
4346 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4347
4348 * gdb.base/display.exp: use runto_main, not run.
4349
beb998c6
AC
4350 * gdb.base/default.exp: Check for the current error message in the
4351 r abbreviation test.
7a292a7a
SS
4352 Add strongarm to the targets that know info float.
4353
beb998c6 4354 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4355 run which doesn't work with monitors.
4356
4357 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4358
4359 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4360
4361 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4362 program. Traps the case (in Cygmon) when the program never really
4363 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4364 more places, so I used my name. Sorry Mark...
4365
4366 * config/monitor.exp (gdb_target_monitor): added another
4367 target_info parameter: remotebinarydownload. This will set the
4368 remotebinarydownload flag if this is causing some boards trouble.
4369
43701999-03-18 Mark Salter <msalter@cygnus.com>
4371
4372 * lib/gdb.exp (continue_to_exit): New function.
4373
4374 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4375 * gdb.base/ending-run.exp: Ditto.
4376 * gdb.base/step-test.exp: Ditto.
4377
43781999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4379
4380 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4381 (suggested by Art Haas <ahaas@neosoft.com>).
4382
43831999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4384
4385 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4386
4387Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4388
4389 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4390 descriptions of types (short unsigned int vs unsigned short, etc).
4391
43921999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4393
4394 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4395 a call to strlen; sometimes we do have sources.
4396
43971999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4398
4399 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4400 character, so GDB won't print garbage after its end.
beb998c6 4401
c906108c
SS
4402 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4403 breakpoint there instead. Sometimes GCC emits memcpy to handle
4404 the large structures being passed by value, so we step into that
4405 instead of sum_array_print, which obscures what we're really testing.
4406 * gdb.base/step-test.exp: However, we do want a test that notices
4407 the bizarre steps into memcpy, so do that here. Add check for
4408 stepping into function calls that pass large structures by value.
4409 ("Is that a noun clause, or are you just happy to see me?")
4410 Remove all references to specific line numbers.
4411 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4412 New type and function.
4413 (main): Call large_struct_by_value, passing it a large struct by value.
4414 * lib/gdb.exp (gdb_get_line_number): New function.
4415
4416 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4417 more portable.
4418
7a292a7a
SS
44191999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4420
c906108c
SS
4421 * lib/gdb.exp: Doc fixes.
4422
7a292a7a
SS
44231999-03-05 Nick Clifton <nickc@cygnus.com>
4424
beb998c6 4425 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4426
44271999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4428
c906108c
SS
4429 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4430 commands. They're not germane to this test, and they don't work
4431 that way on remote targets.
4432
3fc11d3e
JM
44331999-03-01 James Ingham <jingham@cygnus.com>
4434
4435 * Changelog entries merged over from gdb development branch.
4436
3fc11d3e
JM
4437 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4438
4439 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4440 for outputting results of test run.
4441
2d4a1622 4442 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4443
4444 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4445
7a292a7a
SS
44461999-02-25 Felix Lee <flee@cygnus.com>
4447
4448 * lib/gdb.exp (debug_format): initialize
4449
c906108c
SS
44501999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4451
4452 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4453 * gdb.base/call-rt-st.c: Ditto.
4454
c906108c
SS
44551999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4456
4457 * gdb.threads/pthreads.exp (horiz): New variable.
4458 (test_startup): Fix regexps that capture thread numbers.
4459
44601999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4461
4462 * gdb.base/smoke.exp: Disambiguate two test case names (both
4463 called ``print'').
4464
4465Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4466
4467 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4468 compilation.
4469
44701999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4471
4472 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4473 actual output formatting.
4474 * gdb.base/smoke.exp: GDB removes leading 0's.
4475 * gdb.base/volatile.exp: Don't check type of remuneration;
4476 that variable is no longer defined in constvars.c.
4477 * gdb.base/step-test.c (main): Exit with explicit exit code.
4478 * gdb.base/step-test.exp: Remove two nexti checks--they are
4479 not portable.
4480
44811999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4482
4483 * gdb.base/help.exp ("help delete display"): Fix test to match
4484 gdb's output.
4485
4486 * gdb.base/long_long.c (known_types): Initialize values to zero.
4487 * gdb.base/long_long.exp: Step one more line
4488 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4489 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4490 unique test case names.
4491
4492Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4493
beb998c6 4494 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4495
4496 * gdb.c++/method.exp: Add missing close brace.
4497
44981999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4499
4500 * gdb.base/maint.exp: Use 'set height 0' to disable page
4501 prompting, not 'set height 400'.
4502
4503 Fix a bunch of timeouts.
4504 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4505 four separate tests, so expect doesn't take forever to match a ton
4506 of text against a regexp with lots of .* forms.
4507 ("maint print psymbols", "maint print symbols"): Make some of
4508 these greps more selective, so that expect doesn't try to wade
4509 through huge piles of output and time out.
4510
4511 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4512
4513 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4514 tests: one which doesn't expect shlib events to be reported, and
4515 another which does, but is XFAIL for all platforms other than
4516 HP/UX.
4517
4518 * gdb.base/break.exp: Teach the test suite that the `catch
4519 fork', `catch vfork', and `catch exec' commands produce error
4520 messages on platforms that don't provide these features.
4521
4522Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4523
4524 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4525 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4526 (shortening names from solib_threshold.exp etc), won't run on
4527 anything but HP-UX for the foreseeable future.
4528 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4529 reflect move.
4530
4531Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4532
4533 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4534 gdb.trace/Makefile.in (clean): Remove all test executables.
4535
4536Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4537
4538 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4539 successfully re-sets breakpoints in shared libraries.
4540 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4541
4542Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4543
beb998c6
AC
4544 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4545 and compiled w/o GCC.
c906108c
SS
4546
4547 * gdb.hp/watch-cmd.exp: ditto.
4548
4549 * gdb.hp/watch-hp.exp: ditto.
4550
4551 * gdb.hp/xdb1.exp: ditto.
4552
4553 * gdb.hp/xdb2.exp: ditto.
4554
4555 * gdb.hp/dbx.exp: ditto.
4556
4557Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4558
4559 * constvars.c: Remove C++-isms.
4560 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4561 with GCC.
4562
4563Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4564
4565 The following changes are part of the HP merge.
4566
4567 * gdb.base/break.exp: new tests to verify that catchpoints for
4568 fork, vfork, and exec don't trigger inappropriately.
4569
4570 * gdb.base/opaque.exp: compile one file at a time, then link.
4571
4572 * gdb.base/signals.exp: be more restrictive about which hppa
4573 systems receive a setup_xfail. new tests.
4574
4575 * gdb.base/solib_threshold.build: new file.
4576 * gdb.base/solib_threshold.exp: new file.
4577 * gdb.base/solib_threshold.link_opts: new file.
4578 * gdb.base/solib_threshold.mk: new file.
4579 * gdb.base/gen_solib_threshold.c: new file.
4580
4581 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4582 tests. New tests for enums inside classes.
4583
4584 * gdb.c++/compiler.cc: indicate support of template debugging.
4585
4586 * gdb.c++/demangle.exp: run hp style demangling tests.
4587
4588 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4589 tests.
4590
4591 * gdb.c++/misc.cc: changes to support new tests.
4592
4593 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4594 to support new tests.
4595
4596 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4597 gcc, then skip these tests.
4598
4599Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4600
4601 The following files are part of the HP merge; some had longer
4602 names at HP, but have been renamed to be no more than 14
4603 characters in length.
4604
4605 * gdb.hp/ambiguous.cc: new file.
4606 * gdb.hp/ambiguous.exp: new file.
4607 * gdb.hp/attach.exp: new file.
4608 * gdb.hp/attach2.exp: new file.
4609 * gdb.hp/classes-hp.exp: new file.
4610 * gdb.hp/ctti.exp: new file.
4611 * gdb.hp/ctti-add.cc: new file.
4612 * gdb.hp/ctti-add1.cc: new file.
4613 * gdb.hp/ctti-add2.cc: new file.
4614 * gdb.hp/ctti-add3.cc: new file.
4615 * gdb.hp/dbx.exp: new file.
4616 * gdb.hp/exception.cc: new file.
4617 * gdb.hp/exception.exp: new file.
4618 * gdb.hp/foll-exec.c: new file.
4619 * gdb.hp/foll-exec.exp: new file.
4620 * gdb.hp/foll-fork.c: new file.
4621 * gdb.hp/foll-fork.exp: new file.
4622 * gdb.hp/foll-vfork.c: new file.
4623 * gdb.hp/foll-vfork.exp: new file.
4624 * gdb.hp/inherit-hp.exp: new file.
4625 * gdb.hp/more-steps.exp: new file.
4626 * gdb.hp/namespace.cc: new file.
4627 * gdb.hp/namespace.exp: new file.
4628 * gdb.hp/optimize.exp: new file.
4629 * gdb.hp/pxdb.c: new file.
4630 * gdb.hp/pxdb.exp: new file.
4631 * gdb.hp/quicksort.exp: new file.
4632 * gdb.hp/reg-test.exp: new file.
4633 * gdb.hp/reg-test.s: new file.
4634 * gdb.hp/sized-enum.c: new file.
4635 * gdb.hp/sized-enum.exp: new file.
4636 * gdb.hp/start-stop.exp: new file.
4637 * gdb.hp/templ-hp.cc: new file.
4638 * gdb.hp/templ-hp.exp: new file.
4639 * gdb.hp/thr-lib.c: new file.
4640 * gdb.hp/thr-lib.exp: new file.
4641 * gdb.hp/thr-lib.h: new file.
4642 * gdb.hp/thr-liblib.c: new file.
4643 * gdb.hp/virtfun-hp.c: new file.
4644 * gdb.hp/virtfun-hp.exp: new file.
4645 * gdb.hp/watch-cmd.exp: new file.
4646 * gdb.hp/watch-hp.exp: new file.
4647 * gdb.hp/xdb1.exp: new file.
4648 * gdb.hp/xdb2.exp: new file.
4649 * gdb.hp/xdb3.exp: new file.
4650
4651Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4652
4653 The following files are part of the HP merge; some had longer
4654 names at HP, but have been renamed to be no more than 14
4655 characters in length.
4656
4657 * gdb.base/ss.h: new file.
4658 * gdb.base/call-ar-st.c: new file.
4659 * gdb.base/call-ar-st.exp: new file.
4660 * gdb.base/call-rt-st.c: new file.
4661 * gdb.base/call-rt-st-exp: new file.
4662 * gdb.base/call-strs.exp: new file.
4663 * gdb.base/ena-dis-br.exp: new file.
4664 * gdb.base/environ.exp: new file.
4665 * gdb.base/long_long.exp: new file.
4666 * gdb.base/sect-cmd.exp: new file.
4667 * gdb.base/shlib-cl2.exp: new file.
4668 * gdb.base/smoke.exp: new file.
4669 * gdb.base/so-impl-ld.c: new file.
4670 * gdb.base/so-impl-ld.exp: new file.
4671 * gdb.base/so-indr-cl.c: new file.
4672 * gdb.base/so-indr-cl.exp: new file.
4673 * gdb.base/varargs.exp: new file.
4674 * gdb.base/volatile.exp: new file.
4675 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4676 * gdb.base/display.exp: new file.
c906108c
SS
4677 * gdb.c++/derivation.exp: new file.
4678 * gdb.c++/local.exp: new file.
4679 * gdb.c++/member-ptr.exp: new file.
4680 * gdb.c++/overload.exp: new file.
4681 * gdb.c++/ovldbreak.exp: new file.
4682 * gdb.c++/ref-types.exp: new file.
4683 * gdb.c++/ref-types2.exp: new file.
4684 * gdb.c++/userdef.exp: new file.
beb998c6 4685
c906108c
SS
4686Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4687
4688 * gdb.base/default.exp: Reflect wording change in remote.c.
4689
dc96c6c7 4690Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4691
4692 * gdb.base/help.exp: Update to reflect current text.
4693
4694Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4695
4696 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4697 they're stack variables and contain garbage.
4698 * gdb.c++/anon-union.exp: new file.
4699
4700 The following changes were made by David Taylor
4701 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4702 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4703 in changes by HP.
4704
4705 * gdb.base/bitops.exp: new file.
4706 * gdb.base/default.exp: change expected messages for catch and
4707 info catch tests to reflect HP merge changes.
4708 * gdb.base/enable-disable-break.exp
4709 * gdb.base/ending-run.c: new file.
4710 * gdb.base/long_long.c: new file.
4711 * gdb.base/maint.exp: new file.
4712 * gdb.base/pointers2.exp: new file.
4713 * gdb.base/shlib-call2.exp: new file.
4714 * gdb.base/solib.exp: new file.
4715 * gdb.base/step-test.c: new file.
4716 * gdb.c++/anon-union.cc: new file.
4717 * gdb.c++/local.cc: new file.
4718 * gdb.c++/member-pointer.cc: new file.
4719 * gdb.c++/method.cc: new file.
4720 * gdb.c++/ref-types.cc: new file.
4721 * gdb.c++/ref-types2.cc: new file.
4722 * gdb.c++/userdef.cc: new file.
beb998c6 4723
c906108c
SS
4724 * gdb.base/scope.exp: compile one file at a time, then link.
4725 * gdb.base/langs.exp: ditto.
4726 * gdb.base/list.exp: ditto.
beb998c6 4727
c906108c
SS
4728Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4729
4730 The following changes were made by David Taylor
4731 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4732 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4733 in changes by HP.
beb998c6 4734
c906108c
SS
4735 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4736 skip tests. When compiling pass c++ flag to gdb_compile.
4737 * gdb.c++/
beb998c6 4738
c906108c
SS
4739 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4740 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4741 (skip_hp_tests): new function.
4742 (gdb_preprocess): new function.
4743
4744 * configure.in (hpdir): decide whether to configure gdb.hp.
4745 * configure: regenerated.
4746
4747 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4748 to delete on clean.
4749 (EXECUTABLES): update to reflect new additions.
4750 * gdb.base/commands.exp: update message expected.
4751 * gdb.base/default.exp: add copyright notice.
4752 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4753 * gdb.base/help.exp: update messages to reflect current text.
4754 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4755 targets for recurse tests.
4756 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4757 skip this file.
4758
4759 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4760 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4761 compilation.
4762 * gdb.c++/misc.exp: ditto.
4763 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4764 run the tests. tell gdb_compile that it's a c++ compilation.
4765
4766 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4767
c906108c
SS
4768 * gdb.base/all-bin.exp: new file.
4769 * gdb.base/arithmet.exp: new file.
4770 * gdb.base/assign.exp: new file.
4771 * gdb.base/completion.exp: new file.
4772 * gdb.base/cond-expr.exp: new file.
4773 * gdb.base/condbreak.exp: new file.
4774 * gdb.base/define.exp: new file.
4775 * gdb.base/dollar.exp: new file.
4776 * gdb.base/environment.exp: new file.
4777 * gdb.base/eval-skip.exp: new file.
4778 * gdb.base/jump.exp: new file.
4779 * gdb.base/logical.exp: new file.
4780 * gdb.base/pointers.exp: new file.
4781 * gdb.base/relational.exp: new file.
4782 * gdb.base/section_command.exp: new file.
4783 * gdb.base/whatis-expr.exp: new file.
4784
4785 * gdb.base/all-types.c: new file.
4786 * gdb.base/call-array-struct.c: new file.
4787 * gdb.base/call-return-struct.c: new file.
4788 * gdb.base/call-strings.c: new file.
4789 * gdb.base/callfuncs2.c: new file.
4790 * gdb.base/condbreak.c: new file.
4791 * gdb.base/constvars.c: new file.
4792 * gdb.base/display.c: new file.
4793 * gdb.base/int-type.c: new file.
4794 * gdb.base/jump.c: new file.
4795 * gdb.base/miscexprs.c: new file.
4796 * gdb.base/pointers.c: new file.
4797 * gdb.base/pointers2.c: new file.
4798 * gdb.base/shmain.c: new file.
4799 * gdb.base/shr1.c: new file.
4800 * gdb.base/shr2.c: new file.
4801 * gdb.base/solib.c: new file.
4802 * gdb.base/solib1.c: new file.
4803 * gdb.base/solib2.c: new file.
4804 * gdb.base/varargs.c: new file.
4805 * gdb.c++/derivation.cc: new file.
4806 * gdb.c++/overload.cc: new file.
4807 * gdb.c++/ovldbreak.cc: new file.
4808 * gdb.hp/attach.c: new file.
4809 * gdb.hp/attach2.c: new file.
4810 * gdb.hp/average.c: new file.
4811 * gdb.hp/compiler.c: new file.
4812 * gdb.hp/compiler.cc: new file.
4813 * gdb.hp/execd-program.c: new file.
4814 * gdb.hp/follow-exec.c: new file.
4815 * gdb.hp/follow-fork.c: new file.
4816 * gdb.hp/follow-vfork-and-exec.c: new file.
4817 * gdb.hp/misc-hp.cc: new file.
4818 * gdb.hp/more-steps.c: new file.
4819 * gdb.hp/optimize.c: new file.
4820 * gdb.hp/quicksort.c: new file.
4821 * gdb.hp/run-hp.c: new file.
4822 * gdb.hp/start-stop.c: new file.
4823 * gdb.hp/sum.c: new file.
4824 * gdb.hp/templates-hp.cc: new file.
4825 * gdb.hp/thread-local-in-lib.c: new file.
4826 * gdb.hp/thread-local-in-lib.h: new file.
4827 * gdb.hp/thread-local-in-lib.lib.c: new file.
4828 * gdb.hp/vforked-program.c: new file.
4829 * gdb.hp/virtfunc-hp.cc: new file.
4830 * gdb.hp/watchpoint-hp.c: new file.
4831 * gdb.hp/xdb.c: new file.
4832 * gdb.hp/xdb0.c: new file.
4833 * gdb.hp/xdb0.h: new file.
4834 * gdb.hp/xdb1.c: new file.
4835
4836Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4837
4838 The following change was made by Edith Epstein
4839 <eepstein@cygnus.com> as part of a project to merge in changes
4840 originally made by HP; HP did not create ChangeLog entries.
4841
4842 * gdb.c++/demangle.exp: changed the expected output for some
4843 ARM-style mangling -- removed second reference to datatype.
4844 For example, maint demangle __dt__11T1__pt__2_cFv
4845 T1<char>::~T1<char>(void)
4846 becomes,
4847 maint demangle __dt__11T1__pt__2_cFv
4848 T1<char>::~T1(void)
4849
4850 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4851
c906108c
SS
4852Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4853
4854 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4855 * gdb.trace/backtrace.exp: Likewise.
4856 * gdb.trace/circ.exp: Likewise.
4857 * gdb.trace/collection.exp: Likewise.
4858 * gdb.trace/deltrace.exp: Likewise.
4859 * gdb.trace/infotrace.exp: Likewise.
4860 * gdb.trace/limits.exp: Likewise.
4861 * gdb.trace/packetlen.exp: Likewise.
4862 * gdb.trace/passc-dyn.exp: Likewise.
4863 * gdb.trace/passcount.exp: Likewise.
4864 * gdb.trace/report.exp: Likewise.
4865 * gdb.trace/save-trace.exp: Likewise.
4866 * gdb.trace/tfind.exp: Likewise.
4867 * gdb.trace/tracecmd.exp: Likewise.
4868 * gdb.trace/while-dyn.exp: Likewise.
4869 * gdb.trace/while-stepping.exp: Likewise.
4870
48711998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4872
4873 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4874
4875Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4876
4877 From Brendan Kehoe:
4878 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4879 int return types.
4880
4881Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4882
4883 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4884 remote dos host testing right.
4885
4886Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4887
4888 * gdb.base/corefile.exp: remove some xfails.
4889
4890Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4891
4892 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4893 have different timestamps.
4894
4895Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4896
4897 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4898 gdb.base/default.exp: Replace "exec" with "executable".
4899
4900Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4901
4902 * gdb.base/default.exp: Change else if to elseif from previous
4903 delta.
4904
4905Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4906
4907 * gdb.base/default.exp: Add brace missing from previous delta.
4908
4909Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4910
4911 * gdb.base/default.exp: Support test for info float for all
4912 varieties of arm toolchain.
4913
dc96c6c7 4914Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4915
4916 * gdb.trace/*.exp: remove "remote_download" command.
4917
dc96c6c7 4918Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4919
4920 * gdb.trace/*.exp: remove -gdwarf from compile.
4921
4922Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4923
4924 * gdb.trace/configure.in(AC_INIT): typo
4925 * gdb.trace/configure: regenerated
4926
dc96c6c7 4927Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4928
4929 * config/m68k-emc.exp: New file.
4930 * lib/<emc-support.exp trace-support.exp}: New files.
4931 * configure.in: add new test directory gdb.trace.
4932 * gdb.trace/{configure configure.in Makefile.in}: New files.
4933 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4934 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4935 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4936 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4937 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4938 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4939 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4940
dc96c6c7 4941Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4942
4943 * gdb.c++/classes.exp: Change all regular expressions to match
4944 arbitrary combinations of newline/carriage-return, so that they
4945 will work equally well on Unix and Windows.
4946 * gdb.c++/inherit.exp: ditto.
4947 * gdb.c++/virtfunc.exp: ditto.
4948
49491998-08-11 Dawn Perchik <dawn@cygnus.com>
4950
4951 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4952
c2d11a7d
JM
4953Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4954
4955 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4956 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4957 to use a0-a3/d0-d3 as needed.
4958
4959Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4960
4961 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4962 * gdb.disasm/am33.exp: Corresponding changes.
4963
c906108c
SS
49641998-07-11 Felix Lee <flee@cygnus.com>
4965
4966 * gdb.base/callfuncs.exp: add cmp10 test.
4967 * gdb.base/callfuncs.c (cmp10): new function.
4968
4969Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4970
beb998c6 4971 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4972 into two parts to get around a synchronization problem in expect.
4973
3fc11d3e
JM
4974Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4975
4976 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4977
4978 * configure.in: Add options for gdbtk testsuite.
4979
4980 * configure: Regenerate.
4981
4982 * gdb.gdbtk: New directory to hold gdbtk tests.
4983
c906108c
SS
4984Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4985
4986 * gdb.fortran/types.exp: Escape brackets in expect patterns
4987 for test_float_literal_types_accepted tests.
4988 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4989 before run test.
4990
c2d11a7d
JM
4991Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4992
4993 * am33.exp: Just compile, do not link the testcase.
4994 * am33.s: Add ".am33" pseudoop to force am33 mode.
4995
c906108c
SS
49961998-06-25 Felix Lee <flee@cygnus.com>
4997
4998 * gdb.base/setshow.exp: make sure $pc is sane.
4999
5000 * gdb.stabs/weird.exp: split expect patterns properly.
5001
c2d11a7d
JM
5002Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5003
5004 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5005 * gdb.disasm/am33.exp: Run it.
5006
dc96c6c7 5007Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5008
5009 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5010 match processing (and eliminate spurious timeouts when running).
5011
dc96c6c7 5012Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5013
5014 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5015 exception test, but conditionalize it on target [mach | gnu].
5016
dc96c6c7 5017Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5018
5019 * gdb.base/overlays.exp: fixup compile line for linker script.
5020
5021Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5022
5023 * gdb.fortran/types.exp: don't guess at float size.
5024
5025Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5026
5027 * gdb.base/exprs.exp: delete test that depends on int size.
5028
5029Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5030
5031 * config/sim.exp: Removed checks for target triplets.
5032 (gdb_target_sim): Use gdb,target_sim_options.
5033
5034Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5035
5036 * gdb.base/reread.exp: New file.
5037 * gdb.base/reread1.c: New file.
5038 * gdb.base/reread2.c: New file.
5039
5040Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5041
5042 * config/sim.exp: Use 'target sim -sparclite' when running
5043 SPARClite programs.
5044
5045Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5046
5047 * gdb.base/structs2.exp: New file.
5048 * gdb.base/structs2.c: New file.
5049
5050Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5051
5052 * gdb.asm/common.inc: New file.
5053 * gdb.asm/d10v.inc: New file.
5054 * asm-source.exp: Pass -I's to gas to find .inc files.
5055 Update line numbers in expected output.
5056 * asmsrc1.s: Rewrite.
5057 * asmsrc2.s: Rewrite.
5058 * configure.in: Create arch.inc symlink.
5059 * configure: Regenerate.
5060 * Makefile.in (distclean): Delete arch.inc.
5061
5062Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5063
5064 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5065 (t_enum_value2): ditto
5066 (t_enum_value3): ditto
5067 (main): ditto
5068Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5069
5070 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5071 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5072 change.
5073 Use gdb_test instead of send_gdb/gdb_expect sequences.
5074
5075Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5076
5077 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5078 not void.
5079
5080Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5081
5082 * gdb.base/branches.c: Code with lots of loops and
5083 subroutines. Used to test gdbs ability to single step through PC
5084 changes, especially to test mips-tdep.c:mips_next_pc
5085
5086Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5087
5088 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5089 more rigorous EGCS C++ error checking.
5090
5091Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5092
5093 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5094 tests.
c906108c 5095 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5096 function when asleep.
c906108c 5097 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5098 for i*86 Linux and SVR4 signal handling problems.
5099 Remove linux xfail for `next to handler in signals_tests_1', fixed
5100 by recent infrun.c change.
c906108c 5101 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5102 stack backtraces.
c906108c
SS
5103 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5104 target.[ch] change.
5105
5106Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5107
5108 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5109 for a newline from gdb before continuing.
5110 (default_gdb_exit): Just look for y or n.
5111 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5112 it does, fail the rests of the tests in the file.
5113
5114Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5115
5116 * config/cygmon.exp: New file.
5117
5118Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5119
5120 * gdb.base/list.exp: Fix problem with "list default lines around
5121 main" test on remote targets.
5122
5123 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5124 run test on remote targets.
5125
5126Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5127
5128 * gdb.asm: New directory.
5129 * configure.in: Configure it.
5130 * configure: Regenerate.
5131 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5132 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5133
5134Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5135
5136 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5137
dc96c6c7 5138Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5139
c906108c
SS
5140 * gdb.base/overlays (several files): Merge the two overlay
5141 managers into one. Change variables (foox, barx, bazx, grbxx)
5142 back into ints but force them to load in their proper sections.
5143
5144Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5145
5146 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5147 on-chip insn memory and IMAP1 to upper 128k.
5148 (D10VCopy): Handle memory regions crossing 16k boundaries.
5149 (D10VCopy): Transfer data in 32 bit chunks.
5150
5151Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5152
5153 * gdb.base/overlays.c (main): Exit normally when result is
5154 correct.
5155
5156 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5157 map. Include space for printf in .text segment.
5158
5159 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5160 updated d10v memory VMA/LMA map.
5161 (D10VCopy): Call D10VTranslate.
beb998c6 5162
c906108c
SS
5163Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5164
5165 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5166
5167 * gdb.base/bar.c (barx, bar): Change variable to small array so
5168 that it won't be put into the .sdata - small data -
5169 section. Update reference.
5170 * gdb.base/baz.c (bazx, baz): Ditto.
5171 * gdb.base/foo.c (foox, foo): Ditto.
5172 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5173
5174 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5175 to be arrays.
beb998c6 5176
dc96c6c7 5177Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5178
c906108c
SS
5179 * gdb.base/overlays.exp: fix up and get working again.
5180 Add tests for backtraces from an overlay function.
beb998c6 5181
c906108c
SS
5182Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5183
5184 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5185 "calling function with watchpoint enabled".
5186
5187Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5188
5189 * gdb.base/break.exp (test_next_with_recursion): Remove
5190 gdb_suppress_tests for d10v-*-*.
5191 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5192 pending review of whether it is useful or not.
5193
5194Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5195
5196 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5197
5198Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5199
5200 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5201 * config/dve.exp: New file to support Densan boards.
5202
5203Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5204
5205 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5206 reads and BSD.
5207
5208Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5209
5210 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5211 response.
5212
5213 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5214
5215Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5216
5217 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5218 test.
5219
5220 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5221 target_sizeof_long and target_bigendian_p.
5222 (structs_by_value, structs_by_reference): Check values according
5223 to targets word size and endianess.
beb998c6 5224
c906108c
SS
5225Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5226
5227 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5228 output.
5229
5230Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5231
5232 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5233 Update test of set args help to match source change.
5234
5235Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5236
5237 * gdb.base/default.exp: Expect help system output to be in
5238 alphabetical order.
5239 * gdb.base/help.exp: Ditto.
5240
5241Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5242
5243 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5244 "i*86-pc-linux-gnu*".
5245 * gdb.base/interrupt.exp: Ditto.
5246 * gdb.base/corefile.exp: Ditto.
5247
5248 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5249 define vxworks when building the testcase.
5250
5251 * gdb.base/ptype.exp: Fix testnames to be unique.
5252 * gdb.base/radix.exp: Ditto.
5253 * gdb.base/term.exp: Ditto.
5254 * gdb.base/whatis.exp: Ditto.
5255 * gdb.c++/classes.exp: Ditto.
5256
5257Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5258
5259 * gdb.base/callfuncs.exp: Fix indentation.
5260
5261 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5262 suppress_flag has been set.
5263 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5264 target feature.
5265
5266Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5267
5268 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5269 the testcase.
5270
5271 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5272 set_debug_traps() and breakpoint().
5273 * gdb.c++/misc.cc (main): Ditto.
5274 * gdb.c++/templates.cc (main): Ditto.
5275 * gdb.c++/virtfunc.cc (main): Ditto.
5276
5277Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5278
5279 * lib/gdb.exp(gdb_step_for_stub): New function.
5280 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5281 exists, reload the executable and do a "continue" instead of
5282 doing a jump.
5283 (runto_main): Use gdb_step_for_stub.
beb998c6 5284
c906108c
SS
5285 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5286 tests to have unique names.
5287 * gdb.base/callfuncs.exp: Ditto.
5288 * gdb.base/commands.exp: Ditto.
5289 * gdb.base/default.exp: Ditto.
5290 * gdb.base/help.exp: Ditto.
5291 * gdb.base/list.exp: Ditto.
5292 * gdb.base/opaque.exp: Ditto.
5293 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5294 similar tests.
beb998c6 5295
c906108c
SS
5296 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5297 * gdb.c++/cplusfuncs.cc: Ditto.
5298 * gdb.c++/virtfunc.cc: Ditto.
5299
5300 * config/monitor.exp: Keep track of the last file we saw, rather
5301 than trying to get the info from gdb.
5302
5303 * gdb.fortran/types.exp: Move comment to previous line.
5304
5305Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5306
5307 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5308 target mode.
5309
5310Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5311
5312 From Bob Manson:
5313 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5314 string from GDB when it connects.
5315
5316 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5317
5318Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5319
5320 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5321 if we can't get a debug format from GDB (we may be testing an
5322 older GDB). Use a 10 second timeout when checking for the format.
5323
5324 * gdb.stabs/weird.exp: Fix quoting.
5325
5326 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5327
5328Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5329
5330 * config/arm-ice.exp: New file.
5331
5332Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5333
5334 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5335 until it has been modified to work with the new testsuite.
5336
99707966 5337 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5338 testcase won't compile, cause all of the testcases in the file to
5339 fail instead.
5340
5341 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5342 (gdb_clear_suppressed): New procedure.
5343 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5344 it contains a positive value.
5345
5346Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5347
5348 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5349
5350 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5351
5352Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5353
5354 * lib/gdb.exp (setup_xfail_format): New function.
5355 (get_debug_format): New function to get debug format.
5356 (debug_format): New global variable to hold last value set
5357 by get_debug_format.
5358 * gdb.base/list.exp: Call get_debug_format and expect some
5359 tests to fail for DWARF 1 and COFF formats.
5360 * gdb.c++/ptype.exp: Ditto.
5361 * gdb.c++/classes.exp: Ditto.
5362 * gdb.c++/cplusfuncs.exp: Ditto.
5363 * gdb.c++/inherit.exp: Ditto.
5364 * gdb.c++/templates.exp: Ditto.
5365 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5366
c906108c
SS
5367Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5368
5369 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5370 host doesn't have a currently-open connection.
5371
5372 * config/sparclet.exp: Cleanups and fixes to make it generic for
5373 any gdb stub target. Handle cases where gdb doesn't respond when
5374 interrupted in a sane fashion.
5375
5376 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5377 same thing in a totally different way.
5378
5379 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5380 setting "timeout".
5381 (gdb_start): We set the global gdb_prompt variable in
5382 default_gdb_init now.
5383
5384Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5385
5386 * gdb.base/printcmds.exp: Fix "check for floating addition"
5387 regexp to accept results within approx +/- .01 of exact value.
5388 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5389
5390Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5391
5392 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5393 properly.
5394 (gdb_expect): Add optional timeout parameter, and add timeout
5395 value to various calls.
5396 (gdb_suppress_tests): Only give one warning message per group.
5397
5398Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5399
5400 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5401 global variables. Handle getting a value for $timeout more
5402 gracefully.
5403
5404Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5405
5406 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5407 initialize.
5408 (default_gdb_init): New procedure; allow gdb_init to be overridden
5409 by a target configuration file.
5410 (gdb_expect): Pass the timeout to remote_expect.
5411
5412 * config/monitor.exp(gdb_load): Fix typo in regexp.
5413
5414Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5415
5416 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5417
5418Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5419
5420 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5421 here. Call gdb_target_exec before rebooting the target, to make
5422 sure the connection to the target is closed.
5423 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5424 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5425 Also detect "Timeout reading from remote" error.
5426
5427 * config/gdbserver.exp: Pass the executable being loaded to
5428 gdb_target_monitor. Don't call gdb_file_cmd here; let
5429 gdb_target_monitor do it.
5430
5431 * gdb.disasm/hppa.exp: Don't use exec_output.
5432
5433Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5434
5435 * gdb.base/list.exp: If we're debugging a non-native target,
5436 try to set the pc register to point to the start of the
5437 program before doing the first list command.
5438
5439 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5440 test_calls after restarting.
5441
5442 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5443 reloading.
5444
5445 * gdb.base/watchpoint.exp: Fix typo.
5446
5447 * gdb.base/setshow.exp: Check for use_gdb_stub.
5448
5449 * gdb.base/break.exp: Fix continue until exit test for the gdb
5450 stub case.
5451 * gdb.base/langs.exp: Ditto.
5452
5453 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5454 gdb_load_offset. If we weren't given a file to load, figure out
5455 what the current file is and use it.
5456
5457 * config/i386-bozo.exp: New file.
5458
5459Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5460
5461 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5462 feature.
5463
5464 * config/proelf.exp: New entry.
5465
5466Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5467
5468 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5469 of regexps.
5470
5471 * gdb.base/watchpoint.exp: Don't run the test_stepping
5472 tests if gdb can't call functions on the target.
5473
5474 * gdb.base/setshow.exp: Don't run the set prompt tests if
5475 the board has gdb_prompt set.
5476
5477Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5478
5479 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5480 * gdb.base/commands.exp: Likewise.
5481 * gdb.base/setshow.exp: Likewise.
5482
5483Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5484
5485 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5486 feature.
5487
5488 * config/i960.exp: New file.
5489
5490Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5491
5492 * gdb.base/funcargs.exp: Check for gdb,short_int target
5493 feature instead of looking for explicit target triplets.
5494
dc96c6c7 5495Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5496
beb998c6 5497 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5498 "p 123DEADBEEF", to check parse_number.
5499 * top.c: change "to enable to enable" to "to enable" in a couple
5500 of help strings.
5501
5502Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5503
5504 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5505 on the mn10300.
beb998c6 5506
c906108c
SS
5507Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5508
5509 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5510 where the test executable is run with explicit args.
5511 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5512
5513Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5514
5515 * gdb.base/run.c: Use FAKEARGV to build test executable that
5516 does not require a command line arg, since most simulators
5517 don't currently support passing such an arg into the simulated
5518 program.
5519 * gdb.base/commands.exp: Change tests to insert the proper
5520 value as the arg to the first recursive factorial call. Change
5521 compilation line to define FAKEARGV at compile time.
5522
5523Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5524
5525 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5526 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5527 function with watchpoint enabled" test.
5528
5529Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5530
5531 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5532 Don't call gdb_test when the command doesn't return to a gdb prompt.
5533
5534 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5535 "Tests restarted" messages.
5536
5537Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5538
5539 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5540
dc96c6c7 5541Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5542
5543 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5544 for INFO SYMBOL; add help tests for OVERLAY commands.
5545 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5546 add tests for OVERLAY commands
5547 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5548 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5549 * gdb.base/sigall.c: add usestubs code frag
5550 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5551
c906108c
SS
5552Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5553
5554 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5555 failures.
5556 (gdb_stop_suppressing_tests): Note that tests have restarted.
5557
5558Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5559
5560 * config/h8300.exp: New file.
5561
5562Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5563
5564 * gdb.base/setshow.exp: Check for the existence of a
5565 feature, not its value.
5566
5567Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5568
5569 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5570
5571 * gdb.base/scope.exp: It's now init0(), not init().
5572
5573 * gdb.base/scope0.c: For now, change init() to be init0().
5574
5575 * config/monitor.exp: Use gdb_serial in preference to serial
5576 or netport.
5577
5578 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5579 and it's not already set.
5580
5581Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5582
5583 * gdb.base/setshow.exp: Only test the run command if the target
5584 isn't using a stub and if it supports argument passing.
5585
5586Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5587
5588 * config/udi.exp(gdb_start): Make sure UDICONF is set
5589 properly before starting gdb.
5590
5591Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5592
5593 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5594 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5595 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5596
5597Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5598
5599 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5600 specialized code to reboot the board, use remote_reboot instead.
5601
5602 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5603
5604 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5605
5606 * config/monitor.exp: Make sure we disconnect from the target.
5607 Also, try a reboot/reload cycle instead of failing if the
5608 load fails.
5609
5610Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5611
5612 * gdb.base/default.exp: Don't set match_max.
5613 * gdb.base/help.exp: Ditto.
5614 * gdb.base/list.exp: Ditto.
5615 * gdb.base/signals.exp: Ditto.
5616
5617 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5618 set, use remote_ld to download the testcase instead of
5619 the GDB loader.
5620
5621Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5622
5623 * config/vr5000.exp: New file.
5624
5625 * config/monitor.exp(gdb_target_monitor): Add pattern for
5626 "Ending remote" to detect errors in connecting.
5627
5628 * gdb.base/setshow.exp: Add .* within auto language test.
5629
5630 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5631 target feature.
5632
5633 * config/monitor.exp(gdb_load): Check for a failure when loading,
5634 and reboot the board if necessary.
5635
5636 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5637 a set of tests. Remove print.* from the patterns being checked.
5638
5639Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5640
5641 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5642 refer to gdb_spawn_id.
5643
5644 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5645 longer used.
5646 * config/sparclet.exp: Ditto.
5647 * config/sparclet-old.exp: Ditto.
5648 * config/slite.exp: Ditto.
5649 * config/sim.exp: Ditto.
5650 * gdb.base/funcargs.exp: Ditto.
5651
5652 * lib/gdb.exp:Remove references to gdb_spawn_id.
5653 (gdb_expect): Move to remote.exp.
5654
5655Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5656
5657 * config/monitor.exp: Detect the "Couldn't establish connection"
5658 message from GDB.
5659
5660Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5661
5662 * gdb.base/bitfields.exp: Use runto instead of explicit
5663 gdb_run_cmd/gdb_expect sequences.
5664
5665 * gdb.base/break.exp(text_next_with_recursion): Add match for
5666 gdb_expect call.
5667
5668 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5669 We also need to handle the "A program is being debugged already"
5670 prompt from gdb. Use gdb_test to set the baud rate.
5671
5672 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5673 to 20000. Really. I mean it.
5674
5675Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5676
5677 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5678 fails. If suppress_flag is set, skip perror message about not
5679 being able to send to GDB.
5680 (send_gdb): If suppress_flag is set, don't try to send commands to
5681 GDB.
5682 (gdb_expect): If suppress_flag is set, always fail immediately.
5683 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5684 (gdb_init): Call gdb_stop_suppressing_tests.
5685 (default_gdb_exit): Ditto.
5686 (default_gdb_start): Ditto.
5687
5688 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5689 gdb_stop_suppressing_tests as appropriate.
5690 * gdb.base/break.exp: Ditto.
5691 * gdb.base/callfuncs.exp: Ditto.
5692 * gdb.base/commands.exp: Ditto.
5693 * gdb.base/exprs.exp: Ditto.
5694 * gdb.base/funcargs.exp: Ditto.
5695 * gdb.base/list.exp: Ditto.
5696 * gdb.base/recurse.exp: Ditto.
5697 * gdb.base/scope.exp: Ditto.
5698 * gdb.base/structs.exp: Ditto.
5699 * gdb.c++/inherit.exp: Ditto.
5700
5701Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5702
5703 * config/vr4300.exp: New file.
5704
99707966
MC
5705 * gdb.*/*.exp: Call gdb_expect instead of expect.
5706
5707 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5708
5709Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5710
5711 * lib/gdb.exp(gdb_init): New function.
5712
5713 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5714 for each individual variable set.
5715
5716 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5717 name.
5718
5719 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5720
5721 * gdb.base/scope.exp: Use gdb_test.
5722
5723 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5724 aborting; the testsuite driver will do that for us (see
5725 gdb_finish). Also, use gdb_test in a few more places.
5726
5727Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5728
5729 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5730
5731Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5732
5733 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5734 and "add_tests" are not at the same address.
5735
5736Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5737
5738 * gdb.base/ptype.exp: Use gdb_test.
5739
5740Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5741
5742 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5743 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5744 left in. No longer expect them to fail.
5745
5746 * gdb.stabs/*.mt; Deleted, no longer used.
5747 * gdb.stabs/configure.in: Remove references to target makefile
5748 frags.
5749 * gdb.stabs/configure: Rebuilt.
5750
5751 * gdb.disasm/*.mt: Deleted, no longer used.
5752 * gdb.disasm/configure.in: Remove references to target makefile
5753 frags. Use "sh3.s" as the unique filename for this directory.
5754 * gdb.disasm/configure: Rebuilt.
5755
5756 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5757 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5758 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5759
5760Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5761
5762 * config/udi.exp: Use mondfe,name instead of remote_host.
5763
5764Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5765
5766 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5767 a function with a watchpoint enabled on the mn10200.
5768
5769 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5770 before trying to create it!
5771
5772Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5773
5774 * config/vx.exp: Use hostname instead of netport.
5775
5776 * config/vxworks.exp: New file.
5777
5778 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5779
5780 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5781 gdb before assuming everything worked. Send a ^C if a timeout
5782 occurs.
5783
5784 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5785 $gdb_spawn_id directly.
5786 (gdb_run_cmd): Try _start as well as start. Use the target feature
5787 gdb,start_symbol as the symbol to start from when jumping.
5788
5789Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5790
5791 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5792 redundant) test.
5793
5794 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5795 it doesn't lose for 16bit integer systems.
5796
5797Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5798
5799 * gdb.fortran/types.exp: If the target doesn't support "double"
5800 data types, then expect "real" types to only be 4 bytes.
5801
5802 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5803 call tests if the target doesn't support inferior function calls.
5804
5805 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5806 in printf tests.
5807
5808Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5809
5810 * gdb.base/help.exp: Disable "help set", "help show", and
5811 "help support". Simplify regexp for "help stack".
5812
5813 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5814 to 60 seconds. Temporarily set match_max to 15000 around the
5815 "info copying" test.
5816
5817 * gdb.base/nodebug.exp: Don't try to do an inferior function
5818 call if the target doesn't support them.
5819 * gdb.base/printcmds.exp: Likewise.
5820 * gdb.base/setvar.exp: Likewise.
5821 * gdb.base/structs.exp: Likewise.
5822 * gdb.c++/templates.exp: Likewise.
5823 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5824
5825 * gdb.base/recurse.exp: Enable for the mn10200.
5826
5827 * configure.in: Do configure gdb.stabs directory for *-*-elf
5828 targets.
5829 * configure: Rebuilt.
5830
5831 * gdb.base/break.exp: Check for gdb,noresults before testing
5832 exit status and/or results from the target.
5833 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5834 * lib/gdb.exp: Remove old (now bogus) initialization of
5835 noinferior, noargs, noresults and nosignals.
5836
5837Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5838
5839 * config/sh.exp: New file.
5840
5841 * config/slite.exp: Try to connect multiple times to the board
5842 before rebooting. Only send a "monitor run" if need_monitor_run
5843 is set.
5844
5845 * gdb.base/break.exp: Don't do the "stub continue" test if
5846 the target has gdb_stub set.
5847
5848 * gdb.base/callfuncs.exp: Increase the timeout.
5849
5850 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5851 if the target has gdb,noinferiorio set.
5852
5853 * gdb.base/list.exp: Increase match_max to 10000 characters.
5854
5855 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5856
5857 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5858 target.
5859
5860 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5861
5862Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5863
5864 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5865 trying to delete the copy of gdb. Catch the file delete so we
5866 don't die if the delete fails; also, the file should be copied to
5867 the host, not to the build.
5868
5869Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5870
5871 * lib/gdb.exp(gdb_test): Surround the result pattern with
5872 parenthesis in case it contains multiple regexps separated
5873 with |.
5874
5875 * gdb.base/watchpoint.exp: Use gdb_test.
5876 * gdb.base/default.exp: Ditto.
5877
5878Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5879
99707966 5880 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5881
c906108c
SS
5882 * gdb.base/scope.exp: Use gdb_test.
5883 * gdb.c++/classes.exp: Ditto.
5884 * gdb.c++/inherit.exp: Ditto.
5885
5886Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5887
5888 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5889 remote_exec instead.
5890 * gdb.base/corefile.exp: Don't be ridiculous.
5891 * gdb.base/*.c: Add missing stub invocations.
5892
5893Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5894
5895 * config/slite.exp: Miscellaneous fixes.
5896
5897 * lib/gdb.exp: Fix runto.
5898
5899 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5900 the target.
5901
5902 * gdb.base/watchpoint.exp: Fix regexp.
5903
5904 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5905 close and wait commands, as the descriptor may now be
5906 invalid. Always call "remote_close host".
5907
5908Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5909
5910 Major rewrite for testsuite revision.
beb998c6 5911
c906108c
SS
5912 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5913 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5914 instead of relying on spawn_id to always contain a valid
5915 spawn id.
5916 (get_compiler_info): New procedure to build the ${binfile}.ci
5917 file, instead of replicating this in N different places.
5918 (gdb_compile): New procedure.
beb998c6 5919
c906108c
SS
5920 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5921 appropriate arguments) instead of compile. Use gdb_test in a lot
5922 more places. Use send_gdb instead of send. Always run gdb_start
5923 at the start of a testcase, as this is no longer done magically.
5924
5925 config/*-gdb.exp: Rename without the -gdb suffix.
5926
5927 config/mips.exp: Use remote_close instead of exit_remote_shell.
5928 config/monitor.exp: Use target_info instead of looking at
5929 baud, timeout, etc.
5930 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5931
5932Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5933
5934 * gdb.c++/templates.exp (test_ptype_of_templates),
5935 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5936 Update expect patterns for destructors and assignment operators
5937 to match corresponding c-typeprint.c changes.
5938 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5939 to destructor breakpoint test, GDB should be able to set the
5940 destructor breakpoint without specifying arguments.
5941
5942Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5943
5944 * gdb.threads/pthreads.exp: Change result for failure to compile due
5945 to lack of pthreads runtime support from an error to simply an
5946 unsupported test, per dejagnu standards.
5947
5948Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5949
5950 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5951 where GDB exits to reduce pattern match time.
5952 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5953
5954 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5955
dc96c6c7 5956Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5957
5958 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5959 * gdb.base/default.exp: ditto.
5960 * gdb.base/nodebug.exp: ditto.
5961 * gdb.base/printcmds.exp: ditto.
5962 * gdb.base/ptype.exp: ditto.
5963 * gdb.base/setvar.exp: ditto.
5964 * gdb.base/structs.exp: ditto.
5965 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5966
5967Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5968
5969 * configure, */configure: Rebuild with autoconf 2.12.
5970
5971Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5972
5973 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5974 use new i*86-pc-linux*-gnu quads.
5975 * gdb.base/corefile.exp: Ditto.
5976 * gdb.base/signals.exp: Ditto.
5977 * gdb.base/sigall.exp: Ditto.
5978 * gdb.base/interrupt.exp: Ditto.
5979
5980 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5981 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5982 RedHat 4.0.
beb998c6 5983
c906108c
SS
5984 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5985 linux. This allows the test case to at least compile on latest
5986 linux, but still not run due to missing the threads runtime library.
5987
5988Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5989
5990 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5991 directory to search gdb directory. Accept and step over conditional
5992 stack alignment code. Consume $prompt in failure cases.
5993 Reset timeout to $oldtimeout instead of some arbitrary value.
5994 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5995 timeout problems with infinite stack backtraces.
5996 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5997 Accept function parameters for linkfunc member.
5998
5999Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6000
6001 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6002 (CXXFLAGS): Remove, unreferenced.
6003 (B_OPTIONS): Add for -B options and add code to initialize with
6004 previous -B options and also add -B option to pick up cross compiled
6005 runtime.
6006 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6007 doing cross compiles.
6008 (target_alias): Declare global.
6009 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6010 to verify that gcc exists in build tree, and if so set CC to that
6011 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6012
c906108c
SS
6013Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6014
6015 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6016 ptype test for anonymous union. Fixup testcase to match
6017 current gcc debug output.
6018
6019Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6020
6021 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6022 force argument to an unsigned long type.
6023
6024Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6025
6026 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6027 tests and anonymous union print/ptype tests.
6028 * gdb.base/list.exp (test_forward-search): Increase timeout by
6029 5 minutes for the "search extremely long line" case.
6030 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6031 completely optional and that the pass/fail messages use the command as
6032 the message if that third arg is a null string.
6033 (gdb_test_exact): Arrange that a null string pattern means match a
6034 null string output rather than any output, which might include random
6035 errors.
6036 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6037 backtrace test.
6038 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6039 always failing and failure is now exposed by gdb.exp changes.
6040
6041Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6042
6043 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6044 weren't being noted.
6045
6046Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6047
6048 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6049 * gdb.stabs/weird.exp: Remove v_comb xfails.
6050
dc96c6c7 6051Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6052
6053 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6054 list.exp scope.exp watchpoint.exp]
6055 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6056
dc96c6c7 6057Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6058
6059 * config/monitor.exp: Increase download timeout to 1000 seconds.
6060
dc96c6c7 6061Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6062
6063 * config/m32r.exp: Increase timeout to 120 seconds.
6064
6065Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6066
6067 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6068 and accept older ordering as obsolescent gcc or gdb.
6069 * gdb.c++/templates.exp: Ditto.
6070 * gdb.c++/virtfunc.exp: Ditto.
6071
6072Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6073
6074 * gdb.base/coremaker.c: Add code to mmap some data so we
6075 can check that it ends up in the core file.
6076 * gdb.base/corefile.exp: Add test to read mmapped data
6077 from core file.
6078
dc96c6c7 6079Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6080
6081 * config/m32r.exp: New file.
6082
6083Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6084
6085 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6086 that cflags can contains -gstabs, and work correctly for other tests.
6087
dc96c6c7 6088Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6089
6090 * gdb.base/setshow.exp: New file, tests show and set.
6091 * gdb.base/setshow.c: New file, tests show and set.
6092 * gdb.base/help.exp: Add test for help set|show annotate.
6093 * gdb.base/default.exp: Add test for set|show annotate.
6094
6095Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6096
6097 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6098 errors unique.
6099 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6100 explicitly.
6101
6102Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6103
6104 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6105 and width commands. This is done elsewhere.
6106 * (gdb_start): Don't call gdb_start_sim here. That's already
6107 done in gdb_load. This fixes lots of failures in default.exp.
6108
6109Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6110
6111 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6112 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6113 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6114 in the same we we treat other failures (since it may be an expected
6115 condition), rather than as an error.
6116 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6117 old test format.
6118
6119Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6120
6121 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6122 (distclean maintainer-clean realclean): No need to remove files
6123 twice. Nuke the duplicates.
6124 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6125 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6126 Remove config.h along with other config files.
6127
6128Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6129
6130 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6131 "p func1 ()" and note that rests of tests are skipped.
6132 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6133 setup_xfails for "print func2::coremaker_local".
6134 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6135 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6136 affected by the previous run test.
6137 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6138 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6139 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6140 "pass int powerset tuple" and "pass modeless int powerset tuple".
6141 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6142 "real write 4" and "real write 8".
6143 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6144 setup_xfails for "print vs1 after tuple assign 2",
6145 "print \$i after tuple assign 2", and
6146 "print vs2 after tuple assign 2".
6147 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6148 meaningful error message and return -1 so the caller can
6149 suppress further tests and avoid a cascade of errors.
beb998c6 6150
c906108c
SS
6151Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6152
6153 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6154 format for printing version.
6155 * gdb.base/default.exp: Ditto.
6156 * gdb.base/interrupt.exp: Fix problem with cascade of
6157 errors if child process dies while calling a function.
beb998c6 6158
c906108c
SS
6159Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6160
6161 * Makefile.in (VPATH): Add
6162 * Makefile.in (Makefile, config.status): Fix rules so things get
6163 remade when necessary.
6164
6165Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6166
6167 * Makefile.in (just-check): Add path to sibling expect dir
6168 to environment variable specified by RPATH_ENVVAR.
6169
6170Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6171
6172 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6173 (just-check): Add shared library paths for libstdc++, tk,
6174 tcl, bfd, and opcodes to the environment variable specified
6175 in RPATH_ENVVAR.
6176 * configure.in: Add support to recognize --enable-shared flag
6177 and generate correct value for RPATH_ENVVAR.
6178 * configure: Regenerated with autoconf.
6179
6180Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6181
6182 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6183 include all osf versions.
6184 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6185 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6186 when target is linux. When failing to build pthreads test
6187 executable, give more meaningful message.
6188 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6189 arg for pthread_create.
beb998c6 6190
c906108c
SS
6191Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6192
6193 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6194 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6195 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6196 and -lpthreads (everybody else).
6197 (test_startup): Fail gracefully if threads are not supported.
6198 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6199 "p/c array_index("abcdef",2)" when not gcc compiled.
6200 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6201 "print func2::coremaker_local" when not gcc compiled.
6202 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6203 "ptype on opaque struct tagname (statically)",
6204 "ptype on opaque struct tagname (dynamically) 1", and
6205 "ptype on opaque struct tagname (dynamically) 2"
6206 for not compiled with gcc.
6207 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6208 backtrace when compiled with gcc.
beb998c6 6209 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6210 than always return success.
6211
6212Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6213
6214 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6215
6216Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6217
6218 * gdb.base/structs.exp: Undo last change.
6219
6220Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6221
6222 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6223 encapsulate all the steps/nexts done during self test, starting
6224 at main, and makes them less sensitive to optimization issues.
6225 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6226 signal handler" test.
6227 * gdb.threads/pthreads.exp: Only run this for native configs.
6228 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6229 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6230 tests.
6231 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6232 for "runto test_calls(void)" test.
beb998c6 6233
c906108c
SS
6234Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6235
6236 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6237 and don't expect address info in breakpoint confirmations.
6238
6239Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6240
6241 * gdb.base/list.exp (test_forward_search): Increase timeout
6242 temporarily by 60 seconds for searching extremely long line,
6243 and then reset to old value when done. Increase expect input
6244 buffer to 10000.
6245
6246Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6247
6248 * gdb.base/list.exp (test_forward_search): Fix to handle very
6249 long source line without overflowing expect's input buffer.
6250
6251Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6252
6253 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6254 "buffer_full".
6255
6256 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6257 "buffer_full".
6258
6259 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6260 "buffer_full".
6261
6262 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6263 "buffer_full".
6264
6265Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6266
6267 * configure.in (configdirs): Add gdb.threads.
6268 * configure: Regenerated with autoconf.
6269 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6270 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6271 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6272
c906108c
SS
6273Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6274
6275 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6276
6277Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6278
6279 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6280 each signal's status in the output of "handle all print".
6281 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6282 the \r\n sequence that immediately precedes the gdb prompt.
6283 * gdb.base/a1-selftest.exp: Save original timeout and restore
6284 after test.
6285
6286Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6287
6288 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6289 symbol.
6290
6291Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6292
6293 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6294
6295Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6296
6297 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6298 timeout by 60 seconds.
6299
6300Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6301
6302 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6303 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6304 error return.
6305
6306Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6307
6308 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6309 gdb initialization, also report how long dejagnu waited. Restore
6310 old timeout before doing error return. Temporarily increase timeout
6311 by 3 minutes to allow for slow startups over heavy NFS use.
6312
6313Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6314
6315 * lib/gdb.exp: Report timeout value for verbosity level 2.
6316 * config/gdbserver.exp: Ditto.
6317 * config/hppro.exp: Ditto.
6318 * config/mips-gdb.exp: Ditto.
6319 * config/monitor.exp: Ditto.
6320 * config/netware.exp: Ditto.
6321 * config/sim-gdb.exp: Ditto.
6322 * config/slite-gdb.exp: Ditto.
6323 * config/udi-gdb.exp: Ditto.
6324 * config/unix-gdb.exp: Ditto.
6325 * config/vx-gdb.exp: Ditto.
6326 * gdb.base/a1-selftest.exp: Ditto.
6327 * gdb.base/a2-run.exp: Ditto.
6328 * gdb.base/break.exp: Ditto.
6329 * gdb.base/corefile.exp: Ditto.
6330 * gdb.base/list.exp: Ditto.
6331 * gdb.base/recurse.exp: Ditto.
6332 * gdb.base/scope.exp: Ditto.
6333 * gdb.base/signals.exp: Ditto.
6334
6335Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6336
6337 * gdb.threads/Makefile.in (docdir): Removed.
6338
6339Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6340
6341 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6342 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6343 @srcdir@.
beb998c6 6344 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6345 autoconf 2.5 or higher.
6346 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6347
6348Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6349
6350 * configure: Regenerated.
6351 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6352 avoid name clashes with SunOS headers.
6353
6354Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6355
6356 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6357
6358Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6359
6360 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6361 prototype information ends up in the compiler info file.
6362
6363Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6364
6365 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6366 attempting to regenerate it. Eliminate use of a temporary file
6367 and just generate the info file directly. Source it immediately,
6368 for consistency of use.
6369 * gdb.base/corefile.exp: Ditto
6370 * gdb.base/exprs.exp: Ditto.
6371 * gdb.base/funcargs.exp: Ditto.
6372 * gdb.base/langs.exp: Ditto.
6373 * gdb.base/list.exp: Ditto.
6374 * gdb.base/mips_pro.exp: Ditto.
6375 * gdb.base/nodebug.exp: Ditto.
6376 * gdb.base/opaque.exp: Ditto.
6377 * gdb.base/ptype.exp: Ditto.
6378 * gdb.base/scope.exp: Ditto.
6379 * gdb.base/setvar.exp: Ditto.
6380 * gdb.base/signals.exp: Ditto.
6381 * gdb.base/whatis.exp: Ditto.
6382 * gdb.c++/templates.exp: Ditto.
6383 * gdb.c++/virtfunc.exp: Ditto.
6384 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6385 whether or not to add -lstdc++ to the compile command line args.
6386
6387Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6388
6389 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6390 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6391 Increase timeout, a lot of single stepping might be needed if the
6392 target has no hardware watchpoints.
6393
6394Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6395
6396 * gdb.base/break.exp: Ignore compiler warnings when compiling
6397 break.c.
6398 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6399 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6400 from remote-sim.
6401 * gdb.base/exprs.exp: Add h8300 xfails.
6402 * gdb.base/funcargs.exp: Likewise.
6403 * gdb.base/nodebug.exp: Likewise.
6404 * gdb.base/printcmds.exp: Likewise.
6405 * gdb.base/ptype.exp: Likewise.
6406 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6407 h8300 xfails.
beb998c6 6408 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6409 on the h8300.
6410 * gdb.base/funcargs.c: Explicitly make last constant argument to
6411 call_after_alloca_subr an unsigned long type.
6412 * gdb.base/return.c: Include stdio.h.
6413
6414Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6415
6416 * config/abug.exp: New file for the older Motorola Bug monitor
6417 that runs on the mvme13x series VME boards.
6418 * config/monitor.exp: Use the new config array for target settings
6419 if they exist.
6420
6421Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6422
6423 * sim-gdb.exp: Make the SH simulator allocate less space when
6424 it is targeted.
6425
6426Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6427
6428 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6429 test.
6430
6431Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6432
6433 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6434 "rs6000-*-*" for "list function in include file" when gcc compiled.
6435 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6436 for "p ctable1[120]".
6437 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6438 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6439 Remove setup_xfail for "rs6000-*-*" for
6440 "print 'scope0.c'::filelocal before run".
6441 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6442 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6443 since some compilers don't allow both options to be given
6444 on the same command line. Create object file and move it.
beb998c6 6445
c906108c
SS
6446Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6447
6448 * gdb.base/corefile.exp: Always regenerate the core file, since
6449 we always regenerate the coremaker program. Detect special case
6450 where registers cannot be read from core file.
beb998c6 6451
c906108c
SS
6452Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6453
6454 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6455 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6456 * gdb.c++/templates.exp: Only match on basename of file since
6457 some formats like xcoff don't encode directory information.
6458 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6459 and rs6000 AIX xcoff targets.
6460 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6461 * configure: Regenerate.
6462 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6463 here, rather than in distclean.
beb998c6 6464
c906108c
SS
6465Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6466
6467 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6468 defined, and use it to compile the test case with -O2. The
6469 native compilation still uses no optimization.
6470 * gdb.base/mips_pro.c: Remove inline assembly code since
6471 it is compiled PIC by default, which results in assembler
6472 warnings that make the testsuite think the compilation
6473 was unsuccessful.
6474
6475Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6476
6477 * gdb.c++/misc.exp: Add note to message for
6478 "print s.a for foo struct" that this is a known gcc 2.7.2
6479 and earlier bug.
6480
6481Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6482
6483 * gdb.base/break.exp: Fix pattern for matching "Delete all
6484 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6485 setup_xfail for deleting all breakpoints test. Fix various
6486 timeout messages to include "(timeout)".
6487 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6488 for "p t_float_values2(3.14159,float_val2)".
6489 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6490 for "continue to call2g" when gcc compiled.
6491 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6492 "up to foo in langs.exp", "show language at foo in langs.exp",
6493 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6494 and "show language at fsub in langs.exp".
6495 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6496 "list line 1 in include file", "list message for lines past EOF",
6497 "list function in include file", "list list0.h:foo", and
6498 "list filename:function; nonexistant function".
6499 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6500 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6501 and "ptype t_char_array" to be for native cc only.
beb998c6 6502
c906108c
SS
6503Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6504
beb998c6 6505 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6506 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6507 "print func2::coremaker_local", and "backtrace in corefile.exp".
6508
6509Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6510
6511 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6512 "bt in signals.exp". This problem only appears when running
6513 the testsuite, and then only intermittently.
6514
6515Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6516
6517 * gdb.base/return.exp (return_tests): Differentiate between
6518 two tests of continuing.
6519
6520Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6521
6522 * */Makefile.in (maintainer-clean): Remove config.log.
6523 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6524 * gdb.c++/Makefile.in (PROGS): Add inherit.
6525 (clean): Remove *.ci.
6526
6527Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6528
6529 * gdb.c++/misc.cc: Add test code from Mike Stump.
6530 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6531
6532Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6533
6534 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6535 to "alpha-*-osf2*" and add comment.
6536 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6537 setup_xfail for "step over execarg initialization" and
6538 "step over corearg initialization".
6539 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6540 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6541 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6542 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6543 "print func2::coremaker_local", and "backtrace in corefile.exp".
6544 * gdb.base/signals.exp: Build and source signals.ci.
6545 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6546 to be for gcc only.
6547 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6548
c906108c
SS
6549Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6550
6551 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6552 Feb 3 procfs.c change.
6553
6554Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6555
6556 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6557
6558Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6559
6560 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6561 from dejagnu's apparent default of 10 seconds, which gives random
6562 results when running the tests over NFS on moderately loaded systems.
6563 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6564
6565Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6566
6567 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6568 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6569 result reports.
6570
6571Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6572
6573 * configure.in (CY_AC_PATH_TCLH): Remove.
6574 * configure: Regenerate.
6575
6576Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6577
6578 * gdb.c++/Makefile.in (clean): Add missing '{'.
6579
6580Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6581
6582 * lib/gdb.exp: Provide a default value for noinferior.
6583
6584 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6585 Load libgloss.exp.
6586
6587Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6588
6589 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6590 the executable, not the .o to run the tests from.
6591
6592Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6593
6594 * gdb.base/break.exp: Don't test for program exit or exit status
6595 if $noresults if nonzero.
6596 * gdb.base/langs.exp: Likewise.
6597 * gdb.base/watchpoint.exp: Likewise.
6598
6599 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6600 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6601 trying to compile the testcase.
6602
6603Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6604
6605 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6606 * gdb.base/signals.exp (continue to handler): Likewise.
6607
6608Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6609
6610 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6611
6612 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6613
6614Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6615
6616 * gdb.base/corefile.exp: Recognize "not found" as failure
6617 when trying to determine if a core file was generated.
6618 If no core file was generate the first time, try again without
6619 the ulimit -c to work around braindamaged shells.
6620
6621Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6622
6623 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6624 [] tests with "test" and enclose string in quotes.
6625 * gdb.stabs/configure: Rebuild
beb998c6 6626
c906108c
SS
6627Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6628
6629 Changes in sync with expect:
6630 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6631 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6632 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6633 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6634 argument to AC_REQUIRE.
6635 * configure: Regenerated.
6636
6637Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6638
6639 * gdb.base/corefile.exp: When generating a core, discard any
6640 error messages about ulimit not found and the "core dumped"
6641 message from the shell that runs the coredumper.
6642
6643Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6644
6645 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6646
6647 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6648 which sed script to run. Expect failure for v_comb test
6649 on PA targets too.
beb998c6 6650
c906108c
SS
6651Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6652
6653 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6654 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6655
6656Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6657
6658 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6659 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6660 "sparc-sun-solaris*" xfails for "p v_comb".
6661 * lib/gdb.exp (default_gdb_start): Fix typo.
6662 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6663 messages to not include the full program name that caused
6664 the core dump since some systems (such as solaris) apparently
6665 truncate this path to about 80 characters.
6666 When generating a core file first try increasing the core file
6667 size limit to unlimited since some systems may default it to
6668 zero, and it is harmless to try it. Move the test for failing
6669 to generate a core file to where it will actually get executed.
6670 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6671 new gdb result from g++ debug info improvements and make old
6672 pattern obsolescent. Also account for size_t differences
6673 (may be int or long).
6674 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6675 initialization before function call is placed in the delay slot
6676 and thus appears to be skipped over by commands such as "next".
6677
6678Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6679
6680 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6681
6682Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6683
6684 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6685 input source file; fix code to compile test to deal with this
6686 convention.
6687 * gdb.c++/*.exp: Likewise.
6688
6689Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6690
6691 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6692 "bt in signals.exp".
6693
6694Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6695
6696 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6697 "step over execarg initialization" and
6698 "step over corearg initialization".
6699
6700Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6701
6702 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6703 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6704
6705Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6706
6707 From Rob Savoye (rob@poseidon.cygnus.com)
6708 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6709 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6710 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6711 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6712 configure.in}: Major reworking for autoconfig.
6713 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6714 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6715 New files.
6716 * config/unix-gdb.exp: Make GDB global.
6717 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6718 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6719 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6720 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6721 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6722 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6723 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6724 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6725 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6726 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6727 pr-8136.exp, result.exp, string.exp, tuples.exp},
6728 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6729 to returns as necessary, arrange for test to compile own testcase
6730 executable.
6731 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6732
c906108c
SS
6733Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6734
6735 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6736 clear_xfail at end of test which might not call either pass or fail.
6737 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6738 "backtrace through signal handler".
6739
6740Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6741
6742 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6743 continuing from a job control stop signal.
6744 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6745
6746Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6747
6748 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6749 * gdb.base/corefile.exp: Likewise.
6750 * gdb.base/funcargs.exp: Likewise.
6751
6752Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6753
6754 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6755 * config/monitor.exp: Add support for setting baud rate.
6756
6757Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6758
6759 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6760 i*86-*-linux* xfails for "backtrace through signal handler".
6761 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6762 "print func2::coremaker_local".
6763 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6764 alpha-dec-osf2* xfail for
6765 "delete all breakpoints when none".
6766
6767Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6768
6769 * gdb.base/break.exp: Change test that deletes all breakpoints
6770 when no user breakpoints are installed. A post 4.15 change
6771 causes gdb to no longer prompt in this case.
6772
6773Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6774
6775 * gdb.base/return.exp (return_tests): Change xfail for test
6776 "correct value returned double test" to stop xfailing at
6777 Solaris 2.5. Apparently the bug has been fixed.
6778
6779Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6780
6781 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6782 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6783
6784Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6785
6786 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6787 * gdb.disasm/hppa.s: Corresponding changes.
6788
6789Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6790
6791 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6792 makefile fragment.
6793 * config/mt-hpux: Deleted.
6794
6795Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6796
beb998c6 6797 * Many files: When warning about suppressed tests due to a
c906108c
SS
6798 nonexistant test binary, avoid incrementing the warning count.
6799
6800Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6801
6802 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6803
c906108c
SS
6804Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6805
6806 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6807 "sparc-*-solaris2*".
6808
6809Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6810
6811 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6812 Add global and local variables and initialize them.
6813 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6814 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6815 extracts the file name and terminating signal from the core file.
6816 * TODO: Remove note about tests for correct mapping of corefile.
6817 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6818 from optimizing it away.
6819 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6820 handles common blocks.
6821
6822Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6823
6824 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6825 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6826
6827Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6828
6829 * Makefile.in (maintainer-clean): New target, synonym for
6830 realclean.
6831 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6832 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6833 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6834 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6835 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6836 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6837
6838Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6839
6840 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6841 xfails when not gcc compiled for "print foo::funclocal".
6842 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6843 "print foo::funclocal at foo",
6844 "print 'scope1.c'::foo::funclocal at foo",
6845 "print foo::funclocal_bss at foo",
6846 "print 'scope1.c'::foo::funclocal_bss at foo",
6847 "print foo::funclocal_ro at foo",
6848 "print 'scope1.c'::foo::funclocal_ro at foo",
6849 "print bar::funclocal at foo" and
6850 "print 'scope1.c'::bar::funclocal at foo".
6851 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6852 gcc compiled for "print foo::funclocal at bar".
6853 Expand all messages to ensure that they identify that
6854 the test is at bar().
6855 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6856 gcc compiled for:
6857 "ptype on opaque struct pointer (statically)",
6858 "ptype on opaque struct tagname (statically)",
6859 "ptype on opaque struct pointer (dynamically) 1",
6860 "ptype on opaque struct tagname (dynamically) 1",
6861 "ptype on opaque struct pointer (dynamically) 2" and
6862 "ptype on opaque struct tagname (dynamically) 2
6863 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6864 gcc compiled for:
6865 "p datalocal"
6866 "whatis datalocal",
6867 "ptype datalocal",
6868 "p bsslocal",
6869 "whatis bsslocal", and
6870 "ptype bsslocal".
6871 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6872 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6873 when not gcc compiled.
6874 * gdb.base/funcargs.exp (float_and_integral_args): Add
6875 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6876 compiled.
6877 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6878 "backtrace from call6a" when not gcc compiled.
6879 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6880 "backtrace from call7a" when not gcc compiled.
6881 * gdb.base/callfuncs.exp (do_function_calls):
6882 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6883 "p t_char_array_values(char_array_val2,char_array_val1)",
6884 "p t_char_array_values(char_array_val1,char_array_val2)",
6885 "p t_char_array_values("carray 1","carray 2")",
6886 "p t_char_array_values("carray 1",char_array_val2)",
6887 "p t_char_array_values(char_array_val1,"carray 2")",
6888 "p sum_args(1,{2})",
6889 "p sum_args(2,{2,3})",
6890 "p sum_args(3,{2,3,4})",
6891 "p sum_args(4,{2,3,4,5})"
6892 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6893 "backtrace in corefile.exp" when not gcc compiled.
6894
6895Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6896
6897 * gdb.base/signals.exp: Rewrite `handle all print' test as
6898 a procedure. Accept blanks or TABs as whitespace, increase
6899 timeout and expect input buffer size for the large output
6900 from the command. Remove "i*86-*-bsdi2.0" xfail.
6901
6902Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6903
6904 * gdb.base/setvar.exp: Add new testcases for truncation when
6905 assigning invalid values to bitfields.
6906
6907Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6908
beb998c6 6909 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6910 mips-sgi-irix* xfail for
6911 "call inferior func with struct - returns char *"
6912 and fix test so that an optional (unsigned char *) cast is
6913 accepted in the result.
6914
6915Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6916
6917 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6918 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6919 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6920 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6921 that accidentally got checked in.
6922
6923Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6924
beb998c6 6925 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6926 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6927 compiled test.
6928 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6929 Add mips-sgi-irix5* xfail for not gcc compiled.
6930 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6931 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6932 "p top", "whatis top", "p middle", and "whatis middle".
6933 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6934 "whatis signed char" for not gcc compiled.
6935 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6936 "set variable signed char=-1 (-1)" and
6937 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6938 * gdb.base/funcargs.exp (float_and_integral_args):
6939 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6940 Add mips-sgi-irix* xfail when not gcc compiled for
6941 "continue to call2b".
6942 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6943 "continue to call2g".
6944 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6945 "backtrace from call6a"
6946 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6947 "backtrace from call7k".
6948 Add mips-sgi-irix5* xfail when not gcc compiled for
6949 "backtrace from call7a".
6950 (localvars_after_alloca): Fix gdb_test cmds for
6951 "print * after runto ...".
6952 Remove rs6000-*-* xfails for
6953 "print i after runto localvars_after_alloca" and
6954 "print l after runto localvars_after_alloca"
6955 for all compilers.
6956 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6957 when not compiled with gcc, for:
6958 "print signed char == (minus)",
6959 "print signed char != (minus)",
6960 "print signed char < (minus)",
6961 "print signed char > (minus)".
6962 * gdb.base/callfuncs.exp (do_function_calls):
6963 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6964 "call inferior func with struct - returns char *".
beb998c6 6965 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6966 "correct value returned double test" to include Solaris 2.4.
6967 * gdb.base/funcargs.exp (float_and_integral_args):
6968 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6969
c906108c
SS
6970Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6971
6972 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6973 enumeration bitfields if compiling with GNU C.
6974 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6975 to empty' prompt.
6976
6977Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6978
6979 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6980 test for PRO targets.
6981
6982 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6983 breakpoints in the inferior at any given time by making
6984 two groups of breakpoints for call2*, call6* and call7*
6985 tests.
6986
6987Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6988
6989 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6990 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6991 from optimizing it away.
6992 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6993 "call inferior func with struct".
6994
6995Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6996
6997 * configure.in: Only configure gdb.chill for particular targets.
6998
6999Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7000
7001 * gdb.base/Makefile.in: Add action to .c.o transformation
7002 rule that generates a .ci file for each .o file and remove
7003 explicit .c.o rules except for callfuncs.o.
7004 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7005 generates a .ci file for each .o file and remove explicit
7006 .cc.o rules.
7007 (clean): Remove *.tmp *.ci files.
7008 (EXECUTABLES): Remove templ-info.exp.
7009 * gdb.base/compiler.c: New file.
7010 * gdb.c++/compiler.cc: New file
7011 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7012 Change rs6000-*-* xfail for
7013 "print 'scope0.c'::filelocal_ro" and
7014 "print 'scope1.c'::filelocal" and
7015 "print 'scope1.c'::filelocal_bss" and
7016 "print 'scope1.c'::filelocal_ro" and
7017 "print 'scope1.c'::foo::funclocal" and
7018 "print 'scope1.c'::foo::funclocal_ro" and
7019 "print 'scope1.c'::bar::funclocal" and
7020 "print 'scope0.c'::filelocal_ro" and
7021 "print 'scope1.c'::filelocal at foo" and
7022 "print 'scope1.c'::filelocal_bss at foo" and
7023 "print 'scope1.c'::filelocal_ro at foo" and
7024 "print 'scope1.c'::foo::funclocal at foo" and
7025 "print 'scope1.c'::foo::funclocal_bss at foo" and
7026 "print 'scope1.c'::foo::funclocal_ro at foo" and
7027 "print 'scope1.c'::bar::funclocal at foo" and
7028 "print 'scope0.c'::filelocal_ro" and
7029 "print 'scope1.c'::filelocal" and
7030 "print 'scope1.c'::filelocal_bss" and
7031 "print 'scope1.c'::filelocal_ro" and
7032 "print 'scope1.c'::foo::funclocal" and
7033 "print 'scope1.c'::foo::funclocal_bss" and
7034 "print 'scope1.c'::foo::funclocal_ro" and
7035 "print 'scope1.c'::bar::funclocal" and
7036 "print 'scope1.c'::bar::funclocal_bss"
7037 to only be xfail'd when not compiled with gcc.
beb998c6 7038 Add rs6000-*-* xfail for
c906108c
SS
7039 "print 'scope0.c'::filelocal_bss before run"
7040 when compiled with gcc.
7041 (test_at_main): Add rs6000-*-* xfail for
7042 "print filelocal_ro in test_at_main"
7043 when compiled with gcc.
7044 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7045 Add rs6000-*-aix* xfail for
c906108c
SS
7046 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7047 "ptype t_char_array", not compiled with gcc.
7048 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7049 xfail for "list foo (in include file)" when gcc compiled.
7050 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7051 (integral_args): Add rs6000-*-* xfail for
7052 "run to call0a" if not compiled with gcc.
7053 (unsigned_integral_args): Add rs6000-*-* xfail for
7054 "run to call1a" if not compiled with gcc.
7055 (float_and_integral_args): Add rs6000-*-* xfail for
7056 "run to call2a" if not compiled with gcc and for
7057 "continue to call2b" for any compiler.
7058 Add rs6000-*-* xfail to
7059 "print f1 after run to call2a" for gcc compiled.
7060 (discard_and_shuffle): Add rs6000-*-* xfail for
7061 "run to call6a".
7062 (shuffle_round_robin): Add rs6000-*-* xfail for
7063 "backtrace from call7a" if not compiled with gcc.
7064 Add rs6000-*-* xfail for
7065 "backtrace from call7b" if compiled with gcc.
7066 (call_after_alloca): Add rs6000-*-* xfail for
7067 "print c in call_after_alloca" and
7068 "print s in call_after_alloca" and
7069 "backtrace from call_after_alloca_subr"
7070 if not compiled with gcc.
7071 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7072 "print c in localvars_in_indirect_call" and
7073 "print c in localvars_in_indirect_call" and
7074 "backtrace in indirectly called function" and
7075 "stepping into indirectly called function"
7076 if not compiled with gcc.
7077 (localvars_after_alloca): Add rs6000-*-* xfail for
7078 "print c after runto localvars_after_alloca" and
7079 "print s after runto localvars_after_alloca" and
7080 "print i after runto localvars_after_alloca" and
7081 "print l after runto localvars_after_alloca"
7082 for all compilers.
7083 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7084 than whatis-info.exp.
7085 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7086 than opaque-info.exp.
7087 Setup rs6000-*-* xfail for
beb998c6 7088 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7089 "ptype on opaque struct pointer (dynamically)" when
7090 not compiled with gcc.
7091 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7092 rather than callf-info.exp.
7093 (do_function_calls): Add clear_xfail for rs6000-*-* for
7094 "p t_float_values2(3.14159,float_val2)". Seems to work
7095 fine there, both with xlc and gcc. Need to find out what
7096 it is doing right and fix other platforms.
7097 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7098 "call inferior func with struct - returns int",
7099 "call inferior func with struct - returns long",
7100 "call inferior func with struct - returns float",
7101 "call inferior func with struct - returns double",
7102 "call inferior func with struct - returns char *",
7103 but only if not gcc compiled (presumes xlc compiled).
7104 Change rs6000-*-* xfails for
7105 "call inferior func with struct - returns char" and
7106 " call inferior func with struct - returns short" to only
7107 xfail if not using gcc.
7108 (clean mostlyclean): Remove *.ci and *.tmp files.
7109 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7110 than templ-info.exp.
7111 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7112 Add rs6000-*-* xfail for "up to foo in langs.exp"
7113 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7114 when not gcc compiled.
beb998c6 7115
c906108c
SS
7116Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7117
7118 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7119 * gdb.base/corefile.exp: Likewise.
7120 * gdb.base/list.exp: Likewise.
7121 * gdb.base/scope.exp: Likewise.
7122 * gdb.base/siganls.exp: Likewise.
7123
7124 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7125 compiler output.
7126 * gdb.base/whatis.exp: Likewise.
7127
7128Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7129
7130 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7131 failure (opcode table has been fixed to match reality).
7132
7133Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7134
7135 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7136 "call inferior func with struct - returns char",
7137 "call inferior func with struct - returns short"
7138
7139 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7140 "print 'scope0.c'::filelocal at main",
7141 "print 'scope0.c'::filelocal_bss in test_at_main",
7142 "print 'scope0.c'::filelocal at foo",
7143 "print 'scope0.c'::filelocal_bss in test_at_foo",
7144 "print 'scope0.c'::filelocal at bar",
7145 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7146
c906108c
SS
7147 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7148 in source file 1". This bug seems to have been fixed with both
7149 gcc and native cc (was native assembler bug?).
7150
7151Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7152
7153 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7154 "backtrace through signal handler" to "i*86-*-sysv4*".
7155 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7156 continue" case. Add "known SVR4 bug" to fail message.
7157 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7158 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7159 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7160 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7161 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7162 "up to foo in langs.exp", "show language at foo in
7163 langs.exp", "up to cppsub_ in langs.exp", "show
7164 language at cppsub_ in langs.exp", "up to fsub in
7165 langs.exp", and "show language at fsub in langs.exp".
7166 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7167 "bactrace in corefile.exp".
7168 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7169 "call inferior function with struct - returns float" and
7170 "call inferior function with struct - returns double".
beb998c6 7171
c906108c
SS
7172Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7173
7174 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7175 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7176 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7177 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7178
7179Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7180
7181 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7182 (or overriden) "CHILL" macro rather then bare "gcc".
7183 Also look for ../../gcc/xgcc since that is what we will
7184 actually need, not "Makefile". Remove following assignment
7185 of CHILL to CHILL_FOR_TARGET because that results in
7186 recursive definition.
7187
7188Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7189
7190 * gdb.base/corefile.exp: Change xfail for backtrace in
7191 corefile.exp from linuxaout to all linux.
7192 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7193 cases where we miss the breakpoint at the signal handler
7194 for some reason. Setup xfail for linuxoldld/linuxaout and
7195 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7196 hitting SIGURG breakpoint.
7197 * gdb.base/signals.exp: Setup xfail for "next" acting like
7198 continue to add linuxoldld. Setup xfail for all linux for
7199 "next to handler in signals_tests_1", "backtrace in
7200 signals_tests_1", "continue to func1", "pass SIGUSR1",
7201 and continue to handler".
7202
7203Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7204
7205 * Update all FSF addresses except those in COPYING* files.
7206
7207Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7208
7209 * gdb.base/a2-run.exp: Change messages to be more explicit about
7210 the status of args, and quote binfile in results.
7211
7212Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7213
7214 * gdb.base/callfuncs.exp: Add tests for passing structs to
7215 inferior functions and return various types.
7216 * gdb.base/callfuncs.c: Add functions to receive a struct
7217 and return a member of the struct, in various types.
7218
7219Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7220
7221 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7222
7223Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7224
7225 * config/vxworks29k.exp: New file, sources vxworks.exp.
7226
7227Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7228
7229 * config/gdbremote.exp: New file. Testing framework using
7230 gdbserver.
7231
7232Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7233
7234 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7235 "call function when asleep" and "send end of file".
7236 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7237 for "backtrace in corefile.exp".
7238 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7239 for "backtrace through signal handler".
7240 * gdb.base/corefile.exp: Make sure we actually generate a core file
7241 before trying the core tests. Some systems allow the user to suppress
7242 generation of core files and default to that (linux for example).
7243 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7244 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7245
7246Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7247
7248 * gdb.threads: New directory with some crude multi-threaded
7249 gdb tests (step.exp and step2.exp).
7250 * config/mt-lynx (STEP_EXECUTABLE): Define.
7251 (THREADFLAGS): Define.
7252
7253Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7254
7255 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7256
7257 * gdb.base/signals.exp: Disable whole file for lynx until
7258 further notice.
7259
7260 * gdb.base/signals.exp: xfail test where "next" acts like
7261 "continue" for lynx.
7262
7263 * gdb.base/interrupt.exp: xfail test for calling function while
7264 inferior is asleep for lynx.
7265
7266 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7267 than one cr-lf after each command.
7268
7269Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7270
7271 * configure.in: Reinstate setting of stabsdirs variable, fix
7272 typo in setting up configdirs for native builds.
7273
7274 * gdb.base/return.exp: Fix typo in return double test.
7275 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7276 compiler from optimizing them away.
7277
7278Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7279
7280 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7281 sequences to be echo'd by gdb when using gdb_test.
7282 * gdb.chill/chexp.exp: Likewise.
7283 * gdb.fortran/exprs.exp: Likewise
7284
7285Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7286
7287 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7288 after the inferior gdb has started.
7289
7290 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7291 after each command.
7292 * gdb.base/funcargs.exp: Likewise.
7293 * gdb.base/gdbvars.exp: Likewise.
7294 * gdb.base/interrupt.exp: Likewise.
7295 * gdb.base/list.exp: Likewise.
7296 * gdb.base/watchpoint.exp: Likewise.
7297 * gdb.c++/demangle.exp: Likewise.
7298 * gdb.c++/inherit.exp: Likewise.
7299 * gdb.chill/chexp.exp: Likewise.
7300 * gdb.fortran/exprs.exp: Likewise.
7301
7302 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7303 test if we can't handle IO to/from the inferior.
7304
7305 * gdb.c++/misc.exp: Always check for a program already being
7306 started after sending a "run" command to gdb.
7307
7308 * gdb.base/twice.exp: Start with a fresh gdb.
7309
7310 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7311 only depend on gdb's expression code, not the chill runtime.
7312
7313 * gdb.base/return.c: Put return values into variables so we
7314 can have gdb print them rather than depending on the program
7315 to print them.
7316 * gdb.base/return.exp: Corresponding changes.
7317
7318 * lib/gdb.exp: Provide default value for noinferiorio.
7319 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7320 the inferior.
7321
7322 * gdb.base/break.exp: Always check for a program already being
7323 started after sending a "run" command to gdb.
7324 (text_next_with_recursion): Don't check the output from the
7325 program's printf statement. Instead just make sure the program
7326 exited.
7327
7328 * gdb.base/commands.exp: Protect tests which need arguments with
7329 $noargs conditionals.
7330
7331Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7332
7333 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7334 of structure member arrays to match gdb/valops.c:value_addr change.
7335
7336Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7337
7338 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7339 cases.
7340
7341Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7342
7343 * configure.in (configdirs): Remove gdb.chill from default list
7344 of subdirs and then add it back in only if doing a native build.
7345 The current chill compiler does not yet work in any cross build.
7346 * Revert all signal changes from Jul 6.
7347 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7348 for sh-hms targets, allowing these tests to link, with no other
7349 changes. Testing is suppressed by setting "nosignals" in site.exp.
7350
7351Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7352
7353 * configure.in (signaldirs): Define and add to configdirs for all
7354 targets except some specific ones that are known to not support signals.
7355 Also clean up formatting.
7356 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7357 (signals, sigall): Remove rules to build.
7358 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7359 Moved to new gdb.signals directory.
7360 * gdb.signals: New test directory.
7361 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7362 signals.c signals.exp}: New or moved files.
7363
7364Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7365
7366 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7367
7368Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7369
7370 * gdb.base/return.exp: Xfail `return double' test failure
7371 on at least Solaris 2.3 and handle future/past versions on
7372 a case by case basis as appropriate. Also update message
7373 to include i*86 failures.
7374
7375Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7376
7377 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7378
7379 * lib/gdb.exp: Fix comment which erroneously identified
7380 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7381 gdb_file_cmd not gdb_load).
7382 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7383
7384 * gdb.base/setvar.exp: Make test names consistent between pass and
7385 fail cases. Use gdb_test more.
7386
7387Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7388
7389 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7390
7391Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7392
7393 * gdb.base/help.exp: Fix expected help string for `show commands'.
7394
7395Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7396
7397 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7398
7399 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7400 of a text section.
7401
7402Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7403
7404 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7405 that loop eventually terminates. Fix Connection refused logic so
7406 that testsuite will expire nicely.
7407
7408Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7409
7410 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7411 config/rom68k.exp: New tcl glue for the appropriate monitors.
7412 These all just end up calling monitor.exp.
7413 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7414 refused' by retrying. Cleanup some timeout issues.
7415 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7416 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7417 callers don't have to set/restore global timeout variable.
7418
7419 * The following set of changes centralizes management of the global
7420 timeout variable. This way, it can be set in one target dependent
7421 place instead of dozens of places scattered throughout the test suite.
7422 If you need to lengthen a timeout, then you should either set timeout
7423 in one of the config/{target}.exp files, or multiply it by a factor.
7424 Setting it to an absolute value is always going to lose for some
7425 targets.
7426 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7427 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7428 * gdb.base/funcargs.exp: Don't set timeout.
7429 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7430 * gdb.base/printcmds.exp (test_print_string_constants
7431 test_print_array_constants): Don't set timeout.
7432 * gdb.base/ptype.exp: Don't set timeout.
7433 * gdb.base/recurse.exp: Don't set timeout.
7434 * gdb.base/return.exp: Don't set timeout.
7435 * gdb.base/watchpoint.exp: Don't set timeout.
7436 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7437 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7438
7439Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7440
7441 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7442
7443Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7444
7445 * lib/gdb.exp: Disable chill tests for irix5.
7446
7447Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7448
7449 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7450 each test pass or fail.
7451
7452Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7453
7454 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7455 xlc not gcc.
7456
7457Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7458
7459 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7460
7461Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7462
7463 * config/est.exp: Fix copyright and comments. Remove dead code.
7464 Use targetname, serialport and baud variables instead of fixed
7465 constants.
7466 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7467 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7468
7469Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7470
7471 * gdb.base/watchpoint.exp: Don't run
7472 test_watchpoint_triggered_in_syscall for sunos.
7473
7474Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7475
7476 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7477 they don't seem to exist. Do include stdio.h.
7478
7479Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7480
7481 * gdb.base/a1-selftest.exp: Add alpha xfail.
7482
7483Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7484
7485 * gdb.base/watchpoint.c (main): Prompt before calling read().
7486 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7487 Revise accordingly. Remove cruft about sending "123" several
7488 times, until it gets noticed. Clean up the "print buf[0]" stuff
7489 so that it passes or fails, and waits for prompts in the usual way.
7490
7491Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7492
7493 * gdb.base/recurse.exp: Fix comment.
7494
7495 * TODO: Remove item about printing variables in nodebug.exp. Add
7496 item about enabling tests which are only run on some targets.
7497
7498 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7499 fail, make test names unique, use new gdb_test convention
7500 regarding pattern, use gdb_test more, etc.).
7501
7502 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7503 fail, make test names unique, etc.).
7504
7505Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7506
7507 * gdb.base/nodebug.c: Change return type of top and middle to
7508 short.
7509 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7510 are fixed by the recent mdebugread.c changes. Allow `short ()'
7511 as type for top and middle.
7512
7513Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7514
7515 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7516 nearly as I can tell, the whole thing was an accident in Stu's
7517 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7518 to replace a send/expect pair with gdb_test, but ended up only
7519 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7520 of 30 Mar 1995 took care of it, but left this vestigial comment
7521 which I am now nuking.
7522
7523Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7524
7525 * gdb.base/break.exp: Look for different line number for
7526 breakpoint at main depending on usestubs.
7527
7528Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7529
7530 * gdb.base/list.exp: Adjust some alternate expect patterns to
7531 match recent list0.c change. Add alternate expect pattern for
7532 output from `list default lines around main' for optimizing
7533 compilers.
7534
7535Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7536
7537 * lib/gdb.exp: If nosignals is not set, set it to 0.
7538
7539Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7540
7541 * config/slite-gdb.exp: Responds to load symbol table prompt.
7542 * gdb.base/break.exp: Adjust line number, fix rerun.
7543 * gdb.base/langs0.c: Add #ifdef usestubs.
7544
7545Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7546
7547 * gdb.base/list.exp: Adjust line contents after adding new lines in
7548 list0.c. Also fix a syntax error.
7549
7550 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7551 * gdb.base/break.exp: ditto.
7552 * gdb.base/list.exp: ditto.
7553 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7554 * gdb.base/run.c: ditto.
7555 * gdb.base/list0.c: ditto.
7556 * gdb.base/funcargs.c: ditto.
7557
7558Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7559
7560 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7561 $targetname, $serialport and $baud instead of hardwired variables.
7562 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7563 target doesn't support signals.
7564
7565Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7566
7567 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7568
7569Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7570
7571 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7572 Don't rely on the value of an auto variable before it has been
7573 initialized. Use gdb_test more.
7574
7575Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7576
7577 * lib/gdb.exp (default_gdb_version): A version number must start
7578 with a digit, but other than that contains all characters up to
7579 the first whitespace character.
7580
7581Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7582
7583 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7584
7585Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7586
7587 * gdb.c++/*.exp: Warn if executable does not exist. The original
7588 reason for skipping the warning was that configure.in sometimes
7589 intentionally skipped building the executables but the tcl code
7590 had no way of knowing. That (a) was always bogus with respect to
7591 error handling, (b) is no longer true (right now there is no way
7592 to skip C++ tests).
7593
7594 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7595
7596Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7597
7598 * gdb.base/list.exp: Add expect patterns for output from
7599 SunPRO compiled executables.
7600 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7601 types.
7602
7603Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7604
7605 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7606 number (we are already testing that the correct source line text
7607 gets printed).
7608
7609 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7610 that is what is intended, but something needed to be done to get
7611 sunos4 native working again.
7612
7613 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7614
7615 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7616 apparently went with a (very) old xfail.
7617
7618Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7619
7620 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7621 runto_main is a proc in gdb.exp that will do 'step' for target use
7622 stubs.
7623 * gdb.base/exprs.exp: ditto.
7624 * gdb.base/interrupt.exp: ditto.
7625 * gdb.base/opaque.exp: ditto.
7626 * gdb.base/printcmds.exp: ditto.
7627 * gdb.base/ptype.exp: ditto.
7628 * gdb.base/scope.exp: ditto.
7629 * gdb.base/setvar.exp: ditto.
7630 * gdb.base/signals.exp: ditto.
7631 * gdb.base/twice.exp: ditto.
7632 * gdb.c++/classes.exp: ditto.
7633 * gdb.c++/inherit.exp: ditto.
7634 * gdb.c++/templates.exp: ditto.
7635 * gdb.base/break.exp: no run and hit main for stubs. Change line
7636 numbers for breakpoints and info breakpoint.
7637 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7638 breakpoint().
7639 * gdb.base/callfuncs.c: ditto.
7640 * gdb.base/exprs: ditto.
7641 * gdb.base/interrupt.c: ditto.
7642 * gdb.base/opaque0.c: ditto.
7643 * gdb.base/printcmds.c: ditto.
7644 * gdb.base/ptype.c: ditto.
7645 * gdb.base/scope0.c: ditto.
7646 * gdb.base/setvar.c: ditto.
7647 * gdb.base/signals.c: ditto.
7648 * gdb.base/twice.c: ditto.
7649 * gdb.c++/misc.cc: ditto.
7650 * gdb.c++/templates.cc: ditto.
7651
7652Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7653
7654 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7655
7656 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7657 somewhere between `read' and `main.c'. I'm pretty sure the
7658 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7659 and it isn't particularly useful.
7660
7661 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7662
7663Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7664
7665 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7666
7667Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7668
7669 * config/mt-slite: add LIBS and -nostdlib.
7670 * config/slite-gdb.exp: add this new file to support sparclite target.
7671
7672Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7673
7674 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7675
7676 * gdb.base/a2-run.exp: Change argument to istarget from
7677 "*-*-vxworks" to "*-*-vxworks*".
7678 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7679
7680Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7681
7682 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7683 will not runto main but do a 'step' to step out of breakpoint().
7684 * config/mt-slite: add -Dusestubs.
7685
7686Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7687
7688 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7689 instead of just @.
7690
7691 * gdb.base/signals.exp: Add test for "handle all print".
7692 * TODO: Remove "handle all print". Also remove item about
7693 checking copyright date (I don't like the idea of a spurious FAIL
7694 based on when we run the tests).
7695
7696 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7697 for SunOS4 (reason for failure not investigated). Remove
7698 redundant test for $binfile.
7699
7700 * gdb.base/nodebug.c (array_index): Call malloc.
7701
7702 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7703
7704Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7705
7706 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7707 conventions and slightly simplify the matching regexp.
7708
7709Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7710
7711 * gdb.base/break.exp: Update gdb_test invocation to use new
7712 convention.
7713
7714 * lib/gdb.exp: If noargs is not set, set it to 0.
7715
7716 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7717 tests unique.
7718
7719 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7720
7721Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7722
7723 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7724 one argument of type "<non-float parameter>".
7725
7726Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7727
7728 * config/rom68k.exp: New file to support Motorola IDP board.
7729 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7730 * gdb.base/break.c: Change things around so that this program
7731 doesn't depend upon args. This is necessary to make remote
7732 targets work (in general, they can't take args).
7733 * gdb.base/break.exp: Don't try to send args to program. Don't
7734 expect output. Also, replace lots of code with gdb_test.
7735
7736Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7737
7738 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7739 printing of '\'' (which is what the comment says we are testing,
7740 even though we were not), not '''.
7741 (test_integer_literals_rejected): Test that printing ''' is an error.
7742
7743 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7744 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7745 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7746 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7747 Use gdb_test not test_print_accept.
7748 * lib/gdb.exp: Remove test_print_accept.
7749
7750 * gdb.base/signals.exp (signal_tests_1): Make pass message
7751 consistent with fail message.
7752
7753 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7754 unsigned char; the bug (PR 1821) is fixed.
7755
7756 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7757
7758 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7759 successful tests--makes xfailing them work right.
7760
7761Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7762
7763 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7764 only \r\n, not .*. The test can pass .* as the last thing in
7765 $pattern if that is what it wants. In addition to providing this
7766 flexibility, this change should speed up pattern matching in cases
7767 where the pattern already ended with .* (there were a number of
7768 them). This change also helps catch bad patterns--in the old
7769 scheme the typo "char \*" instead of "char \\*" would pass. Now
7770 it is caught.
7771 * Many .exp files: Update callers.
7772
7773 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7774 clearer and does not spuriously match multiple ('s. Likewise for
7775 ) and *.
7776
7777 * gdb.base/nodebug.exp: Test ability to call a function and pass
7778 it a string (even with no debugging info).
7779
7780 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7781 "p '\'", which is the same as "p ''" once tcl gets done with
7782 quoting, to "p '\\'", which I suspect is what is intended (one
7783 backslash gets sent to GDB).
7784
7785 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7786
7787Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7788
7789 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7790 1817) was fixed literally years ago.
7791
7792Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7793
7794 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7795 test, it causes stepping out of call_after_alloca_subr with
7796 optimizing compilers.
7797 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7798 fails.
7799
7800 * gdb.c++/templates.exp: Source templ-info.exp only if
7801 the templates executable exists.
7802
7803 * gdb.c++/misc.cc (class Contains_static_instance,
7804 class Contains_nested_static_instance),
7805 gdb.c++/classes.exp (test_static_members): Test printing of
7806 a class that contains a static instance of the class.
7807
7808Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7809
7810 * gdb.base/langs2.c (cppsub_): Don't prototype.
7811 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7812 only, I believe).
7813
7814Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7815
7816 * lib/gdb.exp (skip_chill_tests): New procedure.
7817
7818 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7819
7820Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7821
7822 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7823 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7824
7825Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7826
7827 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7828
7829 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7830 disassemble 8, not 16, instructions for part 4.
7831
7832 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7833 support the latter anymore.
7834
7835 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7836 -DNO_PROTOTYPES.
7837 * gdb.base/callfuncs.c: Control use of prototypes based on
7838 NO_PROTOTYPES, not __STDC__.
7839 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7840 t_float_values2 tests if prototypes in use.
7841
7842 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7843 t_double_values): When checking differences against DELTA, check
7844 that difference is within the range (-DELTA,DELTA), not just
7845 (-infinity,DELTA).
7846
7847Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7848
7849 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7850 'file' command firts, then 'target', then 'load', this is due to gdb
7851 target set up.
7852 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7853
7854Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7855
7856 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7857 FP load/store variants.
7858 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7859
7860Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7861
7862 * gdb.base/term.exp: Do not give a warning if not native, it is
7863 not an abnormal condition.
7864
7865Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7866
7867 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7868 t_char_array".
7869
7870Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7871
7872 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7873 are getting the version number.
7874
7875 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7876 if not native, it is not an abnormal condition.
7877
7878Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7879
7880 * lib/gdb.exp: Just use "file exists", rather than undocumented
7881 dejagnu procedure "findfile".
7882
7883Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7884
7885 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7886 (LDFLAGS): Set to -Xlinker -Ur.
7887
7888 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7889 Removed, these values are set by lib/gdb.exp.
7890
7891 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7892
7893Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7894
7895 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7896 of replicating gdb startup code.
7897
7898 * config/mt-vxworks (LDFLAGS): Set to -r.
7899 (CFLAGS_FOR_TARGET): Removed.
7900
7901 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7902 (gdb) and gdb for vxworks uses (vxgdb).
7903
7904 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7905 executable is not in the tree and host != target, use sed and
7906 program_transform_name to determine the gdb name used by the
7907 target.
7908
7909 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7910 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7911
7912Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7913
7914 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7915 floats, chars, and shorts where there are ANSI-style function
7916 definitions.
7917
7918 * gdb.base/langs.exp, gdb.base/langs*: New test.
7919 * gdb.base/Makefile.in: Build it.
7920 * TODO: Remove item about checking that C names don't get C++
7921 demangling applied; this test tests it.
7922
7923Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7924
7925 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7926 went with the const70 xfail. The xfail went away a year ago.
7927
7928 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7929
7930 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7931 for hp300.
7932
7933 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7934
7935 * gdb.base/a1-selftest.exp: Don't run on hp300.
7936
7937Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7938
7939 * Makefile.in (site.exp): Set host_alias and target_alias as well
7940 as host_triplet and target_triplet.
7941
7942Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7943
7944 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7945
7946 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7947 places as other ecoff systems).
7948
7949 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7950 ultrix.
7951
7952Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7953
7954 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7955 remove them.
7956 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7957 variable and "variable" in addition to "data variable".
7958 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7959
7960 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7961 2.
7962 * gdb.base/list1.c (long_line): Add additional statement at start
7963 of function.
7964 * gdb.base/list.exp (test_forward_search): Update line number to
7965 reflect new statement.
7966
7967Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7968
7969 * gdb.base/signals.exp: Reinitialize searched source directories
7970 after gdb_start call.
7971
7972Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7973
7974 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7975 * gdb.stabs/Makefile.in: Likewise.
7976
7977 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7978 change. Instead split the tests into smaller pieces.
7979 * gdb.disasm/hppa.s: Corresponding changes.
7980
7981Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7982
7983 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7984 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7985
7986 * gdb.base/funcargs.exp: Modify many tests so that every test
7987 either passes or fails. Make some test names unique.
7988
7989Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7990
7991 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7992 Call stty to set interrupt character.
7993
7994 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7995 for HP assembler versus GNU assembler based on actual behavior of
7996 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7997
7998 * TODO: Suggest a few more stepping tests.
7999
8000Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8001
8002 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8003 restart GDB for h8300 after a continue.
8004 (return): Add pattern to match a29k-udi behavior.
8005 * gdb.base/nodebug.exp: Remove obsolete comment.
8006 * gdb.base/regs.exp: New file, testing of register displays.
8007 * gdb.base/return.exp: Fix typo in reference to $objdir.
8008 * gdb.base/whatis.exp: Always start with a fresh GDB.
8009
8010Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8011
8012 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8013 higher, these tests generate a lot of output.
8014
8015Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8016
8017 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8018 code following the catch silently ignored some errors; without the
8019 catch they should be thrown like any other tcl error. Also, the
8020 catch used "" instead of {} which meant all the callers who wanted
8021 to include one of the characters "[]$ had to quote it an extra time.
8022 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8023 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8024 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8025 Remove extra quoting.
8026
8027Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8028
8029 * gdb.base/commands.exp: Make test names unique; every test either
8030 passes or fails. Update some comments.
8031
8032 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8033
8034Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8035
8036 The following fixes a FAIL caused by the fact that the alpha stabs
8037 configuration didn't use the ".if alpha" code in weird.def.
8038 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8039 bit pointer, so the 32 bit version works even on the alpha.
8040 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8041 Remove the stuff which allowed us to have separate versions for
8042 alpha and everything else.
8043
8044 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8045 regexp which "info func operator\[\](" is supposed to match. Fix
8046 string to send to GDB. Note that GDB still doesn't work right. Add a
8047 new test for "info func .perator\[\](" which GDB does handle correctly.
8048
8049 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8050
8051Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8052
8053 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8054 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8055 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8056 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8057 it makes the tests harder to understand and confuses test-o-matic.
8058 The preferred style is that each test provides a PASS or a FAIL,
8059 and has a unique message (e.g. "continue #54" not just "continue")
8060 which is the same for the pass and the fail.
8061 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8062 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8063 to lib/gdb.exp.
8064 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8065 prt_accept which was basically the same thing. Likewise for
8066 test_print_reject and prt_reject.
8067 * lib/gdb.exp (test_print_reject): Add some more error message
8068 patterns to match from the former printcmds.exp (prt_reject).
8069 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8070 One defect of the passcount stuff is that some of it failed to
8071 report XPASS where appropriate.
8072 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8073 stuff before and after arg in expected pattern.
8074 (test_paddr_operator_functions): Re-do test without print_addr_of;
8075 this is the only test which seems to want extra stuff there.
8076
8077Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8078
8079 * gdb.base/nodebug.exp: Update new tests to reflect improved
8080 wording of gdb output.
8081
8082 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8083 and "ptype" work on variables in files compiled without -g.
8084 Replaces commented out "maint print msymbol" tests.
8085
8086Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8087
8088 * gdb.base/setvar.c (dummy): Call malloc.
8089
8090 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8091 losing with the irix4 sed.
8092
8093 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8094 ALRM" on irix4.
8095
8096Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8097
8098 * TODO: Remove items about corefile.exp testing new exec-file and
8099 backtrace; both are now done. Add items about printing enums.
8100
8101Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8102
8103 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8104 "get signal $thissig" test fails.
8105
8106 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8107
8108Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8109
8110 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8111 compiler warning with dec alpha compiler.
8112
8113 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8114 extra \n from gdb_test call (this explains why the prompt test
8115 that I removed yesterday was there).
8116 (user_defined_command_test): Remove extra \n and prompt test.
8117
8118 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8119 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8120 doesn't exist.
8121 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8122 Also remove alpha workaround, which turns out to be because
8123 SIGABRT == SIGLOST.
8124
8125 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8126
8127 * gdb.base/help.exp: Don't test "help show".
8128
8129Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8130
8131 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8132 "set print address" is on.
8133 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8134 pass prompt to gdb_test; gdb_test already looks for the prompt.
8135
8136 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8137
8138 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8139 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8140 was to make sure that gdb can read a core file. But (a) the "read
8141 the corefile" part didn't make it to a1-selftest.exp, we just
8142 delete the corefile after creating it, and (b) we test reading
8143 corefiles in corefile.exp anyway. Also, this test left around a
8144 xgdb process on Solaris.
8145
8146 * gdb.base/corefile.exp: Also test backtrace.
8147
8148Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8149
8150 * gdb.base/commands.exp: Test a simple user defined command with
8151 arguments and if/while statements; verify the full user command is
8152 printed by "show user".
8153
8154 * gdb.base/commands.exp: Test if/while commands as part of a
8155 breakpoint command list; verify they appear in breakpoint
8156 information.
8157
8158Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8159
8160 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8161 than by dividing by zero.
8162
8163Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8164
8165 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8166 performing an inferior call with watchpoints enabled.
8167 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8168 call.
8169
8170Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8171
8172 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8173 of "file" command.
8174
8175 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8176 Add additional pattern for when "int operator int(void);" appears
8177 in a different order.
8178
8179Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8180
8181 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8182
8183 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8184 and "signal" with ".*".
8185
8186Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8187
8188 * TODO: Add note about "handle all nostop".
8189
8190 * gdb.base/{sigall.c, sigall.exp}: New test.
8191 * gdb.base/Makefile.in: Add it.
8192
8193Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8194
8195 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8196 when invoking GDB, suppresses any windowing interface.
8197
8198Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8199
8200 * config/sim-gdb: New file, simulator testing support.
8201
8202Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8203
8204 * gdb.base/interrupt.exp: Test calling func1 twice.
8205
8206Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8207
8208 * gdb.base/list.exp (test_forward_search): Set timeout higher
8209 when we'll be getting lots of output from gdb.
8210
8211 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8212 "init_malloc" to after the expect statement. Run it if that
8213 regexp is taken, but also for two others which happen if source
8214 cannot be found.
8215
8216Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8217
8218 * gdb.base/printcmds.exp: New test, for printing register before
8219 program is running.
8220
8221Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8222
8223 * gdb.base/list.exp: Correct some alternate expect patterns
8224 to reflect changes in list1.c.
8225
8226Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8227
8228 * TODO: Add item regarding large frames.
8229
8230 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8231
8232 * TODO: Remove item about enabling return.exp; it
8233 is enabled. Suggest a few more "return" tests.
8234
8235Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8236
8237 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8238 anonymous unions.
8239
8240Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8241
8242 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8243 and pr-5646.o, so "make" is the same as "make all", not "make
8244 pr-4975.o".
8245
8246Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8247
8248 * gdb.base/list.exp: Adjust expectations to reflect changes in
8249 list1.c.
8250 (test_forward_search): New test proc.
8251 * gdb.base/list1.c (long_line): New function, has long source line.
8252
8253Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8254
8255 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8256 additional line of code that was added.
8257
8258Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8259
8260 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8261 tests so as not to overflow expect's input buffers.
8262 * gdb.disasm/hppa.exp: Corresponding changes.
8263
8264Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8265
8266 Beginnings of template debugging tests.
8267 * gdb.c++/templ-info.cc: New file to test for template
8268 debugging capability of the compiler.
8269 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8270 templ-info.cc.
8271 * gdb.c++/templates.cc: Add explicit template instantiations
8272 to enable compiling with -fno-implicit-templates. Add destructor
8273 and 'value' method to T5 class for template tests.
8274 * gdb.c++/templates.exp: Add testcases for printing of template
8275 types, setting breakpoints on template methods and calling a
beb998c6 8276 template method.
c906108c
SS
8277
8278Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8279
8280 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8281 branch target since some assemblers (gas-2.5) may emit a
8282 relocation for the branch instead of resolving it in the
8283 assembler.
8284
8285Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8286
8287 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8288 through signal handler.
8289
8290Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8291
8292 * configure.in (*-*-netware): Use config/mt-netware.
8293
8294 * config/mt-netware: New file.
8295 * config/mt-i386-netware: Removed, separate configs for different
8296 netware architectures are no longer needed now that we have
8297 --with-headers.
8298
8299Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8300
8301 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8302 by the recent changes to use ANSI C arithmetic conversions.
8303
8304Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8305
8306 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8307 bug involving using inferior_pid to figure out whether to select a
8308 frame.
8309
8310Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8311
8312 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8313 match the current disassembler output.
8314
8315Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8316
8317 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8318 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8319 types, expect "int" as type of integer values (for now).
8320
8321Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8322
8323 * gdb.base/commands.exp: New tests for if/while commands.
8324
8325Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8326
8327 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8328 by .*, since hex values have different syntax in Chill mode.
8329
8330Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8331
8332 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8333 linefeed from expect pattern for repeated types with indices > 9.
8334
8335Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8336
8337 First part of Fortran test suite.
8338 * gdb.fortran: New directory.
8339 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8340
8341Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8342
8343 * gdb.base/default.exp: Update expect pattern for load command
8344 without arguments.
8345
8346Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8347
8348 * configure.in: Change i386 to i[345]86.
8349 * gdb.base/configure.in: Likewise.
8350 * gdb.c++/configure.in: Likewise.
8351 * gdb.chill/configure.in: Likewise.
8352
8353Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8354
8355 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8356 patterns, since that is not a valid context for comments.
8357
8358Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8359
8360 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8361 repeated types and repeated types with indices > 9.
8362
8363Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8364
8365 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8366 2417; old bug has been fixed.
8367
8368Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8369
8370 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8371 send the newline ourselves instead of assuming gdb_test will do
8372 so when passed an empty input string.
8373
8374 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8375 stabs testcode.
8376
8377Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8378
8379 * lib/gdb.exp (gdb_test): Don't send anything if the first
8380 argument is an empty string. This makes cases where we want to
8381 match output that is already in expect's buffers (for example,
8382 matching a breakpoint after gdb_run_cmd has been called) work
8383 reliably.
8384
8385Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8386
8387 * config/netware.exp: New file.
8388
8389Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8390
8391 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8392 the -B and -L prefixes so we can find the debugging stub.
8393
8394 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8395 there and we are using the gcc from the tree.
8396
8397 * gdb.base/types.c: Removed.
8398
8399 * gdb.base/configure.in: Look for makefile fragments in ../config.
8400 Recognize i386-*-netware.
8401 * gdb.c++/configure.in: Likewise.
8402
8403Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8404
8405 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8406 the correct TCL syntax.
8407
8408Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8409
8410 * gdb.base/opaque.exp: use runto instead of messing around with
8411 breakpoints. Simplify by using gdb_test.
8412
8413 * gdb.base/bitfields.exp: restart between tests on netware targets
8414 because breakpoints aren't relocated after target death. Run
8415 processes to completion.
8416
8417 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8418
8419Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8420
8421 * Makefile.in: Remove extra tabs that confuse some versions
8422 of "make". Use the newly built gdb to test with by default,
8423 rather than the first one in the tester's search path.
8424
8425Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8426
8427 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8428
8429 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8430 condition help.
8431
8432Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8433
8434 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8435
8436 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8437 running.
8438 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8439 * gdb.base/funcargs.exp: Likewise.
8440
8441 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8442 * gdb.base/funcargs.exp: Likewise.
8443
8444 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8445 message is "".
8446
8447Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8448
8449 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8450 return,signals,twice}.exp: Handle non-existant binaries
8451 consistantly.
8452
8453 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8454 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8455 might testing a cross development system.
8456
8457Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8458
8459 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8460 runtest script is relative to ${srcdir}, not ${rootdir}.
8461
8462Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8463
8464 * gdb.base/signals.exp: Allow for optionality of breakpoint
8465 address.
8466
8467Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8468
8469 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8470
8471Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8472
8473 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8474 for size_t definition.
8475 * gdb.c++/templates.cc: Likewise
8476
8477 * config/mt-i386-netware: New file.
8478
8479 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8480 defined.
8481
8482 * gdb.base/Makefile.in: Added support for systems that name core
8483 files by appending "core" to the program name.
8484 * gdb.base/a1-selftest.exp: Likewise.
8485
8486Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8487
8488 * gdb.base/return.exp: Add comment and message for `return double'
8489 test failure on Sparc Solaris.
8490
8491Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8492
8493 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8494
8495Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8496
8497 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8498 from optimizing them away.
8499 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8500 patterns to include default constructors and assignment operators,
8501 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8502 character in the output of the virtual base pointer.
8503
8504Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8505
8506 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8507 expression match in print_addr_of to avoid unintented matches.
8508 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8509 versions up to 2.5.8.
8510
8511Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8512
8513 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8514 included file to run under newer versions of expect.
8515 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8516 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8517 Remove xfail for the virtual table of BDDHookV.
8518
8519Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8520
8521 * lib/gdb.exp (string_to_regexp): Set a default result.
8522 (default_gdb_start): Fix misleading message.
8523
8524Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8525
8526 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8527 Remove all CC, etc definitions.
8528 * config/mt-hpux: New file.
8529 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8530 (CFLAGS, LDFLAGS): Define.
8531 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8532
8533 * Makefile.in (site.exp): Don't insert host_os, etc.
8534 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8535 (distclean): Check existence of subdir.
8536 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8537 * gdb.base/Makefile.in: General cleanup and simplification.
8538 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8539 to build executables. Use default rule to build .o files.
8540 (EXPECT, RUNTEST, CC): Fix relative pathname.
8541 (site.exp): Don't insert host_os, etc.
8542 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8543 and/or SIGUSR1 defined.
8544 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8545 * gdb.c++/Makefile.in: General cleanup and simplification.
8546 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8547 (CFLAGS): Remove.
8548 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8549
8550Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8551
8552 * gdb.base/recurse.exp: Misc changes to get tests running again
8553 after Kung's changes to the watchpoint code.
8554 * gdb.base/watchpoint.exp: Likewise.
8555
8556Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8557
8558 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8559
8560Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8561
8562 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8563 * lib/gdb.exp (default_gdb_start): Define.
8564 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8565 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8566 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8567 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8568 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8569 Don't call gdb_target_udi in between tests.
8570
8571Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8572
8573 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8574 (which was basically just a local version of the same thing). In
8575 addition to avoiding duplication, gdb_test_exact is faster.
8576 * lib/gdb.exp (gdb_test_exact): Fix typo.
8577
8578 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8579 don't give an error.
8580
8581 * gdb.base/term.exp: Call delete_breakpoints before starting.
8582
8583 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8584 (t10): Add comment.
8585
8586Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8587
8588 Reorganization of the GDB Test Suite.
8589
8590 * gdb.base: New directory, contains all the basic tests.
8591 * gdb.c++: New directory, tests specific to C++.
8592 * gdb.chill: New directory, tests specific to Chill.
8593 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8594 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8595 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8596 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8597 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8598 t30-31 to chill).
8599 * */gdbme.*: Rename to match appropriate expect scripts.
8600 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8601 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8602 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8603 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8604 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8605 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8606 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8607 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8608 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8609 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8610 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8611 gdb.c++/virtfunc.cc: New names of C++ files.
8612 * gdb.chill/chillvars.ch: New name of Chill file.
8613 * gdb.base/configure.in, gdb.c++/configure.in,
8614 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8615 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8616 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8617 * configure.in (configdirs): Update to reflect directory changes.
8618 (target_abbrev): No longer define for any configuration.
8619 * Makefile.in: Cosmetic improvements to header comments.
8620
8621Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8622
8623 Various changes to gdb.t31:
8624
8625 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8626 * gdbme.ch: Make all key-words and predefineds be upper-case.
8627 * chillvars.exp: Expect key-words and predefinds in upper-case.
8628
8629 * chillvars.exp: Use gdb_test_exact many places.
8630 Change expected output for arrays (which now includes index labels).
8631
8632 * pr-5020.exp, gdme.ch (module PR_5020):
8633 New test, for PR-5020.
8634
8635Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8636
8637 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8638 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8639
8640Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8641
8642 * Makefile.in: Fix bit-rot in definitions of CHILL,
8643 CHILL_FOR_TARGET and Chill_LIB.
8644 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8645 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8646 CHILL, and CHILL_LIB.
8647
8648Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8649
8650 * Revert the previous changes. Please see Rob's directory
8651 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8652
8653Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8654
8655 * Makefile.in, configure.in, config/mips-gdb.exp,
8656 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8657 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8658 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8659 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8660 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8661 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8662 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8663 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8664 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8665 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8666 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8667 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8668 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8669 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8670 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8671 changes from 94Q1.
8672
8673Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8674
8675 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8676 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8677 Rob's new testing fragments.
8678
8679Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8680
8681 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8682 lib/gdb.exp: Replace error proc calls with perror.
8683
8684Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8685
8686 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8687 version also, match on casted version strings, and match on
8688 gdb startup case where the line numbers might be messed up.
8689
8690Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8691
8692 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8693 (CFLAGS): Delete it from here.
8694
8695Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8696
8697 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8698
8699Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8700
8701 * Makefile.in (RUNTEST): Default to just "runtest".
8702
8703Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8704
8705 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8706 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8707 the code has been restructured.
8708
8709Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8710
8711 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8712 \n, not just one of each.
8713
8714 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8715 /bin/cc gives a warning if you do.
8716
8717Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8718
beb998c6 8719 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8720 __t10ListS_link1ZUiRCUiPT0
8721
8722Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8723
8724 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8725 on local variables in recursive functions.
8726
8727 * gdb.t07/Makefile.in: Build the new test.
8728
8729Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8730
8731 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8732 directly. Instead compare the return values from actual calls.
8733
8734Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8735
8736 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8737
8738Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8739
8740 * From Peter Schauer with minor modifications.
8741 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8742 stops in mid-line in the caller. Add xfail for returning a float
8743 value on X86 targets.
8744
8745Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8746
8747 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8748 to avoid expect lossage.
8749 (fmem_LRbug_tests): Likewise.
8750 * gdb.disasm/hppa.s: Corresponding changes.
8751
8752 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8753 conditions to work with latest dejagnu/expect.
8754
8755 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8756 expected to fail on the PA.
8757 (backtrace in call with trampolines): Explicitly require main
8758 to be frame #1 (no trampolines should show up in backtrace).
8759
8760 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8761 "continue -expect".
8762 * gdb.t06/break.exp: Likewise.
8763 * gdb.t07/watchpoint.exp: Likewise.
8764 * gdb.t13/bitfields.exp: Likewise.
8765 * gdb.t15/{funcargs,return}.exp: Likewise.
8766 * gdb.stabs/weird.exp: Likewise.
8767 * config/{mips,udi}-gdb.exp: Likewise.
8768
8769 * hppa.sed: Enclose comments within a sed command to avoid
8770 losing with the old OSF1 sed.
8771
8772Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8773
8774 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8775 sequent dynix.
8776 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8777 * gdb.t15/funcargs.exp: Conditionally step again to really
8778 finish from marker_call_with_trampolines. Handle the case where
8779 the first step from within call_with_trampolines already steps
8780 us back to main.
8781 * gdb.t15/gdbme.c: Add comment to closing brace of
8782 call_with_trampolines for funcargs.exp.
8783
8784Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8785
beb998c6 8786 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8787 Fix typo(s).
8788
8789Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8790
8791 * gdb.t07/gdbme.c: More code for watchpoint testing.
8792
8793 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8794 "Hardware watchpoint" throughout file.
8795 (test_watchpoint_triggered_in_syscall): New test.
8796 (test_complex_watchpoint): New test.
8797
8798Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8799
8800 * gdbme.c (call_with_trampolines): New function to try and step
8801 into. Tests trampoline problems on the PA.
8802
8803 * funcargs.exp (localvars_in_indirect_call): No longer expect
8804 stepping into indirect call to fail on PAs.
8805 (test_stepping_over_trampolines): New test.
8806
8807Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8808
8809 * TODO: Add suggestions for static member function tests, and
8810 completion tests.
8811
8812Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8813
8814 * TODO: Add suggestions for "p/a" tests.
8815
8816 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8817 (default_gdb_exit): Replace all the hair with sending "quit" to
8818 the process with a simple close.
8819
8820Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8821
8822 * TODO: Add suggestions for shared library tests.
8823
8824Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8825
8826 * TODO: Add suggestions for x/s tests.
8827
8828Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8829
8830 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8831 "enable once", and "enable breakpoints once" with ".*".
8832
8833Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8834
8835 * TODO: Add suggestions about structure passing tests.
8836
8837Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8838
8839 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8840 the primary1 test, use work around if __GNUC__ < 2.
8841 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8842 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8843 Test for bad output rather than waiting for timeout. Issue
8844 second continue only if first continue failed.
8845
8846Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8847
8848 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8849 operator[] test with gdb_test because the old code didn't seem to
8850 be getting the quoting right with the new dejagnu.
8851
8852Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8853
8854 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8855 one from the path.
8856 * Makefile.in: Use a fresh expect if there is one, use runtest
8857 from the src tree if there is one.
beb998c6 8858
c906108c
SS
8859Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8860
8861 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8862 next over recursive call. Revise the tests from that point on
8863 (which had been skipped) to match GDB's actual (correct) output.
8864
8865 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8866 with next over a breakpoint whose condition is false.
8867
8868 * gdb.t00/help.exp: Comment out "help set print" tests just like
8869 (and for same reason as) "help set" test.
8870
8871Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8872
8873 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8874 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8875
8876Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8877
8878 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8879 necessary gdb_target_udi.
8880
8881 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8882
8883 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8884 1838 and 2417; they are fixed.
8885
8886 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8887 gdb.t03/ptype.exp (ptype structure, ptype union):
8888 Remove xfails; the test is looser than when the xfails were added.
8889
8890 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8891 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8892
8893 * gdb.t01/run.exp: Only run shell test if isnative.
8894
8895 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8896 since "run" automatically loads if necessary. Call gdb_target_udi
8897 after the "file" since "file" kills any execution target.
8898
8899 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8900 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8901 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8902 argument for UDI.
8903
8904Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8905
8906 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8907
8908 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8909
8910Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8911
8912 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8913 properly quoting regexps. This makes the second argument to
8914 demangle a fixed string, which matches the callers, instead of a
8915 shell-style pattern which is what the previous implementation
8916 used. Update some of the callers.
8917
8918Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8919
8920 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8921 (comib_nullified_tests): Fix typo.
8922 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8923 strings. No longer expected to fail.
8924
8925 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8926 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8927 strings. No longer expected to fail.
8928
8929 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8930 string. No longer expected to fail.
8931
8932Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8933
8934 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8935 No longer expected to fail.
8936
8937 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8938 string. No longer expected to fail.
8939
8940Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8941
8942 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8943 only in the names (I probably got most of them). I was even
8944 generous with some which differed in underscores in names, and
8945 probably missed a few, and I *still* was able to remove almost a
8946 third of the file with almost no impact on testsuite coverage.
8947
8948Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8949
8950 * gdb.t00/default.exp: Match udi_attach error message as well as
8951 the one from child_attach.
8952
8953 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8954
8955 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8956
8957 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8958 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8959
8960 * Move test with enums and partial symbols back to
8961 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8962 Reverts the change of 26 May 93. Per today's change to
8963 stabs.texinfo, the behavior that weird.exp was expecting was
8964 unreasonable; what is important is that the compiler+gdb get
8965 things right, which happens with a recent gcc. Also fix the test
8966 to deal with native compilers which put out the stab gdb can't
8967 deal with.
8968
8969Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8970
8971 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8972 in the names. The main thing these accomplish is to slow things down.
8973 Many more such duplicates surely remain.
8974
8975 * gdb.t00/help.exp: Comment out "help support" test just like
8976 (and for same reason as) "help set" test.
8977
8978Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8979
8980 * gdb.t06/break.exp: Remove setup_xfails for
8981 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8982 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8983 about known bug in gcc to include up through 2.5.8.
8984 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8985 well as "_vb$".
8986 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8987 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8988 with latest gcc and gdb.
8989 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8990 well as "_vb$".
8991
8992Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8993
8994 * configure.in (hppa*-*-*): Also configure and build stabs-only
8995 tests.
8996
8997Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8998
8999 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9000 * gdb.t10/configure.in (hppa*-*-*): Use it.
9001
9002Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9003
9004 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9005
9006Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9007
9008 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9009 versions prior to 1.13.5.
9010
9011Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9012
9013 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9014 the prompt is at the start of a line.
9015
9016Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9017
9018 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9019 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9020 in the copr tests now.
9021 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9022 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9023 expected to fail.
9024
9025Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9026
9027 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9028 gdb.t31/chillvars.exp, lib/gdb.exp:
9029 Tweak to run under either version of expect.
9030 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9031 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9032 * gdb.t11/list.exp: Remove extraneous whitespace.
9033
9034Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9035
9036 * gdb.t16/printcmds.exp (test_print_strings): Accept
9037 "(unsigned char *) " before the string.
9038
9039 * TODO: Add notes about printing of fancy types and GDB expressions.
9040
9041Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9042
9043 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9044 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9045 if doing mips-idt-ecoff.
c906108c
SS
9046
9047Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9048
9049 * Most .exp files: Tweak to run under either version of expect.
9050
9051Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9052
9053 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9054 xfails; I'm not sure why they are failing, but not because of PR 1806.
9055
9056Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9057
9058 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9059 defined in lib/gdb.exp.
9060
9061Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9062
9063 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9064 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9065 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9066 have to be typeless.
9067
9068Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9069
9070 * TODO: Add suggestion for copyright year test.
9071
9072Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9073
9074 * configure.in (*-*-lynxos*): Add stabs tests.
9075
9076Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9077
9078 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9079 so insert a tab before any assembler directive in column zero.
9080
9081 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9082 stores.
9083 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9084 stores.
9085 (fpu_short_memory_tests): Likewise.
9086
9087Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9088
9089 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9090 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9091 .stabs directives in comments.
9092
9093Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9094
9095 * TODO: New file, describing tests we could write.
9096 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9097
9098Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9099
9100 * gdb.t06/signals.exp: Add kludge to force re-sync.
9101
9102 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9103 to xgdb instead of gdb, get out of gdb.
9104
9105Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9106
9107 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9108 for info.
9109
9110Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9111
9112 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9113 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9114 * gdb.stabs/hppa.sed: New sed script for the PA.
9115
9116Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9117
9118 * gdb.stabs: Re-write weird.def and configuration to use sed
9119 instead of cpp. sed is portable and POSIX; cpp is neither.
9120
9121Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9122
9123 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9124
9125Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9126
9127 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9128
9129Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9130
9131 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9132 "_vb$".
9133 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9134 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9135
9136Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9137
9138 * lib/gdb.exp: Comment out code which depends on non-existent
9139 `transform' procedure.
9140
9141Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9142
9143 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9144 * lib/gdb.exp: Transform tool name.
9145 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9146 1.1's new error handling system.
9147
9148Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9149
9150 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9151
9152Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9153
9154 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9155 They made pattern matching so slow that timeouts happened on
9156 heavily loaded systems. Now any output from "show print" which
9157 gets us back to the GDB prompt is a PASS.
9158
9159Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9160
9161 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9162
9163Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9164
9165 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9166
9167 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9168 It is not from PR 3220.
9169
9170Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9171
9172 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9173 just started failing because they depended on the order the
9174 subcommands are presented, or exact docstring text. This kind of
9175 test is a pain and has minimal benefit.
9176
9177Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9178
9179 * gdb.t09/corefile.exp: At end of test, use "core" command with
9180 no arguments.
9181
9182Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9183
9184 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9185 17}/Makefile.in: Make it possible to run the testsuite with Sun
9186 make and CC = cross gcc by adding explicit build rules for .o
9187 files.
9188
9189Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9190
9191 * gdb.t15/funcargs.exp: Don't put comments on same line as
9192 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9193
c906108c
SS
9194Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9195
9196 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9197
9198Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9199
9200 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9201 * gdb.t20/inherit.exp: remove three dumplicate entries.
9202
9203Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9204
9205 * gdb.t06/break.exp: For "next over recursive call", fail on any
9206 incorrect output, not just on "factorial (value=2)".
9207
9208Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9209
9210 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9211 working now. Add an xfail if accesing a bss variable causes
9212 a memory error if the target is not yet run.
9213
9214Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9215
9216 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9217 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9218 name of __st* demangling (2 strings). Did Kung really get the
9219 more than 95 others right without testing them?
9220
9221Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9222
9223 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9224
9225Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9226
9227 * configure.in (configdirs): Add gdb.disasm
9228 * gdb.disasm: New directory for GDB disassembler tests.
9229 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9230
9231Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9232
9233 * gdb.t00/help.exp: Don't test "help set".
9234
9235 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9236 from within expect statements. None of these happen anymore and
9237 they cause regressions to be silently unnoticed.
9238
9239 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9240 messages) about known failures with gcc cygnus-2.4.5-930417.
9241
9242 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9243 comp-info.exp so it gets built if it doesn't exist.
9244
9245 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9246 it is no longer used.
9247 * gdb.t13/comp-info.c: Removed.
9248
9249Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9250
9251 * gdb.t06/signals.exp: Add xfail for sun3.
9252
9253Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9254
9255 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9256 relevant because ^C doesn't get sent but failure can be reproduced
9257 interactively).
9258
9259Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9260
9261 * gdb.stabs/alpha.mt: New configuration file for alpha.
9262 * gdb.stabs/configure.in: Use it.
9263 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9264 sharing with alpha.mt, redefine long to word via preprocessor.
9265 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9266 for alpha.
9267 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9268 native cc.
9269 * gdb.t00/teststrategy.exp: Change expect string so that we
9270 consume the `(xgdb)' from the command echo and from the gdb prompt.
9271 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9272 gdb currently compares all values as long, so this failure probably
9273 applies to any configuration where LONGEST is bigger than a target int.
9274 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9275 with gcc.
9276 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9277 to handle opaque pointers, gcc is.
9278 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9279 as first argument. Include <sys/types.h> and change all operator
9280 new definitions to use size_t.
9281 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9282 now that we use size_t.
9283
9284Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9285
9286 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9287 a long or float array cast all array members to the same type.
9288 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9289 with 64 bit longs.
9290 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9291 on alpha.
9292 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9293
9294Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9295
9296 * gdb.t24 (demangle.exp): Constructors of templates have names like
9297 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9298 section 14.6 of the ARM.
9299
9300 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9301 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9302 accomplish little and slow down the testsuite.
9303
9304 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9305 Accept spaces various places.
9306
9307Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9308
9309 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9310 with watchpoint enabled.
9311
9312 * Makefile.in: Remove definition of CC and remove the second
9313 definition of CXX (the "CXX = gcc" one remains). These definitions
9314 were causing backquotes to be expanded within backquotes, which
9315 doesn't work.
9316
9317Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9318
9319 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9320
9321Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9322
9323 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9324 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9325 by mips cc and contains no stabs entries.
9326
9327Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9328
9329 * config/vx-gdb.exp: Use fake device to load files rather than
9330 NFS.
9331 * lib/gdb.exp: New proc to do "file" command.
9332 * config/unix-gdb.exp: Use new "file" proc.
9333
9334Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9335
9336 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9337 Rework board rebooting slightly.
9338 (gdb_exit): Don't exit from the remote shell; there isn't one.
9339 * gdb.stabs/weird.exp: If a program is being debugged already,
9340 kill it.
9341 * gdb.t04/setvar.exp: Stop and restart gdb.
9342 * gdb.t05/expr.exp: Likewise.
9343 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9344 restart gdb and reload the program.
9345 * gdb.t08/opaque.exp: Likewise.
9346 * gdb.t12/scope.exp: Likewise.
9347 * gdb.t13/bitfields.exp: Likewise.
9348 * gdb.t15/funcargs.exp: Likewise.
9349 * gdb.t20/classes.exp: Likewise.
9350 * gdb.t03/ptype.exp: Increase timeout.
9351 * gdb.t16/printcmds.exp (test_print_string_constants,
9352 test_print_array_constants): Likewise.
9353 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9354 * gdb.t20/classes.exp (do_tests): Likewise.
9355 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9356
9357Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9358
9359 * gdb.stabs: Renamed *wierd* to *weird*.
9360
9361Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9362
9363 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9364 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9365
9366Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9367
9368 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9369 (do_tests): Remove xfail for whatis on one_var and two_var.
9370
9371Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9372
9373 * Makefile.in: Made cross building work better by adding
9374 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9375
9376Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9377
9378 * gdb.t15/{return.c,return.exp,Makefile.in}:
9379 New test, currently commented out.
9380
9381Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9382
9383 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9384 still running and removes the leftover named socket so GDb can do
9385 clean restarts.
9386
9387Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9388
9389 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9390 console, not GDB.
9391 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9392 cross testing works better with "make check"
9393 * config/unix-gdb: Use default procedures for exit and version.
9394 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9395 with the newest VxWorks.
9396
9397Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9398
9399 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9400 old form.
9401
9402 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9403 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9404
9405 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9406
9407 * config/unix-gdb.exp: Remove this version of gdb_exit
9408 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9409 Rob says he'll look at it when he gets back to testing boards.
9410
9411Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9412
9413 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9414 an expected fail for certain ptype commands.
9415
9416 * gdb.t20/classes.exp: Update expected results of "ptype class
9417 Base1" to account for the constructor that now appears in the type.
9418
9419Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9420
9421 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9422 disappeared from list.
9423 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9424 "alldone" proc with call to cleanup and exit.
9425 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9426 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9427 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9428 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9429 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9430 "alldone" proc with simple returns that suppress remaining
9431 tests. The alldone proc went away many months ago.
9432
9433Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9434
9435 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9436
9437 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9438
9439Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9440
9441 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9442 as vax gdb will display them.
9443
9444Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9445
9446 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9447 optimizers.
9448
9449 * scope.exp: Change "bad value for localval" messages so each one
9450 is unique.
9451
9452 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9453 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9454
9455 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9456
9457Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9458
9459 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9460 doesn't exist (due to optimization).
9461
9462Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9463
9464 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9465 contains \r because the filename is long.
9466
9467 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9468 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9469
9470Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9471
9472 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9473 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9474 Ultrix.
9475 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9476 int tests.
9477 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9478
9479Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9480
9481 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9482
9483 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9484 to match does not match the passing case but still matches the
c906108c
SS
9485 failing case.
9486
9487Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9488
9489 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9490
9491Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9492
9493 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9494 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9495 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9496 Remove various versions of gdb_exit.
9497 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9498 gdb_exit.
9499 * config/unix-gdb.exp: gdb_exit remains here, and should override
9500 the generic version, since it's doing a lot of wierd stuff that
9501 the other versions aren't. FIXME, fold it in, or abandon this
9502 version.
9503
9504Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9505
9506 * gdb.t24/demangle.exp: Add tests for PR 3220.
9507
9508Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9509
9510 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9511
9512Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9513
9514 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9515 "i386-*-*". Works for i486 as well.
9516
9517 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9518 bug, and expand domain of xfail to all SVR4 systems, since the
9519 actual problem is likely to be in generic SVR4 /proc support.
9520
9521Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9522
9523 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9524
9525Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9526
9527 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9528 xfails for other systems. Match a missing 'Continuing.' as an
9529 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9530
9531 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9532 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9533 Only issue warning for missing executables if -all option is used.
9534
9535 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9536 file if -all option is used. It's like an unpredictable XFAIL.
9537
9538Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9539
9540 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9541 for dynamically linked binaries.
9542
9543 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9544
9545Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9546
9547 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9548 to state that this is a known bug in old versions of g++.
9549
9550Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9551
9552 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9553 while waiting for `Continuing'.
9554
9555Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9556
9557 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9558 in text, data, and bss.
9559 * gdb.t10/nodebug.c: Add local and global test variables for
9560 initialized and uninitialized data.
9561
9562Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9563
9564 * config/unix-gdb.exp (gdb_exit): Add "wait".
9565
9566Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9567
9568 * gdb.t06/signals.exp: xfail the continue from the handler for all
9569 targets.
9570
9571 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9572 function with watchpoints enabled, the i386 call dummy starts with
9573 a call.
9574
9575 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9576 386 bsd names its corefiles.
9577
9578Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9579
9580 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9581 compilers don't grok it.
9582 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9583 with small octal ints rather than character constants, which
9584 are signed and might not fit if first promoted to int.
9585
9586Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9587
9588 * gdb.t09/Makefile.in (clean): Remove corefile.
9589
9590Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9591
9592 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9593
9594Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9595 and Jim Kingdon (kingdon@cygnus.com)
9596
9597 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9598 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9599 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9600
9601Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9602
9603 * gdb.t17/interrupt.exp: Add xfail for hppa.
9604
9605Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9606
9607 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9608 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9609 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9610 to determine signed-ness of bitfields and use the result to setup
9611 the xfail.
9612 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9613 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9614 call line is reached if necessary.
9615
9616Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9617
9618 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9619
9620Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9621
9622 * gdb.t06/break.exp: Also test `clear' command.
9623
9624Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9625
9626 * gdb.t00/teststrategy.exp: Remove extra quote.
9627
9628 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9629 watchpoint enabled to be for all non-68k machines.
9630
9631 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9632
9633Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9634
9635 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9636 targets use aout.mt instead of ecoff.mt as gas understands
9637 standard aout format.
9638
9639Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9640
9641 * lib/gdb.exp (runto): Don't insist that function we are running to
9642 was compiled with -g.
9643
9644 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9645
9646 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9647 to get back into the read system call.
9648 Accept leading newline in case where we woke it up.
9649
9650Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9651
9652 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9653 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9654 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9655 enable ecoff configuration.
9656
9657Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9658
9659 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9660
9661Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9662
9663 * gdb.t16/printcmds.exp: Add another printf test.
9664
9665Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9666
9667 * configure.in: If configured -with-stabs on any target, add
9668 stabsdirs to configdirs.
9669
9670Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9671
9672 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9673 fun" so pattern does not match the command itself.
9674
9675Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9676
9677 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9678
9679Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9680
9681 * gdb.t17/interrupt.exp: Test for more things.
9682
9683Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9684
9685 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9686 compiler arranges the code and line numbers.
9687
9688 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9689
9690Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9691
9692 * gdb.t00/help.exp: Increase expect input buffer size.
9693
9694Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9695
9696 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9697
9698 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9699
9700 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9701
9702 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9703 [0-9]*, not just [0-9].
9704
9705Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9706
9707 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9708
9709 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9710
9711Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9712
9713 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9714
9715Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9716
9717 * gdb.t06/signals.c: Add xfails for sun3.
9718
9719 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9720
9721 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9722 test_stepping tests.
9723
9724Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9725
9726 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9727
9728 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9729
9730 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9731 rather than actually putting it through cpp twice.
9732
9733 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9734
9735Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9736
9737 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9738 no longer needed.
9739
9740Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9741
9742 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9743
9744 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9745 C++ features prints as "struct", make it a pass, not an xfail.
9746
9747Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9748
9749 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9750 Don't require VA to print as "class" rather than "struct".
9751
9752Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9753
9754 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9755
9756Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9757
9758 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9759
9760Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9761
9762 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9763 order.
9764
9765Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9766
9767 * gdb.t16/printcmds.exp: Add printf tests.
9768
9769 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9770
9771 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9772
9773Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9774
9775 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9776 pass counts, to counteract any existing or future setup_xfails.
9777
9778Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9779
9780 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9781 {BEGIN,END}_COMMON for common block instead of STAB.
9782 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9783
9784 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9785 intp_var should be N_GSYM not N_LSYM.
9786 wierd-aout.S: Use a label for the value of the N_SO.
9787 wierd.def: Remove all backslashes.
9788 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9789
9790Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9791
9792 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9793 get the expected next to inheritance3.
9794
9795Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9796
9797 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9798 now that gcc-2.4 gets it right.
9799
9800Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9801
9802 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9803
9804 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9805 generating comp-info.exp which works for cross-compilation.
9806
9807Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9808
9809 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9810 "*-*-sysv4.*".
9811
9812Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9813
9814 * gdb.t01/run.exp: Start with a fresh gdb.
9815 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9816 SVR4.x.
9817
9818Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9819
9820 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9821 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9822 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9823 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9824 things to remove.
9825
9826Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9827
9828 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9829 test cases from bug reports.
9830
9831Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9832
9833 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9834 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9835 avoid spurious xfails.
9836 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9837 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9838 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9839
9840Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9841
9842 * gdb.t00/teststrategy.exp: Rework to provide more useful
9843 description of each test, fix problem with systems that define
9844 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9845 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9846 results for "next over recursive call" so timeouts aren't taken
9847 by error.
9848
9849Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9850
9851 * gdb.t12/scope.exp: Test printing of variables before run.
9852
9853 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9854 printed in wrong order due to sorting.
9855
9856Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9857
9858 * gdb.t00/teststrategy.exp: Fix expected results for printing
9859 user entered string constant. Is array of char, prints with no
9860 address.
9861
9862 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9863 commands.
9864 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9865 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9866 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9867 of struct of char arrays.
9868 * gdb.t00/radix.exp: New tests for radix commands.
9869
9870Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9871
9872 * gdb.t16/printcmd.exp: Print a variable before running program
9873 (with xfail for AIX).
9874
9875Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9876
9877 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9878
9879 * gdb.t16/printcmd.exp: Don't print variables before running program.
9880
9881 * gdb.t06/break.exp: Don't require envp argument to main.
9882
9883 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9884
9885 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9886 Add xfails for rs6000.
9887
9888 * gdb.t02/whatis.exp: Change other tests not to re-test something
9889 we already tested.
9890
9891 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9892 each type used has a variable of that type.
9893
9894Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9895
9896 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9897
9898Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9899
9900 * configure.in: change srctrigger to be a file, not a directory
9901
9902Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9903
9904 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9905
9906 * gdb.t11/list.exp: Fixed a couple of typos.
9907
9908Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9909
9910 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9911 is fixed and PR is closed.
9912 * gdb.t16 (gdbme.c): Add simple test string variable.
9913 * gdb.t16 (printcmds.exp): Add tests with simple test string
9914 variable, primarily for boundaries on "set print elements".
9915
9916Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9917
9918 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9919 Make leading 0's optional and don't expect a tab in the middle
9920 of the number.
9921
9922 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9923
9924 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9925 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9926 don't end command passed to gdb_test with newline.
9927
9928 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9929 signed keyword away, don't expect signed bitfields to be signed.
9930
9931 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9932 printing with only as many 1's as are in the field as well as printing
9933 with 32 1's (see comment).
9934
9935Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9936
9937 * gdb.t00/default.exp: Start with a fresh gdb.
9938 * configure.in (configdirs): Remove gdb.t31 until the chill
9939 compiler works again. It no longer is able to find chillrt0
9940 since it isn't in libchill.a anymore.
9941 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9942 wierd.o, make more modular.
9943 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9944 spurious newlines that caused problems.
9945
9946Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9947
9948 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9949 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9950 gdb.stabs/wierd.{exp,def}: Many new tests.
9951
9952 * gdb.t00/default.exp: update info line for new message.
9953
9954 * gdb.t02/{whatis.exp,gdbme.c}:
9955 Test that "char *" doesn't print as "caddr_t".
9956
9957Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9958
9959 * gdb.t00/help.exp: Use .* in place of some help messages which
9960 just changed.
9961 gdb.t00/default.exp: Update "info frame" test for new message.
9962 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9963 Remove some xfails
9964
9965Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9966
9967 * gdb.t03/{gdbme.c,ptype.exp}:
9968 Add tests for typedef'd struct and union without tags.
9969 Also check "whatis" on a variable of a typedef'd enum without a tag.
9970
9971 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9972 PRMS 1823; the bug still exists but isn't reproduced by this test
9973 anymore), and remove rs6000 XFAIL (the bug is fixed).
9974
9975 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9976 duplicated from whatis.exp. For those that are left, accept
9977 "long", "long int", or "int" for long variables (whatis.exp already
9978 has an XFAIL for "int", so no need to fail it here).
9979
9980 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9981 Deal with GCC's names for types now that GDB uses the compiler's names.
9982
9983 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9984 setup_xfail's for sunos4. If we #defined the signed keyword away,
9985 don't expect GDB to know that char it is signed.
9986
9987 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9988
9989Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9990
9991 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9992 should work on any system, regardless of debugging format.
9993 * gdb.t21/demangle.exp: Move to gdb.t24.
9994 * gdb.t24/demangle.exp: Move from gdb.t21.
9995 * gdb.t24/{Makefile.in, configure.in}: New files.
9996
9997Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9998
9999 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10000 * gdb.stabs: New directory.
10001
10002Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10003
10004 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10005 not just "Quit anyway?".
10006
10007Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10008
10009 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10010 that all setup_xfails are immediately followed by clear_xfails.
10011
10012Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10013
10014 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10015 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10016 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10017 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10018 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10019 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10020 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10021 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10022 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10023 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10024 gdb.t31/chillvars.exp, lib/gdb.exp:
10025 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10026 bug-gdb@prep.ai.mit.edu.
10027
10028Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10029
10030 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10031 with 0.0, not integer 0.
10032
10033Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10034
10035 * gdb.t06/break.exp: Update for "Kill the program" message change.
10036
10037Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10038
10039 * Makefile.in (GDBFLAGS): Set to -nx.
10040 * Makefile.in (site.exp): Use GDBFLAGS.
10041
10042Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10043
10044 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10045 Makefiles.
10046 (check): depend on just-check.
10047 (just-check): added so that tests can be run without a noop
10048 build pass.
10049
10050Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10051
10052 Switch to using configure's configdirs.
10053 * Makefile.in (Makefile): add configure.in dependency.
10054 (SUBDIRS): removed redundant assignment.
10055 * configure.in: switch subdirs assignment to configdirs.
10056 * gdb.t*/configure.in: new files.
10057
10058Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10059
10060 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10061 works.
10062
10063Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10064
10065 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10066 in explicit rules. Apparently this is not supported by some makes.
10067
10068Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10069
10070 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10071
10072Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10073
10074 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10075 disappeared.
10076
10077Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10078
10079 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10080
10081Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10082
10083 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10084 watchpoint problem that is now fixed.
10085 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10086 uninitialized convenience variables.
10087 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10088 structures.
10089
10090Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10091
10092 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10093 which causes expect to get out of sync with gdb on long output
10094 from help set.
10095 * gdb.t09/corefile.exp: Make expected pattern for core file
10096 failing signal and frame output format less sun specific.
10097
10098Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10099
10100 * gdb.t31/chillvars.exp: Add and remove initial dummy
10101 breakpoint, so that symbol table is forced in.
10102 (Needed at least on Sunos4, though it seems not SVR4.)
10103 * gdb.t31/chillvars.exp: Update for changed output format.
10104
10105Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10106
10107 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10108
10109Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10110
10111 * Makefile.in: Added --srcdir when invoking runtest, removed the
10112 need for a local config file. (optional now)
10113
10114Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10115
10116 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10117 failure count used to force early termination. Add some more
10118 expected failures for gnu style demangling.
10119
10120Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10121
10122 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10123 pmi variable from gdb.t20/gdbme to get optimized away.
10124 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10125 Check for written corefile upon timeout _and_ eof.
10126
10127Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10128
10129 * config/unix-gdb.exp: Add missing return 0.
10130
10131Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10132
10133 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10134 test termination.
10135
10136Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10137
10138 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10139 disappeared.
10140
10141Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10142
10143 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10144 time as i860 support works.
10145
beb998c6 10146 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10147 "backtrace 100\r" rather than just "backtrace\r", to match last
10148 change.
10149
10150Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10151
10152 * config/udi-gdb.exp (gdb_exit): Remove close command.
10153 (gdb_target_udi): New procedure to set the UDI target.
10154 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10155 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10156 Added waits for prompts after several question responses. Added
10157 some more responses used by a29k-amd-udi-gdb.
10158 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10159 pass different arguments, restart UDI connection after program
10160 completion.
10161 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10162 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10163 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10164 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10165 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10166 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10167 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10168 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10169 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10170 after program completion.
10171 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10172 compiled with a SELECT_VECS setting.
10173 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10174 infinite recursion.
10175
10176 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10177 Added checks for COFF results, and made them expected failures for
10178 all targets. It would be better to make them expected failures
10179 for COFF targets only.
10180
10181Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10182
10183 * Makefile.in: add null dvi target, don't bother to recurse
10184 through test directories for info and install-info; rename
10185 $(datadir) to be dejagnu instead of deja-gnu
10186
10187Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10188
10189 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10190 compiler to coredump.
10191 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10192 code.
10193
10194Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10195
10196 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10197 coredump.
10198 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10199 code.
10200
10201Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10202
10203 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10204 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10205 which in a shell. Deletes xgdb when done.
10206 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10207 Tests the return from the "set height" or "set width" commands.
10208 Added a few return codes where needed.
10209
10210Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10211
10212 * Makefile.in (SUBDIRS): Add gdb.t17.
10213 * configure.in (subdirs): Add gdb.t17.
10214 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10215 files to test gdb's calling of functions in the inferior with
10216 the correct arguments and gdb's ability to retrieve any
10217 result returned.
10218
10219Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10220
10221 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10222 may be called after gdb goes away. Previous versions of expect
10223 needed these to avoid file descriptor leaks, but they cause
10224 errors with the current revision of expect.
10225 * gdb.t00/gdbvars.exp: Use -re on expected output after
10226 setting sevenbit-strings.
10227 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10228 to set sevenbit-strings consistent across tests.
10229 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10230 set sevenbit-strings consistent across tests.
10231
10232Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10233
10234 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10235 expected output to match current "expect" expectations.
10236
10237Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10238
10239 * gdb.t00/default.exp: Change expected output for default "source"
10240 command, to match new gdb behavior which requires a filename to
10241 source.
10242
10243Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10244
10245 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10246 expected fail for i486-*-* that misses the marker2 function.
10247 * gdb.t10/crossload.exp (bfddefault): Allow successful
10248 recognition of a format to pass even if no symbols are found.
10249 Explicitly catch failures where the format is not recognized
10250 or is ambiguous, and add the reason to the fail message.
10251 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10252 the cause is and invalid target and add reason to failure message.
10253 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10254 elf32-i386, elf32-sparc, and elf32-i860.
10255 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10256 Set up expected failure for 'filename'::variable scope resolution,
10257 which is now apparently broken on all targets.
10258 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10259 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10260 gdb.t23/templates.exp: Change failure for missing binfile into
10261 just a warning.
10262 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10263 references.
10264
10265Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10266
10267 * gdb.t00/default.exp: Add expected output for default "source"
10268 command, to match new gdb behavior.
10269 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10270
10271Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10272
10273 * config/*-gdb.exp: returns an error, rather than exiting on
10274 internal errors.
10275
10276Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10277
10278 * gdb.t03/gdbme.c: Add pointer to struct variable.
10279 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10280 referencing struct members.
10281
10282Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10283
10284 * configure.in (mips-idt-ecoff): New target.
10285 * config/mips-gdb.exp: New file for remote board using MIPS remote
10286 debugging protocol.
10287
10288 * Redid configuration scheme. Removed gdb.t*/configure.in.
10289 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10290 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10291 distclean targets. Built executables via .o files. Adjusted
10292 tests to account for source files in $(srcdir) rather than
10293 $(objdir).
10294 * lib/gdb.exp (runto): Don't expect () after the function name,
10295 because it may have arguments.
10296
10297Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10298
10299 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10300 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10301 expected failures for mips-idt-* and mips-sgi-*.
10302 * gdb.t00/default.exp (attach): Kill process if requested.
10303 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10304 that does not read core files.
10305 * gdb.t01/run.exp: Removed checks for exit status code.
10306 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10307 it is linked in.
10308 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10309 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10310 appropriate, rather than doing it by hand.
10311 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10312 execution.
10313 * gdb.t10/crossload.exp: Kill existing program if needed.
10314 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10315 appropriate, rather than doing it by hand. Always increase
10316 timeout for this test, not just for VxWorks.
10317
10318Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10319
10320 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10321 of Chill STRUCT types and STRUCT values.
10322 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10323 than "char".
10324 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10325 struct2): New struct definitions and initializations to test
c906108c
SS
10326 simple Chill STRUCT types.
10327
10328Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10329
10330 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10331 the null byte at the end of strings.
10332 * gdb.t00/default.exp: Make show version insensitive to copyright
10333 date.
10334 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10335 to avoid dependencies on target char signedness.
10336 * gdb.t16/printcmds.exp: Update expected results for explicitly
10337 unsigned char.
10338 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10339 now work.
10340 * gdb.t21/demangle.exp: Add many more patterns for template
10341 demangling, most of them being expected failures.
10342 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10343 string we are matching for, to match on the whole string.
10344 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10345 and fix a whole bunch that had incorrect expected output but were
10346 passing anyway because of the bug in "proc demangle".
10347 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10348 type.
10349 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10350
10351Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10352
10353 * gdb/testsuite: made modifications to testcases, etc., to allow
10354 them to work properly given the reorganization of deja-gnu and the
10355 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10356
10357Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10358
10359 * gdb/testsuite: Initial creation of gdb/testsuite.
10360 Migrated dejagnu testcases and support files for testing nm to
10361 gdb/testsuite from deja-gnu. These files were moved "as is"
10362 with no modifications. This migration is part of a major overhaul
10363 of dejagnu. The modifications to these testcases, etc., which
10364 will allow them to work with the new version of dejagnu will be
10365 made in a future update.
10366\f
10367Local Variables:
10368mode: indented-text
10369left-margin: 8
10370fill-column: 74
10371version-control: never
10372End: