]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* Makefile.in (clean): Remove rm -f $(ALL), as $(ALL) is empty.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f679e530
BE
12004-01-16 Ben Elliston <bje@wasabisystems.com>
2
3 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
4 (clean mostlyclean): Remove empty rm.
5
091c48f6
MC
62004-01-15 Michael Chastain <mec.gnu@mindspring.com>
7
8 * gdb.base/setvar.exp: Add copyright years.
9
3e5fc8d2
DC
102004-01-14 David Carlton <carlton@bactrian.org>
11
12 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13 PR c++/1511 and update coment.
14 * gdb.cp/templates.exp: Update patterns to match current output.
15 If changes involve something other than whitespace, KFAIL
16 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
17
63d06c5c
DC
182004-01-14 David Carlton <carlton@kealia.com>
19
20 * gdb.cp/namespace.exp: Add tests involving classes defined within
21 namespaces.
22 * gdb.cp/namespace.cc (C::CClass): New.
23 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
24
a51dab88
EZ
252004-01-14 Elena Zannoni <ezannoni@redhat.com>
26
27 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
28 what debug info we have. Print a better message if something goes
29 wrong while producing the separate debug info file.
30
a476ccc9
MC
312004-01-14 Michael Chastain <mec.gnu@mindspring.com>
32
33 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
34
f453692c
MC
352004-01-14 Michael Chastain <mec.gnu@mindspring.com>
36
37 * gdb.base/callfuncs.c: Add copyright notice.
38
f40063a5
MC
392004-01-13 Michael Chastain <mec.gnu@mindspring.com>
40
41 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
42 inheritance. PR gdb/1498, PR gcc/13539.
43
19ac3974
EZ
442004-01-13 Elena Zannoni <ezannoni@redhat.com>
45
46 * gdb.threads/gcore-thread.exp: Prefix name of binary with
47 test specific name.
48 * gdb.mi/gdb669.exp: Ditto.
49 * gdb.mi/mi-pthreads.exp: Ditto.
50 * gdb.mi/mi1-pthreads.exp: Ditto.
51 * gdb.mi/mi2-pthreads.exp: Ditto.
52
56c97c6e
MC
532004-01-12 Michael Chastain <mec.gnu@mindspring.com>
54
55 * gdb.cp/member-ptr.cc: Add copyright notice.
56
a0644324
MC
572004-01-12 Michael Chastain <mec.gnu@mindspring.com>
58
59 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
60 some patterns for recent versions of gcc and hpacc. Delete
61 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
62 Delete tests that access a NULL pointer-to-member-data. This
63 script is still disabled for gcc.
64
32fabe09
EZ
652004-01-12 Elena Zannoni <ezannoni@redhat.com>
66
67 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
68 escaped correctly.
69
1f8a6abb
EZ
702004-01-12 Elena Zannoni <ezannoni@redhat.com>
71
72 * gdb.base/sepdebug.exp: New file.
73 * gdb.base/sepdebug.c: New file.
74 * lib/gdb.exp (separate_debug_filename): New procedure.
75 (gdb_gnu_strip_debug): New procedure.
76
48efe704
AC
772004-01-12 Andrew Cagney <cagney@redhat.com>
78
79 * gdb.mi/ChangeLog: Delete file. Renamed to ...
80 * gdb.mi/ChangeLog-1999-2003: New file.
81
a9415475
AC
822004-01-12 Andrew Cagney <cagney@redhat.com>
83
84 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
85 "Renaming a directory to a non-empty directory returns ENOTEMPTY
86 or EEXIST", treat EBUSY as an XFAIL.
87
83b8cf9d
MC
882004-01-11 Michael Chastain <mec.gnu@mindspring.com>
89
90 * gdb.base/scope.exp: Remove obsolete setup_xfail for
91 hp_cc_compiler.
92
9939d2a8
MC
932004-01-10 Michael Chastain <mec.gnu@mindspring.com>
94
95 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
96 decorations.
97
1ff8cadf
MC
982004-01-10 Michael Chastain <mec.gnu@mindspring.com>
99
100 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
101 and "(aCC)" decorations. Remove obsolete doco about old
102 test results.
103
6fa9022e
MC
1042004-01-09 Michael Chastain <mec.gnu@mindspring.com>
105
106 * gdb.cp/exception.exp: Fix typo in doco.
107
209721fe
MK
1082004-01-09 Mark Kettenis <kettenis@gnu.org>
109
110 * gdb.base/gdb1476.exp: Fix typo.
111
ef11303e
MC
1122004-01-09 Michael Chastain <mec.gnu@mindspring.com>
113
114 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
115 file.
116
041ab88c
MC
1172004-01-09 Michael Chastain <mec.gnu@mindspring.com>
118
119 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
120 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
121 Use gdb_compile. Remove restriction on gcc. Add some patterns
122 for recent version of gdb. Delete second half, which was a copy
123 of the first half with different build flags. This test is
124 still disabled because it is still not ready for production.
125
e36d075a
MC
1262004-01-08 Michael Chastain <mec.gnu@mindspring.com>
127
128 * gdb.cp/exception.cc: Add copyright notice.
129 * gdb.cp/exception.exp: Add a notice that this file is broken
130 because of line number changes caused by addition of copyright
131 notice.
132
42b190ad
MC
1332004-01-08 Michael Chastain <mec.gnu@mindspring.com>
134
135 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
136 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
137
8f25f06b
MC
1382004-01-08 Michael Chastain <mec.gnu@mindspring.com>
139
140 * gdb.cp/classes.exp: Accept gnu abi 2.
141 * gdb.cp/derivation.exp: Likewise.
142 * gdb.cp/overload.exp: Likewise.
143 * gdb.cp/virtfunc.exp: Likewise.
144
06ded8b8
MC
1452004-01-08 Michael Chastain <mec.gnu@mindspring.com>
146
147 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
148 semicolon after end of function.
149
77c26ae3
MC
1502004-01-07 Michael Chastain <mec.gnu@mindspring.com>
151
152 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
153 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
154 boilerplate code for compiling and running the program under
155 test. Add some string method tests.
156
20757486
MC
1572004-01-07 Michael Chastain <mec.gnu@mindspring.com>
158
159 * gdb.cp/bs15503.cc: Add copyright notice.
160 * gdb.cp/bs15503.exp: Adjust line number.
161
0fd3b503
MC
1622004-01-07 Michael Chastain <mec.gnu@mindspring.com>
163
164 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
165 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
166
10d1bea8
MC
1672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
168
169 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
170 hp_cc_compiler.
171
2789202a
MC
1722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
173
174 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
175 * gdb.cp/ctti.exp: Use the marker instead of "next".
176 With gcc, run further before bailing.
177
b862f14c
MC
1782004-01-07 Michael Chastain <mec.gnu@mindspring.com>
179
180 * gdb.cp/cttiadd.cc: Add copyright notice.
181 * gdb.cp/cttiadd1.cc: Likewise.
182 * gdb.cp/cttiadd2.cc: Likewise.
183 * gdb.cp/cttiadd3.cc: Likewise.
184
96da2469
MC
1852004-01-07 Michael Chastain <mec.gnu@mindspring.com>
186
187 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
188 Use gdb_test, gdb_test_multiple. Use floating-point values that
189 have exact representations in IEEE-ish formats.
190
053248ff
MC
1912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
192
193 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
194 compilers. Delete duplicate call to get_compiler_info.
195 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
196 * gdb.base/volatile.exp: Likewise.
197
84acecdd
MK
1982004-01-07 Mark Kettenis <kettenis@gnu.org>
199
200 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
201 memory at address 0.
202
fe11a27f
MC
2032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
204
205 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
206 to test for hp-ux assembler. Fix copyright years.
207
60ad077b
AC
2082004-01-07 Andrew Cagney <cagney@redhat.com>
209
210 * gdb.base/fileio.c (strerrno): Add "EBUSY".
211
1c9b8f33
AC
2122004-01-07 Andrew Cagney <cagney@redhat.com>
213
214 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
215 when creating the read-only file. From analysis by Roland McGrath
216 and Elena Zannoni.
217
753ccc7a
MC
2182004-01-06 Michael Chastain <mec.gnu@mindspring.com>
219
220 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
221
eca3e36b
MC
2222004-01-06 Michael Chastain <mec.gnu@mindspring.com>
223
224 * gdb.base/cvexpr.c: Be type-safe with function pointers and
225 data pointers.
226
f8d4bac4
MC
2272004-01-06 Michael Chastain <mec.gnu@mindspring.com>
228
229 * gdb.cp/m-static.exp: Compile one source file at a time.
230 Delete unused call to get_compiler_info.
231
9b4e0f94
MC
2322004-01-06 Michael Chastain <mec.gnu@mindspring.com>
233
234 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
235 * gdb.base/call-rt-st.exp: Likewise.
236 * gdb.base/nodebug.exp: Likewise.
237 * gdb.base/volatile.exp: Likewise.
238 * gdb.cp/ref-types.exp: Likewise.
239 * gdb.cp/templates.exp: Likewise.
240
023c1024
MK
2412004-01-05 Mark Kettenis <kettenis@gnu.org>
242
243 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
244
19703c4a
MC
2452004-01-05 Michael Chastain <mec.gnu@mindspring.com>
246
247 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
248 hppa*-hp-hpux*.
249
18b67037
MK
2502004-01-04 Mark Kettenis <kettenis@gnu.org>
251
ba6219c8
MK
252 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
253 x86_64-*-*.
254
18b67037
MK
255 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
256 sparc64-*-* and sparc*-solaris2*.
257
1bfbbb9d
MK
2582004-01-04 Mark Kettenis <kettenis@gnu.org>
259
260 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
261 return ${tests}" test. The ${tests} already mentions the
262 filename.
263
06846494
MC
2642004-01-02 Michael Chastain <mec.gnu@mindspring.com>
265
266 * gdb.cp/local.exp: Accept gcc abi 2.
267
3b0cb202
MC
2682004-01-02 Michael Chastain <mec.gnu@mindspring.com>
269
270 * gdb.cp/templates.exp: Accept gcc abi 2.
271
0643ec3f
MC
2722004-01-02 Michael Chastain <mec.gnu@mindspring.com>
273
274 * lib/compiler.cc: Remove supports_template_debugging.
275 * gdb.cp/templates.exp: Do not test supports_template_debugging.
276
d231d0b1
MC
2772004-01-01 Michael Chastain <mec.gnu@mindspring.com>
278
279 * gdb.cp/namespace.exp: Accept gcc abi 2.
280
44ffb27c
MC
2812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
282
283 * gdb.cp/method.exp: Accept gcc abi 2.
284
184ad485
MC
2852004-01-01 Michael Chastain <mec.gnu@mindspring.com>
286
287 * gdb.cp/classes.exp: Generate identical results as old version.
288 * gdb.cp/derivation.exp: Likewise.
289 * gdb.cp/overload.exp: Likewise.
290 * gdb.cp/virtfunc.exp: Likewise.
291
116f09e7
MC
2922004-01-01 Michael Chastain <mec.gnu@mindspring.com>
293
294 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
295 mysterious bug with sourceware version of expect.
296
b1379776
MC
2972004-01-01 Michael Chastain <mec.gnu@mindspring.com>
298
299 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
300 current versions of gcc, including gcc abi 2. Remove gratuitous
301 restart of test program. Use gdb_test_multiple and gdb_test for
302 all tests. Add patterns to xfail missing "const" in "const char *"
303 and kfail PR gdb/1155.
304
6b7a4c0e
MC
3052004-01-01 Michael Chastain <mec.gnu@mindspring.com>
306
307 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
308 current versions of gcc, including gcc abi 2. Remove gratuitous
309 restart of test program. Use gdb_test_multiple and gdb_test for
310 all tests. Add patterns to kfail PR gdb/1498.
311
51615d72
MC
3122003-12-31 Michael Chastain <mec.gnu@mindspring.com>
313
314 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
315 current versions of gcc, including gcc abi 2. Use "breakpoint"
316 and "continue" instead of restarting the target program. Use
317 gdb_test_multiple and gdb_test for all tests.
318
7b79a9d7
MK
3192004-01-01 Mark Kettenis <kettenis@gnu.org>
320
321 * gdb.asm/asm-source.exp: Update copyright year. Link statically
322 for *-*-solaris2*.
323
1cd3489f
MC
3242003-12-31 Michael Chastain <mec.gnu@mindspring.com>
325
326 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
327 current versions of gcc, including gcc abi 2. Use "breakpoint"
328 and "continue" instead of restarting the target program several
329 times. Use gdb_test_multiple and gdb_test for all tests.
330
850742db
MC
3312003-12-18 Michael Chastain <mec.gnu@mindspring.com>
332
333 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
334 source files.
335
eb4bbda8
MC
3362003-12-16 Michael Chastain <mec.gnu@mindspring.com>
337
338 * gdb.base/environ.exp: Handle compiling test case from multiple
339 source files.
340
e42c7771
MC
3412003-12-16 Michael Chastain <mec.gnu@mindspring.com>
342
343 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
344
80e4b428
JB
3452003-12-17 Jim Blandy <jimb@redhat.com>
346
5f06973a
JB
347 * gdb.base/freebpcmd.c: Add copyright notice.
348
80e4b428
JB
349 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
350
0ab84fb7
MC
3512003-12-16 Michael Chastain <mec.gnu@mindspring.com>
352
353 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
354
1b3bb3d0
JB
3552003-12-13 Jim Blandy <jimb@redhat.com>
356
357 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
358
3a4c9371
KB
3592003-12-12 Kevin Buettner <kevinb@redhat.com>
360
361 * gdb.asm/frv.inc: New file.
362 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
363
a1dea79a
FF
3642003-12-09 Fred Fish <fnf@redhat.com>
365
366 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
367 functions to break1.c and leave prototypes behind. Add more
368 "set breakpoint NN here" comments.
369 * gdb.base/break1.c: New file.
370
371 * gdb.base/break.exp: Handle compiling test case from multiple
372 source files and change source file references as needed.
373 * gdb.base/completion.exp: Ditto.
374 * gdb.base/condbreak.exp: Ditto.
375 * gdb.base/define.exp: Ditto.
376 * gdb.base/ena-dis-br.exp: Ditto.
377 * gdb.base/info-proc.exp: Ditto.
378 * gdb.base/maint.exp: Ditto.
379 * gdb.base/until.exp: Ditto.
380
381 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
382 hardcoded line numbers.
383 * gdb.base/define.exp: Ditto.
384 * gdb.base/ena-dis-br.exp: Ditto.
385 * gdb.base/maint.exp: Ditto.
386 * gdb.base/until.exp: Ditto.
387
388 * gdb.base/completion.exp: Use "break1" for completion tests since
389 "break" is no longer a unique prefix.
390
5266b69c
AC
3912003-12-06 Andrew Cagney <cagney@redhat.com>
392
393 * gdb.base/structs.exp (test_struct_returns): When applicable, set
394 "return_value_unimplemented". When an unimplemented struct return
395 architecture, report incorrect values as a KFAIL
396
374451f0
MC
3972003-12-05 Michael Chastain <mec.gnu@mindspring.com>
398
399 * gdb.cp/rtti.exp: Accept new wording of warning from
400 cp_lookup_rtti_type.
401
ba9b20a7
MC
4022003-12-05 Michael Chastain <mec.gnu@mindspring.com>
403
404 Partial fix for PR testsuite/1456.
405 * gdb.base/scope.exp (test_at_main): Replace references to
406 gcc_compiled with calls to test_compiler_info.
407 (test_at_foo): Likewise.
408 (test_at_bar): Likewise.
409
b74b6d0b
MC
4102003-12-04 Michael Chastain <mec.gnu@mindspring.com>
411
412 Partial fix for PR testsuite/1456.
413 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
414 to test_compiler_info.
415
ccfa3402
MC
4162003-12-03 Michael Chastain <mec.gnu@mindspring.com>
417
418 * gdb.base/so-impl-ld.exp: Update copyright notice.
419
f6246aba
MC
4202003-12-02 Michael Chastain <mec.gnu@mindspring.com>
421
422 Partial fix for PR testsuite/1456.
423 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
424 to test_compiler_info.
425
13ae734a
MC
4262003-11-28 Michael Chastain <mec.gnu@mindspring.com>
427
428 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
429 from current versions of gdb. Clean up regular expressions.
430 Delete redundant timeout case.
431
d8e1cdee
MC
4322003-11-28 Michael Chastain <mec.gnu@mindspring.com>
433
434 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
435 from current versions of gdb. Clean up regular expressions.
436 Delete redundant timeout case.
437
96457b64
MC
4382003-12-01 Michael Chastain <mec.gnu@mindspring.com>
439
440 Partial fix for PR testsuite/1456.
441 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
442 gcc_compiled with call to test_compiler_info.
443
f35309fc
MC
4442003-11-30 Michael Chastain <mec.gnu@mindspring.com>
445
446 Partial fix for PR testsuite/1456.
447 * gdb.base/list.exp (test_list_function): Delete unused declaration
448 of gcc_compiled.
449
d7afdf9b
MC
4502003-11-29 Michael Chastain <mec.gnu@mindspring.com>
451
452 Partial fix for PR testsuite/1456.
453 * gdb.base/complex.exp: Replace reference to gcc_compiled with
454 call to test_compiler_info.
455
71507b56
MK
4562003-11-29 Mark Kettenis <kettenis@gnu.org>
457
458 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
459 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
460 it to create the appropriate note.inc.
461 * gdb.asm/asmsrc1.s: Include "note.inc".
462 * gdb.asm/netbsd.inc: New file.
463 * gdb.asm/empty.inc: New file.
464
f81f93f7
MC
4652003-11-28 Michael Chastain <mec.gnu@mindspring.com>
466
467 Partial fix for PR testsuite/1456.
468 * gdb.base/constvars.exp: Replace references to gcc_compiled with
469 calls to test_compiler_info.
470
9a77938e
MC
4712003-11-27 Michael Chastain <mec.gnu@mindspring.com>
472
473 Partial fix for PR testsuite/1456.
474 * gdb.base/volatile.exp: Replace references to gcc_compiled with
475 calls to test_compiler_info.
476
e8367dc7
MK
4772003-11-27 Mark Kettenis <kettenis@gnu.org>
478
479 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
480 pattern for the KFAILs.
481
526c61ee
AF
4822003-11-25 Adam Fedor <fedor@gnu.org>
483
484 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
485 * gdb.objc/objcdecode.m: New file.
486
28f2d600
AF
4872003-11-25 Adam Fedor <fedor@gnu.org>
488
489 * gdb.objc/nondebug.exp: Test for PR objc/1236.
490 * gdb.objc/nondebug.m: New file.
491
a3895cee
BE
4922003-11-26 Ben Elliston <bje@wasabisystems.com>
493
494 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
495 NetBSD as it does on FreeBSD. Modelled on a similar change by
496 Mark Kettenis on 2003-05-30.
497 (link-flags): Set to "--entry _start" regardless of target.
498 Special linker flags are to be appended to $link-flags.
499 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
500
c9f2c8a3
MC
5012003-11-25 Michael Chastain <mec.gnu@mindspring.com>
502
503 * gdb.cp/method.exp: Accept output of new demangler.
504
15a0587a 5052003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
506
507 * gdb/class2.exp: New file.
508 * gdb/class2.cc: New file.
509
3c00b570
MC
5102003-11-25 Michael Chastain <mec.gnu@mindspring.com>
511
512 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
513 of new demangler.
514
7027acc7
MK
5152003-11-23 Mark Kettenis <kettenis@gnu.org>
516
517 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
518 of gdb_test "run".
519
b0e1598a
MK
5202003-11-23 Mark Kettenis <kettenis@gnu.org>
521
522 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
523 "continue" into "run".
524
4d9eda44
MC
5252003-11-23 Michael Chastain <mec.gnu@mindspring.com>
526
527 Partial fix for PR testsuite/1456.
528 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
529 call to test_compiler_info.
530 * gdb.cp/ctti.exp: Likewise.
531 * gdb.cp/derivation.exp: Likewise.
532 * gdb.cp/member-ptr.exp: Likewise.
533 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
534 reference to gcc_compiled.
535
5362003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
537
538 Fix PR testsuite/1463.
539 * gdb.base/structs.exp (start_structs_test): Call
540 get_debug_format before using the debug format.
541
d422fe19
AC
5422003-11-22 Andrew Cagney <cagney@redhat.com>
543
544 * lib/gdb.exp (gdb_test_multiple): Add simple example.
545 * gdb.base/structs.exp: Use gdb_test_multiple.
546
039cf96d
AC
5472003-11-20 Andrew Cagney <cagney@redhat.com>
548
6882279b
AC
549 * gdb.base/structs.exp: Handle and recover from internal errors.
550 Replace "foo${n}" with "foo<n>" in test messages.
551
e53890ae
AC
552 * gdb.base/structs.exp: Update copyright. Rewrite.
553 * gdb.base/structs.c: Update copyright. Rewrite.
554
2b211c59
AC
555 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
556 resync count exceeded.
557
039cf96d
AC
558 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
559 from the internal error.
560 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
561 Original from Jim Blandy.
562 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 563
eac98b22
AC
5642003-11-19 Andrew Cagney <cagney@redhat.com>
565
566 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
567 KFAIL.
568
67455b2a
MK
5692003-11-17 Mark Kettenis <kettenis@gnu.org>
570
571 New testcase for PR backtrace/1435.
572 * gdb.arch/i386-unwind.exp: New file.
573 * gdb.arch/i386-unwind.c: New file.
574
853d6e5b
AC
5752003-11-17 Andrew Cagney <cagney@redhat.com>
576
577 * lib/gdb.exp (compiler_info): New global.
578 (test_compiler_info): New function.
579 (get_compiler_info): Set compiler_info.
580 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
581 "compiler_info" to gcc-<major>-<minor>.
582
38cf6e11
MC
5832003-11-15 Michael Chastain <mec.gnu@mindspring.com>
584
585 * gdb.trace/configure: Remove.
586
a50d3602
EZ
5872003-11-13 Elena Zannoni <ezannoni@redhat.com>
588
589 * gdb.base/break.c: Add comments to aid finding line numbers for
590 breakpoints.
591 * gdb.base/break.exp: Remove all references to explicit line
592 numbers.
593
d9407aaa
NC
5942003-11-11 Nick Clifton <nickc@redhat.com>
595
596 * gdb.base/shreloc.exp: Do not run for targets which do not
597 support shared objects.
598
db488fc1
CV
5992003-11-10 Corinna Vinschen <vinschen@redhat.com>
600
601 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
602 Don't run tests if nofileio flag is given.
603
6a90a18e
EZ
6042003-11-07 Elena Zannoni <ezannoni@redhat.com>
605
606 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
607 as well as 'Watchpoint'.
608
0b915e9c
EZ
6092003-11-06 Elena Zannoni <ezannoni@redhat.com>
610
611 Reported by Jim Ingham <jingham@apple.com>:
612 * gdb.base/annota1.exp: Match at least one occurrence of the
613 signal handler annotation.
614
d7e4b55f
EZ
6152003-11-06 Elena Zannoni <ezannoni@redhat.com>
616
617 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
618 as well as 'Watchpoint'.
619
2fe4e8d0
MC
6202003-11-05 Michael Chastain <mec@shout.net>
621
622 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
623
6ef88553
KW
6242003-11-03 Kris Warkentin <kewarken@qnx.com>
625
626 * gdb.arch/gdb1291.c: New test file.
627 * gdb.arch/gdb1291.exp: New test script.
628 * gdb.arch/gdb1431.c: New test file.
629 * gdb.arch/gdb1431.exp: New test script.
630
ae7dc4d8
MC
6312003-10-22 Michael Chastain <mec@shout.net>
632
633 * gdb.mi/pthreads.c: Add copyright notice.
634
c39d7427
MC
6352003-10-22 Michael Chastain <mec@shout.net>
636
637 * gdb.threads/pthreads.c: Add copyright notice.
638
8b7d96c1
MC
6392003-10-20 Michael Chastain <mec@shout.net>
640
641 * gdb.base/gdb1056.exp: New test script.
642
d1d69fdd
DJ
6432003-10-13 Daniel Jacobowitz <drow@mvista.com>
644
645 * gdb.threads/killed.exp: Use gdb_run_cmd.
646
7d605576
DJ
6472003-10-13 Daniel Jacobowitz <drow@mvista.com>
648
649 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
650 create a core file.
651 * gdb.threads/gcore-thread.exp: Likewise.
652
618ec112
CV
6532003-10-13 Corinna Vinschen <vinschen@redhat.com>
654
655 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
656 type, based on char type.
657 (struct bit_flags_short_t): New bitfield type, based on short type.
658 (init_bit_flags_char): New fuction.
659 (init_bit_flags_short): Ditto.
660 (print_bit_flags_char): Ditto.
661 (print_bit_flags_short): Ditto.
662 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
663
9367a73c
MC
6642003-10-11 Michael Chastain <mec@shout.net>
665
666 * gdb.base/call-rt-st.exp: Update copyright year.
667
1decf120
KI
6682003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
669
670 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
671 * gdb.disasm/sh3.s: Ditto.
672
5445b2ae
DJ
6732003-10-07 Daniel Jacobowitz <drow@mvista.com>
674
675 * gdb.threads/switch-threads.exp: New test.
676 * gdb.threads/switch-threads.c: New source file.
677
aec24853
CV
6782003-10-07 Corinna Vinschen <vinschen@redhat.com>
679
680 * gdb.base/ending-run.exp: Add sh specific case.
681
adc7428d
AC
6822003-10-06 Andrew Cagney <cagney@redhat.com>
683
684 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
685 * gdb.disasm/mn10200.exp: Delete obsolete file.
686
c9d37158
DJ
6872003-09-29 Daniel Jacobowitz <drow@mvista.com>
688
689 * ChangeLog: Correct an entry command.exp -> commands.exp.
690 * gdb.base/commands.exp (bp_deleted_in_command_test)
691 (temporary_breakpoint_commands): Check noargs.
692
79c2c32d
DC
6932003-09-25 David Carlton <carlton@kealia.com>
694
695 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
696 of some print tests, where appropriate. Add tests for C::D::cd,
697 E::ce, F::cXfX, G::XgX.
698 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
699
594e6d67
RE
7002003-09-25 Richard Earnshaw <rearnsha@arm.com>
701
702 * lib/java.exp (java_init): Import target_alias before using it.
703
10f0d451
DC
7042003-09-25 David Carlton <carlton@kealia.com>
705
706 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
707
274bcba0
EZ
7082003-09-23 Elena Zannoni <ezannoni@redhat.com>
709
710 * gdb.base/selftest.exp: Accomodate more instruction reordering
711 weirdness.
712
cdbf20f7
MC
7132003-09-17 Michael Chastain <mec@shout.net>
714
715 * gdb.cp/gdb1355.exp: New file.
716 * gdb.cp/gdb1355.c: New file.
717
71e06f80
CV
7182003-09-15 Corinna Vinschen <vinschen@redhat.com>
719
720 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
721 * gdb.asm/sh.inc: New file.
722
5c4e30ca
DC
7232003-09-11 David Carlton <carlton@kealia.com>
724
bd45b7af
DC
725 * gdb.cp/namespace.exp: Add tests for namespace types.
726 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
727 (test_namespace): New.
728
1c199746
EZ
7292003-09-11 Elena Zannoni <ezannoni@redhat.com>
730
731 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 732 * gdb.stabs/weird.exp: Ditto.
1c199746 733
04ed252f
MC
7342003-09-08 Michael Chastain <mec@shout.net>
735
736 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
737
d8a2d9e7
MC
7382003-09-07 Michael Chastain <mec@shout.net>
739
740 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
741 'parse error'.
742
161afb24
MK
7432003-09-07 Mark Kettenis <m.kettenis@osp.nl>
744
745 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
746
49f2741a
MC
7472003-08-30 Michael Chastain <mec@shout.net>
748
749 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
750 * gdb.gdb/observer.exp: Ditto.
751 * gdb.gdb/xfullpath.exp: Ditto.
752
8afa723e
MK
7532003-08-29 Mark Kettenis <kettenis@gnu.org>
754
755 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
756 *-*-*bsd*.
757
f31dfe3b
JJ
7582003-08-28 Jeff Johnston <jjohnstn@redhat.com>
759
760 * gdb.base/dump.exp: Skip for ia64.
761
4630e498
JJ
7622003-08-25 Jeff Johnston <jjohnstn@redhat.com>
763
764 * gdb.asm/asm-source.exp: Add ia64 support.
765 * gdb.asm/ia64.inc: New file.
766
1105b7ef
MC
7672003-08-22 Michael Chastain <mec@shout.net>
768
769 * gdb.cp: New directory.
770 * gdb.cp/*: Copy from gdb.c++/*.
771 * gdb.c++/*: Remove.
772 * Makefile.in: Change gdb.c++ to gdb.cp.
773 * configure.in: Ditto.
774 * configure: Regnerate.
775
c945b932
MK
7762003-08-18 Mark Kettenis <kettenis@gnu.org>
777
778 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
779 * gdb.arch/i386-prologue.c (gdb1338): Add function.
780
2b66634b
DJ
7812003-08-17 Daniel Jacobowitz <drow@mvista.com>
782
783 * mi-var-display.exp (-var-list-children weird): Accept function
784 pointers with argument types.
785 * mi1-var-display.exp (-var-list-children weird): Likewise.
786 * mi2-var-display.exp (-var-list-children weird): Likewise.
787
a356f73b
DJ
7882003-08-17 Daniel Jacobowitz <drow@mvista.com>
789
790 * gdb.base/annota3.exp: Add missing newline.
791
483417b8
MC
7922003-08-06 Michael Chastain <mec@shout.net>
793
794 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
795
c99c59c3
MS
7962003-08-12 Michael Snyder <msnyder@redhat.com>
797
798 * gdb.base/float.exp: Add test for SH.
799
55ed7501
MK
8002003-08-10 Mark Kettenis <kettenis@gnu.org>
801
802 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
803
1a371f2e
EZ
8042003-08-07 Elena Zannoni <ezannoni@redhat.com>
805
806 * gdb.base/completion.exp: Remove reduntant completion test
807 on filename.
808
e0f353ce
EZ
8092003-08-07 Elena Zannoni <ezannoni@redhat.com>
810
811 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
812 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
813 gdb.trace/save-trace.exp: Make sure that full pathnames are
814 escaped correctly.
815
5710a1af
EZ
8162003-08-07 Elena Zannoni <ezannoni@redhat.com>
817
818 * configure.in: Don't generate config.h from config.hin.
819 * configure: Regenerate.
820 * config.hin: Remove file.
821 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
822 * gdb.threads/pthreads.c: Ditto.
823
dcd81ce9
DJ
8242003-08-07 Daniel Jacobowitz <drow@mvista.com>
825
826 From Kei Sakamoto <sakamoto.kei@renesas.com>:
827 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
828 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
829 Replace ld24 with seth/add3.
830
6009d884
AC
8312003-08-02 Andrew Cagney <cagney@redhat.com>
832
833 * gdb.base/annota3.exp: New file.
834 * gdb.base/annota3.c: New file.
835 * gdb.c++/annota3.exp: New file.
836 * gdb.c++/annota3.cc: New file.
837
51514e06
MC
8382003-07-29 Michael Chastain <mec@shout.net>
839
840 * gdb.threads/tls.c (spin): Check errno only if sem_wait
841 actually failed.
842 (do_pass): Likewise.
843 * gdb.threads/tls.exp: Always initialize no_of_threads.
844
4ee6625b
DJ
8452003-07-27 Daniel Jacobowitz <drow@mvista.com>
846
847 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
848 pattern.
849 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
850 * gdb.threads/tls.exp: Recognize one case of the host library not
851 supporting TLS.
852
225f2bf6
AC
8532003-07-27 Andrew Cagney <cagney@redhat.com>
854
855 * gdb.base/fileio.exp: Use SH when running commands using
856 remote_exec.
857
bcb27c9f
DJ
8582003-07-24 Daniel Jacobowitz <drow@mvista.com>
859
860 From Kei Sakamoto <sakamoto.kei@renesas.com>:
861 * gdb.base/relocate.c (dummy): New padding array.
862
3d67be83
MS
8632003-07-22 Michael Snyder <msnyder@redhat.com>
864
865 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
866
867 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
868 patterns to be more general, accepting old and new output.
869 Some output chars (such as '+') also must be quoted.
870 Some addresses are displayed numerically instead of
871 symbolically.
872
57ba3b85
MS
8732003-07-23 Michael Snyder <msnyder@redhat.com>
874
686d097c
MS
875 * gdb.base/return2.exp: Don't test long-long return.
876
57ba3b85
MS
877 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
878 * gdb.disasm/t01_mov.exp: Ditto.
879 * gdb.disasm/t02_mova.s: Ditto.
880 * gdb.disasm/t02_mova.exp: Ditto.
881 * gdb.disasm/t03_add.s: Ditto.
882 * gdb.disasm/t03_add.exp: Ditto.
883 * gdb.disasm/t04_sub.s: Ditto.
884 * gdb.disasm/t04_sub.exp: Ditto.
885 * gdb.disasm/t05_cmp.s: Ditto.
886 * gdb.disasm/t05_cmp.exp: Ditto.
887 * gdb.disasm/t06_ari2.s: Ditto.
888 * gdb.disasm/t06_ari2.exp: Ditto.
889 * gdb.disasm/t07_ari3.s: Ditto.
890 * gdb.disasm/t07_ari3.exp: Ditto.
891 * gdb.disasm/t08_or.s: Ditto.
892 * gdb.disasm/t08_or.exp: Ditto.
893 * gdb.disasm/t09_xor.s: Ditto.
894 * gdb.disasm/t09_xor.exp: Ditto.
895 * gdb.disasm/t10_and.s: Ditto.
896 * gdb.disasm/t10_and.exp: Ditto.
897 * gdb.disasm/t11_logs.s: Ditto.
898 * gdb.disasm/t11_logs.exp: Ditto.
899 * gdb.disasm/t12_bit.s: Ditto.
900 * gdb.disasm/t12_bit.exp: Ditto.
901 * gdb.disasm/t13_otr.s: Ditto.
902 * gdb.disasm/t13_otr.exp: Ditto.
903
e00759ef
EZ
9042003-07-22 Elena Zannoni <ezannoni@redhat.com>
905
906 * gdb.threads/tls.exp :Add kfail for 'info address' case.
907
8bc2021f
EZ
9082003-07-22 Elena Zannoni <ezannoni@redhat.com>
909
910 * gdb.threads/tls.c : New file.
911 * gdb.threads/tls.exp : New file.
912 * gdb.threads/tls-main.c : New file.
913 * gdb.threads/tls-shared.c : New file.
914 * gdb.threads/tls-shared.exp : New file.
915
89320c4c
AS
9162003-07-22 Andreas Schwab <schwab@suse.de>
917
918 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
919
180dea7c
AS
9202003-07-20 Andreas Schwab <schwab@suse.de>
921
922 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
923 due to insn reordering.
924
0714963c
AC
9252003-07-15 Andrew Cagney <cagney@redhat.com>
926
927 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
928
98a23b3f
MC
9292003-07-15 Michael Chastain <mec@shout.net>
930
931 * gdb.base/gdb1250.exp: New file.
932 * gdb.base/gdb1250.c: New file.
933
27e417a2
ML
9342003-07-09 Michal Ludvig <mludvig@suse.cz>
935
936 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
937 expansion of size_t to 'unsigned long', not only to 'unsigned'.
938
8bc2021f
EZ
9392003-07-09 Elena Zannoni <ezannoni@redhat.com>
940
941 * gdb.threads/tls.c: New file.
942 * gdb.threads/tls.exp: New file.
943 * gdb.threads/tls-main.c: New file.
944 * gdb.threads/tls-shared.c: New file.
945 * gdb.threads/tls-shared.exp: New file.
946
d99968dc
EZ
9472003-07-09 Elena Zannoni <ezannoni@redhat.com>
948
949 * gdb.base/annota1.exp: Make sure that we properly escape the
950 full path of the source file. Xfail more permissive patterns,
951 due to a compiler debug info problem.
952
83876b3b
AS
9532003-07-07 Andreas Schwab <schwab@suse.de>
954
2705e972
AS
955 * gdb.asm/m68k.inc: New file.
956 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
957
83876b3b
AS
958 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
959 arguments"): Also match negative number.
960
961 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
962
3a871b37
DJ
9632003-07-03 Daniel Jacobowitz <drow@mvista.com>
964
965 * gdb.base/store.c (charest): New typedef.
966 (add_char): Rename to add_charest, update.
967 (wack_char): Rename to wack_charest, update types. Return l + r
968 to keep r live across the call.
969 (wack_short, wack_int, wack_long, wack_longest, wack_float)
970 (wack_double, wack_doublest): Return l + r to keep r live across
971 the call.
972 * gdb.base/store.exp: Accomodate store.c changes.
973
b2a7f303
DC
9742003-06-30 David Carlton <carlton@kealia.com>
975
976 * gdb.c++/maint.exp (test_invalid_name): New.
977 (test_first_component): Add tests for invalid names.
978
3c6cb4a1
MC
9792003-06-29 Michael Chastain <mec@shout.net>
980
981 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
982 output of '<VTT for class>' for virtual base classes.
983
f1c2644b
DJ
9842003-06-29 Daniel Jacobowitz <drow@mvista.com>
985
986 * gdb.base/completion.exp: Tab-complete "complet" instead of
987 "compl".
988 * gdb.base/complex.exp, gdb.base/complex.c: New files.
989
18080350
DJ
9902003-06-29 Daniel Jacobowitz <drow@mvista.com>
991
992 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
993 * gdb.base/volatile.exp: Likewise.
994
f56973f8
DJ
9952003-06-29 Daniel Jacobowitz <drow@mvista.com>
996
997 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
998 gdb/1265.
999
10002003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1001 Daniel Jacobowitz <drow@mvista.com>
1002
1003 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1004 initial line count of 'captured_main' from 26 to 32.
1005 (test_with_self): Allow xmalloc call to be interleaved with the
1006 preceding two lines.
1007
e766d4d6
JB
10082003-06-24 Joel Brobecker <brobecker@gnat.com>
1009
1010 * gdb.base/bang.exp: New testcase.
1011
f125c9a4
JB
10122003-06-23 Joel Brobecker <brobecker@gnat.com>
1013
1014 * gdb.base/langs.exp: Add some tests for the "minimal" language
1015 support.
1016
6e25beaf
EZ
10172003-06-23 Elena Zannoni <ezannoni@redhat.com>
1018
1019 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1020 the testcase.
1021
2f816dda
DJ
10222003-06-22 Daniel Jacobowitz <drow@mvista.com>
1023
1024 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1025 offset.
1026
db5a5748
DJ
10272003-06-22 Daniel Jacobowitz <drow@mvista.com>
1028
1029 * gdb.c++/pr-1210.cc: New file.
1030 * gdb.c++/pr-1210.exp: New file.
1031
1df0c130
DJ
10322003-06-21 Daniel Jacobowitz <drow@mvista.com>
1033
1034 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1035 000-exec-continue.
1036
a92feac0
MK
10372003-06-15 Mark Kettenis <kettenis@gnu.org>
1038
1039 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1040 on *-*-*bsd* instead of *-*-freebsd*.
1041
81a58f5b
AC
10422003-06-14 Andrew Cagney <cagney@redhat.com>
1043
1044 * gdb.base/store.exp: Test longest and doublest. Test all
1045 parameters. Weaken return statement match.
1046 * gdb.base/store.c: Add longest and doublest - aka long long and
1047 long double functions. Put all parameters into local register
1048 variables. Use negative values.
1049
b257a0d3
AC
10502003-06-14 Andrew Cagney <cagney@redhat.com>
1051
1052 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1053 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1054 exit status.
1055 * gdb.base/fileio.exp: Disable target when nointerrupts and
1056 noinferiorio, instead of limiting it to remote. Use remote_exec
1057 instead of system.
1058
21c38304
JJ
10592003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1060
1061 * gdb.base/float.exp: Add ia64 support.
1062
1bcdb424
CV
10632003-06-12 Corinna Vinschen <vinschen@redhat.com>
1064
1065 * gdb.base/fileio.exp: Run only on remote targets.
1066
6aeb981f
CV
10672003-06-10 Corinna Vinschen <vinschen@redhat.com>
1068
1069 * gdb.base/fileio.c: New file, testing File-I/O.
1070 * gdb.base/fileio.exp: Ditto.
1071
53df362e
RG
10722003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1073
1074 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1075 shared objects after relocation at load time (gdb PR/1132).
1076 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1077 as above, part of the shared object relocation test.
1078
ffee1b46
MK
10792003-06-08 Mark Kettenis <kettenis@gnu.org>
1080
b5ca3722
MK
1081 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1082 fully filled history list.
1083 * gdb.base/gdb_history: New file.
1084
03ed860d
MK
1085 * gdb.base/signals.exp: XFAIL "continue to func1" on
1086 i*86-*-freebsd*.
1087
ffee1b46
MK
1088 * gdb.base/attach.exp: When trying to attach to a nonexistent
1089 process, make it possible to specify the PID based on the target,
1090 and do so for *-*-freebsd*.
1091
d80dbb52
RH
10922003-06-02 Richard Henderson <rth@redhat.com>
1093
1094 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1095
6dd77b81
RH
10962003-06-02 Richard Henderson <rth@redhat.com>
1097
1098 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1099
f6347e16
RH
11002003-06-02 Richard Henderson <rth@redhat.com>
1101
1102 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1103
2c161407
DJ
11042003-06-01 Daniel Jacobowitz <drow@mvista.com>
1105
1106 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1107 of globalvar.
1108
572eb746
MK
11092003-06-01 Mark Kettenis <kettenis@gnu.org>
1110
1111 * gdb.asm/asm-source.exp: Check for memory read errors in
1112 disassembler test on *BSD too.
1113
9e9617a5
RH
11142003-06-01 Richard Henderson <rth@redhat.com>
1115
1116 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1117 for .frame.
1118 (gdbasm_call): Lose ldgp.
1119 (gdbasm_startup): Add frame information.
1120 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1121
7b34ad4e
MK
11222003-05-31 Mark Kettenis <kettenis@gnu.org>
1123
1124 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1125 i?86-*-*.
1126
10059fdf
MK
11272003-05-30 Mark Kettenis <kettenis@gnu.org>
1128
1129 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1130 FreeBSD.
1131
acf4b816
RH
11322003-05-29 Richard Henderson <rth@redhat.com>
1133
1134 * gdb.asm/alpha.inc: New file.
1135 * gdb.asm/asm-source.exp: Use it.
1136
e9ecd949
JB
11372003-05-29 Jim Blandy <jimb@redhat.com>
1138
1139 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1140 'core.PID'.
1141
e3e5a4f3
JB
11422003-05-22 Jim Blandy <jimb@redhat.com>
1143
1144 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1145 backtrace.
1146
72fe3d25
DC
11472003-05-20 David Carlton <carlton@math.stanford.edu>
1148
1149 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1150 this time.
1151
58da2eb2
DC
11522003-05-19 David Carlton <carlton@bactrian.org>
1153
1154 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1155 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1156
1fcb5155
DC
11572003-05-19 David Carlton <carlton@bactrian.org>
1158
1159 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1160 namespace tests.
1161 Bump copyright date.
1162 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1163 (main): Call C::D::marker2.
1164 * gdb.c++/namespace1.cc: New file.
1165
85e85163
JJ
11662003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1167
1168 Roland McGrath <roland@redhat.com>
1169 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1170 there is no manager thread.
1171
a25fbfec
JJ
11722003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1173
1174 * gdb.threads/schedlock.exp: Remove assumption that all threads
1175 will run in a particular small time slice. Also ensure we break
1176 in one of the child threads rather than the main thread.
1177
be375bae
JB
11782003-05-07 Jim Blandy <jimb@redhat.com>
1179
09bf6082
JB
1180 Add support for assembly source testing on the s390x.
1181 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1182 architecture.
1183 * gdb.asm/s390x.inc: New file.
1184
be375bae
JB
1185 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1186 succession of 'if' statements.
1187
00905d52
AC
11882003-05-05 Andrew Cagney <cagney@redhat.com>
1189
1190 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1191
b1e29e33
AC
11922003-05-05 Andrew Cagney <cagney@redhat.com>
1193
1194 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1195 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1196
e33d66ec
EZ
11972003-05-02 Elena Zannoni <ezannoni@redhat.com>
1198
1199 * gdb.base/charset.exp: Update based on new behavior of set/show
1200 charset commands.
1201
2b6fd0d8
AC
12022003-05-01 Andrew Cagney <cagney@redhat.com>
1203
1204 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1205 variable do not give memory errors.
1206
130cacce
AF
12072003-04-30 Adam Fedor <fedor@gnu.org>
1208
1209 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1210 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1211 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1212 gdb.objc/basicclass.m: : New files
1213
1214 * lib/gdb.exp (gdb_compile_objc): New procedure.
1215
bea71854
DJ
12162003-04-27 Daniel Jacobowitz <drow@mvista.com>
1217
1218 * gdb.base/signals.exp: Make backtrace tests more specific.
1219
0f20eeea
DC
12202003-04-23 David Carlton <carlton@bactrian.org>
1221
1222 * gdb.c++/maint.exp (test_first_component): Add tests for
1223 'operator' in more locations.
1224
c8c4d8dc
KB
12252003-04-16 Kevin Buettner <kevinb@redhat.com>
1226
1227 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1228
3fe60e3c
EZ
12292003-04-16 Elena Zannoni <ezannoni@redhat.com>
1230
1231 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1232 func marke' instead. Update test name.
1233
9219021c
DC
12342003-04-15 David Carlton <carlton@math.stanford.edu>
1235
1236 * gdb.c++/maint.exp: New file.
1237
5dd55bdd
EZ
12382003-04-14 Elena Zannoni <ezannoni@redhat.com>
1239
1240 * gdb.threads/schedlock.c: Change type of thread function argument
1241 to long, to avoid warnings on 64-bit platforms.
1242
00890572
EZ
12432003-04-14 Elena Zannoni <ezannoni@redhat.com>
1244
1245 * gdb.base/attach.exp: Add new message from ptrace in case of
1246 attaching to nonexistent process.
1247
93201743
JB
12482003-04-11 Jim Blandy <jimb@redhat.com>
1249
1250 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1251 gdb.c++/userdef.cc: Place comments on the lines to which the
1252 marker function might return.
1253 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1254 gdb.c++/userdef.exp: Look for those comments to check that we've
1255 returned to the right place, instead of checking line numbers.
1256
2a11c64d
EZ
12572003-04-11 Elena Zannoni <ezannoni@redhat.com>
1258
1259 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1260 match on sourcefile name, instead of directory name.
1261
68ab8fc5
EZ
12622003-04-10 Elena Zannoni <ezannoni@redhat.com>
1263
1264 * gdb.base/completion.exp: Use string_to_regexp to match the
1265 working directory name.
1266
5624293a
JB
12672003-04-09 Jim Blandy <jimb@redhat.com>
1268
1269 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1270 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1271 after an inferior function call, report the failure, but allow the
1272 test to continue.
1273
f1f02ee4
SC
12742003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1275
1276 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1277 with -DPROTOTYPES.
1278
6eb79af0
SC
12792003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1280
1281 * gdb.base/break.exp: Revert last patch.
1282
8dfb4cf0
SC
12832003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1284
1285 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1286 with -DPROTOTYPES.
1287
ed4c619a
AC
12882003-04-02 Andrew Cagney <cagney@redhat.com>
1289
1290 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1291 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1292 matching directories by the name breakpoint.
1293 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1294 Make "continue to marker1" consistent.
1295 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1296 message consistent.
1297 * lib/gdb.exp: Put "the program is no longer running", and "the
1298 program exited" in parenthesis.
1299 * lib/mi-support.exp: Ditto.
1300
4e35d5f0
BR
13012003-04-02 Bob Rossi <bob_rossi@cox.net>
1302
1303 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1304
71900fe8
AC
13052003-03-29 Andrew Cagney <cagney@redhat.com>
1306
1307 * gdb.base/sizeof.c (main): Print the value of '\377'.
1308 * gdb.base/sizeof.exp: Check the sign of '\377'.
1309
c0655a16
MC
13102003-03-27 Michael Chastain <mec@shout.net>
1311
1312 * gdb.base/gdb1090.exp: New file.
1313 * gdb.base/gdb1090.cc: New file.
1314
5b2a3989
JB
13152003-03-27 J. Brobecker <brobecker@gnat.com>
1316
1317 * gdb.gdb/observer.exp: New regression test.
1318
79876890
MC
13192003-03-27 Michael Chastain <mec@shout.net>
1320
1321 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1322 * gdb.base/ptype.exp: Likewise.
1323
6eac95e3
CV
13242003-03-27 Corinna Vinschen <vinschen@redhat.com>
1325
1326 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1327
e8c71839
MC
13282003-03-26 Michael Chastain <mec@shout.net>
1329
1330 * gdb.base/ptype.exp: Actually use some typedef'd types.
1331
71b10041
SC
13322003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1333
1334 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1335 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1336
2512cf80
CV
13372003-03-20 Corinna Vinschen <vinschen@redhat.com>
1338
1339 * gdb.base/default.exp: Fix regular expression.
1340
0d195a4f
CV
13412003-03-20 Corinna Vinschen <vinschen@redhat.com>
1342
1343 * gdb.base/args.exp: Fix regular expression.
1344
8a2dbca8
CV
13452003-03-20 Corinna Vinschen <vinschen@redhat.com>
1346
1347 * gdb.base/help.exp: Allow Win32 child process.
1348
bf028682
CV
13492003-03-20 Corinna Vinschen <vinschen@redhat.com>
1350
1351 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1352 when stepping out of main().
1353
182dbe85
CV
13542003-03-20 Corinna Vinschen <vinschen@redhat.com>
1355
1356 * gdb.base/default.exp: Check for win32 specific message when calling
1357 "run" without executable.
1358
d67a6ba5
CV
13592003-03-20 Corinna Vinschen <vinschen@redhat.com>
1360
1361 * gdb.base/args.exp: Expect .exe in output.
1362
a955b5bb
CV
13632003-03-20 Corinna Vinschen <vinschen@redhat.com>
1364
1365 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1366 Cygwin native.
1367
bf6bad4b
AC
13682003-03-17 Andrew Cagney <cagney@redhat.com>
1369
1370 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1371 vector registes.
1372 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1373 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1374
293e9a31
DC
13752003-03-17 David Carlton <carlton@math.stanford.edu>
1376
1377 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1378 test, for PR breakpoints/38.
1379 Call test_watchpoint_and_breakpoint.
1380 * gdb.base/watchpoint.c (func3): New function.
1381 (main): Call func3.
1382
5330f2db
DC
13832003-03-04 David Carlton <carlton@math.stanford.edu>
1384
1385 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1386 Garply<Garply<char> >:: garply".
1387 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1388 with respect to PR c++/1111; note also PR c++/1113.
1389 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1390 respect to PR c++/1062.
1391 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1392
6ece72da
DC
13932003-03-03 David Carlton <carlton@math.stanford.edu>
1394
1395 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1396 with respect to PR c++/57.
1397 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1398 c++/826.
1399 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1400 respect to PR c++/57.
1401
85ca1584
DC
14022003-03-03 David Carlton <carlton@math.stanford.edu>
1403
1404 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1405 respect to PR c++/33 into FAILs.
1406
98e9c5b8
MC
14072003-03-03 Michael Chastain <mec@shout.net>
1408
7bedbf27
MC
1409 * configure.in: Update copyright years.
1410
14112003-03-03 Michael Chastain <mec@shout.net>
1412
1413 * Makefile.in: Update copyright years.
98e9c5b8 1414
f683e100
DC
14152003-02-28 David Carlton <carlton@math.stanford.edu>
1416
1417 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1418 print class instead of struct and/or superfluous protection
1419 specifiers, as long as the resulting output is equivalent to the
1420 source code.
1421 Delete FIXME from end of messages on tests that don't need
1422 fixing.
1423
a9e0cf2c
DC
14242003-02-28 David Carlton <carlton@math.stanford.edu>
1425
1426 * gdb.c++/templates.exp (do_tests): Allow const in the two
1427 Foo<volatile char *>::foo tests.
1428
e8d359df
MS
14292003-02-27 Michael Snyder <msnyder@redhat.com>
1430
1431 * gdb.base/restore.c (main): Return zero, so exit code
1432 will be consistant.
1433
0b71dc91
DC
14342003-02-26 David Carlton <carlton@math.stanford.edu>
1435
1436 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1437 char *>::foo" test with respect to PR c++/33. Create a new test
1438 which is identical to that one except that it doesn't put the
1439 space between the "char" and the "*"; KFAIL it, too.
1440
dd14ab43
DC
14412003-02-26 David Carlton <carlton@math.stanford.edu>
1442
1443 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1444 template types into either PASSes or KFAILs (corresponding to PR
1445 c++/57). Tweak indentation. Update copyright.
1446
1146c7f1
SC
14472003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1448
1449 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1450
74641dfb
MC
14512003-02-13 Michael Chastain <mec@shout.net>
1452
1453 * gdb.base/exprs.exp: Remove i960 remnants.
1454 * gdb.base/funcargs.exp: Likewise.
1455 * gdb.base/list.exp: Likewise.
1456 * gdb.base/ptype.exp: Likewise.
1457
559cd2d0
DC
14582003-02-14 David Carlton <carlton@math.stanford.edu>
1459
1460 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1461 pEe->D::vg()" from XFAIL to KFAIL.
1462
c4f90d87
JM
14632003-02-13 Jason Molenda (jmolenda@apple.com)
1464
1465 * gdb.base/maint.exp: Update maint print statistics regexp to include
1466 new entries.
1467
cbc4d97c
MC
14682003-02-13 Michael Chastain <mec@shout.net>
1469
1470 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1471
40f235b7
MC
14722003-02-12 Michael Chastain <mec@shout.net>
1473
1474 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1475 * gdb.c++/inherit.exp: Likewise.
1476 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1477 * gdb.c++/templates.exp: Likewise.
1478 * gdb.c++/virtfunc.exp: Likewise.
1479
c56716b0
JM
14802003-02-06 Jason Molenda (jason-cl@molenda.com)
1481
1482 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1483 why the code is written that way.
1484
070afcf8
MC
14852003-02-05 Michael Chastain <mec@shout.net>
1486
1487 * gdb.base/dump.exp: Add missing copyright line.
1488
5d0331e5
JM
14892003-02-05 Jason Molenda (jason-cl@molenda.com)
1490
f7ae6d3e 1491 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1492 at the beginning so the breakpoint doesn't get set on the loop.
1493
92851186
MC
14942003-02-05 Michael Chastain <mec@shout.net>
1495
1496 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1497 output for configurations with gcc 2.95.3.
1498
cbf1e085
AC
14992003-02-05 Keith Seitz <keiths@redhat.com>
1500 Andrew Cagney <ac131313@redhat.com>
1501
1502 * gdb.mi/mi-cli.exp: New file.
1503
29518e1e
MC
15042003-02-04 Michael Chastain <mec@shout.net>
1505
1506 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1507 Call perror and then continue.
1508
5af1d5f3
MC
15092003-02-03 Michael Chastain <mec@shout.net>
1510
1511 * gdb.c++/pr-1023.cc: New file.
1512 * gdb.c++/pr-1023.exp: New file.
1513
6b549786
JB
15142003-02-05 Jim Blandy <jimb@redhat.com>
1515
1516 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1517 it's local to foobar. Check for it there, and check that it's not
1518 present in main.
1519 * gdb.c++/local.cc (marker2): New function.
1520 (foobar): Call marker1.
1521 (main): Call marker2 instead of marker1.
1522
67f16606
AC
15232003-02-04 Andrew Cagney <ac131313@redhat.com>
1524
1525 * gdb.disasm/mn10200.exp: Obsolete file.
1526 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1527 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1528 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1529
1c5cb38e
DC
15302003-02-04 David Carlton <carlton@math.stanford.edu>
1531
1532 * gdb.c++/overload.exp: Test intToChar(1).
1533 * gdb.c++/overload.cc (intToChar): New.
1534 (main): Call intToChar.
1535
d1fe6965
DC
15362003-02-03 David Carlton <carlton@math.stanford.edu>
1537
1538 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1539 'might_kfail' arg.
1540 KFAIL some of the continue_to_bp_overloaded calls, according to
1541 PR c++/1025.
1542
9ba61c5d
MC
15432003-02-01 Michael Chastain <mec@shout.net>
1544
1545 * gdb.base/advance.c (marker1): New marker function.
1546 * gdb.base/advance.exp: When the 'advance' command lands on the
1547 return breakpoint, it can legitimately stop on either the
1548 current line or the next line. Accommodate both outcomes.
1549 * gdb.base/until.exp: Likewise.
1550
e7494ffb
AC
15512003-02-02 Andrew Cagney <ac131313@redhat.com>
1552
1553 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1554 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1555 now a list, not a tuple.
1556 * gdb.mi/mi-var-display.exp: Ditto.
1557 * gdb.mi/gdb792.exp: Ditto.
1558
075559bc
AC
15592003-02-01 Andrew Cagney <ac131313@redhat.com>
1560
1561 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1562 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1563 stack backtraces.
1564 * gdb.mi/mi-syn-frame.c: Part of same.
1565
2bd4c7b1
MK
15662003-02-01 Mark Kettenis <kettenis@gnu.org>
1567
1568 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1569 gdb.mi/mi1-pthreads.exp: Return instead of calling
1570 gdb_suppress_entire_file.
1571
eabd8992
MS
15722003-02-01 Mark Salter <msalter@redhat.com>
1573
1574 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1575
71469e2f
MS
15762003-01-31 Mark Salter <msalter@redhat.com>
1577
1578 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1579 Support empty arg.
1580
38a94d44
MC
15812003-01-30 Michael Chastain <mec@shout.net>
1582
1583 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1584 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1585 has been fixed in gdb/readline on 2003-01-09.
1586
19ea9e73
MS
15872003-01-29 Michael Snyder <msnyder@redhat.com>
1588
e8d359df
MS
1589 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1590 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1591 * gdb.base/args.exp: Skip if target does not support args passing.
1592
2307bd6a
DJ
15932003-01-22 Daniel Jacobowitz <drow@mvista.com>
1594
19ea9e73 1595 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1596 gdb_test. Accept a list of expect arguments as the third
1597 parameter.
1598 (gdb_test): Use it.
1599
f2dd3617
EZ
16002003-01-20 Elena Zannoni <ezannoni@redhat.com>
1601
1602 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1603 allow for different test tree configurations. Update some
1604 tescases accordingly.
1605 * gdb.arch/altivec-regs.exp: Ditto.
1606 * gdb.asm/asm-source.exp: Ditto.
1607 * gdb.base/advance.exp: Ditto.
1608 * gdb.base/display.exp: Ditto.
1609 * gdb.base/long_long.exp: Ditto.
1610 * gdb.base/mips_pro.exp: Ditto.
1611 * gdb.base/overlays.exp: Ditto.
1612 * gdb.base/relocate.exp: Ditto.
1613 * gdb.base/setshow.exp: Ditto.
1614 * gdb.base/step-line.exp: Ditto.
1615 * gdb.base/step-test.exp: Ditto.
1616 * gdb.base/until.exp: Ditto.
1617 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1618
c71cdefd
DC
16192003-01-17 David Carlton <carlton@math.stanford.edu>
1620
1621 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1622 corresponding to PR c++/945.
1623 Update copyright.
1624
fdba05d7
DC
16252003-01-17 David Carlton <carlton@math.stanford.edu>
1626
1627 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1628 corresponding to PR c++/68.
1629
16302003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1631
1632 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1633 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1634 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1635
c362c33a
EZ
16362003-01-15 Elena Zannoni <ezannoni@redhat.com>
1637
0fbc361c
EZ
1638 * gdb.base/break.exp: Fix change of default location, because of
1639 removal of until tests.
1640 * gdb.base/help.exp: Update test for new 'until' help message.
1641 Add test for help on 'advance'.
c362c33a
EZ
1642 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1643
dabf8a35
MK
16442003-01-15 Mark Kettenis <kettenis@gnu.org>
1645
1646 * gdb.base/default.exp: Adapt "info float" test for recent changes
1647 to that command. Add test for "info vector".
1648 * gdb.base/float.exp: New file. Add test for "info float" that
1649 resembles the old test in gdb.base/default.exp.
1650
a1769aca
DC
16512003-01-15 David Carlton <carlton@math.stanford.edu>
1652
1653 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1654
82025e13
EZ
16552003-01-15 Elena Zannoni <ezannoni@redhat.com>
1656
1657 * gdb.base/break.exp: Move the tests of until command from here...
1658 * gdb.base/until.exp: ... to here. New file. Add other tests.
1659 * gdb.base/advance.c: New file.
1660 * gdb.base/advance.exp: New file.
1661
8f9ab801
EZ
16622003-01-14 Elena Zannoni <ezannoni@redhat.com>
1663
1664 * gdb.base/args.c: New file.
1665 * gdb.base/args.exp: New file.
1666
9ae66589
DJ
16672003-01-14 Daniel Jacobowitz <drow@mvista.com>
1668
1669 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1670
8d77e5c3
DJ
16712003-01-14 Daniel Jacobowitz <drow@mvista.com>
1672
1673 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1674
12d2f0a1
DJ
16752003-01-14 Daniel Jacobowitz <drow@mvista.com>
1676
1677 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1678 dates.
1679
6ca37014
DJ
16802003-01-13 Daniel Jacobowitz <drow@mvista.com>
1681
1682 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1683
b0023472
DJ
16842003-01-13 Daniel Jacobowitz <drow@mvista.com>
1685
1686 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1687 (ptype &*"foo").
1688 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1689
d6abaea5
DJ
16902002-01-13 Daniel Jacobowitz <drow@mvista.com>
1691
1692 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1693 * gdb.mi/mi1-console.exp: Likewise.
1694
dfd536a7
DJ
16952002-01-13 Daniel Jacobowitz <drow@mvista.com>
1696
1697 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1698 * gdb.mi/mi1-console.exp: Likewise.
1699
a1fb14a2
DJ
17002003-01-13 Daniel Jacobowitz <drow@mvista.com>
1701
1702 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1703
c4cf40b7
DJ
17042003-01-09 Daniel Jacobowitz <drow@mvista.com>
1705
1706 * gdb.base/detach.exp: New test.
1707
696d5a5b
DJ
17082003-01-09 Daniel Jacobowitz <drow@mvista.com>
1709
1710 * Makefile.in (ALL_SUBDIRS): New variable.
1711 (subdirs, clean, distclean): Use it.
1712 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1713 regenerating Makefile, since it is generated from the top level.
1714 * gdb.asm/Makefile.in: Likewise.
1715 * gdb.base/Makefile.in: Likewise.
1716 * gdb.c++/Makefile.in: Likewise.
1717 * gdb.disasm/Makefile.in: Likewise.
1718 * gdb.java/Makefile.in: Likewise.
1719 * gdb.mi/Makefile.in: Likewise.
1720 * gdb.threads/Makefile.in: Likewise.
1721 * gdb.trace/Makefile.in: Likewise.
1722
754533e4
DC
17232003-01-09 David Carlton <carlton@math.stanford.edu>
1724
1725 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1726 Add copyright year 2003.
1727
d8b3e9ee
MC
17282003-01-06 Michael Chastain <mec@shout.net>
1729
1730 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1731 When selecting a thread, 'line' and 'file' are optional.
1732 * gdb.mi/mi1-pthreads.exp: Likewise.
1733
8e9e0fe6
AS
17342003-01-06 Andreas Schwab <schwab@suse.de>
1735
1736 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1737 failures.
1738
b5ab8ff3
DJ
17392003-01-04 Daniel Jacobowitz <drow@mvista.com>
1740
1741 Fix PR gdb/844
1742 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1743 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1744
1745 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1746 instead of calling gdb_suppress_entire_file.
1747 * gdb.threads/print-threads.exp: Likewise.
1748 * gdb.threads/schedlock.exp: Likewise.
1749
1750 * gdb.threads/killed.exp: Return instead of calling
1751 gdb_suppress_entire_file.
1752 * gdb.threads/linux-dp.exp: Likewise.
1753 * gdb.threads/pthreads.exp: Likewise.
1754
1e698235
DJ
17552003-01-04 Daniel Jacobowitz <drow@mvista.com>
1756
1757 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1758 stabs.
1759 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1760 * gdb.base/whatis.exp: Always allow (void) after function names.
1761
147ff08c
DJ
17622003-01-04 Daniel Jacobowitz <drow@mvista.com>
1763
1764 * gdb.c++/casts.exp: Correct regexp.
1765
dc62bfc2
MK
17662003-01-04 Mark Kettenis <kettenis@gnu.org>
1767
1768 * configure.in: Call AC_CONFIG_HEADER. Don't call
1769 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1770 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1771 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1772 aforementioned directories in the AC_OUPUT call.
1773 * config.hin: New file.
1774 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1775 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1776 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1777 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1778 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1779 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1780 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1781 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1782 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1783 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1784 gdb.threads/configure.in, gdb.threads/configure,
1785 gdb.threads/config.in, gdb.trace/configure.in,
1786 gdb.trace/configure: Removed.
1787
77afa639
MC
17882003-01-03 Michael Chastain <mec@shout.net>
1789
1790 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1791 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1792
7634bb6e
DJ
17932003-01-03 Daniel Jacobowitz <drow@mvista.com>
1794
1795 * gdb.base/store.exp: Fix regular expressions.
1796
b39c905e
MK
17972002-12-28 Mark Kettenis <kettenis@gnu.org>
1798
1799 * configure.in: Rewrite.
1800 * configure: Regenerated.
1801
0a8551dd
DC
18022003-01-03 David Carlton <carlton@math.stanford.edu>
1803
1804 * gdb.base/psymtab.exp: New file.
1805 * gdb.base/psymtab1.c: Ditto.
1806 * gdb.base/psymtab2.c: Ditto.
1807
c60b7188
AF
18082002-12-23 Adam Fedor <fedor@gnu.org>
1809
1810 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1811
ee73db83
DC
18122002-12-23 David Carlton <carlton@math.stanford.edu>
1813
1814 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1815 and current_directory initialization.
1816
d6c1774e
JB
18172002-12-22 Jim Blandy <jimb@redhat.com>
1818
f0a847b8
JB
1819 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1820 rather than as part of the output file name.
1821
d6c1774e
JB
1822 * gdb.base/attach.exp: There's no need to copy the test program to
1823 /tmp; that was only ever necessary on HP/UX, and this test is
1824 entirely disabled there anyway.
1825
f0708dbb
JB
18262002-12-21 Jim Blandy <jimb@redhat.com>
1827
4c2acfea
JB
1828 * gdb.c++/psmang.exp: Doc fix.
1829
f0708dbb
JB
1830 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1831 test.
1832
9579e000
DC
18332002-12-20 David Carlton <carlton@math.stanford.edu>
1834
1835 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1836
d1810171
MC
18372002-12-18 Michael Chastain <mec@shout.net>
1838
1839 * gdb.c++/annota2.exp: Add copyright year 2002.
1840
76565097
DC
18412002-12-17 David Carlton <carlton@math.stanford.edu>
1842
1843 * gdb.c++/try_catch.cc: Add marker comments.
1844 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1845 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1846 * gdb.c++/m-static.cc: Ditto.
1847 * gdb.c++/m-static1.cc: Ditto.
1848 * gdb.c++/try_catch.cc: Ditto.
1849
da81390b
JJ
18502002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1851
1852 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1853 to see whether we are using the new -environment-directory
1854 command which resets via -r or the old version of the command
1855 which may prompt the user. Part of fix for gdb/741.
1856
b304d130
AC
18572002-12-13 Andrew Cagney <ac131313@redhat.com>
1858
1859 * gdb.fortran/types.exp: Update obsolete comment.
1860 * gdb.fortran/exprs.exp: Ditto.
1861 * lib/gdb.exp: Delete obsolete code.
1862 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1863 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1864 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1865 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1866 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1867 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1868 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1869 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1870 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1871 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1872 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1873 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1874 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1875 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1876 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1877 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1878 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1879 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1880 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1881 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1882 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1883 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1884 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1885 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1886 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1887 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1888 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1889 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1890 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1891 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1892 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1893 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1894 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1895 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1896 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1897 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1898 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1899
a23b6e6a
DC
19002002-12-11 David Carlton <carlton@math.stanford.edu>
1901
1902 * gdb.c++/m-data.exp: Add test for members that shadow global
1903 variables: see PR gdb/804.
1904 * gdb.c++/m-data.cc: Ditto.
1905
6604731b
DJ
19062002-12-10 Daniel Jacobowitz <drow@mvista.com>
1907
1908 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1909
de46ecd7
DC
19102002-12-06 David Carlton <carlton@math.stanford.edu>
1911
1912 * gdb.base/store.c: Don't declare functions static.
1913
27e829d0
AC
19142002-12-04 Andrew Cagney <ac131313@redhat.com>
1915
1916 * gdb.base/store.exp, gdb.base/store.c: New files.
1917
92806416
DJ
19182002-12-03 Daniel Jacobowitz <drow@mvista.com>
1919
1920 * gdb.base/selftest.exp: Update for current gdb.
1921
3bcbaac5
DJ
19222002-12-03 Daniel Jacobowitz <drow@mvista.com>
1923
1924 * gdb.base/maint.exp: Only dump symbols from one source file
1925 or objfile.
1926
f4f00b1f
DJ
19272002-12-03 Daniel Jacobowitz <drow@mvista.com>
1928
1929 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1930 function call.
1931
f1c8a949
JB
19322002-11-25 Jim Blandy <jimb@redhat.com>
1933
1934 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1935 function appearing in error message.
1936
9e297a97
DJ
19372002-11-21 Daniel Jacobowitz <drow@mvista.com>
1938
1939 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1940
1f312e79
JJ
19412002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1942
1943 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1944 for mi1 and current mi is in correct format. New mi startup message
1945 should be in mi console format. This is part of fix for PR gdb/604.
1946
83c31e7d
FN
19472002-09-18 Fernando Nasser <fnasser@redhat.com>
1948
1949 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1950 which explicitly prints the zero offset as "+0".
1951
322b3f65
DJ
19522002-10-22 Daniel Jacobowitz <drow@mvista.com>
1953
1954 * gdb.threads/schedlock.c (args): Make unsigned.
1955
19562002-10-21 Daniel Jacobowitz <drow@mvista.com>
1957
1958 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1959 numbers. Allow "foo2|selected stack frame".
1960 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1961 * gdb.asm/asmsrc2.s: Likewise.
1962 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1963 comments.
1964 * gdb.asm/mips.inc: New file.
1965
5e2fe5b8
AF
19662002-10-18 Adam Fedor <fedor@gnu.org>
1967
1968 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1969 * gdb.base/help.exp: Likewise.
1970
abe1a5d0
KB
19712002-10-17 Kevin Buettner <kevinb@redhat.com>
1972
1973 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1974 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1975
10abb1d4
JB
19762002-10-02 Jim Blandy <jimb@redhat.com>
1977
1978 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1979
1f609b42
AC
19802002-10-01 Andrew Cagney <ac131313@redhat.com>
1981
1982 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1983 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1984 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1985 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1986 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1987 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1988 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1989
0aee02e4
AC
19902002-09-29 Andrew Cagney <ac131313@redhat.com>
1991
1992 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1993 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1994 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1995 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1996 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1997 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1998 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1999
6fde09ad
KB
20002002-09-27 Kevin Buettner <kevinb@redhat.com>
2001
2002 * gdb.base/annota1.exp (info break): Make directory components of
2003 path optional since not all compilers emit this debug information.
2004
2005 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2006 step ends up stepping out of the function instead of stopping on
2007 the epilogue.
2008
9e8aab75
KS
20092002-09-26 Keith Seitz <keiths@redhat.com>
2010
2011 * lib/insight-support.exp (gdbtk_start): Figure out where
2012 the insight executable is based on where gdb is. Use this
2013 executable to start insight instead of gdb.
2014
e36180d7
AC
20152002-09-25 Andrew Cagney <cagney@redhat.com>
2016
2017 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2018
9dd34b2b
AC
20192002-09-24 Andrew Cagney <ac131313@redhat.com>
2020
2021 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2022 test_isolated_complaints.
2023 (test_empty_complaint): New function.
2024 (test_empty_complaints): New function. Check no output when no
2025 complaints.
2026
dea97812
KB
20272002-09-19 Jim Blandy <jimb@redhat.com>
2028
2029 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2030
54951bd7
AC
20312002-09-19 Andrew Cagney <ac131313@redhat.com>
2032
2033 * gdb.gdb/complaints.exp: New file.
2034
dec43320
AC
20352002-09-18 Andrew Cagney <ac131313@redhat.com>
2036
2037 * gdb.base/maint.exp: Check `help maint internal-warning'.
2038
e70d6e3f
DC
20392002-09-18 David Carlton <carlton@math.stanford.edu>
2040
2041 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2042 numbers, and replace them by a single breakpoint after the
2043 constructors are all finished.
2044 Add test 4.
2045 * gdb.c++/m-static.cc: Add test 4.
2046 * gdb.c++/m-static.h: New file.
2047 * gdb.c++/m-static1.cc: New file.
2048
2049 * gdb.c++/printmethod.exp: New file.
2050 * gdb.c++/printmethod.cc: New file.
2051
2052 * gdb.c++/pr-574.exp: New file.
2053 * gdb.c++/pr-574.cc: New file.
2054
afb5c968
CV
20552002-09-18 Corinna Vinschen <vinschen@redhat.com>
2056
2057 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2058 embedded targets which never actually exit.
2059
31e45dee
FN
20602002-09-18 Fernando Nasser <fnasser@redhat.com>
2061
2062 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2063 "don't step after run" as unresolved or unsupported, instead of xfail.
2064
a283c5a1
CV
20652002-09-18 Corinna Vinschen <vinschen@redhat.com>
2066
2067 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2068 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2069 Add newline to expected string in "step out of main (status wrapper)"
2070 case.
2071
11350d2a
CV
20722002-09-18 Corinna Vinschen <vinschen@redhat.com>
2073
2074 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2075 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2076
0deec7d6
TT
20772002-09-17 Tom Tromey <tromey@redhat.com>
2078
2079 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2080 \000, not \0, in double-quoted string.
2081
b2b4a1b5
CV
20822002-09-14 Corinna Vinschen <vinschen@redhat.com>
2083
c9d37158 2084 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2085 string after running the commands execution on breakpoint tests.
2086
1c56143a
CV
20872002-09-13 Corinna Vinschen <vinschen@redhat.com>
2088
2089 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2090
37f8da45
JB
20912002-09-12 Joel Brobecker <brobecker@gnat.com>
2092
2093 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2094
08b468e0
KS
20952002-09-10 Keith Seitz <keiths@redhat.com>
2096
2097 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2098 runto proc.
2099 (mi_run_to_main): Use mi_runto.
2100 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2101
dc360f58
KS
21022002-09-10 Keith Seitz <keiths@redhat.com>
2103
2104 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2105 regexp for stopping at main. Could have multiple event notifications.
2106 Don't assume that main was declared with no parameters.
2107 (mi_next): Use mi_step_to.
2108 (mi_step): Use mi_next_to.
2109
ce3abcfb
CV
21102002-09-09 Corinna Vinschen <vinschen@redhat.com>
2111
2112 * gdb.base/default.exp: Fix expected string in `info float' test.
2113
d1f5b980
BE
21142002-09-09 Ben Elliston <bje@redhat.com>
2115
2116 * config/mips.exp: Update comments.
2117 * config/mips-idt.exp: Likewise.
2118 * config/nind.exp: Likewise.
2119 * config/slite.exp: Likewise.
2120 * config/sparclet.exp: Likewise.
2121 * config/udi.exp: Likewise.
2122 * config/vx.exp: Likewise.
2123 * config/vxworks29k.exp: Likewise.
2124
2f71430b
JB
21252002-09-05 Jim Blandy <jimb@redhat.com>
2126
2127 * gdb.threads/killed.exp: Fix test failure message.
2128
7ddebc7e
KS
21292002-09-04 Keith Seitz <keiths@redhat.com>
2130
2131 * lib/mi-support.exp: Update copyright.
2132 (mi_gdb_test): Increase the priority of the expected pattern
2133 so that it matches gdb_test.
2134
0ae67eb3
KS
21352002-09-03 Keith Seitz <keiths@redhat.com>
2136
2137 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2138 Use integer comparison instead of string comparison for testing
2139 whether binary was built.
2140
38fc42c8
JB
21412002-09-03 Jim Blandy <jimb@redhat.com>
2142
2143 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2144
b6ff0e81
JB
21452002-08-29 Jim Blandy <jimb@redhat.com>
2146
2147 * gdb.threads/pthreads.exp: Move the portable thread compilation
2148 code into a function in lib/gdb.exp, and call that from here.
2149 * lib/gdb.exp (gdb_compile_pthreads): New function.
2150
07c98896
KS
21512002-08-29 Keith Seitz <keiths@redhat.com>
2152
2153 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2154 expect_out so that callers can get at it.
2155
0312286c
DJ
21562002-08-23 Daniel Jacobowitz <drow@mvista.com>
2157
2158 * gdb.threads/print-threads.c: New file.
2159 * gdb.threads/print-threads.exp: New file.
2160 * gdb.threads/schedlock.c: New file.
2161 * gdb.threads/schedlock.exp: New file.
2162
dd039bc4
EZ
21632002-08-22 Elena Zannoni <ezannoni@redhat.com>
2164
2165 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2166 not altivec.c.
2167
1f36144c
MK
21682002-08-17 Mark Kettenis <kettenis@gnu.org>
2169
2170 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2171 targets. The problem should be fixed now.
2172
16057ec7 21732002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2174
2175 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2176 2002-07-24 change that removes final dots from error messages.
2177
3c1499ad
TT
21782002-08-13 Tom Tromey <tromey@redhat.com>
2179
2180 * gdb.base/readline.exp: New file.
2181
a20ce2c3
AC
21822002-08-01 Andrew Cagney <ac131313@redhat.com>
2183
2184 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2185 supress message.
2186
db034ac5
AC
21872002-08-01 Andrew Cagney <cagney@redhat.com>
2188
2189 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2190 CHILL_FOR_TARGET and CHILL_LIB.
2191 * configure.in (configdirs): Remove gdb.chill.
2192 * configure: Regenerate.
2193 * lib/gdb.exp: Obsolete references to chill.
2194 * gdb.fortran/types.exp: Ditto.
2195 * gdb.fortran/exprs.exp: Ditto.
2196
3e000b18
KB
21972002-07-30 Kevin Buettner <kevinb@redhat.com>
2198
2199 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2200 set Irix-specific compile and link flags.
2201
28f4966b
KB
22022002-07-29 Kevin Buettner <kevinb@redhat.com>
2203
2204 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2205 source files. The ``-o'' option doesn't work with the ``-E'' option
2206 when using the Irix compiler.
2207
46c0d5a6
DJ
22082002-07-19 Daniel Jacobowitz <drow@mvista.com>
2209
2210 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2211 Improve support for reusing an exec file. Copy exec file
2212 to target, and run gdbserver on the target instead of on the host.
2213
eecf4bed
JB
22142002-07-18 Jim Blandy <jimb@redhat.com>
2215
0f815cdf
JB
2216 * gdb.base/ending-run.exp: Don't expect to see the program end in
2217 some orderly fashion when we're running on a real stand-alone
2218 board.
2219
eecf4bed
JB
2220 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2221 targets that don't support interrupts.
2222
52d309e4
JB
22232002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2224
2225 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2226 systems.
2227 Move comments in expect statements to inside the actions, so that they
2228 don't get matched against.
2229
ff683d9e
MK
22302002-07-10 Mark Kettenis <kettenis@gnu.org>
2231
2232 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2233 function when asleep" test.
2234
b5356753
AC
22352002-07-10 Andrew Cagney <ac131313@redhat.com>
2236
2237 * gdb.base/page.exp: Rewrite to handle problems with very long
2238 `info set' output. Update copyright.
2239
6aa4d13a
AC
22402002-06-26 Andrew Cagney <ac131313@redhat.com>
2241
2242 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2243 gdb.threads-hp.
2244 * gdb.hp/configure: Regenerate.
2245 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2246 * gdb.hp/gdb.threads-hp/configure: Delete file.
2247 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2248
8cf8c2b8
AC
22492002-06-22 Andrew Cagney <ac131313@redhat.com>
2250
2251 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2252 setlocale, bindtextdomain and textdomain.
2253
6827a8f8
JB
22542002-06-11 Jim Blandy <jimb@redhat.com>
2255
919d772c
JB
2256 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2257 preprocessor macro information is present.
2258
6827a8f8
JB
2259 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2260 tests.
2261
c15b0d21
MS
22622002-06-06 Michael Snyder <msnyder@redhat.com>
2263
c5984d70
MS
2264 * gdb.base/overlays.exp: Record addresses of overlay
2265 functions in TCL variables rather than in GDB variables,
2266 to avoid having GDB convert them to pointers (with loss
2267 of information).
2268
99a8512b
MS
2269 * gdb.base/d10v.ld: Merge in several years worth of
2270 default linker script changes.
c15b0d21
MS
2271 * gdb.base/long_long.exp: Add check for sizeof (long double).
2272
be26fe0d
ML
22732002-06-06 Michal Ludvig <mludvig@suse.cz>
2274
2275 * gdb.asm/asm-source.exp: Add x86-64 target.
2276 * gdb.asm/x86_64.inc: New.
2277
258093ca 22782002-05-30 Michael Chastain <mec@shout.net>
258093ca 2279
4b3153f1 2280 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2281 * gdb.c++/m-static.cc: New file.
2282 * gdb.c++/m-static.exp: New file.
2283
241264c6
MS
22842002-05-28 Michael Snyder <msnyder@redhat.com>
2285
2286 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2287 precision.
2288
9bba8c8f 22892002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2290
4b3153f1 2291 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2292 * gdb.c++/m-data.cc: New file.
2293 * gdb.c++/m-data.exp: New file.
2294
22952002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2296
4b3153f1 2297 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2298 * gdb.c++/try_catch.cc: New file.
2299 * gdb.c++/try_catch.exp: New file.
2300
def1b996
MC
23012002-05-27 Michael Chastain <mec@shout.net>
2302
2303 * gdb.c++/local.exp: Accept more nested types in output.
2304
522ba268
MC
23052002-05-26 Michael Chastain <mec@shout.net>
2306
2307 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2308
277254ba
MS
23092002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2310
2311 * lib/gdb.exp (gdb_wrapper_init): Just because
2312 gdb_wrapper_file exists, this does not mean that the file
2313 should not be rebuilt. That is what gdb_wrapper_initialized
2314 is for.
2315 (default_gdb_init): Reset gdb_wrapper_initialized.
2316
b61a8733
MS
23172002-05-23 Michael Snyder <msnyder@redhat.com>
2318
5bdb6d01
MS
2319 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2320 the precision of the floating point test results.
2321 * gdb.base/call-rt-st.exp: Ditto.
2322
b61a8733
MS
2323 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2324 * gdb.base/call-rt-st.exp: Ditto.
2325
56f6e910
MC
23262002-05-19 Michael Chastain <mec@shout.net>
2327
2328 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2329
ad0b0016
EZ
23302002-05-19 Elena Zannoni <ezannoni@redhat.com>
2331
2332 * configure.in (configdirs): Add gdb.arch.
2333 * configure: Regenerate.
2334
f617d2b6
JB
23352002-05-17 Jim Blandy <jimb@redhat.com>
2336
2337 * gdb.base/completion.exp: Recognize the more detailed error
2338 messages produced by the macro expander's lexical analyzer.
2339
eac2a696
EZ
23402002-05-14 Elena Zannoni <ezannoni@redhat.com>
2341
2342 * gdb.arch/altivec-abi.c: New file.
2343 * gdb.arch/altivec-abi.exp: New file.
2344 * gdb.arch/altivec-regs.c: New file.
2345 * gdb.arch/altivec-regs.exp: New file.
2346
2fdde8f8
DJ
23472002-05-14 Daniel Jacobowitz <drow@mvista.com>
2348
2349 * gdb.base/maint.exp (maint print type): Update for new type
2350 structure.
eac2a696 2351
e31f1a7c
EZ
23522002-05-14 Elena Zannoni <ezannoni@redhat.com>
2353
2354 * gdb.arch: New directory.
2355 * gdb.arch/configure.in: New file.
2356 * gdb.arch/configure: New file.
2357 * gdb.arch/Makefile.in: New file.
2358
db589741
CV
23592002-05-13 Corinna Vinschen <vinschen@redhat.com>
2360
2361 * gdb.asm/asm-source.exp: Add v850 as supported target.
2362 * gdb.asm/v850.inc: New file.
2363
8ce2a7dc
DJ
23642002-05-13 Daniel Jacobowitz <drow@mvista.com>
2365
2366 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2367
df763c7f
DJ
23682002-05-12 Daniel Jacobowitz <drow@mvista.com>
2369
2370 * gdb.base/break.exp: Check 'break "marker2"'.
2371
377daeed
MS
23722002-05-10 Michael Snyder <msnyder@redhat.com>
2373
2374 * gdb.base/long_long.exp: Fix typo.
2375
c4b7bc2b
JB
23762002-05-10 Jim Blandy <jimb@redhat.com>
2377
ecac9a4e
JB
2378 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2379 a bug.
2380
c4b7bc2b
JB
2381 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2382 Recognize more detailed error message produced by the macro
2383 expander's lexical analyzer.
2384 * lib/gdb.exp (test_print_reject): Same.
2385
e71019a1
MK
23862002-05-09 Mark Kettenis <kettenis@gnu.org>
2387
2388 * gdb.c++/method.exp: Fix typo.
2389
fedfc8e6
MS
23902002-05-08 Michael Snyder <msnyder@redhat.com>
2391
166a1957
MS
2392 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2393 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2394 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2395 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2396 Add iftarget clause for strongarm.
2397
f1c47eb2
MS
23982002-05-06 Michael Snyder <msnyder@redhat.com>
2399
cb9a9d3e
MS
2400 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2401 (gdb_continue_to_end): Accept output from status wrapper.
2402 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2403 Clean up fail messages to match pass messages.
2404
f1c47eb2
MS
2405 Enable the "needs_status_wrapper" testsuite feature.
2406 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2407 (gdb_compile): Conditionally call gdb_wrapper_init.
2408 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2409 * gdb.c++/method.exp: Recognize output from status wrapper.
2410
6079c749
BE
24112002-05-06 Ben Elliston <bje@redhat.com>
2412From Graydon Hoare <graydon@redhat.com>
2413
2414 * config/sid.exp: Include support for "rawsid" protocol.
2415
188baff3
JB
24162002-05-03 Jim Blandy <jimb@redhat.com>
2417
2418 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2419 * gdb.c++/hang3.C: New file.
2420
b9c07f0f
AC
24212002-05-04 Andrew Cagney <ac131313@redhat.com>
2422
2423 * gdb.base/default.exp: Remove obsolete code.
2424 * gdb.c++/misc.exp: Ditto. Update copyright.
2425 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2426 * gdb.base/whatis.exp: Ditto. Update copyright.
2427 * gdb.base/scope.exp: Ditto. Update copyright.
2428 * gdb.base/ptype.exp: Ditto. Update copyright.
2429 * gdb.base/printcmds.exp: Ditto. Update copyright.
2430 * gdb.base/opaque.exp: Ditto. Update copyright.
2431 * gdb.base/list.exp: Ditto.
2432 * gdb.base/funcargs.exp: Ditto. Update copyright.
2433 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2434 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2435 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2436 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2437 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2438 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2439
5c7a0397
MS
24402002-05-02 Michael Snyder <msnyder@redhat.com>
2441
d6dcc264 2442 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2443 * gdb.base/long_long.exp: Add xscale target.
2444 * gdb.base/default.exp: Add xscale target.
2445
eb7f1c48
JB
24462002-05-01 Jim Blandy <jimb@redhat.com>
2447
2448 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2449 gdb.c++/hang.exp: New test.
2450
a6befae8
FF
24512002-05-01 Fred Fish <fnf@redhat.com>
2452
2453 * gdb.base/completion.exp: Handle completions of "./Make" for
2454 more than one completion possibility, as is the case when we
2455 build and test in the source tree.
2456
0a310277
AG
24572002-04-29 Anthony Green <green@redhat.com>
2458
2459 * gdb.java/jmisc1.exp: New file.
2460 * gdb.java/jmisc2.exp: New file.
2461
6ff9af88
DJ
24622002-04-24 Daniel Jacobowitz <drow@mvista.com>
2463
2464 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2465
96b3d632
EZ
24662002-04-23 Elena Zannoni <ezannoni@redhat.com>
2467
2468 * gdb.base/help.exp: Change 'help status' to allow for target
2469 dependent output differences.
2470
5019bb54
MC
24712002-04-22 Michael Chastain <mec@shout.net>
2472
2473 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2474
a805a116
MC
24752002-04-22 Michael Chastain <mec@shout.net>
2476
2477 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2478
a1706bfd
DM
24792002-04-17 David S. Miller <davem@redhat.com>
2480
2481 * gdb.asm/sparc64.inc: New file.
2482 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2483
a73a20a2
EZ
24842002-04-19 Elena Zannoni <ezannoni@redhat.com>
2485
2486 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2487 instruction file directly into the build tree. Clean up at end of
2488 test.
2489
ba678339
DM
24902002-04-18 David S. Miller <davem@redhat.com>
2491
2492 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2493 handle 64-bit platforms correctly.
2494 * gdb.base/maint.exp: Likewise.
2495
b03399da
KB
24962002-04-18 Kevin Buettner <kevinb@redhat.com>
2497
2498 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2499 ``-fpic'' when compiling files comprising a shared library, but
2500 it does need additional linker flags in order to find shared
2501 libraries at run time.
2502
e2004992
KB
25032002-04-18 Kevin Buettner <kevinb@redhat.com>
2504
2505 * gdb.base/cvexpr.c (use): New function.
2506 (main): Invoke use() on all global variables to prevent
2507 some linkers from deleting these otherwise unused symbols.
2508
d8937120
MC
25092002-04-17 Michael Chastain <mec@shout.net>
2510From David S. Miller <davem@redhat.com>
2511
2512 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2513 handle 64-bit platforms correctly.
2514
ffd61a58
MS
25152002-04-12 Michael Snyder <msnyder@redhat.com>
2516From Jim Blandy <jimb@redhat.com>
2517 * gdb.base/foo.c (foox): Remove section attribute; the linker
2518 script can handle this instead.
2519 * gdb.base/bar.c (barx): Same.
2520 * gdb.base/baz.c (bazx): Same.
2521 * gdb.base/grbx.c (grbxx): Same.
2522
2523 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2524 manager doesn't automatically unmap overlays unnecessarily.
2525
6b8426a6
MH
25262002-04-10 Martin M. Hunt <hunt@redhat.com>
2527
2528 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2529 stepping out of main.
2530
34af4875
MC
25312002-04-09 Michael Chastain <mec@shout.net>
2532
2533 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2534 scope so that the nested scope tests will make sense.
2535 * gdb.c++/local.exp: Write patterns that actually work with gcc
2536 (the HP patterns "were never known to work with gcc").
2537 Keep the old aCC patterns too.
2538
2d1676a0
DJ
25392002-04-09 Daniel Jacobowitz <drow@mvista.com>
2540
2541 * gdb.base/attach.exp: Correct target board test.
2542
3a63e3f9
MC
25432002-04-08 Michael Chastain <mec@shout.net>
2544
2545 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2546 in a const method. Add some xfail and fail cases for configurations
2547 that do not emit the "const ...".
2548
f18dabd2
MC
25492002-04-07 Michael Chastain <mec@shout.net>
2550
2551 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2552 Accept "A * const" and "const A * const" as type of "this".
2553 Fix spelling of getFunky throughout. Make messages uniform.
2554
0fcddd82
EZ
25552002-04-07 Elena Zannoni <ezannoni@redhat.com>
2556
2557 Work around for PR gdb/285:
2558 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2559
16a8534a
EZ
25602002-04-07 Elena Zannoni <ezannoni@redhat.com>
2561
2562 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2563 instructions file at run time instead of configure time.
2564 Sometimes we run the test in a directory that is not the one we
2565 configured in.
2566 * gdb.asm/configure.in: Delete creation of symlink.
2567 * gdb.asm/configure: Regenerate.
2568
24181d81
JB
25692002-04-05 J. Brobecker <brobecker@gnat.com>
2570
2571 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2572 xfullpath () function.
2573
7cdb7107
DJ
25742002-04-04 Daniel Jacobowitz <drow@mvista.com>
2575
2576 * gdb.asm/Makefile.in: Correct dependencies.
2577
2578 * gdb.asm/powerpc.inc: New file.
2579 * gdb.asm/asm-source.exp: Add PowerPC.
2580 * gdb.asm/configure.in: Likewise.
2581 * gdb.asm/configure: Regenerated.
2582
a7d17088
DJ
25832002-04-04 Daniel Jacobowitz <drow@mvista.com>
2584
2585 * gdb.base/relocate.exp: New file.
2586 * gdb.base/relocate.c: New file.
2587
cd721503
FF
25882002-04-04 Fred Fish <fnf@redhat.com>
2589
2590 * gdb.base/step-test.exp: Update comment regarding stopping in
2591 memcpy/bcopy calls inserted as part of the compiler runtime.
2592
b22ad7a7
MS
25932002-04-04 Michael Snyder <msnyder@redhat.com>
2594
2595 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2596
5f279fa6
DJ
25972002-04-03 Daniel Jacobowitz <drow@mvista.com>
2598
2599 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2600 (gdb_expect): Remove $notransfer hack.
2601
dd0fd3ce
DJ
26022002-04-02 Daniel Jacobowitz <drow@mvista.com>
2603
2604 * gdb.c++/classes.exp ("calling method for small class"): Match
2605 updated register output.
2606
1e50cda1
DJ
26072002-03-30 Daniel Jacobowitz <drow@mvista.com>
2608
2609 Fix PR gdb/452
2610 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2611 when finished. Make gdb_file_cmd send "exec-file" when
2612 appropriate.
2613
24015922
DJ
26142002-03-30 Daniel Jacobowitz <drow@mvista.com>
2615
2616 * gdb.base/attach.exp: Remove extra setup_xfail.
2617
dd7dfd64
MS
26182002-03-26 Michael Snyder <msnyder@redhat.com>
2619
2620 * gdb.base/default.exp: Add tests for dump, append, and restore.
2621 * gdb.base/help.exp: Add tests for dump, append, and restore.
2622 * gdb.base/dump.exp: New file, test dump, append and restore.
2623 * gdb.base/dump.c: New file.
2624
48b2f8d7
MS
26252002-03-27 Michael Snyder <msnyder@redhat.com>
2626
2627 * gdb.base/help.exp: Modify expect strings to reflect
2628 clean-ups in help messages.
2629
05b4d525
FF
26302002-03-26 Fred Fish <fnf@redhat.com>
2631
2632 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2633 have debugging info for those functions and the compiler uses them
2634 internally to copy structs around.
2635
d7679631
FF
26362002-03-26 Fred Fish <fnf@redhat.com>
2637
2638 * gdb.base/list.exp: Revert the change made yesterday and add note
2639 about why we don't list the default lines for remote targets.
2640
523ac3f9
MS
26412002-03-25 Michael Snyder <msnyder@redhat.com>
2642
2643 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2644
754b2b8d
FF
26452002-03-25 Fred Fish <fnf@redhat.com>
2646
2647 * gdb.base/list.exp: This test works on remote targets so remove
2648 the short circuit for remote targets. Update copyright.
2649
33c3e192
FF
26502002-03-25 Fred Fish <fnf@redhat.com>
2651
2652 * gdb.base/attach.exp: Fix logic error that was suppressing this
2653 test for all non hppa*-*-hpux* targets, instead of the hp target.
2654 Move comments closer to the suppression point. Also now need to
2655 check that we are running natively.
2656
d43e73ee
MS
26572002-03-22 Michael Snyder <msnyder@redhat.com>
2658
882c8f02
MS
2659 * gdb.base/default.exp: Add test for gcore. Update copyright.
2660 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2661
04c12f60
FF
26622002-03-06 Fred Fish <fnf@redhat.com>
2663
2664 * gdb.base/funcargs.c: Remove extraneous ';' character.
2665 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2666
b43df995
MC
26672002-03-04 Michael Chastain <mec@shout.net>
2668
2669 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2670 accommodate gcc v3 function signature.
2671 * gdb.mi/mi0-var-cmd-exp: Ditto.
2672
92362027
AC
26732002-02-24 Andrew Cagney <ac131313@redhat.com>
2674
2675 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2676 ``GNU/Linux'' or ``Linux kernel''
2677 * testsuite/gdb.threads/pthreads.c: Ditto.
2678
258ad32d
MC
26792002-02-24 Michael Chastain <mec@shout.net>
2680
2681 * gdb.threads/pthreads.c (thread1): Add a return statement.
2682 (thread2): Likewise.
2683 (foo): Likewise.
2684
04c3b3d4
MC
26852002-02-23 Michael Chastain <mec@shout.net>
2686
2687 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2688 to placate gcc.
2689
5a2a0a20
MC
26902002-02-23 Michael Chastain <mec@shout.net>
2691
2692 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2693 test "ptype bint". The test passes on all my stabs configurations.
2694
a640f7fc
JB
26952002-02-21 Jim Blandy <jimb@redhat.com>
2696
27924826
JB
2697 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2698 filename at a time, and watch for the ones we want to see.
2699
a640f7fc
JB
2700 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2701 types of pointers to prototyped functions.
2702
edcc8c75
AC
27032002-02-20 Andrew Cagney <ac131313@redhat.com>
2704
2705 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2706 signed, unsigned and straight char.
2707 (padding_char, padding_short, padding_int, padding_long,
2708 padding_long_long, padding_float, padding_double,
2709 padding_long_double): New global variables.
2710 (fill, fill_structs): New functions.
2711
2712 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2713 for correctly sized writes. Update copyright.
2714 (get_valueof): New procedure.
2715 (get_sizeof): Call get_valueof.
2716 (check_valueof): New procedure.
2717 (check_padding): New procedure.
2718
ac57ea44
MC
27192002-02-20 Michael Chastain <mec@shout.net>
2720
2721 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2722 to setup_xfail. Document some of the remaining calls.
2723
7a10c941
MC
27242002-02-18 Michael Chastain <mec@shout.net>
2725
2726 * gdb.c++/userdef.exp: Update copyright year.
2727
fb8acdcc
DJ
27282002-02-18 Daniel Jacobowitz <drow@mvista.com>
2729
2730 * gdb.c++/userdef.exp: Test overloaded operators properly.
2731 Remove xfails.
2732
fda6ae12
MS
27332002-02-14 Michael Snyder <msnyder@redhat.com>
2734
2735 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2736
676a0442
DJ
27372002-02-14 Daniel Jacobowitz <drow@mvista.com>
2738
2739 * gdb.base/a2-run.exp: Check for a remote target properly.
2740 * gdb.base/annota1.exp: Likewise.
2741 * gdb.base/list.exp: Likewise.
2742 * gdb.base/reread.exp: Likewise.
2743 * gdb.base/scope.exp: Likewise.
2744 * gdb.base/shlib-call.exp: Likewise.
2745 * gdb.base/term.exp: Likewise.
2746 * gdb.c++/annota2.exp: Likewise.
2747
78b4f468
RE
27482002-02-13 Richard Earnshaw <rearnsha@arm.com>
2749
2750 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2751
9a81ba51
MC
27522002-02-10 Michael Chastain <mec@shout.net>
2753
2754 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2755 (call_after_alloca): Ditto.
2756
004af6c7
DJ
27572002-02-10 Daniel Jacobowitz <drow@mvista.com>
2758
2759 * gdb.base/ending-run.exp: Guard "cont" test with
2760 gdb_skip_stdio_test.
2761
37225f62
JB
27622002-02-06 Jim Blandy <jimb@redhat.com>
2763
2764 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2765 from here...
2766 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2767 To here. Disable this test on non-HP platforms. Add big comment.
2768
fe6fdd96
MS
27692002-02-04 Michael Snyder <msnyder@redhat.com>
2770
2771 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2772 other than d10v and m32r.
2773
036fad3f
RE
27742002-02-02 Richard Earnshaw <rearnsha@arm.com>
2775
2776 * gdb.base/default.exp: Rewrite test patterns to reduce time
2777 taken to match them.
2778
7148ab62
DJ
27792002-01-30 Daniel Jacobowitz <drow@mvista.com>
2780
2781 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2782 Allow a start function above main.
2783 * gdb.threads/linux-dp.exp: Fix copyright date.
2784
396cc255
DJ
27852002-01-30 Daniel Jacobowitz <drow@mvista.com>
2786
2787 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2788 (check_philosopher_stack): Check for manager thread before checking
2789 for a just-starting thread.
2790
f038d31b
DJ
27912002-01-30 Daniel Jacobowitz <drow@mvista.com>
2792
2793 From Neil Booth <neil@daikokuya.demon.co.uk>:
2794 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2795 warnings.
2796
b3ff9d9a
FF
27972002-01-21 Fred Fish <fnf@redhat.com>
2798
2799 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2800 not caller.
2801
39ad761d
JB
28022002-01-21 Jim Blandy <jimb@redhat.com>
2803
2804 * gdb.base/reread.exp: Check that GDB properly re-reads the
2805 executable file when it changes while no inferior is running.
2806
aaf320fa
FF
28072002-01-21 Fred Fish <fnf@redhat.com>
2808
2809 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2810 optionally accept the "shlib events" variation.
2811
808a31f5
JB
28122002-01-21 Jim Blandy <jimb@redhat.com>
2813
2814 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2815 call `fflush' after every `printf', so that the output is produced
2816 at predictable points, regardless of whatever buffering does (or
2817 doesn't) take place.
2818 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2819 at different points.
2820
4420d5e2
DJ
28212002-01-20 Daniel Jacobowitz <drow@mvista.com>
2822
2823 * gdb.c++/inherit.exp: Update copyright years.
2824 * gdb.c++/method.exp: Likewise.
2825
3e36a0f4
DJ
28262002-01-20 Daniel Jacobowitz <drow@mvista.com>
2827
2828 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2829 artificial methods/arguments.
2830 * gdb.c++/derivation.exp: Likewise.
2831 * gdb.c++/inherit.exp: Likewise.
2832 * gdb.c++/method.exp: Likewise.
2833 * gdb.c++/virtfunc.exp: Likewise.
2834
b4ceaee6
AC
28352002-01-18 Andrew Cagney <ac131313@redhat.com>
2836
2837 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2838 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2839 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2840 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2841 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2842 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2843
ecace851
JB
28442002-01-17 Jim Blandy <jimb@redhat.com>
2845
2846 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2847 anchoring the pattern matching the entry point symbol's name.
2848
375fc983
AC
28492002-01-17 Andrew Cagney <ac131313@redhat.com>
2850
2851 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2852 continue/quit query. Update copyright.
2853
fe6fdd96
MS
28542002-01-14 Michael Snyder <msnyder@redhat.com>
2855
2856 * gdb.base/gcore.exp: Remove extra debugging output.
2857
e017c81f
DJ
28582002-01-13 Daniel Jacobowitz <drow@mvista.com>
2859
2860 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2861 for slightly dubious v2 mangled string.
2862
37ab3bf8
DJ
28632002-01-13 Daniel Jacobowitz <drow@mvista.com>
2864
2865 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2866
1bc05c3a 28672002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2868
1bc05c3a 2869 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2870
1bc05c3a
JM
2871 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2872 constructors.
2873 * gdb.c++/derivation.exp: Likewise.
2874 * gdb.c++/templates.exp: Likewise.
2875 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2876
1bc05c3a
JM
28772002-01-10 Michael Snyder <msnyder@redhat.com>
2878
2879 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2880
a911c360
MS
28812002-01-08 Michael Snyder <msnyder@redhat.com>
2882
2883 * gdb.base/gcore.exp: New test for generate-core-file command.
2884 * gdb.base/gcore.c: Testcase for above.
2885 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2886
ea2119ec
JM
28872002-01-08 Jason Merrill <jason@redhat.com>
2888
2889 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2890
68203136
FF
28912002-01-07 Fred Fish <fnf@redhat.com>
2892
2893 * gdb.c++/overload.exp: Remove unconditional xfails for:
2894 print foo_instance1.overloadargs(1)
2895 print foo_instance1.overloadargs(1, 2)
2896 print foo_instance1.overloadargs(1, 2, 3)
2897 print foo_instance1.overloadargs(1, 2, 3, 4)
2898 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2899 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2900 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2901 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2902 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2903 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2904 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2905 print foo_instance1.overload1arg()
2906 print foo_instance1.overload1arg((char)arg2)
2907 print foo_instance1.overload1arg((signed char)arg3)
2908 print foo_instance1.overload1arg((unsigned char)arg4)
2909 print foo_instance1.overload1arg((int)arg7)
2910 print foo_instance1.overload1arg((unsigned int)arg8)
2911 print foo_instance1.overload1arg((float)arg11)
2912 print foo_instance1.overload1arg((double)arg12)
2913
21b9b5b1
MS
29142002-01-07 Michael Snyder <msnyder@redhat.com>
2915
2916 * gdb.base/huge.exp: New test. Print a very large target data object.
2917 (skip_huge_test): New test variable. Define if you want to skip this
2918 test. The test reads an 8 megabyte data object from the target, so it
2919 might be very time consuming on remote targets with a slow connection.
2920 * gdb.base/huge.c: New file. Test case for above.
2921
725f922e
FF
29222002-01-07 Fred Fish <fnf@redhat.com>
2923
2924 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2925 g_instance.bfoo, and g_instance.cfoo.
2926
634d57ec
JL
2927Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2928
f286b2c3
JL
2929 * gdb.base/break.c (multi_line_if_conditional): New function.
2930 (multi_ilne_while_conditional): Likewise.
2931 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2932 IF or WHILE condition puts the breakpoint at the start of
2933 the condition.
2934
634d57ec
JL
2935 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2936 hppa*-*-hpux* expected failure.
2937 * gdb.base/structs.exp (do_function_calls): Similarly.
2938
2939 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2940 watchpoints.
2941
9fbfe2dc
AC
29422002-01-06 Andrew Cagney <ac131313@redhat.com>
2943
2944 Fix PR gdb/66.
2945 * gdb.base/structs.exp: Replace skip for a29k with skip for
2946 gdb,cannot_call_functions.
2947 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2948 * gdb.base/callfuncs.exp: Ditto.
2949 * gdb.base/call-rt-st.exp: Ditto.
2950 * gdb.base/call-strs.exp: Ditto.
2951 * gdb.base/callfwmall.exp: Ditto.
2952 * gdb.base/scope.exp: Obsolete xfail a29k.
2953 * gdb.c++/misc.exp: Ditto.
2954 * gdb.c++/cplusfuncs.exp: Ditto.
2955 * gdb.base/ptype.exp: Ditto.
2956 * gdb.base/printcmds.exp: Ditto.
2957 * gdb.base/opaque.exp: Ditto.
2958 * gdb.base/list.exp: Ditto.
2959 * gdb.base/funcargs.exp: Ditto.
2960 * gdb.base/default.exp: Ditto.
2961
8ddad156
MS
29622002-01-04 Michael Snyder <msnyder@redhat.com>
2963
ca4976a6 2964 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2965 * gdb.base/maint.exp: Add tests for maint info sections options.
2966
1b074332
JL
2967Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2968
2969 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2970
7d159115
CV
29712001-12-20 Corinna Vinschen <vinschen@redhat.com>
2972
2973 * gdb.asm/arm.inc: New file.
2974 * gdb.asm/asm-source.exp: Add arm targets.
2975 * gdb.asm/configure.in: Ditto.
2976 * gdb.asm/configure: Recreated from configure.in.
2977
8fb87725
JL
2978Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2979
afabe08c
JL
2980 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2981 with HP's compiler.
2982 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2983 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2984 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2985 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2986
2987 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2988 either HP's compilers or GCC.
2989
db521deb
JL
2990 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2991 a SIGBUS or SIGSEGV.
2992
2993 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2994
2995 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2996 can be compiled with either HP's compiler or GCC.
2997
cfa88ab7
JL
2998 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2999 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3000 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3001
ca344dff
JL
3002 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3003 to match current gdb output. Update due to using auto-solib-limit
3004 for limiting instead of overloading auto-solib-add.
3005 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3006 test program.
3007
3f3c6e55 3008 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3009 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3010 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3011 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3012 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3013 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3014 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3015 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3016 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3017 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3018 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3019 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3020 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3021
8fb87725
JL
3022 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3023 a SIGTRAP to the inferior.
3024
cf599fa7
CV
30252001-12-19 Corinna Vinschen <vinschen@redhat.com>
3026
3027 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3028 Substitute call to target_link by call to gdb_compile.
3029
2cd045cd
JL
3030Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3031
3032 * gdb.base/break.exp: Fix HP specific search string when testing
3033 backtracing in a called function.
3034
3035 * gdb.base/constvars.exp: Only set lang to C++ if we're
3036 compiling the test with HP's compilers.
3037 * gdb.base/volatile.exp: Similarly.
3038
99ebe9ac
JB
30392001-12-19 Jim Blandy <jimb@redhat.com>
3040
3041 * gdb.base/printcmds.exp: Expect the null character to be printed
3042 as '\0', and the '\013' to be printed as '\v'.
3043 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3044 * gdb.base/setvar.exp: Same.
3045
b9891b29
JB
30462001-12-17 Jim Blandy <jimb@redhat.com>
3047
0eba65ab
JB
3048 * gdb.base/completion.exp: Rather than completing very long
3049 filenames, which can make the readline library produce output we
3050 don't recognize, cd to the directory first, and then complete
3051 using nice, short relative paths.
3052
6970b5b1
JB
3053 * gdb.base/completion.exp: On some systems, there is, in fact, a
3054 variable named `b' in scope, since GDB treats all static
3055 variables as being in scope. So use `no_var_named_this'
3056 instead of `b'.
3057
b9891b29
JB
3058 * gdb.base/corefile.exp: Recognize the message saying that GDB
3059 can't find the core file's registers as a failure.
3060
e6ccd35f
JSC
30612001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3062
3063 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3064 test expect string more specific.
3065
105ba819
CV
30662001-12-13 Corinna Vinschen <vinschen@redhat.com>
3067
3068 * gdb.asm/asm-source.exp: Add support for xstormy16.
3069 * gdb.asm/configure.in: Ditto.
3070 * gdb.asm/configure: Rebuild.
3071 * gdb.asm/xstormy16.inc: New file.
3072
e9e79dd9
FF
30732001-12-10 Fred Fish <fnf@redhat.com>
3074
3075 * gdb.base/maint.exp: Update to match changes in type dumping code.
3076
347dc97d
JB
30772001-12-10 Jim Blandy <jimb@redhat.com>
3078
3079 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3080 matching the entry point symbol's name at the beginning of the
3081 line.
3082
5178b9d6
DJ
30832001-12-07 Daniel Jacobowitz <drow@mvista.com>
3084
3085 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3086 gdb.c++/inherit.exp, gdb.c++/method.exp,
3087 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3088 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3089 and class layout support.
3090
af890c52
DJ
30912001-12-07 Daniel Jacobowitz <drow@mvista.com>
3092
3093 * gdb.c++/classes.exp: Add test for static member function.
3094 * gdb.c++/misc.cc: Add class with static member function.
3095
7a345fb3
JB
30962001-12-07 Jim Blandy <jimb@redhat.com>
3097
f2e54a80 3098 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3099 those tests as `unsupported'.
3100 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3101 Rewrite subsequent tests to use it.
3102
3103 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3104 those tests as `unsupported'.
3105 * gdb.base/structs.exp (call_struct_func): New function.
3106 (do_function_calls): Use call_struct_func to call the functions
3107 returning structs.
3108
0bc69509
JB
3109 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3110 whether functions are prototyped or not, so we can't possibly pass
3111 arguments to t_float_values2 properly.
3112
7a345fb3
JB
3113 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3114 value of `timeout' for targets other than the mips*tx39-*.
3115
edb6ede1
MS
31162001-12-06 Michael Snyder <msnyder@redhat.com>
3117
3118 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3119 and detect whether the start symbol has a leading underscore.
3120
2d842f13
JB
31212001-12-04 Jim Blandy <jimb@redhat.com>
3122
3123 * gdb.base/completion.exp: Clarify indentation.
3124
68550daf
JB
31252001-12-03 Jim Blandy <jimb@redhat.com>
3126
3127 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3128 variables on the S/390, not `.word'.
3129
cd5195a8
JB
31302001-11-30 Jim Blandy <jimb@redhat.com>
3131
3132 Add assembly-source tests for s390-ibm-linux.
3133 * gdb.asm/s390.inc: New file.
3134 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3135 the S/390 architecture.
3136 * gdb.asm/configure: Regenerated.
3137
ca9efc90
MS
31382001-11-30 Michael Snyder <msnyder@redhat.com>
3139
3140 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3141 next, info source, info sources, info line, global and static
3142 variables, and static functions.
3143 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3144 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3145 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3146 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3147 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3148 (gdbasm_leave): Restore frame pointer.
3149 (gdbasm_startup): Copy stack set-up from crt0.S.
3150
d0e66976
FN
31512001-11-26 Fernando Nasser <fnasser@redhat.com>
3152
3153 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3154 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3155 to a local (non-static) variable. Copy tstruct.a to a static buffer
3156 and return a pointer to that buffer.
3157 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3158
e2334072
MK
31592001-11-24 Mark Kettenis <kettenis@gnu.org>
3160
3161 * gdb.asm/configure.in: Fix recognition of ix86 target.
3162 * gdb.asm/configure: Regenerate.
3163
756caa3d
MS
31642001-11-21 Michael Snyder <msnyder@redhat.com>
3165
3166 * gdb.asm/sparc.inc: New file.
3167 * gdb.asm/asm-source.exp: Recognize sparc target.
3168 * gdb.asm/configure.in: Recognize sparc target.
3169 * gdb.asm/configure: Regenerate.
3170
9a4d72d5
MS
31712001-11-21 Michael Snyder <msnyder@redhat.com>
3172
3173 * gdb.asm/m32r.inc: New file.
3174 * gdb.asm/asm-source.exp: Recognize m32r target.
3175 * gdb.asm/configure.in: Recognize m32r target.
3176 * gdb.asm/configure: Regenerate.
3177
a773d1cd
MS
31782001-11-20 Michael Snyder <msnyder@redhat.com>
3179
017ac23d
MS
3180 * gdb.asm/i386.inc: New file.
3181 * gdb.asm/asm-source.exp: Recognize ix86 target.
3182 * gdb.asm/configure.in: Recognize ix86 target.
3183 * gdb.asm/configure: Regenerate.
3184
a773d1cd
MS
3185 * gdb.c++/namespace.exp: Fix quotes in output messages.
3186
bb632afb
MS
31872001-11-14 Michael Snyder <msnyder@redhat.com>
3188
25d559ca 3189 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3190 qualifier in a type cast expression, to designate an address
3191 in the instruction space (Harvard architecture).
3192
4749e309
MS
31932001-11-13 Michael Snyder <msnyder@redhat.com>
3194
3195 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3196 Tests for expressions using 'const' and 'volatile'.
3197
25050984
CV
31982001-11-13 Corinna Vinschen <vinschen@redhat.com>
3199
3200 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3201
1902c51f
DJ
32022001-11-12 Daniel Jacobowitz <drow@mvista.com>
3203
3204 * lib/mi-support.exp (mi_run_to_helper): Move comments
3205 outside of gdb_expect.
3206
dcf95b47
DJ
32072001-11-11 Daniel Jacobowitz <drow@mvista.com>
3208
3209 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3210 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3211 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3212 mi0_run_to): New functions.
3213 * gdb.mi/mi-simplerun.exp: Use them.
3214 * gdb.mi/mi0-simplerun.exp: Likewise.
3215 * gdb.mi/mi-var-cmd.exp: Likewise.
3216 * gdb.mi/mi0-var-cmd.exp: Likewise.
3217
45b074e1
AC
32182001-11-10 Andrew Cagney <ac131313@redhat.com>
3219
3220 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3221 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3222
bf50d346
AC
32232001-11-09 Andrew Cagney <ac131313@redhat.com>
3224
3225 * gdb.base/restore.exp: Include $expected value in restored test
3226 message.
3227
9383332c
AC
32282001-11-09 Andrew Cagney <ac131313@redhat.com>
3229
3230 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3231 implemented.
3232
db62520a
MS
32332001-11-08 Michael Snyder <msnyder@redhat.com>
3234
3235 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3236 Add pass/fail message for stop at breakpoint in call dummy function.
3237
b5703437
MS
32382001-11-07 Michael Snyder <msnyder@redhat.com>
3239
760f6330
MS
3240 * gdb.c++/templates.exp (test_template_breakpoints):
3241 If we get an overload menu, but it does not match what
3242 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3243 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3244 making the whitespace optional. Argument for "new" may be
3245 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3246 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3247 making the whitespace optional. Also replace "(void) with
3248 "((void|)), making the keyword "void" optional.
63f50499
MS
3249 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3250 making the whitespace optional. Also replace "(void) with
3251 "((void|)), making the keyword "void" optional.
3bf40917
MS
3252 * gdb.base/callfuncs.c (t_float_values): This function must
3253 _not_ be prototyped, and the following function (t_float_values2)
3254 must be prototyped (if the compiler supports it), so that GDB
3255 can be tested against both cases. Usually one case involves
3256 promotion of float to double, while the other does not.
3257 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3258 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3259 includes a stack frame for "start".
3260
c8ab4e6d
JB
32612001-11-05 Jim Blandy <jimb@redhat.com>
3262
3263 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3264 pointers are 32 bits long, and that offsets of relocs are always
3265 stored in the data (REL-style), and not in the reloc entry itself
3266 (RELA-style).
3267 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3268 stabs.
3269
3f08ced9
MS
32702001-11-01 Michael Snyder <msnyder@redhat.com>
3271
3272 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3273 and regular expression operators by using quoting.
3274
cbfa24cd
MS
32752001-10-31 Michael Snyder <msnyder@redhat.com>
3276
3277 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3278 depending on what the symbol table contains.
3279 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3280 the output of the ptype command. Similarly, accept both "const &"
3281 and "const&".
3282
aaa68313
CV
32832001-10-31 Corinna Vinschen <vinschen@redhat.com>
3284
3285 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3286 symbol `STORAGE' to allow to choose the storage class of
3287 the local datastructures.
3288 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3289 compiler directive.
3290
91740388
MS
32912001-10-30 Michael Snyder <msnyder@redhat.com>
3292
3293 * gdb.base/jump.exp: Allow it to run for all targets.
3294
1b7c05e7
CV
32952001-10-29 Corinna Vinschen <vinschen@redhat.com>
3296
3297 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3298 with new double_array size.
3299 (main): Change storage class of all local variables to static.
3300 Reduce size of double_array to 9.
3301 * gdb.base/call-ar-st.exp: Increase timeout value.
3302 Change expected output for double array to match new size in
3303 call-ar-st.c.
3304
36a22261
CV
33052001-10-29 Corinna Vinschen <vinschen@redhat.com>
3306
3307 * gdb.base/ending-run.exp: Create identical output when passing
3308 `step to end of run' case. Add regular expression branch satisfying
3309 Stormy16 target.
3310
92b8ae91
MK
33112001-10-28 Mark Kettenis <kettenis@gnu.org>
3312
3313 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3314 that we catch the expected failure under Linux/x86.
3315
cb135b83
OF
33162001-10-29 Orjan Friberg <orjanf@axis.com>
3317
3318 * gdb.base/setvar.exp: Escape curly braces.
3319 * gdb.stabs/weird.exp: Ditto.
3320
6884aa54
DJ
33212001-10-27 Daniel Jacobowitz <drow@mvista.com>
3322
3323 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3324 * gdm.mi/mi0-hack-cli.exp: Likewise.
3325
0398c9aa
AC
33262001-10-25 Andrew Cagney <ac131313@redhat.com>
3327
3328 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3329 messages.
3330
d20bf2e8
AC
33312001-10-21 Andrew Cagney <ac131313@redhat.com>
3332
3333 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3334 checking MI enabled.
3335
03dd63aa
CV
33362001-10-09 Corinna Vinschen <vinschen@redhat.com>
3337
3338 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3339
1d9d99f3
FCE
33402001-10-04 Frank Ch. Eigler <fche@redhat.com>
3341
3342 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3343 if gdb child process crashes, just signal an error.
3344
838ae6c4
JB
33452001-10-02 Jim Blandy <jimb@redhat.com>
3346
3347 * lib/gdb.exp (test_xfail_format): Simplify.
3348
3349 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3350 front of the variable name `format'. Simplify `if'.
3351
8f0cbc1c
DJ
33522001-10-01 Daniel Jacobowitz <drow@mvista.com>
3353
3354 * gdb.threads/pthreads.exp: Wait for output and delay
3355 before sending ^C.
3356
1f08dafd
DJ
33572001-10-01 Daniel Jacobowitz <drow@mvista.com>
3358
3359 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3360 some incorrect output instead of timing out.
3361 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3362
674f90ff
CV
33632001-09-28 Corinna Vinschen <vinschen@redhat.com>
3364
3365 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3366 check to allow additional `int'.
3367
9b284272
DJ
33682001-09-27 Daniel Jacobowitz <drow@mvista.com>
3369
3370 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3371 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3372
b55a4771
MS
33732001-09-27 Michael Snyder <msnyder@redhat.com>
3374
3375 * lib/gdb.exp (test_debug_format): New proc.
3376 (setup_xfail_format): Use new proc test_debug_format.
3377 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3378 proc; use new service proc test_debug_format.
3379 Replace all other "gcc_compiled" tests with this test.
3380 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3381 proc; use new service proc test_debug_format.
3382 Replace all other "gcc_compiled" tests with this test.
3383
33842001-09-27 Michael Snyder <msnyder@redhat.com>
3385
3386 * gdb.base/cvexpr.exp: New file.
3387 * gdb.base/cvexpr.c: New file
3388 Test for expressions using const and volatile keywords.
3389
4e6667ac
CV
33902001-09-26 Corinna Vinschen <vinschen@redhat.com>
3391
3392 * gdb.base/constvars.exp: Check for different orders of keywords
3393 and additional "int" strings in output.
3394
4f337972
AC
33952001-09-22 Andrew Cagney <ac131313@redhat.com>
3396
3397 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3398 responses from "help maint".
3399
2015650d
FCE
34002001-09-19 Frank Ch. Eigler <fche@redhat.com>
3401
3402 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3403 to localhost:NNN instead of :NNN, in case Xvfb is listening
3404 only on TCP.
3405
f3bcedc1
CV
34062001-09-19 Corinna Vinschen <vinschen@redhat.com>
3407
3408 * gdb.base/recurse.exp: When checking leaving the watchpoint
3409 scope, recognize when gdb is in function's epilogue and pass.
3410
6b819c92
KS
34112001-09-18 Keith Seitz <keiths@redhat.com>
3412
3413 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3414 support for running tests against sid targets.
3415 (gdbtk_done): Ditto.
3416
a10c9419
CV
34172001-09-18 Corinna Vinschen <vinschen@redhat.com>
3418
3419 * gdb.base/ending-run.c (main): Set stdout buffersize
3420 to the same reasonable value for any target.
3421 * gdb.base/ending-run.exp: Add a regular expression
3422 to make testsuite happy on Sanyo Stormy16 target.
3423
739d0d99
CV
34242001-09-17 Corinna Vinschen <vinschen@redhat.com>
3425
3426 * gdb.base/display.c (do_loops): Add float variable `f'.
3427 Increment f in loop.
3428 * gdb.base/display.exp: Increment timeout by 60 seconds.
3429 Change float display test to use variable `f'.
3430
1b8947f0
JB
34312001-09-17 Jim Blandy <jimb@redhat.com>
3432
3433 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3434 overflowing the limited breakpoint tables on some ROM monitors
3435 (like the ROM68K).
3436
9890ac81
FCE
34372001-09-15 Frank Ch. Eigler <fche@redhat.com>
3438
3439 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3440 the "-ac" (disable access control) flag.
3441
6db765ea
JH
34422001-08-30 Jeff Holcomb <jeffh@redhat.com>
3443
3444 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3445 ints.
3446
4c32cc04
KS
34472001-08-30 Keith Seitz <keiths@redhat.com>
3448
3449 * lib/gdb.exp: Move all insight-related functionality into
3450 separate file.
3451 * lib/insight-support.exp: New file.
3452
8d6e6f81
FCE
34532001-08-29 Frank Ch. Eigler <fche@redhat.com>
3454
3455 * config/sid.exp (sid_start): Never set sid verbosity; disable
3456 expect_background {} that consumed its stdout; tolerate </dev/null.
3457 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3458
6a90e1d0
AC
34592001-08-18 Andrew Cagney <ac131313@redhat.com>
3460
3461 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3462 CLI jump command to start it.
3463 (mi_run_to_main): Fail immediatly when unexpected output.
3464
1759b3c3
AC
34652001-08-18 Andrew Cagney <ac131313@redhat.com>
3466
3467 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3468 beginning of function. Fix PR gdb/191.
3469
61d11d80
FCE
34702001-08-16 Frank Ch. Eigler <fche@redhat.com>
3471
3472 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3473 what to force sid endianness to.
3474
942a4df2
KS
34752001-08-15 Keith Seitz <keiths@redhat.com>
3476
3477 * lib/gdb.exp (gdbtk_start): Don't set environment
3478 variables for TCL_LIBRARY and friends. Insight will
3479 now figure these out for itself.
3480
0521c418
MS
34812001-08-02 Michael Snyder <msnyder@redhat.com>
3482
3483 * gdb.base/completion.exp: Remove the symbol "a64l" from
3484 the expect string; this is target-specific, and not related
3485 to what is being tested.
3486
74a9a58a
DB
34872001-08-02 Dave Brolley <brolley@redhat.com>
3488
3489 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3490
c70819fa
MS
34912001-07-25 Michael Snyder <msnyder@redhat.com>
3492
c2b8fa57
MS
3493 * gdb.base/consecutive.exp: New file. Test stepping over
3494 breakpoints on consecutive instructions.
3495 * gdb.base/consecutive.c: New file.
3496
c70819fa
MS
3497 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3498 curly braces in regular expressions.
3499
2b1a1355
MS
35002001-07-25 Michael Snyder <msnyder@redhat.com>
3501
3502 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3503 legitimate output from stepping out of main.
3504
413eca6f
KS
35052001-07-22 Keith Seitz <keiths@redhat.com>
3506
3507 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3508 the empty string, do not run the tests.
3509
7e5a9322
SC
35102001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3511
3512 * gdb.base/long_long.exp: Detect size of pointer. Take into
3513 account 2-byte pointers when testing for p/a results.
3514
de58f10f
SC
35152001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3516
3517 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3518 and defined to 1K for m68hc11.
3519 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3520 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3521 (sizeof_random_data): New variable to tell the size of the data table;
3522 don't test past this size; always run to main.
3523
d6f5fea1
SC
35242001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3525
3526 * gdb.base/return2.exp: return of long long and double fails for
3527 68HC11; don't execute these tests on that platform.
3528 * gdb.base/return.exp: Return of a double fails for 68hc11.
3529
c477543d
SC
35302001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3531
3532 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3533 tests that print a float.
3534 * call-rt-st.exp: Likewise.
3535
63cf1c79
MK
35362001-07-12 Mark Kettenis <kettenis@gnu.org>
3537
3538 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3539 running this test on Linux.
3540
112f9ab5
MC
35412001-06-24 Michael Chastain <chastain@redhat.com>
3542
3543 * gdb.base/arithmet.exp: Remove some tests to make all test names
3544 unique.
3545
4970cb0f
MS
35462001-07-03 Michael Snyder <msnyder@redhat.com>
3547
3548 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3549 the output of the ptype command.
3550
d85da69f
MS
35512001-07-02 Michael Snyder <msnyder@redhat.com>
3552
4c8a82de
MS
3553 * gdb.base/completion.exp: Don't assume that break.c is the only
3554 source file that may contain functions named "marker".
d85da69f
MS
3555 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3556
8afc772b
AC
35572001-06-28 Andrew Cagney <ac131313@redhat.com>
3558
3559 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3560 of files to delete.
3561
3562 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3563 * gdb.disasm/h8300s.exp: New file.
3564 gdb.disasm/h8300s.s: Likewise.
3565
cff22675
AC
35662001-06-27 Andrew Cagney <ac131313@redhat.com>
3567
3568 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3569 empty breakpoint tables.
3570
68c81b54
AC
35712001-06-25 Andrew Cagney <ac131313@redhat.com>
3572
3573 * lib/mi-support.exp: Update args=... part of stop-reason
3574 patterns. Accept either a list or a tuple.
3575
2dd62704
AC
35762001-06-23 Andrew Cagney <ac131313@redhat.com>
3577
3578 * lib/mi-support.exp: Remove local emacs variable defining
3579 change-log-default-name.
3580
b4127474
MC
35812001-06-22 Michael Chastain <chastain@redhat.com>
3582
3583 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3584 This is operationally compatible with the previous version.
3585
8dbfb380
JB
35862001-06-13 Jim Blandy <jimb@redhat.com>
3587
3588 * lib/gdb.exp (gdb_test): Doc fix.
3589
f2d8c86d
MC
35902001-06-10 Michael Chastain <chastain@redhat.com>
3591
3592 * gdb.base/exprs.exp: Remove a duplicate test.
3593
81564d34
JB
35942001-06-06 Jim Blandy <jimb@redhat.com>
3595
3596 * gdb.base/return2.exp (main): Use values to test float and double
3597 returns that are not NaN's, to avoid being confused by IEEE
3598 comparison rules.
3599
da55addb
MS
36002001-06-04 Michael Snyder <msnyder@redhat.com>
3601
3602 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3603 non-zero if control_c fails. Terminate the test on failure,
3604 rather than wait for 12 more tests to time out.
3605
42c65987
JB
36062001-06-06 Jim Blandy <jimb@redhat.com>
3607
b18bced9
JB
3608 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3609 Don't forget to match the GDB prompt.
3610
42c65987
JB
3611 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3612
5b41e5f0
JB
36132001-06-04 Jim Blandy <jimb@redhat.com>
3614
3615 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3616 command.
3617
015e046f
KB
36182001-05-31 Kevin Buettner <kevinb@redhat.com>
3619
3620 * gdb.base/annota1.exp (info break): Match four or more spaces
3621 after "Address".
3622
fb1ffbbe
MC
36232001-05-31 Michael Chastain <chastain@redhat.com>
3624
3625 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3626 (dm_type_int_star): Likewise.
3627 (dm_type_long_star): Likewise.
3628 (dm_type_void_star): Likewise.
3629
5ea2a32c
KB
36302001-05-29 Kevin Buettner <kevinb@redhat.com>
3631
3632 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3633 to a known value in order to get consistent results regardless
3634 of the setting of INPUTRC or the presence or contents of .inputrc.
3635
ae23c492
MS
36362001-05-24 Michael Snyder <msnyder@redhat.com>
3637
ac55707e
MS
3638 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3639 Don't require that the main thread and the manager thread are the
3640 first in the list.
3641
ae23c492
MS
3642 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3643 debugging. If test fails, issue an "unsupported" not a "fail".
3644
400071f1
JB
36452001-05-24 Jim Blandy <jimb@redhat.com>
3646
3647 Don't assume that short is shorter than int.
3648 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3649 assume that shorts are smaller than ints. On a 16-bit machine,
3650 this isn't true.
3651 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3652 an int, is not equal to ~0 stored in an unsigned char. This tests
3653 the same thing that the previous test meant to, but works on
3654 16-bit machines, too.
3655 ("print unsigned char != (~0)"): Same test, complemented.
3656
0816a3e5
MS
36572001-05-24 Michael Snyder <msnyder@redhat.com>
3658
3659 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3660 test for (full_coverage == 0). This makes the test run faster,
3661 and prevents dejagnu getting out of step.
3662
f6dc23a9
KB
36632001-05-23 Kevin Buettner <kevinb@redhat.com>
3664
3665 * gdb.base/finish.exp (finish_void): Revise pattern for
3666 stopping on the call statement to not permit stopping at
3667 the start of the instructions comprising the call sequence.
3668
7dbd117d
MC
36692001-05-19 Michael Chastain <chastain@redhat.com>
3670
3671 * gdb.base/callfuncs.exp: Make all test names unique.
3672 * gdb.base/commands.exp: Make all test names unique.
3673 * gdb.base/condbreak.exp: Make all test names unique.
3674 * gdb.base/dbx.exp: Make all test names unique.
3675 * gdb.base/default.exp: Make all test names unique.
3676 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3677 and TIMEOUT messages to their corresponding PASS message.
3678 * gdb.base/ending-run.exp: Make all test names unique.
3679 * gdb.base/long_long.exp: Remove duplicate test.
3680
6b0b0a9e
KB
36812001-05-21 Kevin Buettner <kevinb@redhat.com>
3682
3683 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3684 stop on the call statement as well as the statement after the
3685 call.
3686
2caa35cb
MS
36872001-05-21 Michael Snyder <msnyder@redhat.com>
3688
3689 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3690
40713331
EZ
36912001-05-10 Elena Zannoni <ezannoni@redhat.com>
3692
3693 * gdb.base/completion.exp: Revamp test. Make it execute on all
3694 platforms.
3695
c2c1be8d
EZ
36962001-05-10 Elena Zannoni <ezannoni@redhat.com>
3697
2c9cd303
EZ
3698 * config/gdbserver.exp (gdb_load): Handle the case
3699 in which the arguments to gdbserver are given in the
3700 baseboard configuration file.
3701 Also handle the case in which the server needs to do a
3702 load.
3703
9671de48
KS
37042001-05-07 Keith Seitz <keiths@cygnus.com>
3705
3706 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3707 set up the display for testing.
3708 (gdbtk_start): Convert all paths to paths that tcl will like.
3709 Export target information to environment.
3710 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3711 necessary.
3712 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3713 (to_tcl_path): New proc to convert a given pathname into
3714 a path acceptible as an argument to a tcl command.
3715 (_gdbtk_export_target_info): New proc to export target info
3716 into the environment for gdbtk testing.
3717 (gdbtk_done): New proc to signal end-of-test.
3718
5a360f47
JB
37192001-05-06 Jim Blandy <jimb@redhat.com>
3720
3721 * restore.c: Make the code of caller0 correspond to its comment.
3722
66c756c6
MS
37232001-05-03 Michael Snyder <msnyder@redhat.com>
3724
3725 * config/sid.exp (gdb_target_sid): Check for error messages.
3726 On error or timeout, don't make expect exit (which will terminate
3727 all subsequent tests); instead just make gdb exit.
3728 (gdb_load): Check for error messages. On error or timeout,
3729 return a negative value.
3730
a966fde5
JB
37312001-04-24 Jim Blandy <jimb@redhat.com>
3732
851c18e0
JB
3733 * gdb.c++/templates.exp: If we see the prompt for the overload
3734 list, but we haven't recognized any of the longer patterns,
3735 arrange for this test to fail, not hang.
3736
a966fde5
JB
3737 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3738 variations.
3739
db144853
MC
37402001-04-22 Michael Chastain <chastain@redhat.com>
3741
3742 * gdb.c++/local.exp: Use the 'runto' library function.
3743 * gdb.c++/namespace.exp: Likewise.
3744 * gdb.c++/overload.exp: Likewise.
3745
3207ec21
KB
37462001-03-26 Kevin Buettner <kevinb@redhat.com>
3747
3748 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3749 * gdb.base/step-line.exp: New file. Test step/next in presence of
3750 #line directives.
3751 * gdb.base/step-line.c: New file. Test program for the above.
3752 * gdb.base/step-line.inp: New file. We pretend that this file has
3753 been transformed by some other tool into step-line.c.
3754
13b57657
JB
37552001-03-21 Jim Blandy <jimb@redhat.com>
3756
3757 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3758 unmangled operator names.
3759
754cbe1c
JB
37602001-03-20 Jim Blandy <jimb@redhat.com>
3761
3762 * gdb.threads/linux-dp.exp: Recognize an additional message
3763 generated by GDB when it doesn't understand how to debug threads
3764 on the target system.
3765
177495c9
AC
37662001-03-19 Andrew Cagney <ac131313@redhat.com>
3767
3768 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3769
f266096b
MC
37702001-03-12 Michael Chastain <chastain@redhat.com>
3771
3772 * gdb.c++/derivation.exp: Use the 'runto' library function.
3773
cac3c2ff
MC
37742001-03-12 Michael Chastain <chastain@redhat.com>
3775
3776 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3777
b6c11a24
MC
37782001-02-24 Michael Chastain <chastain@redhat.com>
3779
3780 * gdb.c++/ref-types.exp: Change handwritten code to library
3781 function 'runto'.
3782
6bae5bce
OF
37832001-03-16 Orjan Friberg <orjanf@axis.com>
3784
3785 * gdb.base/signals.exp: Set count to 0 explicitly.
3786
0015fd9a
MS
37872001-03-15 Mark Salter <msalter@redhat.com>
3788
3789 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3790 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3791 (gdb_load): Add support for additional target_info: gdb_download_size
3792 and gdb_load_timeout.
0015fd9a 3793
fc33412a
DT
3794Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3795
3796 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3797 file -- to prevent failing when the compile fails but we have no
3798 intention of running the tests anyway.
3799
3800 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3801 tests if set.
3802
3803 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3804 integers.
3805
3806 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3807 * gdb.c++/namespace.exp: Ditto.
3808
115f06de
OF
38092001-03-07 Orjan Friberg <orjanf@axis.com>
3810
3811 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3812 * gdb.base/pointers.exp: Relax pattern match of decimals.
3813
b6ba6518
KB
38142001-03-06 Kevin Buettner <kevinb@redhat.com>
3815
3816 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3817 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3818 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3819 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3820 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3821 config/sh.exp, config/sid.exp, config/slite.exp,
3822 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3823 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3824 config/vxworks.exp, config/vxworks29k.exp,
3825 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3826 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3827 gdb.base/arithmet.exp, gdb.base/assign.exp,
3828 gdb.base/async.exp, gdb.base/attach.exp,
3829 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3830 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3831 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3832 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3833 gdb.base/commands.exp, gdb.base/completion.exp,
3834 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3835 gdb.base/constvars.exp, gdb.base/corefile.exp,
3836 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3837 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3838 gdb.base/ending-run.exp, gdb.base/environ.exp,
3839 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3840 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3841 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3842 gdb.base/funcargs.exp, gdb.base/help.exp,
3843 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3844 gdb.base/logical.exp, gdb.base/long_long.exp,
3845 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3846 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3847 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3848 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3849 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3850 gdb.base/regs.exp, gdb.base/relational.exp,
3851 gdb.base/remote.exp, gdb.base/reread.exp,
3852 gdb.base/restore.exp, gdb.base/return2.exp,
3853 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3854 gdb.base/selftest.exp, gdb.base/setshow.exp,
3855 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3856 gdb.base/sigall.exp, gdb.base/signals.exp,
3857 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3858 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3859 gdb.base/step-test.exp, gdb.base/structs.c,
3860 gdb.base/structs.exp, gdb.base/structs2.exp,
3861 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3862 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3863 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3864 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3865 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3866 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3867 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3868 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3869 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3870 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3871 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3872 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3873 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3874 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3875 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3876 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3877 gdb.trace/circ.exp, gdb.trace/collection.exp,
3878 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3879 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3880 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3881 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3882 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3883 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3884 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3885 notices.
3886
dc96c6c7 38872001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3888
3889 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3890 first arg is int not float.
3891
dc96c6c7 38922001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3893
3894 * gdb.base/reread.exp: Unsupported for non-native targets;
3895 doesn't work for remote debugging.
3896
9b0c4aeb
FN
38972001-02-19 Fernando Nasser <fnasser@redhat.com>
3898
3899 From Drew Moseley <dmoseley@redhat.com>
3900 * gdb.base/ending-run.exp: Properly handle the BSP state when
3901 stepping past the end of main.
3902
02aa71d5
MC
39032001-02-19 John Moore <jmoore@redhat.com>
3904
3905 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3906 Converted HPUX fix for non-expected items following multiple
3907 step commands into general solution for all platforms.
3908
1fa449a4
MC
39092001-02-18 Michael Chastain <chastain@redhat.com>
3910
3911 * gdb.c++/classes.exp (do_tests): Change runto statements
3912 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3913 statements demangler agnostic.
3914 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3915 (gdb_virtfunc_restart): Likewise.
3916
b2f9ec70
MC
39172001-02-14 Michael Chastain <chastain@redhat.com>
3918
3919 * gdb.c++/inherit.exp (do_tests): Change runto statements
3920 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3921 statements demangler agnostic.
3922
cf74b8ca
AC
3923Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3924
3925 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3926 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3927 before calling common_routine 15 times'' tests.
3928
99f78f56
MC
39292001-02-11 Michael Chastain <chastain@redhat.com>
3930
3931 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3932 Helps the test script figure out which demangler is in use.
3933 (dm_type_foo_ref): Ditto.
3934 (dm_type_int_star): Ditto.
3935 (dm_type_long_star): Ditto.
3936 (dm_type_unsigned_int): Ditto.
3937 (dm_type_void): Ditto.
3938 (dm_type_void_star): Ditto.
99707966 3939 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3940 Probe the gdb demangler and set variables to accommodate
3941 formatting differences.
3942 (info_func_regexp): New function. Same as info_func, but
3943 matches against a regexp.
3944 (info_func): Match against a literal string.
3945 (print_addr_2): New function. Match against a literal string,
3946 which can be different from the input to gdb.
3947 (print_addr): Simply call print_addr_2 with the same argument twice.
3948 (test_lookup_operator_functions): Use demangler formatting variables.
3949 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3950 the tests in the same order as the C++ class declaration.
3951 (test_paddr_operator_functions): Ditto.
3952 (test_paddr_overloaded_functions): Ditto.
3953 (test_paddr_hairy_functions): Use demangler formatting variables.
3954 Add reference to gdb/19 for related tests.
3955 (do_tests): Call probe_demangler.
3956
1de8f023
KB
39572001-01-30 Kevin Buettner <kevinb@redhat.com>
3958
3959 * gdb.c++/templates.cc (printf): Remove unused function definition.
3960
ca3f91ed
MS
39612001-01-26 Felix Lee <flee@redhat.com>
3962
3963 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3964
39652001-01-25 matthew green <mrg@redhat.com>
3966
3967 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3968 up sid.
3969 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3970
39712001-01-25 matthew green <mrg@redhat.com>
3972
3973 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3974 Deprecate $sid_spawn_id.
3975 (sid_exit): Remove code necessary only for `spawn.'
3976
39772001-01-25 matthew green <mrg@redhat.com>
3978
3979 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3980
fb18ec4a
MC
39812001-01-28 Michael Chastain <chastain@redhat.com>
3982
3983 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3984 to call when tests fail. It takes gdb out of the overloaded
3985 function choice menu back to the main prompt, so that the test
3986 program stays synchronized.
3987 (set_bp_overloaded): New proc to collect all the common
3988 code for setting a breakpoint on an overloaded name. Calls
3989 take_gdb_out_of_choice_menu when needed.
3990 (menu_overload1arg): New variable to collect the repeated
3991 instances of the expected menu for an overloaded name. Change
3992 the regular expression to handle changes in g++ type encoding:
3993 "void" can be either "void" or "", and "unsigned int" can be
3994 either "unsigned int" or "unsigned".
3995 (continue_to_bp_overloaded): Change regular expressions to handle
3996 changes in g++ type encoding.
3997 (no proc): Call take_gdb_out_of_choice_menu when needed.
3998 Remove redundant calls to "info break". Accept either "canceled"
3999 or "cancelled". Change regular expressions in "info break"
4000 calls to handle changes in g++ type encoding. Give all tests
4001 unique strings.
4002
9c646a6e
BE
40032001-01-17 Ben Elliston <bje@redhat.com>
4004
4005 * config/sid.exp: New file.
4006
9549d9c1
AC
4007Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4008
4009 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4010
dc96c6c7 40112000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4012
4013 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4014 Add a RE to accept a non-ascii char if one is ever presented.
4015
b4df4f68
FN
40162000-12-20 Fernando Nasser <fnasser@redhat.com>
4017
297dd0fd 4018 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4019
dc96c6c7 40202000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4021
4022 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4023 in regexp. One '\' does not suffice on Linux.
4024
4a7bddb6
MC
40252000-12-09 Michael Chastain <chastain@redhat.com>
4026
4027 * gdb.base/break.exp (test_clear_command): Use a marker function
4028 rather than 'main' for the test function. Also move this
4029 test to an execution point where the marker function names are
4030 guaranteed to be bound to functions. (Executing tests after a
4031 'finish' from main runs into name conflicts with local names
4032 in __libc_start_main).
4033
dc96c6c7 40342000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4035
4036 * gdb.base/finish.exp: New test for gdb's "finish" command.
4037 * gdb.base/return2.exp: New test for gdb's "return" command.
4038 * gdb.base/return2.c: New source file for above.
4039
dc96c6c7 40402000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4041
4042 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4043 * gdb.base/miscexprs.exp: Ditto.
4044 * gdb.base/pointers.exp: Ditto.
4045 * gdb.c++/derivation.exp: Ditto.
4046 * gdb.c++/local.exp: Ditto.
4047 * gdb.c++/namespace.exp: Ditto.
4048 * gdb.c++/overload.exp: Ditto.
4049 * gdb.c++/ref-types.exp: Ditto.
4050
dc96c6c7 40512000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4052
4053 * gdb.base/constvars.exp: Test result of "up" command.
4054 * gdb.base/miscexprs.exp: Ditto.
4055 * gdb.base/pointers.exp: Ditto.
4056 * gdb.base/scope.exp: Ditto.
4057 * gdb.c++/derivation.exp: Ditto.
4058 * gdb.c++/local.exp: Ditto.
4059 * gdb.c++/namespace.exp: Ditto.
4060 * gdb.c++/overload.exp: Ditto.
4061 * gdb.c++/ref-types.exp: Ditto.
4062
44097287
FN
40632000-11-22 Michael Chastain <chastain@redhat.com>
4064
4065 * mips_pro.exp: Accept either "middle -> top -> main" or
4066 "middle -> main" in the backtrace, because gcc can optimize
4067 tail calls to jumps. Remove setup_xfail for the hppa case.
4068 Add a comment with the original warning messages from PR 3016,
4069 which was filed in 1993, to preserve them for posterity.
4070
9d2e1bab
ND
40712000-11-17 Nick Duffek <nsd@redhat.com>
4072
4073 * lib/gdb.exp (gdb_test): Override timeout with board info.
4074
1aca8eb7
ND
40752000-11-17 Nick Duffek <nsd@redhat.com>
4076
4077 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4078 the second kill and detach messages.
4079
93076499
ND
40802000-11-17 Nick Duffek <nsd@redhat.com>
4081
4082 * configure.in: Add AC_EXEEXT.
4083 * configure: Regenerate.
4084 * Makefile.in (just-check): Export EXEEXT.
4085 * lib/gdb.exp ($EXEEXT): Import from environment.
4086 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4087 expect "maint dump-me" on Cygwin.
4088 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4089 $EXEEXT.
4090
30e87cd3
ND
40912000-11-17 Nick Duffek <nsd@redhat.com>
4092
4093 * gdb.base/break.exp: Test backtrace and finish from called
4094 function on all platforms, not just HP-UX.
4095
dc96c6c7 40962000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4097
4098 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4099 code from gdb_target_monitor, so it can be used independantly
4100 for gdbserver. Also comment out an unnecessary PUTS.
4101
dc96c6c7 41022000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4103
4104 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4105 * gdb.base/corefile.exp: Expect the message "Program is being
4106 debugged already" when we send the "corefile" command, since
4107 the preceeding gdb_load may have connected gdb to a remote target.
4108 * gdb.base/display.exp: Disable hardware watchpoints if new
4109 board info variable "no_hardware_watchpoints" is true.
4110 Replace single-letter commands with more readable ones.
4111 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4112 if new board info variable "no_hardware_watchpoints" is true.
4113 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4114 to see if stdio (printf) testing is possible.
4115 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4116 board info variable "no_hardware_watchpoints" is true. Use new
4117 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4118
39124dea
FN
41192000-11-13 Fernando Nasser <fnasser@redhat.com>
4120
4121 From Orjan Friberg <orjanf@axis.com>:
4122 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4123 in array print pattern match.
4124
a9e2e984
FN
41252000-11-09 Fernando Nasser <fnasser@redhat.com>
4126
4127 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4128 spelling "cancelled" to U.S. spelling "canceled" to match changes
4129 made to gdb.
4130 * gdb.c++/ovldbreak.exp: Ditto.
4131
c7db355b
PS
41322000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4133
4134 * gdb.base/callfuncs.c (main): Moved to end of file, call
4135 t_double_values to initialize the FPU before inferior calls are made.
4136 * gdb.base/callfuncs.exp: Test for register preservation after calling
4137 inferior functions. Add tests for continuining, finishing and
4138 returning from a stop in a call dummy.
4139
dc96c6c7 41402000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4141
4142 * gdb.base/commands.exp: Break up long lines, and re-indent.
4143
dc96c6c7 41442000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4145
4146 * config/gdbserver.exp: Rewritten from the ground up, to make it
4147 compatible with the current dejagnu tree, and to make it work with
4148 the new "gdbserver" in libremote.
4149
dc96c6c7 41502000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4151
4152 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4153 * gdb.base/varargs.exp: Skip entire test if no printf support.
4154 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4155 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4156
dc96c6c7 41572000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4158
4159 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4160 no floating point support.
4161 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4162 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4163 * gdb.base/call-rt-st.exp: Ditto.
4164 * gdb.base/call-strs.exp: Ditto.
4165
bac5fc66
JG
41662000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4167
4168 * gdb.base/sizeof.c: include <stdio.h>.
4169
4170 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4171 'finish', otherwise uncaptured gdb_prompt would potentially
4172 throw remaining test points out of sync.
4173
b22a6027
SB
41742000-07-26 Scott Bambrough <scottb@netwinder.org>
4175
4176 * gdb.base/recurse.exp: Run tests for all targets.
4177 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4178 gnu-oldld case on ARM.
4179 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4180 for ARM targets.
4181
d8231941
AG
4182Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4183
4184 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4185 * gdb.java/configure: Rebuild.
4186
8caabe69
AG
4187Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4188
4189 * gdb.java/jv-exp.exp: New file.
4190
9d273ca3
AG
4191Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4192
4193 * configure: Rebuilt.
4194 * configure.in (configdirs): Add gdb.java.
4195 * gdb.java/jmisc.java: New file.
4196 * gdb.java/jmisc.exp: New file.
4197 * gdb.java/Makefile.in: New file.
4198 * gdb.java/configure: Rebuilt.
4199 * gdb.java/configure.in: New file.
4200 * lib/java.exp: New file.
4201
4f823a66
AC
4202Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4203
4204 * gdb.base/exprs.exp: Test casts to a pointer including over and
4205 underflow.
4206
2391e11d
AC
4207Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4208
4209 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4210 and the compilers sizes.
4211
54602222
ND
42122000-07-09 Nick Duffek <nsd@redhat.com>
4213
4214 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4215 (use_methods): New function.
4216 (main): Call use_methods().
4217 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4218 (do_tests): Call test_method_param_class.
4219
2bec0572
ND
42202000-07-09 Nick Duffek <nsd@redhat.com>
4221
4222 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4223 spelling.
4224 (test_enums): New procedure. Move enum tests from end of script
4225 to here. Set breakpoint on function name instead of line number.
4226 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4227 (enums2): New marker function.
4228 (enums1): New function.
4229 (main): Call enums1(). Move enum tests to enums1().
4230
78492fde
AC
4231Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4232
4233 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4234 compile/link program. Update line numbers.
4235 * gdb.asm/d10v.inc: Define ``startup''.
4236 * gdb.asm/asmsrc1.s: Add definition of _start.
4237
49a2cef8
AC
4238Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4239
4240 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4241
3e6c8688
EZ
42422000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4243
4244 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4245 of 'help maint print' command.
4246
9ff5cbe9
AC
4247Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4248
4249 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4250 they use gdb_expect_list.
4251
17c579bd
AC
4252Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4253
4254 * gdb.base/commands.exp: Use ``set remote
4255 memory-read-packet-size'' instead of ``set endian big'' to test
4256 long commands.
4257
e6d71bf3
DB
42582000-06-03 Daniel Berlin <dan@cgsoftware.com>
4259
4260 * gdb.c++/templates.exp (do_tests): Make all of these work under
4261 g++, and stop skipping them.
4262
4263 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4264 work under g++.
4265
e5f9ba7b
MS
4266 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4267 initialization.
4268
dc96c6c7 42692000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4270
4271 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4272 the regular expression: accept an (almost) arbitrary sequence of
4273 "frames-invalid" and "breakpoints-invalid" messages both before
4274 and after the "starting" message.
4275
dc96c6c7 42762000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4277
4278 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4279
dc96c6c7 42802000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4281
4282 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4283 Relax the regular expression a little, make it pass on Solaris 8.
4284
8216cda9
KB
42852000-05-12 Kevin Buettner <kevinb@redhat.com>
4286
4287 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4288 a call, do not require that gdb stop on the line after the call.
4289 Instead, it is permissible for gdb to stop on the line of the
4290 call itself.
4291
1a570b2f
MS
42922000-05-12 Michael Snyder <msnyder@.cygnus.com>
4293
4294 * gdb.base/break.exp (bp on small function, optimized file):
4295 Add a second pass pattern. The behavior differs here between stabs
4296 and dwarf for one-line functions. Stabs preserves two line symbols
4297 (one before the prologue and one after) with the same line number,
4298 but dwarf regards these as duplicates and discards one of them.
4299 Therefore the address after the prologue (where the breakpoint is)
4300 has no exactly matching line symbol, and GDB reports the breakpoint
4301 as if it were in the middle of a line rather than at the beginning.
4302
dc96c6c7 43032000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4304
4305 * gdb.base/interrupt.exp: Make "pass" message say "send"
4306 rather than "send_gdb" (for consistancy).
4307
7d418785
AC
4308Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4309
4310 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4311 * gdb.c++/templates.cc: Properly check for GCC version number.
4312 * lib/compiler.cc: Likewise
4313
dc96c6c7 43142000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4315
4316 * gdb.base/break.exp: When compiled with -O2 optimization,
4317 gdb may not stop at the first line of main, due to code motion.
4318
dc96c6c7 43192000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4320
4321 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4322 This test depends on parsing the printf output from the target.
4323 Since the sparclet stub doesn't do stdio, this will never work.
4324 * gdb.base/call-rt-st.exp: ditto.
4325 * gdb.base/call-strs: ditto.
4326
dc96c6c7 43272000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4328
4329 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4330
4331 * gdb.base/ending-run.exp: After connecting to a remote target,
4332 but before running, the target will appear to be in a random
4333 location. Specify both a file and a line for breakpoints.
4334 Also, the function that calls main may be called 'init'
4335 rather than 'start'.
4336
a5a51225
EZ
43372000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4338
4339 * gdb.base/help.exp: Update output for add-symbol-file command.
4340
7930cc7c
FN
43412000-04-10 Fernando Nasser <fnasser@cygnus.com>
4342
4343 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4344 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4345
23e37ab1
C
43462000-04-07 J.T. Conklin <jtc@redback.com>
4347
e93c542c
C
4348 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4349
23e37ab1
C
4350 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4351
591b8fa3
PDM
4352Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4353
4354 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4355 values that can be represented exactly.
4356 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4357 above change, and to not check against the directory part of the source
4358 file name.
4359 (step into print_long_arg_list): Likewise.
4360 (print print_small_structs from print_long_arg_list): Likewise.
4361 (print print_long_arg_list): Likewise.
4362
7a495180
EZ
43632000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4364
30b53638 4365 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4366
beb998c6
AC
4367Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4368
4369 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4370
1c689132
DB
43712000-03-25 Daniel Berlin <dan@cgsoftware.com>
4372
4373 * gdb.base/commands.exp (deprecated_command_test): Add test for
4374 deprecate with no arguments.
4375
c1790a9d
JL
43762000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4377
4378 * gdb.base/break.exp: Add new test for setting breakpoints on
4379 optimized code so we can test breakpoints work even when function
4380 prologues may be optimized away
4381
003ba290
FN
43822000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4383
4384 From David Whedon <dwhedon@gordian.com>
4385 * gdb.base/commands.exp : Added command deprecator tests.
4386
6837a0a2
DB
43872000-03-22 Daniel Berlin <dan@cgsoftware.com>
4388
4389 * gdb.base/help.exp: Added test for new apropos command.
4390
b9593231
KB
43912000-03-21 Kevin Buettner <kevinb@redhat.com>
4392
4393 * gdb.base/pointers.c (usevar): New function.
4394 (main): Make sure that global variables v_int_pointer2, rptr,
4395 and y are all referenced someplace in the program by calling
4396 usevar() on them. [Some linkers delete symbols which are
4397 never referenced. The space remains, but there's no way to
4398 get a (symbolic) handle on the variable from the debugger.]
4399
751a959b
EZ
44002000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4401
4402 * gdb.base/printcmds.c: Add typedeffed arrays.
4403
4404 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4405 procedure to test arrays that are typedef'd.
4406
73a93a32
JI
44072000-03-13 James Ingham <jingham@leda.cygnus.com>
4408
4409 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4410 the library directories.
73a93a32 4411
fb40c209
AC
4412Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4413
4414 * configure.in (configdirs): Add sub directory gdb.mi.
4415 * configure: Re-generate.
4416
4417 * gdb.mi: New directory.
beb998c6 4418
ee4dd2c9
AC
44192000-02-25 Scott Bambrough <scottb@netwinder.org>
4420
4421 * gdb.base/long_long.exp: Correct test suite failure when printing
4422 a long long value as a double on ARM platforms.
4423
70f0cc22
JB
44242000-02-16 Jim Blandy <jimb@redhat.com>
4425
4426 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4427 default source file is set properly before running this test.
4428
853819b8
EZ
44292000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4430
4431 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4432 gdbtk/library directory, not in gdbtcl2.
4433
dfcd3bfb
JM
44342000-02-04 Jim Blandy <jimb@redhat.com>
4435
4436 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4437 backslash from regexp pattern.
4438
4439 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4440 procedure. Use it to run all the "continue to bp overloaded"
4441 tests. Note that this changes the names of the tests slightly.
4442 If the breakpoint hit message includes a hex PC value, because
4443 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4444 from the real source code, still consider that a pass.
4445
4446 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4447 XFAIL here if the breakpoint message contains a hex address. Note
4448 similar change on 1999-11-02.
4449
4450 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4451
4452 * gdb.base/ptype.exp: Establish a default source file before
4453 calling get_debug_format.
4454
44552000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4456
4457 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4458
8b93c638
JM
44592000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4460
4461 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4462 of successive stepi commands -- while in the prologue we should see
4463 the function entry bracket.
4464
44652000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4466
4467 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4468 reach __change_mode() when stepping through the end of main().
4469
c5394b80
JM
44702000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4471
4472 * gdb.base/default.exp: Fix expected pattern.
4473 * gdb.base/help.exp: Same.
4474
0d06e24b
JM
44752000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4476
4477 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4478 Don't use xfail's because that affects only the following test.
beb998c6 4479
0d06e24b
JM
4480 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4481 solaris or linux.
4482
4483 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4484
dc96c6c7 44852000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4486
beb998c6 4487 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4488 "A syntax error" rather than "A parse error". Accept both.
4489
44902000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4491
4492 * gdb.base/default.exp: Remove OS dependent string from "target
4493 remote" test.
4494 * gdb.base/help.exp: Same for "help target remote" test.
4495
c3f6f71d
JM
44962000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4497
4498 From Jim Kingdon <kingdon@redhat.com>:
4499
4500 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4501 prompt (cleanup rather than necessity, but still might keep output
4502 from spilling to next test).
4503
45042000-01-02 Fred Fish <fnf@cygnus.com>
4505
4506 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4507 AIX, which defines them in <sys/types.h>.
4508
ed9a39eb 45091999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4510
ed9a39eb
JM
4511 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4512 float" test.
4513
45141999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4515
ed9a39eb 4516 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4517
4518 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4519 outermost frame disallowed".
4520
45211999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4522
4523 * gdb.base/setvar.exp: New tests for setting the value of a struct
4524 with a constant list.
4525
45261999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4527
4528 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4529 require the user to type a cast before setting the value of a struct.
4530
de57eccd
JM
45311999-12-06 Jim Blandy <jimb@cygnus.com>
4532
4533 * gdb.base/default.exp: Expect the new 'info float' command on
4534 all i386 platforms.
4535
4536 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4537 LinuxThreads libraries that don't support debugging.
4538
c2d11a7d
JM
4539Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4540
4541 * gdb.base/remote.c: Fill the buffer with truely random data.
4542 Change the buffer type to ``unsigned char'' to simplify size
4543 arithmetic.
4544
4545 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4546 stub only handles 400-1 byte packets. Verify that the download
4547 worked.
4548
45491999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4550
4551 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4552 tests, using UNRESOLVED for the untested cases. Also, does not wait
4553 for a timeout if the prompt was received before a recognizable pattern.
4554
45551999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4556
4557 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4558
45591999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4560
4561 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4562 watchpoints.
4563
45641999-11-24 Jason Merrill <jason@casey.cygnus.com>
4565
4566 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4567
4568 * gdb.c++/local.exp: Be more flexible in recognizing local class
4569 name mangling. Don't allow horribly truncated method names.
4570 * gdb.c++/derivation.exp: Expect protected inheritance.
4571 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4572 * gdb.c++/virtfunc.exp: Likewise.
4573 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4574 when printing a nested enum.
4575
45761999-11-22 Jim Blandy <jimb@cygnus.com>
4577
4578 * gdb.base/step-test.exp: Properly await GDB's response to setting
4579 a breakpoint on the call to large_struct_by_value.
4580
4581 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4582 just because we have debug info for the `start' function.
4583
45841999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4585
4586 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4587 "Unknown signal" messages, which indicate (on LinuxThreads) that
4588 GDB doesn't know how to debug threads on this system. This is
4589 better than hanging while philosopher 0 dumps chatter into gdb.log.
4590
45911999-11-18 Tom Tromey <tromey@cygnus.com>
4592
4593 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4594
45951999-11-18 Fred Fish <fnf@cygnus.com>
4596
4597 * gdb.base/coremaker2.c: Add sample program for generating
4598 cores that is more self contained than coremaker.c. Eventually
4599 I'll add more code to this and tie it into the testsuite.
4600
4ce44c66
JM
46011999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4602
4603 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4604
46051999-11-10 Jimmy Guo <guo@cup.hp.com>
4606
4607 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4608 from $srcdir/lib/.
4609 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4610 and gdb.c++/.
4611
4612 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4613
beb998c6 4614 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4615 'continue with watch' test point.
4616
46171999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4618
4619 Merged from p2linux-990323-branch:
beb998c6 4620
4ce44c66
JM
4621 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4622
11cf8741
JM
4623Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4624
4625 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4626 {limit,fixed}''. Test ``set download-write-size''.
4627
4628Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4629
4630 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4631 gdb_expect_list.
4632
4633Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4634
4635 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4636
46371999-11-03 Mark Salter <msalter@cygnus.com>
4638
4639 * gdb.base/break.exp: Fix "stub continue" pattern.
4640
46411999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4642
4643 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4644
46451999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4646
4647 * gdb.base/display.exp ("finish"): Add timeout clause.
4648
4649 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4650 plain prompt clause, so this doesn't have to time out in order to
4651 fail.
4652
4653 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4654 breakpoint hit messages include an address.
4655
4656 * gdb.base/display.exp: Don't forget to escape parens in regular
4657 expressions. Unix regexp notatation sucks.
4658
46591999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4660
4661 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4662 order for 'signalled' message.
4663
5c44784c
JM
46641999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4665
4666 From Jimmy Guo <guo@cup.hp.com>:
4667 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4668 * gdb.base/annota1.c: Add code for tests to work with.
4669
46701999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4671
4672 * gdb.base/remote.exp: New test for remote downloading settings.
4673 * gdb.base/remote.c: New file with large .data.
4674
917317f4
JM
46751999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4676
4677 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4678 for LinuxThreads support, merged from the Code Fusion branch.
4679
4680Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4681
4682 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4683 containing exp_continue into a while within an expect. Don't
4684 attempt a start more than three times. Check return value from
4685 gdb_load.
beb998c6 4686
2df3850c
JM
4687Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4688
4689 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4690 a pass case.
4691
2acceee2
JM
46921999-10-01 Kevin Buettner <kevinb@cygnus.com>
4693
4694 * gdb.base/break.c (main): Added a statement that we can step
4695 off of.
4696 * gdb.base/break.exp: Added tests for setting a breakpoint
4697 at an offset and stepping onto a breakpoint.
4698
46991999-10-01 Fred Fish <fnf@cygnus.com>
4700
beb998c6 4701 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4702 gdb output.
4703
c2c6d25f
JM
47041999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4705
4706 * gdb.base/break.exp: Code locations are in hex, don't forget!
4707 (For HP-UX.)
4708
47091999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4710
4711 * condbreak.exp: Use break.c as test program.
4712 * condbreak.c: Remove, redundant with break.c.
4713
47141999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4715
4716 * config/monitor.exp (gdb_target_monitor): Disable X- and
4717 Z-packets if the target needs it.
4718
47191999-09-13 James Ingham <jingham@leda.cygnus.com>
4720
4721 * gdb.c++/overload.exp: Added tests for listing overloaded
4722 functions with function pointers in the arg, explicitly calling
4723 out the version you want.
4724
cff3e48b
JM
47251999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4726
4727 * long_long.exp: Add variations of test cases that work for
4728 targets with 16-bit ints and 32-bit doubles.
4729
d4f3574e
SS
47301999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4731
4732 * break.c (main): Compare a possibly-uninitialized argc with an
4733 unlikely value that fits in 16 bits.
4734
47351999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4736
4737 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4738 0xfeeb, don't want negative numbers if ints are 16 bits.
4739
4740 * lib/gdb.exp (skip_cplus_tests): New proc.
4741 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4742 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4743 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4744 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4745 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4746 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4747 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4748 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4749
4750 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4751
4752Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4753
4754 * gdb.base/corefile.exp (up): Allow a parameter to appear
4755 in the frame that we're going up to.
4756
4757 From Jim Blandy <jimb@cygnus.com>:
4758
4759 * gdb.base/default.exp (info float): Expect some output now.
4760
4761 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4762 returning floating-point values to fail on the x86.
4763 * gdb.base/callfwmall.exp (do_function_calls): Same.
4764
4765 * gdb.base/list.exp (test_listsize): Correct expectations for
4766 listing line 1 with listsize 2. Also, listing a single line
4767 works now, as does listing three lines. [Kevin's note: There
4768 were a number of other cases fixed too where the expectations
4769 differed...]
4770
47711999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4772
4773 * gdb.base/selftest.exp: Add case for when version prints as
4774 constant string instead of char pointer.
4775
104c1213
JM
47761999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4777
4778 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4779 stepping out of main.
4780
4781 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4782 G++ used.
4783
4784 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4785 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4786
4787 * gdb.c++/ovldbreak.exp: Update match string in test that
4788 includes a warning of multiple breakpoints.
4789
47901999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4791
4792 * gdb.base/display.exp: Improve precision of step-after-finish
4793 added yesterday.
4794
4795 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4796 test.
4797
4798 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4799 configs when using G++, not just hppa*.
4800
48011999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4802
4803 * gdb.base/async.c: New file.
4804 * gdb.base/async.exp: New file.
4805
4806Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4807
4808 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4809 PA64.
4810
53a5351d
JM
4811Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4812
104c1213
JM
4813 * gdb.base/display.exp: "finish" can leave us mid-line on many
4814 targets, deal with it. Add a small constant to main, instead of
4815 1000 since main+1000 may not be a valid address in the target.
4816
53a5351d
JM
4817 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4818 on hpux11.
4819
4820 * gdb.base/attach.exp: Handle another hpux11 error message variant
4821 when attaching to a process that does not exist.
4822
48231999-08-19 J.T. Conklin <jtc@redback.com>
4824
4825 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4826 characters in 'continue to 1241' test.
4827
48281999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4829
4830 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4831 stop in print_long_arg_list, define and use a whitespace
4832 variable in print_small_structs test, add an XFAIL for Solaris.
4833 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4834 interested enough to fix.
4835
7be570e7
JM
48361999-08-13 Keith Seitz <keiths@cygnus.com>
4837
4838 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4839 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4840 proc knows about targets other than the natives.
4841 (test_assign): Use "gdb_run_cmd" to "run" the target.
4842 Check that we've actually hit the breakpoint at main.
4843 When we attempt to assign a value to a local variable, check
4844 that the variable is in the current scope, i.e., don't use
4845 a test with an empty result.
4846
4847Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4848
4849 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4850 command.
4851
48521999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4853
4854 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4855 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4856 gdb.compat, gdb.threads-hp.
4857 gdb.hp/configure, gdb.hp/configure.in: New files.
4858 gdb.hp/Makefile.in: Recurse into new subdirs.
4859 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4860 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4861 in object files.
4862 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4863
96baa820
JM
48641999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4865
4866 * gdb.base/display.exp: Help expect by putting a newline in the
4867 funky printf, remove a bogus p/a test.
4868
48691999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4870
4871 * gdb.base/display.exp: Make sure that when we say 'run', we are
4872 connected to the target. This is necessary when running not
4873 natively.
4874
48751999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4876
4877 * gdb.base/step-test.exp: Removed some extraneous messages.
4878
4879 * gdb.base/long_long.exp: Don't run memory examination tests
4880 on little-endian targets (they will need a different set of
4881 results to match).
4882
48831999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4884
4885 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4886 until somebody decides to fix GDB.
4887
4888 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4889 constant as "ULL".
4890 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4891 matches for a couple x/2 commands.
4892
a0b3c4fd
JM
48931999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4894
4895 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4896 by merging in ref-types2 tests.
4897 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4898
4899 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4900 * gdb.c++/Makefile.in: Add standard actions.
4901 (EXECUTABLES): Rename from PROGS, update list.
4902 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4903 from gdb.hp.
4904 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4905 foo and bar locals.
4906 * gdb.c++/anon-union.exp: Fix tests to match.
4907 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4908 expect matches to handle output variations.
4909 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4910 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4911 output, add HP alternatives for new and delete prints.
4912 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4913 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4914 * gdb.c++/demangle.exp: Use $style when reporting failure.
4915 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4916 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4917 match alternatives.
4918 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4919 compilers.
4920 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4921 * gdb.c++/method.exp: Add match alternatives.
4922 * gdb.c++/misc.cc: Add bool types.
4923 * gdb.c++/misc.exp: Add tests for bool types.
4924 * gdb.c++/overload.exp: Add xfails.
4925 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4926 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4927 add some more template parameter tests (only for HP currently).
4928 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4929 * gdb.c++/virtfunc.cc: Add return type and value for main.
4930 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4931 match alternatives.
beb998c6 4932
a0b3c4fd
JM
49331999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4934
4935 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4936
49371999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4938
4939 * gdb.base/signals.exp: Don't expect getting a backtrace from
4940 within a signal handler to fail on Linux.
4941
49421999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4943
4944 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4945 * lib/gdb.exp: Remove some gratuitious semicolons.
4946 (delete_breakpoints): Increase timeout.
4947 (gdb_expect): Add -notransfer option.
4948 (gdb_test): Use -notransfer option.
4949 (get_compiler_info): Add f77 case.
4950 (get_compiler): New proc, split out from gdb_preprocess, add f77
4951 case.
4952 (gdb_preprocess): Call get_compiler.
4953
4954 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4955 * gdb.base/attach.exp, gdb.base/display.exp,
4956 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4957 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4958 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4959 third arg to gdb_test.
4960 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4961 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4962 HP-UX xfails, add others.
4963 * gdb.base/completion.exp: Reflect name change of self-test.
4964 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4965 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4966 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4967 HP failure number.
4968 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4969 useless HP-UX 10.30 references.
4970 * gdb.base/maint.exp: Loosen matches.
4971 * gdb.base/pointers.c (main): Declare more_code.
4972 * gdb.base/pointers.exp: Match on output of a `next'.
4973 * gdb.base/structs.c: Add prototypes.
4974 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4975 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4976
49771999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4978
4979 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4980 command.
4981
49821999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4983
4984 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4985 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4986
4987 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4988 debug info. Deal with lack of signal hanlder info in stack.
4989
4990 From Jim Kingdon <kingdon@redhat.com>:
4991 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4992
5a2468f5
JM
49931999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4994
4995 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4996 gdb.base/foll-vfork.exp: Don't run for crosses.
4997
adf40b2e
JM
4998Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4999
5000 * gdb.base/configure.in: Check for gdbvars.exp instead of
5001 a1-selftest.exp.
5002 * gdb.base/configure: Re-generate.
5003
50041999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5005
5006 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5007 in trying to run first and name is too long.
5008
5009 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5010 pointers2.c and pointers2.exp, respectively.
5011 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5012 doschk happier.
5013
43e526b9
JM
50141999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5015
5016 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5017 callfuncs2.c and callfuncs2.exp.
5018
5019 * gdb.base/list.exp: Remove mistaken xfails.
5020 * gdb.base/list0.h: Add optional prototypes.
5021
9846de1b
JM
5022Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5023
5024 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5025 calling malloc.
5026 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5027 * ptype.exp: Move test for get_debug_format to before its first
5028 use.
5029
50301999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5031
5032 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5033 * gdb.base/annota2.cc, annota2.exp: Move from here.
5034 * gdb.c++/annota2.cc, annota2.exp: To here.
5035 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5036
43ff13b4
JM
5037Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5038
5039 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5040 a consistent format.
5041
085dd6e6
JM
50421999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5043
5044 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5045 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5046 HP compilers, also set the globals $true and $false.
5047
5048 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5049 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5050 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5051 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5052 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5053 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5054 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5055 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5056 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5057 whatis.c} Add C++ compatible function definitions and return
5058 types, add includes for library functions.
5059 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5060 * gdb.base/step-test.c (myglob): Rename from glob.
5061 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5062 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5063 files, move here from gdb.hp.
5064 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5065 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5066 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5067 Adjust line numbers in regexps.
5068
5069 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5070 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5071 instead of 0/1.
5072
5073 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5074 foll-vfork.exp: New files, move here from gdb.hp.
5075 * gdb.base/page.exp: New file, test of pagination command.
5076
5077 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5078 recursion test.
5079 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5080
5081 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5082 gdb.base/solib.exp: Fix compiler invocation process.
5083
5084 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5085 HP-UX 11, turn off overload resolution explicitly.
5086 * gdb.base/commands.exp: Set argument list explicitly, add
5087 watchpoint test.
5088 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5089 them work.
5090 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5091 expressions properly.
5092 * gdb.base/corefile.exp: Loosen the match slightly.
5093 * gdb.base/default.exp: Allow "Error accessing memory" message
5094 also.
5095 * gdb.base/display.exp: Skip over x/0 j if PA64.
5096 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5097 * gdb.base/interrupt.exp: Ditto.
5098 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5099 in use.
5100 * gdb.base/list.exp: Add xfails for HP-UX.
5101 * gdb.base/long_long.exp: Refine some of the numeric matches.
5102 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5103 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5104 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5105 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5106 * gdb.base/ptype.exp: Succeed on more varieties of output.
5107 * gdb.base/scope.exp: Add xfails for HP-UX.
5108 * gdb.base/sect-cmd.exp: Add more cases.
5109 * gdb.base/setvar.exp: Add xfails for HP-UX.
5110 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5111 * gdb.base/signals.exp: Match on void symbolically.
5112 * gdb.base/step-test.exp: Add case for PA64.
5113 * gdb.base/term.exp: Add exit and restart.
5114 * gdb.base/twice.exp: Clean up after self.
5115 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5116 * gdb.base/whatis.exp: Allow more ways to pass tests.
5117
5118 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5119 no longer useful.
5120
5121Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5122
5123 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5124 list of patterns.
5125 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5126 print_double_array(double_array)", "continuing to breakpoint
5127 1018", "print print_double_array(array_d)" and "continuing to
5128 1034" tests.
beb998c6 5129
085dd6e6
JM
51301999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5131
5132 * Makefile.in: Add empty html and install-html targets.
5133
51341999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5135
5136 * config/mt-*: Remove, these haven't been used since 1996.
5137
51381999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5139
5140 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5141 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5142 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5143
9e0b60a8
JM
51441999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5145
5146 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5147 simpler match case for the ptype of the big class.
5148
51491999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5150
5151 * gdb.exp: Fix test for gdb_prompt existence.
5152
51531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5154
5155 * gdb.exp (gdb_test): Add fail after calls to perror.
5156
51571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5158
5159 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5160
51611999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5162
5163 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5164
0f71a2f6
JM
5165Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5166
5167 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5168 malloc() is linked in.
5169
51701999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5171
5172 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5173 step at end.
5174
5175 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5176
51771999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5178
5179 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5180
cce74817
JM
5181Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5182
5183 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5184 * gdb.base/mips_pro.exp: Likewise.
5185
51861999-06-02 Keith Seitz <keiths@cygnus.com>
5187
5188 * gdb.c++/templates.cc: Change all "new" operators to throw
5189 an exception.
5190 * gdb.c++/cplusfuncs.cc: Likewise.
5191
5192 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5193
5194Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5195
5196 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5197 * gdb.base/ending-run.exp: When stepping out of main, accept a
5198 step into an arbitrary assembler file.
5199
392a587b
JM
52001999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5201
beb998c6 5202 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5203 "breakpoint-invalid" to be printed.
beb998c6 5204 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5205 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5206 * gdb.base/annota2.cc: Initialize a.x to 0.
5207
9e086581
JM
52081999-05-17 Keith Seitz <keiths@cygnus.com>
5209
5210 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5211 when "skip_float_tests" set.
5212 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5213 "print print_ten_doubles", and "step into print_long_arg_list".
5214 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5215 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5216 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5217 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5218 "skip_float_tests" is set.
5219 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5220 when "skip_float_tests" set.
beb998c6 5221
cd0fc7c3
SS
52221999-05-06 Keith Seitz <keiths@cygnus.com>
5223
5224 * gdb.base/annota2.cc: Include stdio.h.
5225
5226Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5227
5228 * gdb.base/crossload.exp: Remove, this has been disabled ever
5229 since BFD stopped including all targets, and cross-GDB gets
5230 plenty of testing anyway.
5231 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5232 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5233 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5234 * gdb.base/README: Remove, was doc for this.
5235 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5236 needed.
5237
b83266a0
SS
52381999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5239
5240 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5241 output.
5242
5243 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5244 * gdb.base/annota2.exp: New file. More annotation tests.
5245 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5246 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5247
52481999-04-23 Angela Marie Thomas <angela@cygnus.com>
5249
5250 * config/cfdbug.exp: New file.
5251
7a292a7a
SS
52521999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5253
5254 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5255 Marcus Daniel's and Dale Hawkins's demangler crashes.
5256
5257 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5258 test_lucid_style_demangling, test_arm_style_demangling,
5259 test_hp_style_demangling): Try Tom Tromey's core-dumping
5260 identifier under each demangling style.
5261
52621999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5263
5264 * gdb.c++/demangle.exp: Include the current demangling style
5265 in all test names.
5266 (current_demangling_style): New global variable.
5267 (set_demangling_style, test_demangling_core, test_demangling,
5268 test_demangling_exact): New functions.
5269 (test_gnu_style_demangling, test_lucid_style_demangling,
5270 test_arm_style_demangling, test_hp_style_demangling): Use those,
5271 instead of calling gdb_test and gdb_test_exact directly.
5272 (catch_demangling_errors): New function, which reports errors
5273 signalled by the demangling test functions in an orderly way.
5274 (do_tests): Use catch_demangling_errors.
5275
52761999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5277
5278 * gdb.base/signals.exp (test_handle_all_print): Use () for
5279 grouping in expressions, not {}.
5280
5281 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5282 initialized yet.
5283
52841999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5285
5286 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5287 are listed.
5288
52891999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5290
5291 * gdb.stabs/weird.exp: Test for CC being defined before
5292 looking at its value.
5293
52941999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5295
5296 * gdb.base/call-ar-st.exp: Remove stray '#'.
5297 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5298 "short int" and "long int".
5299 * gdb.c++/overload.cc: Cast the string added in the previous
5300 change, to mollify finicky HP compiler.
5301 * gdb.hp/reg-test.exp (testfile): Fix file name.
5302 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5303
7a292a7a
SS
5304 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5305 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5306 alternate form of enum ptype.
5307
c906108c
SS
53081999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5309
7a292a7a
SS
5310 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5311 * gdb.hp/*.exp: Change all to run compiler probe only after
5312 passing skip_hp_tests, so as not to waste time on guaranteed
5313 failure.
5314
c906108c
SS
5315 * gdb.c++/overload.cc: Pass string instead of char addr, always
5316 init ccpfoo.
5317 * gdb.c++/templates.cc: Fix syntax error.
5318
7a292a7a
SS
5319Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5320
5321 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5322 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5323 command.
5324
53251999-03-18 James Ingham <jingham@cygnus.com>
5326
5327 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5328
5329 * gdb.c++/method.exp: It was testing an uninitialized int on the
5330 stack and assuming it was positive.
5331
5332 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5333
5334 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5335 keep it from killing the rest of the tests.
7a292a7a
SS
5336 Use gdb_continue_to_end.
5337
5338 * gdb.base/sigall.exp: use gdb_continue_to_end.
5339
5340 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5341
5342 * gdb.base/display.exp: use runto_main, not run.
5343
beb998c6
AC
5344 * gdb.base/default.exp: Check for the current error message in the
5345 r abbreviation test.
7a292a7a
SS
5346 Add strongarm to the targets that know info float.
5347
beb998c6 5348 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5349 run which doesn't work with monitors.
5350
5351 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5352
5353 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5354
5355 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5356 program. Traps the case (in Cygmon) when the program never really
5357 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5358 more places, so I used my name. Sorry Mark...
5359
5360 * config/monitor.exp (gdb_target_monitor): added another
5361 target_info parameter: remotebinarydownload. This will set the
5362 remotebinarydownload flag if this is causing some boards trouble.
5363
53641999-03-18 Mark Salter <msalter@cygnus.com>
5365
5366 * lib/gdb.exp (continue_to_exit): New function.
5367
5368 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5369 * gdb.base/ending-run.exp: Ditto.
5370 * gdb.base/step-test.exp: Ditto.
5371
53721999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5373
5374 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5375 (suggested by Art Haas <ahaas@neosoft.com>).
5376
53771999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5378
5379 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5380
5381Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5382
5383 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5384 descriptions of types (short unsigned int vs unsigned short, etc).
5385
53861999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5387
5388 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5389 a call to strlen; sometimes we do have sources.
5390
53911999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5392
5393 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5394 character, so GDB won't print garbage after its end.
beb998c6 5395
c906108c
SS
5396 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5397 breakpoint there instead. Sometimes GCC emits memcpy to handle
5398 the large structures being passed by value, so we step into that
5399 instead of sum_array_print, which obscures what we're really testing.
5400 * gdb.base/step-test.exp: However, we do want a test that notices
5401 the bizarre steps into memcpy, so do that here. Add check for
5402 stepping into function calls that pass large structures by value.
5403 ("Is that a noun clause, or are you just happy to see me?")
5404 Remove all references to specific line numbers.
5405 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5406 New type and function.
5407 (main): Call large_struct_by_value, passing it a large struct by value.
5408 * lib/gdb.exp (gdb_get_line_number): New function.
5409
5410 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5411 more portable.
5412
7a292a7a
SS
54131999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5414
c906108c
SS
5415 * lib/gdb.exp: Doc fixes.
5416
7a292a7a
SS
54171999-03-05 Nick Clifton <nickc@cygnus.com>
5418
beb998c6 5419 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5420
54211999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5422
c906108c
SS
5423 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5424 commands. They're not germane to this test, and they don't work
5425 that way on remote targets.
5426
3fc11d3e
JM
54271999-03-01 James Ingham <jingham@cygnus.com>
5428
5429 * Changelog entries merged over from gdb development branch.
5430
3fc11d3e
JM
5431 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5432
5433 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5434 for outputting results of test run.
5435
2d4a1622 5436 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5437
5438 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5439
7a292a7a
SS
54401999-02-25 Felix Lee <flee@cygnus.com>
5441
5442 * lib/gdb.exp (debug_format): initialize
5443
c906108c
SS
54441999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5445
5446 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5447 * gdb.base/call-rt-st.c: Ditto.
5448
c906108c
SS
54491999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5450
5451 * gdb.threads/pthreads.exp (horiz): New variable.
5452 (test_startup): Fix regexps that capture thread numbers.
5453
54541999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5455
5456 * gdb.base/smoke.exp: Disambiguate two test case names (both
5457 called ``print'').
5458
5459Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5460
5461 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5462 compilation.
5463
54641999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5465
5466 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5467 actual output formatting.
5468 * gdb.base/smoke.exp: GDB removes leading 0's.
5469 * gdb.base/volatile.exp: Don't check type of remuneration;
5470 that variable is no longer defined in constvars.c.
5471 * gdb.base/step-test.c (main): Exit with explicit exit code.
5472 * gdb.base/step-test.exp: Remove two nexti checks--they are
5473 not portable.
5474
54751999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5476
5477 * gdb.base/help.exp ("help delete display"): Fix test to match
5478 gdb's output.
5479
5480 * gdb.base/long_long.c (known_types): Initialize values to zero.
5481 * gdb.base/long_long.exp: Step one more line
5482 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5483 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5484 unique test case names.
5485
5486Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5487
beb998c6 5488 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5489
5490 * gdb.c++/method.exp: Add missing close brace.
5491
54921999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5493
5494 * gdb.base/maint.exp: Use 'set height 0' to disable page
5495 prompting, not 'set height 400'.
5496
5497 Fix a bunch of timeouts.
5498 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5499 four separate tests, so expect doesn't take forever to match a ton
5500 of text against a regexp with lots of .* forms.
5501 ("maint print psymbols", "maint print symbols"): Make some of
5502 these greps more selective, so that expect doesn't try to wade
5503 through huge piles of output and time out.
5504
5505 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5506
5507 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5508 tests: one which doesn't expect shlib events to be reported, and
5509 another which does, but is XFAIL for all platforms other than
5510 HP/UX.
5511
5512 * gdb.base/break.exp: Teach the test suite that the `catch
5513 fork', `catch vfork', and `catch exec' commands produce error
5514 messages on platforms that don't provide these features.
5515
5516Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5517
5518 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5519 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5520 (shortening names from solib_threshold.exp etc), won't run on
5521 anything but HP-UX for the foreseeable future.
5522 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5523 reflect move.
5524
5525Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5526
5527 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5528 gdb.trace/Makefile.in (clean): Remove all test executables.
5529
5530Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5531
5532 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5533 successfully re-sets breakpoints in shared libraries.
5534 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5535
5536Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5537
beb998c6
AC
5538 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5539 and compiled w/o GCC.
c906108c
SS
5540
5541 * gdb.hp/watch-cmd.exp: ditto.
5542
5543 * gdb.hp/watch-hp.exp: ditto.
5544
5545 * gdb.hp/xdb1.exp: ditto.
5546
5547 * gdb.hp/xdb2.exp: ditto.
5548
5549 * gdb.hp/dbx.exp: ditto.
5550
5551Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5552
5553 * constvars.c: Remove C++-isms.
5554 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5555 with GCC.
5556
5557Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5558
5559 The following changes are part of the HP merge.
5560
5561 * gdb.base/break.exp: new tests to verify that catchpoints for
5562 fork, vfork, and exec don't trigger inappropriately.
5563
5564 * gdb.base/opaque.exp: compile one file at a time, then link.
5565
5566 * gdb.base/signals.exp: be more restrictive about which hppa
5567 systems receive a setup_xfail. new tests.
5568
5569 * gdb.base/solib_threshold.build: new file.
5570 * gdb.base/solib_threshold.exp: new file.
5571 * gdb.base/solib_threshold.link_opts: new file.
5572 * gdb.base/solib_threshold.mk: new file.
5573 * gdb.base/gen_solib_threshold.c: new file.
5574
5575 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5576 tests. New tests for enums inside classes.
5577
5578 * gdb.c++/compiler.cc: indicate support of template debugging.
5579
5580 * gdb.c++/demangle.exp: run hp style demangling tests.
5581
5582 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5583 tests.
5584
5585 * gdb.c++/misc.cc: changes to support new tests.
5586
5587 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5588 to support new tests.
5589
5590 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5591 gcc, then skip these tests.
5592
5593Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5594
5595 The following files are part of the HP merge; some had longer
5596 names at HP, but have been renamed to be no more than 14
5597 characters in length.
5598
5599 * gdb.hp/ambiguous.cc: new file.
5600 * gdb.hp/ambiguous.exp: new file.
5601 * gdb.hp/attach.exp: new file.
5602 * gdb.hp/attach2.exp: new file.
5603 * gdb.hp/classes-hp.exp: new file.
5604 * gdb.hp/ctti.exp: new file.
5605 * gdb.hp/ctti-add.cc: new file.
5606 * gdb.hp/ctti-add1.cc: new file.
5607 * gdb.hp/ctti-add2.cc: new file.
5608 * gdb.hp/ctti-add3.cc: new file.
5609 * gdb.hp/dbx.exp: new file.
5610 * gdb.hp/exception.cc: new file.
5611 * gdb.hp/exception.exp: new file.
5612 * gdb.hp/foll-exec.c: new file.
5613 * gdb.hp/foll-exec.exp: new file.
5614 * gdb.hp/foll-fork.c: new file.
5615 * gdb.hp/foll-fork.exp: new file.
5616 * gdb.hp/foll-vfork.c: new file.
5617 * gdb.hp/foll-vfork.exp: new file.
5618 * gdb.hp/inherit-hp.exp: new file.
5619 * gdb.hp/more-steps.exp: new file.
5620 * gdb.hp/namespace.cc: new file.
5621 * gdb.hp/namespace.exp: new file.
5622 * gdb.hp/optimize.exp: new file.
5623 * gdb.hp/pxdb.c: new file.
5624 * gdb.hp/pxdb.exp: new file.
5625 * gdb.hp/quicksort.exp: new file.
5626 * gdb.hp/reg-test.exp: new file.
5627 * gdb.hp/reg-test.s: new file.
5628 * gdb.hp/sized-enum.c: new file.
5629 * gdb.hp/sized-enum.exp: new file.
5630 * gdb.hp/start-stop.exp: new file.
5631 * gdb.hp/templ-hp.cc: new file.
5632 * gdb.hp/templ-hp.exp: new file.
5633 * gdb.hp/thr-lib.c: new file.
5634 * gdb.hp/thr-lib.exp: new file.
5635 * gdb.hp/thr-lib.h: new file.
5636 * gdb.hp/thr-liblib.c: new file.
5637 * gdb.hp/virtfun-hp.c: new file.
5638 * gdb.hp/virtfun-hp.exp: new file.
5639 * gdb.hp/watch-cmd.exp: new file.
5640 * gdb.hp/watch-hp.exp: new file.
5641 * gdb.hp/xdb1.exp: new file.
5642 * gdb.hp/xdb2.exp: new file.
5643 * gdb.hp/xdb3.exp: new file.
5644
5645Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5646
5647 The following files are part of the HP merge; some had longer
5648 names at HP, but have been renamed to be no more than 14
5649 characters in length.
5650
5651 * gdb.base/ss.h: new file.
5652 * gdb.base/call-ar-st.c: new file.
5653 * gdb.base/call-ar-st.exp: new file.
5654 * gdb.base/call-rt-st.c: new file.
5655 * gdb.base/call-rt-st-exp: new file.
5656 * gdb.base/call-strs.exp: new file.
5657 * gdb.base/ena-dis-br.exp: new file.
5658 * gdb.base/environ.exp: new file.
5659 * gdb.base/long_long.exp: new file.
5660 * gdb.base/sect-cmd.exp: new file.
5661 * gdb.base/shlib-cl2.exp: new file.
5662 * gdb.base/smoke.exp: new file.
5663 * gdb.base/so-impl-ld.c: new file.
5664 * gdb.base/so-impl-ld.exp: new file.
5665 * gdb.base/so-indr-cl.c: new file.
5666 * gdb.base/so-indr-cl.exp: new file.
5667 * gdb.base/varargs.exp: new file.
5668 * gdb.base/volatile.exp: new file.
5669 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5670 * gdb.base/display.exp: new file.
c906108c
SS
5671 * gdb.c++/derivation.exp: new file.
5672 * gdb.c++/local.exp: new file.
5673 * gdb.c++/member-ptr.exp: new file.
5674 * gdb.c++/overload.exp: new file.
5675 * gdb.c++/ovldbreak.exp: new file.
5676 * gdb.c++/ref-types.exp: new file.
5677 * gdb.c++/ref-types2.exp: new file.
5678 * gdb.c++/userdef.exp: new file.
beb998c6 5679
c906108c
SS
5680Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5681
5682 * gdb.base/default.exp: Reflect wording change in remote.c.
5683
dc96c6c7 5684Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5685
5686 * gdb.base/help.exp: Update to reflect current text.
5687
5688Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5689
5690 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5691 they're stack variables and contain garbage.
5692 * gdb.c++/anon-union.exp: new file.
5693
5694 The following changes were made by David Taylor
5695 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5696 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5697 in changes by HP.
5698
5699 * gdb.base/bitops.exp: new file.
5700 * gdb.base/default.exp: change expected messages for catch and
5701 info catch tests to reflect HP merge changes.
5702 * gdb.base/enable-disable-break.exp
5703 * gdb.base/ending-run.c: new file.
5704 * gdb.base/long_long.c: new file.
5705 * gdb.base/maint.exp: new file.
5706 * gdb.base/pointers2.exp: new file.
5707 * gdb.base/shlib-call2.exp: new file.
5708 * gdb.base/solib.exp: new file.
5709 * gdb.base/step-test.c: new file.
5710 * gdb.c++/anon-union.cc: new file.
5711 * gdb.c++/local.cc: new file.
5712 * gdb.c++/member-pointer.cc: new file.
5713 * gdb.c++/method.cc: new file.
5714 * gdb.c++/ref-types.cc: new file.
5715 * gdb.c++/ref-types2.cc: new file.
5716 * gdb.c++/userdef.cc: new file.
beb998c6 5717
c906108c
SS
5718 * gdb.base/scope.exp: compile one file at a time, then link.
5719 * gdb.base/langs.exp: ditto.
5720 * gdb.base/list.exp: ditto.
beb998c6 5721
c906108c
SS
5722Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5723
5724 The following changes were made by David Taylor
5725 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5726 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5727 in changes by HP.
beb998c6 5728
c906108c
SS
5729 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5730 skip tests. When compiling pass c++ flag to gdb_compile.
5731 * gdb.c++/
beb998c6 5732
c906108c
SS
5733 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5734 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5735 (skip_hp_tests): new function.
5736 (gdb_preprocess): new function.
5737
5738 * configure.in (hpdir): decide whether to configure gdb.hp.
5739 * configure: regenerated.
5740
5741 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5742 to delete on clean.
5743 (EXECUTABLES): update to reflect new additions.
5744 * gdb.base/commands.exp: update message expected.
5745 * gdb.base/default.exp: add copyright notice.
5746 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5747 * gdb.base/help.exp: update messages to reflect current text.
5748 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5749 targets for recurse tests.
5750 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5751 skip this file.
5752
5753 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5754 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5755 compilation.
5756 * gdb.c++/misc.exp: ditto.
5757 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5758 run the tests. tell gdb_compile that it's a c++ compilation.
5759
5760 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5761
c906108c
SS
5762 * gdb.base/all-bin.exp: new file.
5763 * gdb.base/arithmet.exp: new file.
5764 * gdb.base/assign.exp: new file.
5765 * gdb.base/completion.exp: new file.
5766 * gdb.base/cond-expr.exp: new file.
5767 * gdb.base/condbreak.exp: new file.
5768 * gdb.base/define.exp: new file.
5769 * gdb.base/dollar.exp: new file.
5770 * gdb.base/environment.exp: new file.
5771 * gdb.base/eval-skip.exp: new file.
5772 * gdb.base/jump.exp: new file.
5773 * gdb.base/logical.exp: new file.
5774 * gdb.base/pointers.exp: new file.
5775 * gdb.base/relational.exp: new file.
5776 * gdb.base/section_command.exp: new file.
5777 * gdb.base/whatis-expr.exp: new file.
5778
5779 * gdb.base/all-types.c: new file.
5780 * gdb.base/call-array-struct.c: new file.
5781 * gdb.base/call-return-struct.c: new file.
5782 * gdb.base/call-strings.c: new file.
5783 * gdb.base/callfuncs2.c: new file.
5784 * gdb.base/condbreak.c: new file.
5785 * gdb.base/constvars.c: new file.
5786 * gdb.base/display.c: new file.
5787 * gdb.base/int-type.c: new file.
5788 * gdb.base/jump.c: new file.
5789 * gdb.base/miscexprs.c: new file.
5790 * gdb.base/pointers.c: new file.
5791 * gdb.base/pointers2.c: new file.
5792 * gdb.base/shmain.c: new file.
5793 * gdb.base/shr1.c: new file.
5794 * gdb.base/shr2.c: new file.
5795 * gdb.base/solib.c: new file.
5796 * gdb.base/solib1.c: new file.
5797 * gdb.base/solib2.c: new file.
5798 * gdb.base/varargs.c: new file.
5799 * gdb.c++/derivation.cc: new file.
5800 * gdb.c++/overload.cc: new file.
5801 * gdb.c++/ovldbreak.cc: new file.
5802 * gdb.hp/attach.c: new file.
5803 * gdb.hp/attach2.c: new file.
5804 * gdb.hp/average.c: new file.
5805 * gdb.hp/compiler.c: new file.
5806 * gdb.hp/compiler.cc: new file.
5807 * gdb.hp/execd-program.c: new file.
5808 * gdb.hp/follow-exec.c: new file.
5809 * gdb.hp/follow-fork.c: new file.
5810 * gdb.hp/follow-vfork-and-exec.c: new file.
5811 * gdb.hp/misc-hp.cc: new file.
5812 * gdb.hp/more-steps.c: new file.
5813 * gdb.hp/optimize.c: new file.
5814 * gdb.hp/quicksort.c: new file.
5815 * gdb.hp/run-hp.c: new file.
5816 * gdb.hp/start-stop.c: new file.
5817 * gdb.hp/sum.c: new file.
5818 * gdb.hp/templates-hp.cc: new file.
5819 * gdb.hp/thread-local-in-lib.c: new file.
5820 * gdb.hp/thread-local-in-lib.h: new file.
5821 * gdb.hp/thread-local-in-lib.lib.c: new file.
5822 * gdb.hp/vforked-program.c: new file.
5823 * gdb.hp/virtfunc-hp.cc: new file.
5824 * gdb.hp/watchpoint-hp.c: new file.
5825 * gdb.hp/xdb.c: new file.
5826 * gdb.hp/xdb0.c: new file.
5827 * gdb.hp/xdb0.h: new file.
5828 * gdb.hp/xdb1.c: new file.
5829
5830Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5831
5832 The following change was made by Edith Epstein
5833 <eepstein@cygnus.com> as part of a project to merge in changes
5834 originally made by HP; HP did not create ChangeLog entries.
5835
5836 * gdb.c++/demangle.exp: changed the expected output for some
5837 ARM-style mangling -- removed second reference to datatype.
5838 For example, maint demangle __dt__11T1__pt__2_cFv
5839 T1<char>::~T1<char>(void)
5840 becomes,
5841 maint demangle __dt__11T1__pt__2_cFv
5842 T1<char>::~T1(void)
5843
5844 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5845
c906108c
SS
5846Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5847
5848 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5849 * gdb.trace/backtrace.exp: Likewise.
5850 * gdb.trace/circ.exp: Likewise.
5851 * gdb.trace/collection.exp: Likewise.
5852 * gdb.trace/deltrace.exp: Likewise.
5853 * gdb.trace/infotrace.exp: Likewise.
5854 * gdb.trace/limits.exp: Likewise.
5855 * gdb.trace/packetlen.exp: Likewise.
5856 * gdb.trace/passc-dyn.exp: Likewise.
5857 * gdb.trace/passcount.exp: Likewise.
5858 * gdb.trace/report.exp: Likewise.
5859 * gdb.trace/save-trace.exp: Likewise.
5860 * gdb.trace/tfind.exp: Likewise.
5861 * gdb.trace/tracecmd.exp: Likewise.
5862 * gdb.trace/while-dyn.exp: Likewise.
5863 * gdb.trace/while-stepping.exp: Likewise.
5864
58651998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5866
5867 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5868
5869Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5870
5871 From Brendan Kehoe:
5872 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5873 int return types.
5874
5875Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5876
5877 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5878 remote dos host testing right.
5879
5880Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5881
5882 * gdb.base/corefile.exp: remove some xfails.
5883
5884Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5885
5886 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5887 have different timestamps.
5888
5889Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5890
5891 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5892 gdb.base/default.exp: Replace "exec" with "executable".
5893
5894Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5895
5896 * gdb.base/default.exp: Change else if to elseif from previous
5897 delta.
5898
5899Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5900
5901 * gdb.base/default.exp: Add brace missing from previous delta.
5902
5903Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5904
5905 * gdb.base/default.exp: Support test for info float for all
5906 varieties of arm toolchain.
5907
dc96c6c7 5908Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5909
5910 * gdb.trace/*.exp: remove "remote_download" command.
5911
dc96c6c7 5912Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5913
5914 * gdb.trace/*.exp: remove -gdwarf from compile.
5915
5916Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5917
5918 * gdb.trace/configure.in(AC_INIT): typo
5919 * gdb.trace/configure: regenerated
5920
dc96c6c7 5921Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5922
5923 * config/m68k-emc.exp: New file.
5924 * lib/<emc-support.exp trace-support.exp}: New files.
5925 * configure.in: add new test directory gdb.trace.
5926 * gdb.trace/{configure configure.in Makefile.in}: New files.
5927 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5928 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5929 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5930 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5931 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5932 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5933 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5934
dc96c6c7 5935Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5936
5937 * gdb.c++/classes.exp: Change all regular expressions to match
5938 arbitrary combinations of newline/carriage-return, so that they
5939 will work equally well on Unix and Windows.
5940 * gdb.c++/inherit.exp: ditto.
5941 * gdb.c++/virtfunc.exp: ditto.
5942
59431998-08-11 Dawn Perchik <dawn@cygnus.com>
5944
5945 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5946
c2d11a7d
JM
5947Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5948
5949 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5950 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5951 to use a0-a3/d0-d3 as needed.
5952
5953Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5954
5955 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5956 * gdb.disasm/am33.exp: Corresponding changes.
5957
c906108c
SS
59581998-07-11 Felix Lee <flee@cygnus.com>
5959
5960 * gdb.base/callfuncs.exp: add cmp10 test.
5961 * gdb.base/callfuncs.c (cmp10): new function.
5962
5963Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5964
beb998c6 5965 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5966 into two parts to get around a synchronization problem in expect.
5967
3fc11d3e
JM
5968Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5969
5970 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5971
5972 * configure.in: Add options for gdbtk testsuite.
5973
5974 * configure: Regenerate.
5975
5976 * gdb.gdbtk: New directory to hold gdbtk tests.
5977
c906108c
SS
5978Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5979
5980 * gdb.fortran/types.exp: Escape brackets in expect patterns
5981 for test_float_literal_types_accepted tests.
5982 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5983 before run test.
5984
c2d11a7d
JM
5985Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5986
5987 * am33.exp: Just compile, do not link the testcase.
5988 * am33.s: Add ".am33" pseudoop to force am33 mode.
5989
c906108c
SS
59901998-06-25 Felix Lee <flee@cygnus.com>
5991
5992 * gdb.base/setshow.exp: make sure $pc is sane.
5993
5994 * gdb.stabs/weird.exp: split expect patterns properly.
5995
c2d11a7d
JM
5996Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5997
5998 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5999 * gdb.disasm/am33.exp: Run it.
6000
dc96c6c7 6001Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6002
6003 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6004 match processing (and eliminate spurious timeouts when running).
6005
dc96c6c7 6006Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6007
6008 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6009 exception test, but conditionalize it on target [mach | gnu].
6010
dc96c6c7 6011Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6012
6013 * gdb.base/overlays.exp: fixup compile line for linker script.
6014
6015Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6016
6017 * gdb.fortran/types.exp: don't guess at float size.
6018
6019Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6020
6021 * gdb.base/exprs.exp: delete test that depends on int size.
6022
6023Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6024
6025 * config/sim.exp: Removed checks for target triplets.
6026 (gdb_target_sim): Use gdb,target_sim_options.
6027
6028Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6029
6030 * gdb.base/reread.exp: New file.
6031 * gdb.base/reread1.c: New file.
6032 * gdb.base/reread2.c: New file.
6033
6034Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6035
6036 * config/sim.exp: Use 'target sim -sparclite' when running
6037 SPARClite programs.
6038
6039Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6040
6041 * gdb.base/structs2.exp: New file.
6042 * gdb.base/structs2.c: New file.
6043
6044Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6045
6046 * gdb.asm/common.inc: New file.
6047 * gdb.asm/d10v.inc: New file.
6048 * asm-source.exp: Pass -I's to gas to find .inc files.
6049 Update line numbers in expected output.
6050 * asmsrc1.s: Rewrite.
6051 * asmsrc2.s: Rewrite.
6052 * configure.in: Create arch.inc symlink.
6053 * configure: Regenerate.
6054 * Makefile.in (distclean): Delete arch.inc.
6055
6056Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6057
6058 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6059 (t_enum_value2): ditto
6060 (t_enum_value3): ditto
6061 (main): ditto
6062Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6063
6064 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6065 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6066 change.
6067 Use gdb_test instead of send_gdb/gdb_expect sequences.
6068
6069Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6070
6071 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6072 not void.
6073
6074Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6075
6076 * gdb.base/branches.c: Code with lots of loops and
6077 subroutines. Used to test gdbs ability to single step through PC
6078 changes, especially to test mips-tdep.c:mips_next_pc
6079
6080Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6081
6082 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6083 more rigorous EGCS C++ error checking.
6084
6085Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6086
6087 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6088 tests.
c906108c 6089 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6090 function when asleep.
c906108c 6091 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6092 for i*86 Linux and SVR4 signal handling problems.
6093 Remove linux xfail for `next to handler in signals_tests_1', fixed
6094 by recent infrun.c change.
c906108c 6095 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6096 stack backtraces.
c906108c
SS
6097 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6098 target.[ch] change.
6099
6100Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6101
6102 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6103 for a newline from gdb before continuing.
6104 (default_gdb_exit): Just look for y or n.
6105 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6106 it does, fail the rests of the tests in the file.
6107
6108Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6109
6110 * config/cygmon.exp: New file.
6111
6112Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6113
6114 * gdb.base/list.exp: Fix problem with "list default lines around
6115 main" test on remote targets.
6116
6117 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6118 run test on remote targets.
6119
6120Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6121
6122 * gdb.asm: New directory.
6123 * configure.in: Configure it.
6124 * configure: Regenerate.
6125 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6126 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6127
6128Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6129
6130 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6131
dc96c6c7 6132Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6133
c906108c
SS
6134 * gdb.base/overlays (several files): Merge the two overlay
6135 managers into one. Change variables (foox, barx, bazx, grbxx)
6136 back into ints but force them to load in their proper sections.
6137
6138Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6139
6140 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6141 on-chip insn memory and IMAP1 to upper 128k.
6142 (D10VCopy): Handle memory regions crossing 16k boundaries.
6143 (D10VCopy): Transfer data in 32 bit chunks.
6144
6145Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6146
6147 * gdb.base/overlays.c (main): Exit normally when result is
6148 correct.
6149
6150 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6151 map. Include space for printf in .text segment.
6152
6153 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6154 updated d10v memory VMA/LMA map.
6155 (D10VCopy): Call D10VTranslate.
beb998c6 6156
c906108c
SS
6157Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6158
6159 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6160
6161 * gdb.base/bar.c (barx, bar): Change variable to small array so
6162 that it won't be put into the .sdata - small data -
6163 section. Update reference.
6164 * gdb.base/baz.c (bazx, baz): Ditto.
6165 * gdb.base/foo.c (foox, foo): Ditto.
6166 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6167
6168 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6169 to be arrays.
beb998c6 6170
dc96c6c7 6171Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6172
c906108c
SS
6173 * gdb.base/overlays.exp: fix up and get working again.
6174 Add tests for backtraces from an overlay function.
beb998c6 6175
c906108c
SS
6176Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6177
6178 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6179 "calling function with watchpoint enabled".
6180
6181Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6182
6183 * gdb.base/break.exp (test_next_with_recursion): Remove
6184 gdb_suppress_tests for d10v-*-*.
6185 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6186 pending review of whether it is useful or not.
6187
6188Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6189
6190 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6191
6192Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6193
6194 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6195 * config/dve.exp: New file to support Densan boards.
6196
6197Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6198
6199 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6200 reads and BSD.
6201
6202Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6203
6204 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6205 response.
6206
6207 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6208
6209Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6210
6211 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6212 test.
6213
6214 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6215 target_sizeof_long and target_bigendian_p.
6216 (structs_by_value, structs_by_reference): Check values according
6217 to targets word size and endianess.
beb998c6 6218
c906108c
SS
6219Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6220
6221 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6222 output.
6223
6224Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6225
6226 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6227 Update test of set args help to match source change.
6228
6229Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6230
6231 * gdb.base/default.exp: Expect help system output to be in
6232 alphabetical order.
6233 * gdb.base/help.exp: Ditto.
6234
6235Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6236
6237 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6238 "i*86-pc-linux-gnu*".
6239 * gdb.base/interrupt.exp: Ditto.
6240 * gdb.base/corefile.exp: Ditto.
6241
6242 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6243 define vxworks when building the testcase.
6244
6245 * gdb.base/ptype.exp: Fix testnames to be unique.
6246 * gdb.base/radix.exp: Ditto.
6247 * gdb.base/term.exp: Ditto.
6248 * gdb.base/whatis.exp: Ditto.
6249 * gdb.c++/classes.exp: Ditto.
6250
6251Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6252
6253 * gdb.base/callfuncs.exp: Fix indentation.
6254
6255 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6256 suppress_flag has been set.
6257 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6258 target feature.
6259
6260Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6261
6262 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6263 the testcase.
6264
6265 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6266 set_debug_traps() and breakpoint().
6267 * gdb.c++/misc.cc (main): Ditto.
6268 * gdb.c++/templates.cc (main): Ditto.
6269 * gdb.c++/virtfunc.cc (main): Ditto.
6270
6271Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6272
6273 * lib/gdb.exp(gdb_step_for_stub): New function.
6274 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6275 exists, reload the executable and do a "continue" instead of
6276 doing a jump.
6277 (runto_main): Use gdb_step_for_stub.
beb998c6 6278
c906108c
SS
6279 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6280 tests to have unique names.
6281 * gdb.base/callfuncs.exp: Ditto.
6282 * gdb.base/commands.exp: Ditto.
6283 * gdb.base/default.exp: Ditto.
6284 * gdb.base/help.exp: Ditto.
6285 * gdb.base/list.exp: Ditto.
6286 * gdb.base/opaque.exp: Ditto.
6287 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6288 similar tests.
beb998c6 6289
c906108c
SS
6290 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6291 * gdb.c++/cplusfuncs.cc: Ditto.
6292 * gdb.c++/virtfunc.cc: Ditto.
6293
6294 * config/monitor.exp: Keep track of the last file we saw, rather
6295 than trying to get the info from gdb.
6296
6297 * gdb.fortran/types.exp: Move comment to previous line.
6298
6299Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6300
6301 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6302 target mode.
6303
6304Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6305
6306 From Bob Manson:
6307 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6308 string from GDB when it connects.
6309
6310 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6311
6312Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6313
6314 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6315 if we can't get a debug format from GDB (we may be testing an
6316 older GDB). Use a 10 second timeout when checking for the format.
6317
6318 * gdb.stabs/weird.exp: Fix quoting.
6319
6320 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6321
6322Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6323
6324 * config/arm-ice.exp: New file.
6325
6326Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6327
6328 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6329 until it has been modified to work with the new testsuite.
6330
99707966 6331 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6332 testcase won't compile, cause all of the testcases in the file to
6333 fail instead.
6334
6335 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6336 (gdb_clear_suppressed): New procedure.
6337 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6338 it contains a positive value.
6339
6340Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6341
6342 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6343
6344 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6345
6346Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6347
6348 * lib/gdb.exp (setup_xfail_format): New function.
6349 (get_debug_format): New function to get debug format.
6350 (debug_format): New global variable to hold last value set
6351 by get_debug_format.
6352 * gdb.base/list.exp: Call get_debug_format and expect some
6353 tests to fail for DWARF 1 and COFF formats.
6354 * gdb.c++/ptype.exp: Ditto.
6355 * gdb.c++/classes.exp: Ditto.
6356 * gdb.c++/cplusfuncs.exp: Ditto.
6357 * gdb.c++/inherit.exp: Ditto.
6358 * gdb.c++/templates.exp: Ditto.
6359 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6360
c906108c
SS
6361Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6362
6363 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6364 host doesn't have a currently-open connection.
6365
6366 * config/sparclet.exp: Cleanups and fixes to make it generic for
6367 any gdb stub target. Handle cases where gdb doesn't respond when
6368 interrupted in a sane fashion.
6369
6370 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6371 same thing in a totally different way.
6372
6373 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6374 setting "timeout".
6375 (gdb_start): We set the global gdb_prompt variable in
6376 default_gdb_init now.
6377
6378Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6379
6380 * gdb.base/printcmds.exp: Fix "check for floating addition"
6381 regexp to accept results within approx +/- .01 of exact value.
6382 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6383
6384Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6385
6386 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6387 properly.
6388 (gdb_expect): Add optional timeout parameter, and add timeout
6389 value to various calls.
6390 (gdb_suppress_tests): Only give one warning message per group.
6391
6392Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6393
6394 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6395 global variables. Handle getting a value for $timeout more
6396 gracefully.
6397
6398Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6399
6400 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6401 initialize.
6402 (default_gdb_init): New procedure; allow gdb_init to be overridden
6403 by a target configuration file.
6404 (gdb_expect): Pass the timeout to remote_expect.
6405
6406 * config/monitor.exp(gdb_load): Fix typo in regexp.
6407
6408Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6409
6410 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6411
6412Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6413
6414 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6415 here. Call gdb_target_exec before rebooting the target, to make
6416 sure the connection to the target is closed.
6417 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6418 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6419 Also detect "Timeout reading from remote" error.
6420
6421 * config/gdbserver.exp: Pass the executable being loaded to
6422 gdb_target_monitor. Don't call gdb_file_cmd here; let
6423 gdb_target_monitor do it.
6424
6425 * gdb.disasm/hppa.exp: Don't use exec_output.
6426
6427Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6428
6429 * gdb.base/list.exp: If we're debugging a non-native target,
6430 try to set the pc register to point to the start of the
6431 program before doing the first list command.
6432
6433 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6434 test_calls after restarting.
6435
6436 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6437 reloading.
6438
6439 * gdb.base/watchpoint.exp: Fix typo.
6440
6441 * gdb.base/setshow.exp: Check for use_gdb_stub.
6442
6443 * gdb.base/break.exp: Fix continue until exit test for the gdb
6444 stub case.
6445 * gdb.base/langs.exp: Ditto.
6446
6447 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6448 gdb_load_offset. If we weren't given a file to load, figure out
6449 what the current file is and use it.
6450
6451 * config/i386-bozo.exp: New file.
6452
6453Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6454
6455 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6456 feature.
6457
6458 * config/proelf.exp: New entry.
6459
6460Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6461
6462 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6463 of regexps.
6464
6465 * gdb.base/watchpoint.exp: Don't run the test_stepping
6466 tests if gdb can't call functions on the target.
6467
6468 * gdb.base/setshow.exp: Don't run the set prompt tests if
6469 the board has gdb_prompt set.
6470
6471Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6472
6473 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6474 * gdb.base/commands.exp: Likewise.
6475 * gdb.base/setshow.exp: Likewise.
6476
6477Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6478
6479 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6480 feature.
6481
6482 * config/i960.exp: New file.
6483
6484Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6485
6486 * gdb.base/funcargs.exp: Check for gdb,short_int target
6487 feature instead of looking for explicit target triplets.
6488
dc96c6c7 6489Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6490
beb998c6 6491 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6492 "p 123DEADBEEF", to check parse_number.
6493 * top.c: change "to enable to enable" to "to enable" in a couple
6494 of help strings.
6495
6496Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6497
6498 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6499 on the mn10300.
beb998c6 6500
c906108c
SS
6501Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6502
6503 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6504 where the test executable is run with explicit args.
6505 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6506
6507Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6508
6509 * gdb.base/run.c: Use FAKEARGV to build test executable that
6510 does not require a command line arg, since most simulators
6511 don't currently support passing such an arg into the simulated
6512 program.
6513 * gdb.base/commands.exp: Change tests to insert the proper
6514 value as the arg to the first recursive factorial call. Change
6515 compilation line to define FAKEARGV at compile time.
6516
6517Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6518
6519 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6520 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6521 function with watchpoint enabled" test.
6522
6523Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6524
6525 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6526 Don't call gdb_test when the command doesn't return to a gdb prompt.
6527
6528 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6529 "Tests restarted" messages.
6530
6531Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6532
6533 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6534
dc96c6c7 6535Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6536
6537 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6538 for INFO SYMBOL; add help tests for OVERLAY commands.
6539 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6540 add tests for OVERLAY commands
6541 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6542 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6543 * gdb.base/sigall.c: add usestubs code frag
6544 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6545
c906108c
SS
6546Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6547
6548 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6549 failures.
6550 (gdb_stop_suppressing_tests): Note that tests have restarted.
6551
6552Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6553
6554 * config/h8300.exp: New file.
6555
6556Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6557
6558 * gdb.base/setshow.exp: Check for the existence of a
6559 feature, not its value.
6560
6561Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6562
6563 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6564
6565 * gdb.base/scope.exp: It's now init0(), not init().
6566
6567 * gdb.base/scope0.c: For now, change init() to be init0().
6568
6569 * config/monitor.exp: Use gdb_serial in preference to serial
6570 or netport.
6571
6572 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6573 and it's not already set.
6574
6575Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6576
6577 * gdb.base/setshow.exp: Only test the run command if the target
6578 isn't using a stub and if it supports argument passing.
6579
6580Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6581
6582 * config/udi.exp(gdb_start): Make sure UDICONF is set
6583 properly before starting gdb.
6584
6585Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6586
6587 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6588 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6589 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6590
6591Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6592
6593 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6594 specialized code to reboot the board, use remote_reboot instead.
6595
6596 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6597
6598 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6599
6600 * config/monitor.exp: Make sure we disconnect from the target.
6601 Also, try a reboot/reload cycle instead of failing if the
6602 load fails.
6603
6604Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6605
6606 * gdb.base/default.exp: Don't set match_max.
6607 * gdb.base/help.exp: Ditto.
6608 * gdb.base/list.exp: Ditto.
6609 * gdb.base/signals.exp: Ditto.
6610
6611 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6612 set, use remote_ld to download the testcase instead of
6613 the GDB loader.
6614
6615Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6616
6617 * config/vr5000.exp: New file.
6618
6619 * config/monitor.exp(gdb_target_monitor): Add pattern for
6620 "Ending remote" to detect errors in connecting.
6621
6622 * gdb.base/setshow.exp: Add .* within auto language test.
6623
6624 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6625 target feature.
6626
6627 * config/monitor.exp(gdb_load): Check for a failure when loading,
6628 and reboot the board if necessary.
6629
6630 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6631 a set of tests. Remove print.* from the patterns being checked.
6632
6633Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6634
6635 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6636 refer to gdb_spawn_id.
6637
6638 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6639 longer used.
6640 * config/sparclet.exp: Ditto.
6641 * config/sparclet-old.exp: Ditto.
6642 * config/slite.exp: Ditto.
6643 * config/sim.exp: Ditto.
6644 * gdb.base/funcargs.exp: Ditto.
6645
6646 * lib/gdb.exp:Remove references to gdb_spawn_id.
6647 (gdb_expect): Move to remote.exp.
6648
6649Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6650
6651 * config/monitor.exp: Detect the "Couldn't establish connection"
6652 message from GDB.
6653
6654Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6655
6656 * gdb.base/bitfields.exp: Use runto instead of explicit
6657 gdb_run_cmd/gdb_expect sequences.
6658
6659 * gdb.base/break.exp(text_next_with_recursion): Add match for
6660 gdb_expect call.
6661
6662 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6663 We also need to handle the "A program is being debugged already"
6664 prompt from gdb. Use gdb_test to set the baud rate.
6665
6666 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6667 to 20000. Really. I mean it.
6668
6669Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6670
6671 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6672 fails. If suppress_flag is set, skip perror message about not
6673 being able to send to GDB.
6674 (send_gdb): If suppress_flag is set, don't try to send commands to
6675 GDB.
6676 (gdb_expect): If suppress_flag is set, always fail immediately.
6677 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6678 (gdb_init): Call gdb_stop_suppressing_tests.
6679 (default_gdb_exit): Ditto.
6680 (default_gdb_start): Ditto.
6681
6682 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6683 gdb_stop_suppressing_tests as appropriate.
6684 * gdb.base/break.exp: Ditto.
6685 * gdb.base/callfuncs.exp: Ditto.
6686 * gdb.base/commands.exp: Ditto.
6687 * gdb.base/exprs.exp: Ditto.
6688 * gdb.base/funcargs.exp: Ditto.
6689 * gdb.base/list.exp: Ditto.
6690 * gdb.base/recurse.exp: Ditto.
6691 * gdb.base/scope.exp: Ditto.
6692 * gdb.base/structs.exp: Ditto.
6693 * gdb.c++/inherit.exp: Ditto.
6694
6695Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6696
6697 * config/vr4300.exp: New file.
6698
99707966
MC
6699 * gdb.*/*.exp: Call gdb_expect instead of expect.
6700
6701 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6702
6703Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6704
6705 * lib/gdb.exp(gdb_init): New function.
6706
6707 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6708 for each individual variable set.
6709
6710 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6711 name.
6712
6713 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6714
6715 * gdb.base/scope.exp: Use gdb_test.
6716
6717 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6718 aborting; the testsuite driver will do that for us (see
6719 gdb_finish). Also, use gdb_test in a few more places.
6720
6721Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6722
6723 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6724
6725Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6726
6727 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6728 and "add_tests" are not at the same address.
6729
6730Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6731
6732 * gdb.base/ptype.exp: Use gdb_test.
6733
6734Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6735
6736 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6737 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6738 left in. No longer expect them to fail.
6739
6740 * gdb.stabs/*.mt; Deleted, no longer used.
6741 * gdb.stabs/configure.in: Remove references to target makefile
6742 frags.
6743 * gdb.stabs/configure: Rebuilt.
6744
6745 * gdb.disasm/*.mt: Deleted, no longer used.
6746 * gdb.disasm/configure.in: Remove references to target makefile
6747 frags. Use "sh3.s" as the unique filename for this directory.
6748 * gdb.disasm/configure: Rebuilt.
6749
6750 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6751 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6752 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6753
6754Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6755
6756 * config/udi.exp: Use mondfe,name instead of remote_host.
6757
6758Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6759
6760 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6761 a function with a watchpoint enabled on the mn10200.
6762
6763 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6764 before trying to create it!
6765
6766Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6767
6768 * config/vx.exp: Use hostname instead of netport.
6769
6770 * config/vxworks.exp: New file.
6771
6772 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6773
6774 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6775 gdb before assuming everything worked. Send a ^C if a timeout
6776 occurs.
6777
6778 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6779 $gdb_spawn_id directly.
6780 (gdb_run_cmd): Try _start as well as start. Use the target feature
6781 gdb,start_symbol as the symbol to start from when jumping.
6782
6783Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6784
6785 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6786 redundant) test.
6787
6788 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6789 it doesn't lose for 16bit integer systems.
6790
6791Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6792
6793 * gdb.fortran/types.exp: If the target doesn't support "double"
6794 data types, then expect "real" types to only be 4 bytes.
6795
6796 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6797 call tests if the target doesn't support inferior function calls.
6798
6799 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6800 in printf tests.
6801
6802Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6803
6804 * gdb.base/help.exp: Disable "help set", "help show", and
6805 "help support". Simplify regexp for "help stack".
6806
6807 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6808 to 60 seconds. Temporarily set match_max to 15000 around the
6809 "info copying" test.
6810
6811 * gdb.base/nodebug.exp: Don't try to do an inferior function
6812 call if the target doesn't support them.
6813 * gdb.base/printcmds.exp: Likewise.
6814 * gdb.base/setvar.exp: Likewise.
6815 * gdb.base/structs.exp: Likewise.
6816 * gdb.c++/templates.exp: Likewise.
6817 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6818
6819 * gdb.base/recurse.exp: Enable for the mn10200.
6820
6821 * configure.in: Do configure gdb.stabs directory for *-*-elf
6822 targets.
6823 * configure: Rebuilt.
6824
6825 * gdb.base/break.exp: Check for gdb,noresults before testing
6826 exit status and/or results from the target.
6827 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6828 * lib/gdb.exp: Remove old (now bogus) initialization of
6829 noinferior, noargs, noresults and nosignals.
6830
6831Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6832
6833 * config/sh.exp: New file.
6834
6835 * config/slite.exp: Try to connect multiple times to the board
6836 before rebooting. Only send a "monitor run" if need_monitor_run
6837 is set.
6838
6839 * gdb.base/break.exp: Don't do the "stub continue" test if
6840 the target has gdb_stub set.
6841
6842 * gdb.base/callfuncs.exp: Increase the timeout.
6843
6844 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6845 if the target has gdb,noinferiorio set.
6846
6847 * gdb.base/list.exp: Increase match_max to 10000 characters.
6848
6849 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6850
6851 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6852 target.
6853
6854 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6855
6856Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6857
6858 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6859 trying to delete the copy of gdb. Catch the file delete so we
6860 don't die if the delete fails; also, the file should be copied to
6861 the host, not to the build.
6862
6863Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6864
6865 * lib/gdb.exp(gdb_test): Surround the result pattern with
6866 parenthesis in case it contains multiple regexps separated
6867 with |.
6868
6869 * gdb.base/watchpoint.exp: Use gdb_test.
6870 * gdb.base/default.exp: Ditto.
6871
6872Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6873
99707966 6874 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6875
c906108c
SS
6876 * gdb.base/scope.exp: Use gdb_test.
6877 * gdb.c++/classes.exp: Ditto.
6878 * gdb.c++/inherit.exp: Ditto.
6879
6880Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6881
6882 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6883 remote_exec instead.
6884 * gdb.base/corefile.exp: Don't be ridiculous.
6885 * gdb.base/*.c: Add missing stub invocations.
6886
6887Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6888
6889 * config/slite.exp: Miscellaneous fixes.
6890
6891 * lib/gdb.exp: Fix runto.
6892
6893 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6894 the target.
6895
6896 * gdb.base/watchpoint.exp: Fix regexp.
6897
6898 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6899 close and wait commands, as the descriptor may now be
6900 invalid. Always call "remote_close host".
6901
6902Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6903
6904 Major rewrite for testsuite revision.
beb998c6 6905
c906108c
SS
6906 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6907 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6908 instead of relying on spawn_id to always contain a valid
6909 spawn id.
6910 (get_compiler_info): New procedure to build the ${binfile}.ci
6911 file, instead of replicating this in N different places.
6912 (gdb_compile): New procedure.
beb998c6 6913
c906108c
SS
6914 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6915 appropriate arguments) instead of compile. Use gdb_test in a lot
6916 more places. Use send_gdb instead of send. Always run gdb_start
6917 at the start of a testcase, as this is no longer done magically.
6918
6919 config/*-gdb.exp: Rename without the -gdb suffix.
6920
6921 config/mips.exp: Use remote_close instead of exit_remote_shell.
6922 config/monitor.exp: Use target_info instead of looking at
6923 baud, timeout, etc.
6924 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6925
6926Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6927
6928 * gdb.c++/templates.exp (test_ptype_of_templates),
6929 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6930 Update expect patterns for destructors and assignment operators
6931 to match corresponding c-typeprint.c changes.
6932 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6933 to destructor breakpoint test, GDB should be able to set the
6934 destructor breakpoint without specifying arguments.
6935
6936Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6937
6938 * gdb.threads/pthreads.exp: Change result for failure to compile due
6939 to lack of pthreads runtime support from an error to simply an
6940 unsupported test, per dejagnu standards.
6941
6942Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6943
6944 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6945 where GDB exits to reduce pattern match time.
6946 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6947
6948 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6949
dc96c6c7 6950Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6951
6952 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6953 * gdb.base/default.exp: ditto.
6954 * gdb.base/nodebug.exp: ditto.
6955 * gdb.base/printcmds.exp: ditto.
6956 * gdb.base/ptype.exp: ditto.
6957 * gdb.base/setvar.exp: ditto.
6958 * gdb.base/structs.exp: ditto.
6959 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6960
6961Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6962
6963 * configure, */configure: Rebuild with autoconf 2.12.
6964
6965Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6966
6967 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6968 use new i*86-pc-linux*-gnu quads.
6969 * gdb.base/corefile.exp: Ditto.
6970 * gdb.base/signals.exp: Ditto.
6971 * gdb.base/sigall.exp: Ditto.
6972 * gdb.base/interrupt.exp: Ditto.
6973
6974 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6975 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6976 RedHat 4.0.
beb998c6 6977
c906108c
SS
6978 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6979 linux. This allows the test case to at least compile on latest
6980 linux, but still not run due to missing the threads runtime library.
6981
6982Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6983
6984 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6985 directory to search gdb directory. Accept and step over conditional
6986 stack alignment code. Consume $prompt in failure cases.
6987 Reset timeout to $oldtimeout instead of some arbitrary value.
6988 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6989 timeout problems with infinite stack backtraces.
6990 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6991 Accept function parameters for linkfunc member.
6992
6993Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6994
6995 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6996 (CXXFLAGS): Remove, unreferenced.
6997 (B_OPTIONS): Add for -B options and add code to initialize with
6998 previous -B options and also add -B option to pick up cross compiled
6999 runtime.
7000 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7001 doing cross compiles.
7002 (target_alias): Declare global.
7003 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7004 to verify that gcc exists in build tree, and if so set CC to that
7005 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7006
c906108c
SS
7007Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7008
7009 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7010 ptype test for anonymous union. Fixup testcase to match
7011 current gcc debug output.
7012
7013Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7014
7015 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7016 force argument to an unsigned long type.
7017
7018Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7019
7020 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7021 tests and anonymous union print/ptype tests.
7022 * gdb.base/list.exp (test_forward-search): Increase timeout by
7023 5 minutes for the "search extremely long line" case.
7024 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7025 completely optional and that the pass/fail messages use the command as
7026 the message if that third arg is a null string.
7027 (gdb_test_exact): Arrange that a null string pattern means match a
7028 null string output rather than any output, which might include random
7029 errors.
7030 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7031 backtrace test.
7032 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7033 always failing and failure is now exposed by gdb.exp changes.
7034
7035Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7036
7037 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7038 weren't being noted.
7039
7040Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7041
7042 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7043 * gdb.stabs/weird.exp: Remove v_comb xfails.
7044
dc96c6c7 7045Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7046
7047 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7048 list.exp scope.exp watchpoint.exp]
7049 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7050
dc96c6c7 7051Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7052
7053 * config/monitor.exp: Increase download timeout to 1000 seconds.
7054
dc96c6c7 7055Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7056
7057 * config/m32r.exp: Increase timeout to 120 seconds.
7058
7059Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7060
7061 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7062 and accept older ordering as obsolescent gcc or gdb.
7063 * gdb.c++/templates.exp: Ditto.
7064 * gdb.c++/virtfunc.exp: Ditto.
7065
7066Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7067
7068 * gdb.base/coremaker.c: Add code to mmap some data so we
7069 can check that it ends up in the core file.
7070 * gdb.base/corefile.exp: Add test to read mmapped data
7071 from core file.
7072
dc96c6c7 7073Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7074
7075 * config/m32r.exp: New file.
7076
7077Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7078
7079 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7080 that cflags can contains -gstabs, and work correctly for other tests.
7081
dc96c6c7 7082Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7083
7084 * gdb.base/setshow.exp: New file, tests show and set.
7085 * gdb.base/setshow.c: New file, tests show and set.
7086 * gdb.base/help.exp: Add test for help set|show annotate.
7087 * gdb.base/default.exp: Add test for set|show annotate.
7088
7089Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7090
7091 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7092 errors unique.
7093 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7094 explicitly.
7095
7096Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7097
7098 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7099 and width commands. This is done elsewhere.
7100 * (gdb_start): Don't call gdb_start_sim here. That's already
7101 done in gdb_load. This fixes lots of failures in default.exp.
7102
7103Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7104
7105 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7106 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7107 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7108 in the same we we treat other failures (since it may be an expected
7109 condition), rather than as an error.
7110 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7111 old test format.
7112
7113Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7114
7115 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7116 (distclean maintainer-clean realclean): No need to remove files
7117 twice. Nuke the duplicates.
7118 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7119 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7120 Remove config.h along with other config files.
7121
7122Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7123
7124 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7125 "p func1 ()" and note that rests of tests are skipped.
7126 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7127 setup_xfails for "print func2::coremaker_local".
7128 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7129 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7130 affected by the previous run test.
7131 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7132 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7133 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7134 "pass int powerset tuple" and "pass modeless int powerset tuple".
7135 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7136 "real write 4" and "real write 8".
7137 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7138 setup_xfails for "print vs1 after tuple assign 2",
7139 "print \$i after tuple assign 2", and
7140 "print vs2 after tuple assign 2".
7141 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7142 meaningful error message and return -1 so the caller can
7143 suppress further tests and avoid a cascade of errors.
beb998c6 7144
c906108c
SS
7145Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7146
7147 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7148 format for printing version.
7149 * gdb.base/default.exp: Ditto.
7150 * gdb.base/interrupt.exp: Fix problem with cascade of
7151 errors if child process dies while calling a function.
beb998c6 7152
c906108c
SS
7153Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7154
7155 * Makefile.in (VPATH): Add
7156 * Makefile.in (Makefile, config.status): Fix rules so things get
7157 remade when necessary.
7158
7159Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7160
7161 * Makefile.in (just-check): Add path to sibling expect dir
7162 to environment variable specified by RPATH_ENVVAR.
7163
7164Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7165
7166 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7167 (just-check): Add shared library paths for libstdc++, tk,
7168 tcl, bfd, and opcodes to the environment variable specified
7169 in RPATH_ENVVAR.
7170 * configure.in: Add support to recognize --enable-shared flag
7171 and generate correct value for RPATH_ENVVAR.
7172 * configure: Regenerated with autoconf.
7173
7174Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7175
7176 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7177 include all osf versions.
7178 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7179 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7180 when target is linux. When failing to build pthreads test
7181 executable, give more meaningful message.
7182 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7183 arg for pthread_create.
beb998c6 7184
c906108c
SS
7185Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7186
7187 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7188 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7189 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7190 and -lpthreads (everybody else).
7191 (test_startup): Fail gracefully if threads are not supported.
7192 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7193 "p/c array_index("abcdef",2)" when not gcc compiled.
7194 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7195 "print func2::coremaker_local" when not gcc compiled.
7196 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7197 "ptype on opaque struct tagname (statically)",
7198 "ptype on opaque struct tagname (dynamically) 1", and
7199 "ptype on opaque struct tagname (dynamically) 2"
7200 for not compiled with gcc.
7201 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7202 backtrace when compiled with gcc.
beb998c6 7203 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7204 than always return success.
7205
7206Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7207
7208 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7209
7210Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7211
7212 * gdb.base/structs.exp: Undo last change.
7213
7214Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7215
7216 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7217 encapsulate all the steps/nexts done during self test, starting
7218 at main, and makes them less sensitive to optimization issues.
7219 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7220 signal handler" test.
7221 * gdb.threads/pthreads.exp: Only run this for native configs.
7222 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7223 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7224 tests.
7225 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7226 for "runto test_calls(void)" test.
beb998c6 7227
c906108c
SS
7228Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7229
7230 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7231 and don't expect address info in breakpoint confirmations.
7232
7233Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7234
7235 * gdb.base/list.exp (test_forward_search): Increase timeout
7236 temporarily by 60 seconds for searching extremely long line,
7237 and then reset to old value when done. Increase expect input
7238 buffer to 10000.
7239
7240Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7241
7242 * gdb.base/list.exp (test_forward_search): Fix to handle very
7243 long source line without overflowing expect's input buffer.
7244
7245Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7246
7247 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7248 "buffer_full".
7249
7250 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7251 "buffer_full".
7252
7253 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7254 "buffer_full".
7255
7256 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7257 "buffer_full".
7258
7259Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7260
7261 * configure.in (configdirs): Add gdb.threads.
7262 * configure: Regenerated with autoconf.
7263 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7264 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7265 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7266
c906108c
SS
7267Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7268
7269 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7270
7271Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7272
7273 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7274 each signal's status in the output of "handle all print".
7275 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7276 the \r\n sequence that immediately precedes the gdb prompt.
7277 * gdb.base/a1-selftest.exp: Save original timeout and restore
7278 after test.
7279
7280Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7281
7282 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7283 symbol.
7284
7285Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7286
7287 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7288
7289Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7290
7291 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7292 timeout by 60 seconds.
7293
7294Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7295
7296 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7297 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7298 error return.
7299
7300Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7301
7302 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7303 gdb initialization, also report how long dejagnu waited. Restore
7304 old timeout before doing error return. Temporarily increase timeout
7305 by 3 minutes to allow for slow startups over heavy NFS use.
7306
7307Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7308
7309 * lib/gdb.exp: Report timeout value for verbosity level 2.
7310 * config/gdbserver.exp: Ditto.
7311 * config/hppro.exp: Ditto.
7312 * config/mips-gdb.exp: Ditto.
7313 * config/monitor.exp: Ditto.
7314 * config/netware.exp: Ditto.
7315 * config/sim-gdb.exp: Ditto.
7316 * config/slite-gdb.exp: Ditto.
7317 * config/udi-gdb.exp: Ditto.
7318 * config/unix-gdb.exp: Ditto.
7319 * config/vx-gdb.exp: Ditto.
7320 * gdb.base/a1-selftest.exp: Ditto.
7321 * gdb.base/a2-run.exp: Ditto.
7322 * gdb.base/break.exp: Ditto.
7323 * gdb.base/corefile.exp: Ditto.
7324 * gdb.base/list.exp: Ditto.
7325 * gdb.base/recurse.exp: Ditto.
7326 * gdb.base/scope.exp: Ditto.
7327 * gdb.base/signals.exp: Ditto.
7328
7329Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7330
7331 * gdb.threads/Makefile.in (docdir): Removed.
7332
7333Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7334
7335 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7336 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7337 @srcdir@.
beb998c6 7338 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7339 autoconf 2.5 or higher.
7340 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7341
7342Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7343
7344 * configure: Regenerated.
7345 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7346 avoid name clashes with SunOS headers.
7347
7348Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7349
7350 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7351
7352Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7353
7354 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7355 prototype information ends up in the compiler info file.
7356
7357Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7358
7359 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7360 attempting to regenerate it. Eliminate use of a temporary file
7361 and just generate the info file directly. Source it immediately,
7362 for consistency of use.
7363 * gdb.base/corefile.exp: Ditto
7364 * gdb.base/exprs.exp: Ditto.
7365 * gdb.base/funcargs.exp: Ditto.
7366 * gdb.base/langs.exp: Ditto.
7367 * gdb.base/list.exp: Ditto.
7368 * gdb.base/mips_pro.exp: Ditto.
7369 * gdb.base/nodebug.exp: Ditto.
7370 * gdb.base/opaque.exp: Ditto.
7371 * gdb.base/ptype.exp: Ditto.
7372 * gdb.base/scope.exp: Ditto.
7373 * gdb.base/setvar.exp: Ditto.
7374 * gdb.base/signals.exp: Ditto.
7375 * gdb.base/whatis.exp: Ditto.
7376 * gdb.c++/templates.exp: Ditto.
7377 * gdb.c++/virtfunc.exp: Ditto.
7378 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7379 whether or not to add -lstdc++ to the compile command line args.
7380
7381Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7382
7383 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7384 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7385 Increase timeout, a lot of single stepping might be needed if the
7386 target has no hardware watchpoints.
7387
7388Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7389
7390 * gdb.base/break.exp: Ignore compiler warnings when compiling
7391 break.c.
7392 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7393 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7394 from remote-sim.
7395 * gdb.base/exprs.exp: Add h8300 xfails.
7396 * gdb.base/funcargs.exp: Likewise.
7397 * gdb.base/nodebug.exp: Likewise.
7398 * gdb.base/printcmds.exp: Likewise.
7399 * gdb.base/ptype.exp: Likewise.
7400 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7401 h8300 xfails.
beb998c6 7402 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7403 on the h8300.
7404 * gdb.base/funcargs.c: Explicitly make last constant argument to
7405 call_after_alloca_subr an unsigned long type.
7406 * gdb.base/return.c: Include stdio.h.
7407
7408Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7409
7410 * config/abug.exp: New file for the older Motorola Bug monitor
7411 that runs on the mvme13x series VME boards.
7412 * config/monitor.exp: Use the new config array for target settings
7413 if they exist.
7414
7415Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7416
7417 * sim-gdb.exp: Make the SH simulator allocate less space when
7418 it is targeted.
7419
7420Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7421
7422 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7423 test.
7424
7425Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7426
7427 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7428 "rs6000-*-*" for "list function in include file" when gcc compiled.
7429 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7430 for "p ctable1[120]".
7431 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7432 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7433 Remove setup_xfail for "rs6000-*-*" for
7434 "print 'scope0.c'::filelocal before run".
7435 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7436 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7437 since some compilers don't allow both options to be given
7438 on the same command line. Create object file and move it.
beb998c6 7439
c906108c
SS
7440Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7441
7442 * gdb.base/corefile.exp: Always regenerate the core file, since
7443 we always regenerate the coremaker program. Detect special case
7444 where registers cannot be read from core file.
beb998c6 7445
c906108c
SS
7446Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7447
7448 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7449 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7450 * gdb.c++/templates.exp: Only match on basename of file since
7451 some formats like xcoff don't encode directory information.
7452 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7453 and rs6000 AIX xcoff targets.
7454 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7455 * configure: Regenerate.
7456 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7457 here, rather than in distclean.
beb998c6 7458
c906108c
SS
7459Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7460
7461 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7462 defined, and use it to compile the test case with -O2. The
7463 native compilation still uses no optimization.
7464 * gdb.base/mips_pro.c: Remove inline assembly code since
7465 it is compiled PIC by default, which results in assembler
7466 warnings that make the testsuite think the compilation
7467 was unsuccessful.
7468
7469Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7470
7471 * gdb.c++/misc.exp: Add note to message for
7472 "print s.a for foo struct" that this is a known gcc 2.7.2
7473 and earlier bug.
7474
7475Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7476
7477 * gdb.base/break.exp: Fix pattern for matching "Delete all
7478 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7479 setup_xfail for deleting all breakpoints test. Fix various
7480 timeout messages to include "(timeout)".
7481 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7482 for "p t_float_values2(3.14159,float_val2)".
7483 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7484 for "continue to call2g" when gcc compiled.
7485 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7486 "up to foo in langs.exp", "show language at foo in langs.exp",
7487 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7488 and "show language at fsub in langs.exp".
7489 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7490 "list line 1 in include file", "list message for lines past EOF",
7491 "list function in include file", "list list0.h:foo", and
7492 "list filename:function; nonexistant function".
7493 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7494 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7495 and "ptype t_char_array" to be for native cc only.
beb998c6 7496
c906108c
SS
7497Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7498
beb998c6 7499 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7500 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7501 "print func2::coremaker_local", and "backtrace in corefile.exp".
7502
7503Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7504
7505 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7506 "bt in signals.exp". This problem only appears when running
7507 the testsuite, and then only intermittently.
7508
7509Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7510
7511 * gdb.base/return.exp (return_tests): Differentiate between
7512 two tests of continuing.
7513
7514Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7515
7516 * */Makefile.in (maintainer-clean): Remove config.log.
7517 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7518 * gdb.c++/Makefile.in (PROGS): Add inherit.
7519 (clean): Remove *.ci.
7520
7521Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7522
7523 * gdb.c++/misc.cc: Add test code from Mike Stump.
7524 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7525
7526Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7527
7528 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7529 to "alpha-*-osf2*" and add comment.
7530 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7531 setup_xfail for "step over execarg initialization" and
7532 "step over corearg initialization".
7533 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7534 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7535 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7536 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7537 "print func2::coremaker_local", and "backtrace in corefile.exp".
7538 * gdb.base/signals.exp: Build and source signals.ci.
7539 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7540 to be for gcc only.
7541 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7542
c906108c
SS
7543Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7544
7545 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7546 Feb 3 procfs.c change.
7547
7548Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7549
7550 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7551
7552Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7553
7554 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7555 from dejagnu's apparent default of 10 seconds, which gives random
7556 results when running the tests over NFS on moderately loaded systems.
7557 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7558
7559Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7560
7561 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7562 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7563 result reports.
7564
7565Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7566
7567 * configure.in (CY_AC_PATH_TCLH): Remove.
7568 * configure: Regenerate.
7569
7570Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7571
7572 * gdb.c++/Makefile.in (clean): Add missing '{'.
7573
7574Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7575
7576 * lib/gdb.exp: Provide a default value for noinferior.
7577
7578 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7579 Load libgloss.exp.
7580
7581Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7582
7583 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7584 the executable, not the .o to run the tests from.
7585
7586Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7587
7588 * gdb.base/break.exp: Don't test for program exit or exit status
7589 if $noresults if nonzero.
7590 * gdb.base/langs.exp: Likewise.
7591 * gdb.base/watchpoint.exp: Likewise.
7592
7593 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7594 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7595 trying to compile the testcase.
7596
7597Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7598
7599 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7600 * gdb.base/signals.exp (continue to handler): Likewise.
7601
7602Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7603
7604 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7605
7606 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7607
7608Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7609
7610 * gdb.base/corefile.exp: Recognize "not found" as failure
7611 when trying to determine if a core file was generated.
7612 If no core file was generate the first time, try again without
7613 the ulimit -c to work around braindamaged shells.
7614
7615Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7616
7617 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7618 [] tests with "test" and enclose string in quotes.
7619 * gdb.stabs/configure: Rebuild
beb998c6 7620
c906108c
SS
7621Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7622
7623 Changes in sync with expect:
7624 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7625 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7626 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7627 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7628 argument to AC_REQUIRE.
7629 * configure: Regenerated.
7630
7631Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7632
7633 * gdb.base/corefile.exp: When generating a core, discard any
7634 error messages about ulimit not found and the "core dumped"
7635 message from the shell that runs the coredumper.
7636
7637Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7638
7639 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7640
7641 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7642 which sed script to run. Expect failure for v_comb test
7643 on PA targets too.
beb998c6 7644
c906108c
SS
7645Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7646
7647 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7648 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7649
7650Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7651
7652 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7653 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7654 "sparc-sun-solaris*" xfails for "p v_comb".
7655 * lib/gdb.exp (default_gdb_start): Fix typo.
7656 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7657 messages to not include the full program name that caused
7658 the core dump since some systems (such as solaris) apparently
7659 truncate this path to about 80 characters.
7660 When generating a core file first try increasing the core file
7661 size limit to unlimited since some systems may default it to
7662 zero, and it is harmless to try it. Move the test for failing
7663 to generate a core file to where it will actually get executed.
7664 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7665 new gdb result from g++ debug info improvements and make old
7666 pattern obsolescent. Also account for size_t differences
7667 (may be int or long).
7668 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7669 initialization before function call is placed in the delay slot
7670 and thus appears to be skipped over by commands such as "next".
7671
7672Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7673
7674 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7675
7676Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7677
7678 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7679 input source file; fix code to compile test to deal with this
7680 convention.
7681 * gdb.c++/*.exp: Likewise.
7682
7683Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7684
7685 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7686 "bt in signals.exp".
7687
7688Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7689
7690 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7691 "step over execarg initialization" and
7692 "step over corearg initialization".
7693
7694Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7695
7696 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7697 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7698
7699Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7700
7701 From Rob Savoye (rob@poseidon.cygnus.com)
7702 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7703 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7704 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7705 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7706 configure.in}: Major reworking for autoconfig.
7707 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7708 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7709 New files.
7710 * config/unix-gdb.exp: Make GDB global.
7711 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7712 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7713 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7714 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7715 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7716 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7717 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7718 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7719 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7720 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7721 pr-8136.exp, result.exp, string.exp, tuples.exp},
7722 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7723 to returns as necessary, arrange for test to compile own testcase
7724 executable.
7725 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7726
c906108c
SS
7727Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7728
7729 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7730 clear_xfail at end of test which might not call either pass or fail.
7731 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7732 "backtrace through signal handler".
7733
7734Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7735
7736 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7737 continuing from a job control stop signal.
7738 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7739
7740Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7741
7742 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7743 * gdb.base/corefile.exp: Likewise.
7744 * gdb.base/funcargs.exp: Likewise.
7745
7746Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7747
7748 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7749 * config/monitor.exp: Add support for setting baud rate.
7750
7751Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7752
7753 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7754 i*86-*-linux* xfails for "backtrace through signal handler".
7755 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7756 "print func2::coremaker_local".
7757 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7758 alpha-dec-osf2* xfail for
7759 "delete all breakpoints when none".
7760
7761Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7762
7763 * gdb.base/break.exp: Change test that deletes all breakpoints
7764 when no user breakpoints are installed. A post 4.15 change
7765 causes gdb to no longer prompt in this case.
7766
7767Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7768
7769 * gdb.base/return.exp (return_tests): Change xfail for test
7770 "correct value returned double test" to stop xfailing at
7771 Solaris 2.5. Apparently the bug has been fixed.
7772
7773Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7774
7775 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7776 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7777
7778Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7779
7780 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7781 * gdb.disasm/hppa.s: Corresponding changes.
7782
7783Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7784
7785 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7786 makefile fragment.
7787 * config/mt-hpux: Deleted.
7788
7789Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7790
beb998c6 7791 * Many files: When warning about suppressed tests due to a
c906108c
SS
7792 nonexistant test binary, avoid incrementing the warning count.
7793
7794Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7795
7796 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7797
c906108c
SS
7798Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7799
7800 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7801 "sparc-*-solaris2*".
7802
7803Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7804
7805 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7806 Add global and local variables and initialize them.
7807 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7808 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7809 extracts the file name and terminating signal from the core file.
7810 * TODO: Remove note about tests for correct mapping of corefile.
7811 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7812 from optimizing it away.
7813 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7814 handles common blocks.
7815
7816Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7817
7818 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7819 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7820
7821Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7822
7823 * Makefile.in (maintainer-clean): New target, synonym for
7824 realclean.
7825 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7826 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7827 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7828 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7829 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7830 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7831
7832Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7833
7834 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7835 xfails when not gcc compiled for "print foo::funclocal".
7836 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7837 "print foo::funclocal at foo",
7838 "print 'scope1.c'::foo::funclocal at foo",
7839 "print foo::funclocal_bss at foo",
7840 "print 'scope1.c'::foo::funclocal_bss at foo",
7841 "print foo::funclocal_ro at foo",
7842 "print 'scope1.c'::foo::funclocal_ro at foo",
7843 "print bar::funclocal at foo" and
7844 "print 'scope1.c'::bar::funclocal at foo".
7845 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7846 gcc compiled for "print foo::funclocal at bar".
7847 Expand all messages to ensure that they identify that
7848 the test is at bar().
7849 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7850 gcc compiled for:
7851 "ptype on opaque struct pointer (statically)",
7852 "ptype on opaque struct tagname (statically)",
7853 "ptype on opaque struct pointer (dynamically) 1",
7854 "ptype on opaque struct tagname (dynamically) 1",
7855 "ptype on opaque struct pointer (dynamically) 2" and
7856 "ptype on opaque struct tagname (dynamically) 2
7857 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7858 gcc compiled for:
7859 "p datalocal"
7860 "whatis datalocal",
7861 "ptype datalocal",
7862 "p bsslocal",
7863 "whatis bsslocal", and
7864 "ptype bsslocal".
7865 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7866 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7867 when not gcc compiled.
7868 * gdb.base/funcargs.exp (float_and_integral_args): Add
7869 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7870 compiled.
7871 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7872 "backtrace from call6a" when not gcc compiled.
7873 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7874 "backtrace from call7a" when not gcc compiled.
7875 * gdb.base/callfuncs.exp (do_function_calls):
7876 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7877 "p t_char_array_values(char_array_val2,char_array_val1)",
7878 "p t_char_array_values(char_array_val1,char_array_val2)",
7879 "p t_char_array_values("carray 1","carray 2")",
7880 "p t_char_array_values("carray 1",char_array_val2)",
7881 "p t_char_array_values(char_array_val1,"carray 2")",
7882 "p sum_args(1,{2})",
7883 "p sum_args(2,{2,3})",
7884 "p sum_args(3,{2,3,4})",
7885 "p sum_args(4,{2,3,4,5})"
7886 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7887 "backtrace in corefile.exp" when not gcc compiled.
7888
7889Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7890
7891 * gdb.base/signals.exp: Rewrite `handle all print' test as
7892 a procedure. Accept blanks or TABs as whitespace, increase
7893 timeout and expect input buffer size for the large output
7894 from the command. Remove "i*86-*-bsdi2.0" xfail.
7895
7896Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7897
7898 * gdb.base/setvar.exp: Add new testcases for truncation when
7899 assigning invalid values to bitfields.
7900
7901Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7902
beb998c6 7903 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7904 mips-sgi-irix* xfail for
7905 "call inferior func with struct - returns char *"
7906 and fix test so that an optional (unsigned char *) cast is
7907 accepted in the result.
7908
7909Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7910
7911 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7912 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7913 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7914 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7915 that accidentally got checked in.
7916
7917Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7918
beb998c6 7919 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7920 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7921 compiled test.
7922 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7923 Add mips-sgi-irix5* xfail for not gcc compiled.
7924 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7925 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7926 "p top", "whatis top", "p middle", and "whatis middle".
7927 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7928 "whatis signed char" for not gcc compiled.
7929 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7930 "set variable signed char=-1 (-1)" and
7931 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7932 * gdb.base/funcargs.exp (float_and_integral_args):
7933 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7934 Add mips-sgi-irix* xfail when not gcc compiled for
7935 "continue to call2b".
7936 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7937 "continue to call2g".
7938 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7939 "backtrace from call6a"
7940 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7941 "backtrace from call7k".
7942 Add mips-sgi-irix5* xfail when not gcc compiled for
7943 "backtrace from call7a".
7944 (localvars_after_alloca): Fix gdb_test cmds for
7945 "print * after runto ...".
7946 Remove rs6000-*-* xfails for
7947 "print i after runto localvars_after_alloca" and
7948 "print l after runto localvars_after_alloca"
7949 for all compilers.
7950 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7951 when not compiled with gcc, for:
7952 "print signed char == (minus)",
7953 "print signed char != (minus)",
7954 "print signed char < (minus)",
7955 "print signed char > (minus)".
7956 * gdb.base/callfuncs.exp (do_function_calls):
7957 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7958 "call inferior func with struct - returns char *".
beb998c6 7959 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7960 "correct value returned double test" to include Solaris 2.4.
7961 * gdb.base/funcargs.exp (float_and_integral_args):
7962 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7963
c906108c
SS
7964Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7965
7966 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7967 enumeration bitfields if compiling with GNU C.
7968 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7969 to empty' prompt.
7970
7971Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7972
7973 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7974 test for PRO targets.
7975
7976 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7977 breakpoints in the inferior at any given time by making
7978 two groups of breakpoints for call2*, call6* and call7*
7979 tests.
7980
7981Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7982
7983 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7984 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7985 from optimizing it away.
7986 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7987 "call inferior func with struct".
7988
7989Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7990
7991 * configure.in: Only configure gdb.chill for particular targets.
7992
7993Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7994
7995 * gdb.base/Makefile.in: Add action to .c.o transformation
7996 rule that generates a .ci file for each .o file and remove
7997 explicit .c.o rules except for callfuncs.o.
7998 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7999 generates a .ci file for each .o file and remove explicit
8000 .cc.o rules.
8001 (clean): Remove *.tmp *.ci files.
8002 (EXECUTABLES): Remove templ-info.exp.
8003 * gdb.base/compiler.c: New file.
8004 * gdb.c++/compiler.cc: New file
8005 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8006 Change rs6000-*-* xfail for
8007 "print 'scope0.c'::filelocal_ro" and
8008 "print 'scope1.c'::filelocal" and
8009 "print 'scope1.c'::filelocal_bss" and
8010 "print 'scope1.c'::filelocal_ro" and
8011 "print 'scope1.c'::foo::funclocal" and
8012 "print 'scope1.c'::foo::funclocal_ro" and
8013 "print 'scope1.c'::bar::funclocal" and
8014 "print 'scope0.c'::filelocal_ro" and
8015 "print 'scope1.c'::filelocal at foo" and
8016 "print 'scope1.c'::filelocal_bss at foo" and
8017 "print 'scope1.c'::filelocal_ro at foo" and
8018 "print 'scope1.c'::foo::funclocal at foo" and
8019 "print 'scope1.c'::foo::funclocal_bss at foo" and
8020 "print 'scope1.c'::foo::funclocal_ro at foo" and
8021 "print 'scope1.c'::bar::funclocal at foo" and
8022 "print 'scope0.c'::filelocal_ro" and
8023 "print 'scope1.c'::filelocal" and
8024 "print 'scope1.c'::filelocal_bss" and
8025 "print 'scope1.c'::filelocal_ro" and
8026 "print 'scope1.c'::foo::funclocal" and
8027 "print 'scope1.c'::foo::funclocal_bss" and
8028 "print 'scope1.c'::foo::funclocal_ro" and
8029 "print 'scope1.c'::bar::funclocal" and
8030 "print 'scope1.c'::bar::funclocal_bss"
8031 to only be xfail'd when not compiled with gcc.
beb998c6 8032 Add rs6000-*-* xfail for
c906108c
SS
8033 "print 'scope0.c'::filelocal_bss before run"
8034 when compiled with gcc.
8035 (test_at_main): Add rs6000-*-* xfail for
8036 "print filelocal_ro in test_at_main"
8037 when compiled with gcc.
8038 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8039 Add rs6000-*-aix* xfail for
c906108c
SS
8040 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8041 "ptype t_char_array", not compiled with gcc.
8042 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8043 xfail for "list foo (in include file)" when gcc compiled.
8044 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8045 (integral_args): Add rs6000-*-* xfail for
8046 "run to call0a" if not compiled with gcc.
8047 (unsigned_integral_args): Add rs6000-*-* xfail for
8048 "run to call1a" if not compiled with gcc.
8049 (float_and_integral_args): Add rs6000-*-* xfail for
8050 "run to call2a" if not compiled with gcc and for
8051 "continue to call2b" for any compiler.
8052 Add rs6000-*-* xfail to
8053 "print f1 after run to call2a" for gcc compiled.
8054 (discard_and_shuffle): Add rs6000-*-* xfail for
8055 "run to call6a".
8056 (shuffle_round_robin): Add rs6000-*-* xfail for
8057 "backtrace from call7a" if not compiled with gcc.
8058 Add rs6000-*-* xfail for
8059 "backtrace from call7b" if compiled with gcc.
8060 (call_after_alloca): Add rs6000-*-* xfail for
8061 "print c in call_after_alloca" and
8062 "print s in call_after_alloca" and
8063 "backtrace from call_after_alloca_subr"
8064 if not compiled with gcc.
8065 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8066 "print c in localvars_in_indirect_call" and
8067 "print c in localvars_in_indirect_call" and
8068 "backtrace in indirectly called function" and
8069 "stepping into indirectly called function"
8070 if not compiled with gcc.
8071 (localvars_after_alloca): Add rs6000-*-* xfail for
8072 "print c after runto localvars_after_alloca" and
8073 "print s after runto localvars_after_alloca" and
8074 "print i after runto localvars_after_alloca" and
8075 "print l after runto localvars_after_alloca"
8076 for all compilers.
8077 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8078 than whatis-info.exp.
8079 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8080 than opaque-info.exp.
8081 Setup rs6000-*-* xfail for
beb998c6 8082 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8083 "ptype on opaque struct pointer (dynamically)" when
8084 not compiled with gcc.
8085 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8086 rather than callf-info.exp.
8087 (do_function_calls): Add clear_xfail for rs6000-*-* for
8088 "p t_float_values2(3.14159,float_val2)". Seems to work
8089 fine there, both with xlc and gcc. Need to find out what
8090 it is doing right and fix other platforms.
8091 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8092 "call inferior func with struct - returns int",
8093 "call inferior func with struct - returns long",
8094 "call inferior func with struct - returns float",
8095 "call inferior func with struct - returns double",
8096 "call inferior func with struct - returns char *",
8097 but only if not gcc compiled (presumes xlc compiled).
8098 Change rs6000-*-* xfails for
8099 "call inferior func with struct - returns char" and
8100 " call inferior func with struct - returns short" to only
8101 xfail if not using gcc.
8102 (clean mostlyclean): Remove *.ci and *.tmp files.
8103 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8104 than templ-info.exp.
8105 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8106 Add rs6000-*-* xfail for "up to foo in langs.exp"
8107 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8108 when not gcc compiled.
beb998c6 8109
c906108c
SS
8110Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8111
8112 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8113 * gdb.base/corefile.exp: Likewise.
8114 * gdb.base/list.exp: Likewise.
8115 * gdb.base/scope.exp: Likewise.
8116 * gdb.base/siganls.exp: Likewise.
8117
8118 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8119 compiler output.
8120 * gdb.base/whatis.exp: Likewise.
8121
8122Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8123
8124 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8125 failure (opcode table has been fixed to match reality).
8126
8127Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8128
8129 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8130 "call inferior func with struct - returns char",
8131 "call inferior func with struct - returns short"
8132
8133 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8134 "print 'scope0.c'::filelocal at main",
8135 "print 'scope0.c'::filelocal_bss in test_at_main",
8136 "print 'scope0.c'::filelocal at foo",
8137 "print 'scope0.c'::filelocal_bss in test_at_foo",
8138 "print 'scope0.c'::filelocal at bar",
8139 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8140
c906108c
SS
8141 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8142 in source file 1". This bug seems to have been fixed with both
8143 gcc and native cc (was native assembler bug?).
8144
8145Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8146
8147 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8148 "backtrace through signal handler" to "i*86-*-sysv4*".
8149 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8150 continue" case. Add "known SVR4 bug" to fail message.
8151 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8152 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8153 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8154 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8155 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8156 "up to foo in langs.exp", "show language at foo in
8157 langs.exp", "up to cppsub_ in langs.exp", "show
8158 language at cppsub_ in langs.exp", "up to fsub in
8159 langs.exp", and "show language at fsub in langs.exp".
8160 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8161 "bactrace in corefile.exp".
8162 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8163 "call inferior function with struct - returns float" and
8164 "call inferior function with struct - returns double".
beb998c6 8165
c906108c
SS
8166Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8167
8168 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8169 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8170 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8171 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8172
8173Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8174
8175 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8176 (or overriden) "CHILL" macro rather then bare "gcc".
8177 Also look for ../../gcc/xgcc since that is what we will
8178 actually need, not "Makefile". Remove following assignment
8179 of CHILL to CHILL_FOR_TARGET because that results in
8180 recursive definition.
8181
8182Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8183
8184 * gdb.base/corefile.exp: Change xfail for backtrace in
8185 corefile.exp from linuxaout to all linux.
8186 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8187 cases where we miss the breakpoint at the signal handler
8188 for some reason. Setup xfail for linuxoldld/linuxaout and
8189 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8190 hitting SIGURG breakpoint.
8191 * gdb.base/signals.exp: Setup xfail for "next" acting like
8192 continue to add linuxoldld. Setup xfail for all linux for
8193 "next to handler in signals_tests_1", "backtrace in
8194 signals_tests_1", "continue to func1", "pass SIGUSR1",
8195 and continue to handler".
8196
8197Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8198
8199 * Update all FSF addresses except those in COPYING* files.
8200
8201Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8202
8203 * gdb.base/a2-run.exp: Change messages to be more explicit about
8204 the status of args, and quote binfile in results.
8205
8206Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8207
8208 * gdb.base/callfuncs.exp: Add tests for passing structs to
8209 inferior functions and return various types.
8210 * gdb.base/callfuncs.c: Add functions to receive a struct
8211 and return a member of the struct, in various types.
8212
8213Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8214
8215 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8216
8217Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8218
8219 * config/vxworks29k.exp: New file, sources vxworks.exp.
8220
8221Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8222
8223 * config/gdbremote.exp: New file. Testing framework using
8224 gdbserver.
8225
8226Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8227
8228 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8229 "call function when asleep" and "send end of file".
8230 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8231 for "backtrace in corefile.exp".
8232 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8233 for "backtrace through signal handler".
8234 * gdb.base/corefile.exp: Make sure we actually generate a core file
8235 before trying the core tests. Some systems allow the user to suppress
8236 generation of core files and default to that (linux for example).
8237 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8238 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8239
8240Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8241
8242 * gdb.threads: New directory with some crude multi-threaded
8243 gdb tests (step.exp and step2.exp).
8244 * config/mt-lynx (STEP_EXECUTABLE): Define.
8245 (THREADFLAGS): Define.
8246
8247Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8248
8249 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8250
8251 * gdb.base/signals.exp: Disable whole file for lynx until
8252 further notice.
8253
8254 * gdb.base/signals.exp: xfail test where "next" acts like
8255 "continue" for lynx.
8256
8257 * gdb.base/interrupt.exp: xfail test for calling function while
8258 inferior is asleep for lynx.
8259
8260 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8261 than one cr-lf after each command.
8262
8263Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8264
8265 * configure.in: Reinstate setting of stabsdirs variable, fix
8266 typo in setting up configdirs for native builds.
8267
8268 * gdb.base/return.exp: Fix typo in return double test.
8269 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8270 compiler from optimizing them away.
8271
8272Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8273
8274 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8275 sequences to be echo'd by gdb when using gdb_test.
8276 * gdb.chill/chexp.exp: Likewise.
8277 * gdb.fortran/exprs.exp: Likewise
8278
8279Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8280
8281 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8282 after the inferior gdb has started.
8283
8284 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8285 after each command.
8286 * gdb.base/funcargs.exp: Likewise.
8287 * gdb.base/gdbvars.exp: Likewise.
8288 * gdb.base/interrupt.exp: Likewise.
8289 * gdb.base/list.exp: Likewise.
8290 * gdb.base/watchpoint.exp: Likewise.
8291 * gdb.c++/demangle.exp: Likewise.
8292 * gdb.c++/inherit.exp: Likewise.
8293 * gdb.chill/chexp.exp: Likewise.
8294 * gdb.fortran/exprs.exp: Likewise.
8295
8296 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8297 test if we can't handle IO to/from the inferior.
8298
8299 * gdb.c++/misc.exp: Always check for a program already being
8300 started after sending a "run" command to gdb.
8301
8302 * gdb.base/twice.exp: Start with a fresh gdb.
8303
8304 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8305 only depend on gdb's expression code, not the chill runtime.
8306
8307 * gdb.base/return.c: Put return values into variables so we
8308 can have gdb print them rather than depending on the program
8309 to print them.
8310 * gdb.base/return.exp: Corresponding changes.
8311
8312 * lib/gdb.exp: Provide default value for noinferiorio.
8313 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8314 the inferior.
8315
8316 * gdb.base/break.exp: Always check for a program already being
8317 started after sending a "run" command to gdb.
8318 (text_next_with_recursion): Don't check the output from the
8319 program's printf statement. Instead just make sure the program
8320 exited.
8321
8322 * gdb.base/commands.exp: Protect tests which need arguments with
8323 $noargs conditionals.
8324
8325Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8326
8327 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8328 of structure member arrays to match gdb/valops.c:value_addr change.
8329
8330Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8331
8332 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8333 cases.
8334
8335Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8336
8337 * configure.in (configdirs): Remove gdb.chill from default list
8338 of subdirs and then add it back in only if doing a native build.
8339 The current chill compiler does not yet work in any cross build.
8340 * Revert all signal changes from Jul 6.
8341 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8342 for sh-hms targets, allowing these tests to link, with no other
8343 changes. Testing is suppressed by setting "nosignals" in site.exp.
8344
8345Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8346
8347 * configure.in (signaldirs): Define and add to configdirs for all
8348 targets except some specific ones that are known to not support signals.
8349 Also clean up formatting.
8350 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8351 (signals, sigall): Remove rules to build.
8352 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8353 Moved to new gdb.signals directory.
8354 * gdb.signals: New test directory.
8355 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8356 signals.c signals.exp}: New or moved files.
8357
8358Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8359
8360 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8361
8362Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8363
8364 * gdb.base/return.exp: Xfail `return double' test failure
8365 on at least Solaris 2.3 and handle future/past versions on
8366 a case by case basis as appropriate. Also update message
8367 to include i*86 failures.
8368
8369Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8370
8371 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8372
8373 * lib/gdb.exp: Fix comment which erroneously identified
8374 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8375 gdb_file_cmd not gdb_load).
8376 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8377
8378 * gdb.base/setvar.exp: Make test names consistent between pass and
8379 fail cases. Use gdb_test more.
8380
8381Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8382
8383 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8384
8385Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8386
8387 * gdb.base/help.exp: Fix expected help string for `show commands'.
8388
8389Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8390
8391 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8392
8393 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8394 of a text section.
8395
8396Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8397
8398 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8399 that loop eventually terminates. Fix Connection refused logic so
8400 that testsuite will expire nicely.
8401
8402Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8403
8404 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8405 config/rom68k.exp: New tcl glue for the appropriate monitors.
8406 These all just end up calling monitor.exp.
8407 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8408 refused' by retrying. Cleanup some timeout issues.
8409 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8410 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8411 callers don't have to set/restore global timeout variable.
8412
8413 * The following set of changes centralizes management of the global
8414 timeout variable. This way, it can be set in one target dependent
8415 place instead of dozens of places scattered throughout the test suite.
8416 If you need to lengthen a timeout, then you should either set timeout
8417 in one of the config/{target}.exp files, or multiply it by a factor.
8418 Setting it to an absolute value is always going to lose for some
8419 targets.
8420 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8421 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8422 * gdb.base/funcargs.exp: Don't set timeout.
8423 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8424 * gdb.base/printcmds.exp (test_print_string_constants
8425 test_print_array_constants): Don't set timeout.
8426 * gdb.base/ptype.exp: Don't set timeout.
8427 * gdb.base/recurse.exp: Don't set timeout.
8428 * gdb.base/return.exp: Don't set timeout.
8429 * gdb.base/watchpoint.exp: Don't set timeout.
8430 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8431 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8432
8433Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8434
8435 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8436
8437Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8438
8439 * lib/gdb.exp: Disable chill tests for irix5.
8440
8441Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8442
8443 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8444 each test pass or fail.
8445
8446Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8447
8448 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8449 xlc not gcc.
8450
8451Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8452
8453 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8454
8455Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8456
8457 * config/est.exp: Fix copyright and comments. Remove dead code.
8458 Use targetname, serialport and baud variables instead of fixed
8459 constants.
8460 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8461 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8462
8463Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8464
8465 * gdb.base/watchpoint.exp: Don't run
8466 test_watchpoint_triggered_in_syscall for sunos.
8467
8468Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8469
8470 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8471 they don't seem to exist. Do include stdio.h.
8472
8473Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8474
8475 * gdb.base/a1-selftest.exp: Add alpha xfail.
8476
8477Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8478
8479 * gdb.base/watchpoint.c (main): Prompt before calling read().
8480 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8481 Revise accordingly. Remove cruft about sending "123" several
8482 times, until it gets noticed. Clean up the "print buf[0]" stuff
8483 so that it passes or fails, and waits for prompts in the usual way.
8484
8485Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8486
8487 * gdb.base/recurse.exp: Fix comment.
8488
8489 * TODO: Remove item about printing variables in nodebug.exp. Add
8490 item about enabling tests which are only run on some targets.
8491
8492 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8493 fail, make test names unique, use new gdb_test convention
8494 regarding pattern, use gdb_test more, etc.).
8495
8496 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8497 fail, make test names unique, etc.).
8498
8499Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8500
8501 * gdb.base/nodebug.c: Change return type of top and middle to
8502 short.
8503 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8504 are fixed by the recent mdebugread.c changes. Allow `short ()'
8505 as type for top and middle.
8506
8507Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8508
8509 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8510 nearly as I can tell, the whole thing was an accident in Stu's
8511 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8512 to replace a send/expect pair with gdb_test, but ended up only
8513 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8514 of 30 Mar 1995 took care of it, but left this vestigial comment
8515 which I am now nuking.
8516
8517Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8518
8519 * gdb.base/break.exp: Look for different line number for
8520 breakpoint at main depending on usestubs.
8521
8522Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8523
8524 * gdb.base/list.exp: Adjust some alternate expect patterns to
8525 match recent list0.c change. Add alternate expect pattern for
8526 output from `list default lines around main' for optimizing
8527 compilers.
8528
8529Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8530
8531 * lib/gdb.exp: If nosignals is not set, set it to 0.
8532
8533Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8534
8535 * config/slite-gdb.exp: Responds to load symbol table prompt.
8536 * gdb.base/break.exp: Adjust line number, fix rerun.
8537 * gdb.base/langs0.c: Add #ifdef usestubs.
8538
8539Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8540
8541 * gdb.base/list.exp: Adjust line contents after adding new lines in
8542 list0.c. Also fix a syntax error.
8543
8544 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8545 * gdb.base/break.exp: ditto.
8546 * gdb.base/list.exp: ditto.
8547 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8548 * gdb.base/run.c: ditto.
8549 * gdb.base/list0.c: ditto.
8550 * gdb.base/funcargs.c: ditto.
8551
8552Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8553
8554 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8555 $targetname, $serialport and $baud instead of hardwired variables.
8556 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8557 target doesn't support signals.
8558
8559Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8560
8561 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8562
8563Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8564
8565 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8566 Don't rely on the value of an auto variable before it has been
8567 initialized. Use gdb_test more.
8568
8569Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8570
8571 * lib/gdb.exp (default_gdb_version): A version number must start
8572 with a digit, but other than that contains all characters up to
8573 the first whitespace character.
8574
8575Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8576
8577 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8578
8579Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8580
8581 * gdb.c++/*.exp: Warn if executable does not exist. The original
8582 reason for skipping the warning was that configure.in sometimes
8583 intentionally skipped building the executables but the tcl code
8584 had no way of knowing. That (a) was always bogus with respect to
8585 error handling, (b) is no longer true (right now there is no way
8586 to skip C++ tests).
8587
8588 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8589
8590Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8591
8592 * gdb.base/list.exp: Add expect patterns for output from
8593 SunPRO compiled executables.
8594 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8595 types.
8596
8597Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8598
8599 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8600 number (we are already testing that the correct source line text
8601 gets printed).
8602
8603 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8604 that is what is intended, but something needed to be done to get
8605 sunos4 native working again.
8606
8607 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8608
8609 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8610 apparently went with a (very) old xfail.
8611
8612Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8613
8614 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8615 runto_main is a proc in gdb.exp that will do 'step' for target use
8616 stubs.
8617 * gdb.base/exprs.exp: ditto.
8618 * gdb.base/interrupt.exp: ditto.
8619 * gdb.base/opaque.exp: ditto.
8620 * gdb.base/printcmds.exp: ditto.
8621 * gdb.base/ptype.exp: ditto.
8622 * gdb.base/scope.exp: ditto.
8623 * gdb.base/setvar.exp: ditto.
8624 * gdb.base/signals.exp: ditto.
8625 * gdb.base/twice.exp: ditto.
8626 * gdb.c++/classes.exp: ditto.
8627 * gdb.c++/inherit.exp: ditto.
8628 * gdb.c++/templates.exp: ditto.
8629 * gdb.base/break.exp: no run and hit main for stubs. Change line
8630 numbers for breakpoints and info breakpoint.
8631 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8632 breakpoint().
8633 * gdb.base/callfuncs.c: ditto.
8634 * gdb.base/exprs: ditto.
8635 * gdb.base/interrupt.c: ditto.
8636 * gdb.base/opaque0.c: ditto.
8637 * gdb.base/printcmds.c: ditto.
8638 * gdb.base/ptype.c: ditto.
8639 * gdb.base/scope0.c: ditto.
8640 * gdb.base/setvar.c: ditto.
8641 * gdb.base/signals.c: ditto.
8642 * gdb.base/twice.c: ditto.
8643 * gdb.c++/misc.cc: ditto.
8644 * gdb.c++/templates.cc: ditto.
8645
8646Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8647
8648 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8649
8650 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8651 somewhere between `read' and `main.c'. I'm pretty sure the
8652 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8653 and it isn't particularly useful.
8654
8655 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8656
8657Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8658
8659 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8660
8661Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8662
8663 * config/mt-slite: add LIBS and -nostdlib.
8664 * config/slite-gdb.exp: add this new file to support sparclite target.
8665
8666Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8667
8668 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8669
8670 * gdb.base/a2-run.exp: Change argument to istarget from
8671 "*-*-vxworks" to "*-*-vxworks*".
8672 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8673
8674Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8675
8676 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8677 will not runto main but do a 'step' to step out of breakpoint().
8678 * config/mt-slite: add -Dusestubs.
8679
8680Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8681
8682 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8683 instead of just @.
8684
8685 * gdb.base/signals.exp: Add test for "handle all print".
8686 * TODO: Remove "handle all print". Also remove item about
8687 checking copyright date (I don't like the idea of a spurious FAIL
8688 based on when we run the tests).
8689
8690 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8691 for SunOS4 (reason for failure not investigated). Remove
8692 redundant test for $binfile.
8693
8694 * gdb.base/nodebug.c (array_index): Call malloc.
8695
8696 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8697
8698Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8699
8700 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8701 conventions and slightly simplify the matching regexp.
8702
8703Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8704
8705 * gdb.base/break.exp: Update gdb_test invocation to use new
8706 convention.
8707
8708 * lib/gdb.exp: If noargs is not set, set it to 0.
8709
8710 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8711 tests unique.
8712
8713 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8714
8715Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8716
8717 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8718 one argument of type "<non-float parameter>".
8719
8720Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8721
8722 * config/rom68k.exp: New file to support Motorola IDP board.
8723 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8724 * gdb.base/break.c: Change things around so that this program
8725 doesn't depend upon args. This is necessary to make remote
8726 targets work (in general, they can't take args).
8727 * gdb.base/break.exp: Don't try to send args to program. Don't
8728 expect output. Also, replace lots of code with gdb_test.
8729
8730Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8731
8732 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8733 printing of '\'' (which is what the comment says we are testing,
8734 even though we were not), not '''.
8735 (test_integer_literals_rejected): Test that printing ''' is an error.
8736
8737 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8738 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8739 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8740 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8741 Use gdb_test not test_print_accept.
8742 * lib/gdb.exp: Remove test_print_accept.
8743
8744 * gdb.base/signals.exp (signal_tests_1): Make pass message
8745 consistent with fail message.
8746
8747 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8748 unsigned char; the bug (PR 1821) is fixed.
8749
8750 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8751
8752 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8753 successful tests--makes xfailing them work right.
8754
8755Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8756
8757 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8758 only \r\n, not .*. The test can pass .* as the last thing in
8759 $pattern if that is what it wants. In addition to providing this
8760 flexibility, this change should speed up pattern matching in cases
8761 where the pattern already ended with .* (there were a number of
8762 them). This change also helps catch bad patterns--in the old
8763 scheme the typo "char \*" instead of "char \\*" would pass. Now
8764 it is caught.
8765 * Many .exp files: Update callers.
8766
8767 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8768 clearer and does not spuriously match multiple ('s. Likewise for
8769 ) and *.
8770
8771 * gdb.base/nodebug.exp: Test ability to call a function and pass
8772 it a string (even with no debugging info).
8773
8774 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8775 "p '\'", which is the same as "p ''" once tcl gets done with
8776 quoting, to "p '\\'", which I suspect is what is intended (one
8777 backslash gets sent to GDB).
8778
8779 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8780
8781Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8782
8783 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8784 1817) was fixed literally years ago.
8785
8786Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8787
8788 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8789 test, it causes stepping out of call_after_alloca_subr with
8790 optimizing compilers.
8791 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8792 fails.
8793
8794 * gdb.c++/templates.exp: Source templ-info.exp only if
8795 the templates executable exists.
8796
8797 * gdb.c++/misc.cc (class Contains_static_instance,
8798 class Contains_nested_static_instance),
8799 gdb.c++/classes.exp (test_static_members): Test printing of
8800 a class that contains a static instance of the class.
8801
8802Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8803
8804 * gdb.base/langs2.c (cppsub_): Don't prototype.
8805 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8806 only, I believe).
8807
8808Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8809
8810 * lib/gdb.exp (skip_chill_tests): New procedure.
8811
8812 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8813
8814Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8815
8816 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8817 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8818
8819Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8820
8821 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8822
8823 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8824 disassemble 8, not 16, instructions for part 4.
8825
8826 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8827 support the latter anymore.
8828
8829 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8830 -DNO_PROTOTYPES.
8831 * gdb.base/callfuncs.c: Control use of prototypes based on
8832 NO_PROTOTYPES, not __STDC__.
8833 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8834 t_float_values2 tests if prototypes in use.
8835
8836 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8837 t_double_values): When checking differences against DELTA, check
8838 that difference is within the range (-DELTA,DELTA), not just
8839 (-infinity,DELTA).
8840
8841Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8842
8843 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8844 'file' command firts, then 'target', then 'load', this is due to gdb
8845 target set up.
8846 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8847
8848Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8849
8850 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8851 FP load/store variants.
8852 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8853
8854Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8855
8856 * gdb.base/term.exp: Do not give a warning if not native, it is
8857 not an abnormal condition.
8858
8859Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8860
8861 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8862 t_char_array".
8863
8864Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8865
8866 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8867 are getting the version number.
8868
8869 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8870 if not native, it is not an abnormal condition.
8871
8872Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8873
8874 * lib/gdb.exp: Just use "file exists", rather than undocumented
8875 dejagnu procedure "findfile".
8876
8877Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8878
8879 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8880 (LDFLAGS): Set to -Xlinker -Ur.
8881
8882 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8883 Removed, these values are set by lib/gdb.exp.
8884
8885 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8886
8887Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8888
8889 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8890 of replicating gdb startup code.
8891
8892 * config/mt-vxworks (LDFLAGS): Set to -r.
8893 (CFLAGS_FOR_TARGET): Removed.
8894
8895 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8896 (gdb) and gdb for vxworks uses (vxgdb).
8897
8898 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8899 executable is not in the tree and host != target, use sed and
8900 program_transform_name to determine the gdb name used by the
8901 target.
8902
8903 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8904 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8905
8906Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8907
8908 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8909 floats, chars, and shorts where there are ANSI-style function
8910 definitions.
8911
8912 * gdb.base/langs.exp, gdb.base/langs*: New test.
8913 * gdb.base/Makefile.in: Build it.
8914 * TODO: Remove item about checking that C names don't get C++
8915 demangling applied; this test tests it.
8916
8917Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8918
8919 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8920 went with the const70 xfail. The xfail went away a year ago.
8921
8922 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8923
8924 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8925 for hp300.
8926
8927 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8928
8929 * gdb.base/a1-selftest.exp: Don't run on hp300.
8930
8931Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8932
8933 * Makefile.in (site.exp): Set host_alias and target_alias as well
8934 as host_triplet and target_triplet.
8935
8936Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8937
8938 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8939
8940 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8941 places as other ecoff systems).
8942
8943 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8944 ultrix.
8945
8946Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8947
8948 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8949 remove them.
8950 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8951 variable and "variable" in addition to "data variable".
8952 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8953
8954 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8955 2.
8956 * gdb.base/list1.c (long_line): Add additional statement at start
8957 of function.
8958 * gdb.base/list.exp (test_forward_search): Update line number to
8959 reflect new statement.
8960
8961Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8962
8963 * gdb.base/signals.exp: Reinitialize searched source directories
8964 after gdb_start call.
8965
8966Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8967
8968 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8969 * gdb.stabs/Makefile.in: Likewise.
8970
8971 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8972 change. Instead split the tests into smaller pieces.
8973 * gdb.disasm/hppa.s: Corresponding changes.
8974
8975Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8976
8977 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8978 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8979
8980 * gdb.base/funcargs.exp: Modify many tests so that every test
8981 either passes or fails. Make some test names unique.
8982
8983Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8984
8985 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8986 Call stty to set interrupt character.
8987
8988 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8989 for HP assembler versus GNU assembler based on actual behavior of
8990 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8991
8992 * TODO: Suggest a few more stepping tests.
8993
8994Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8995
8996 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8997 restart GDB for h8300 after a continue.
8998 (return): Add pattern to match a29k-udi behavior.
8999 * gdb.base/nodebug.exp: Remove obsolete comment.
9000 * gdb.base/regs.exp: New file, testing of register displays.
9001 * gdb.base/return.exp: Fix typo in reference to $objdir.
9002 * gdb.base/whatis.exp: Always start with a fresh GDB.
9003
9004Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9005
9006 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9007 higher, these tests generate a lot of output.
9008
9009Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9010
9011 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9012 code following the catch silently ignored some errors; without the
9013 catch they should be thrown like any other tcl error. Also, the
9014 catch used "" instead of {} which meant all the callers who wanted
9015 to include one of the characters "[]$ had to quote it an extra time.
9016 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9017 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9018 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9019 Remove extra quoting.
9020
9021Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9022
9023 * gdb.base/commands.exp: Make test names unique; every test either
9024 passes or fails. Update some comments.
9025
9026 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9027
9028Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9029
9030 The following fixes a FAIL caused by the fact that the alpha stabs
9031 configuration didn't use the ".if alpha" code in weird.def.
9032 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9033 bit pointer, so the 32 bit version works even on the alpha.
9034 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9035 Remove the stuff which allowed us to have separate versions for
9036 alpha and everything else.
9037
9038 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9039 regexp which "info func operator\[\](" is supposed to match. Fix
9040 string to send to GDB. Note that GDB still doesn't work right. Add a
9041 new test for "info func .perator\[\](" which GDB does handle correctly.
9042
9043 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9044
9045Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9046
9047 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9048 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9049 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9050 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9051 it makes the tests harder to understand and confuses test-o-matic.
9052 The preferred style is that each test provides a PASS or a FAIL,
9053 and has a unique message (e.g. "continue #54" not just "continue")
9054 which is the same for the pass and the fail.
9055 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9056 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9057 to lib/gdb.exp.
9058 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9059 prt_accept which was basically the same thing. Likewise for
9060 test_print_reject and prt_reject.
9061 * lib/gdb.exp (test_print_reject): Add some more error message
9062 patterns to match from the former printcmds.exp (prt_reject).
9063 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9064 One defect of the passcount stuff is that some of it failed to
9065 report XPASS where appropriate.
9066 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9067 stuff before and after arg in expected pattern.
9068 (test_paddr_operator_functions): Re-do test without print_addr_of;
9069 this is the only test which seems to want extra stuff there.
9070
9071Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9072
9073 * gdb.base/nodebug.exp: Update new tests to reflect improved
9074 wording of gdb output.
9075
9076 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9077 and "ptype" work on variables in files compiled without -g.
9078 Replaces commented out "maint print msymbol" tests.
9079
9080Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9081
9082 * gdb.base/setvar.c (dummy): Call malloc.
9083
9084 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9085 losing with the irix4 sed.
9086
9087 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9088 ALRM" on irix4.
9089
9090Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9091
9092 * TODO: Remove items about corefile.exp testing new exec-file and
9093 backtrace; both are now done. Add items about printing enums.
9094
9095Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9096
9097 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9098 "get signal $thissig" test fails.
9099
9100 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9101
9102Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9103
9104 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9105 compiler warning with dec alpha compiler.
9106
9107 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9108 extra \n from gdb_test call (this explains why the prompt test
9109 that I removed yesterday was there).
9110 (user_defined_command_test): Remove extra \n and prompt test.
9111
9112 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9113 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9114 doesn't exist.
9115 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9116 Also remove alpha workaround, which turns out to be because
9117 SIGABRT == SIGLOST.
9118
9119 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9120
9121 * gdb.base/help.exp: Don't test "help show".
9122
9123Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9124
9125 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9126 "set print address" is on.
9127 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9128 pass prompt to gdb_test; gdb_test already looks for the prompt.
9129
9130 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9131
9132 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9133 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9134 was to make sure that gdb can read a core file. But (a) the "read
9135 the corefile" part didn't make it to a1-selftest.exp, we just
9136 delete the corefile after creating it, and (b) we test reading
9137 corefiles in corefile.exp anyway. Also, this test left around a
9138 xgdb process on Solaris.
9139
9140 * gdb.base/corefile.exp: Also test backtrace.
9141
9142Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9143
9144 * gdb.base/commands.exp: Test a simple user defined command with
9145 arguments and if/while statements; verify the full user command is
9146 printed by "show user".
9147
9148 * gdb.base/commands.exp: Test if/while commands as part of a
9149 breakpoint command list; verify they appear in breakpoint
9150 information.
9151
9152Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9153
9154 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9155 than by dividing by zero.
9156
9157Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9158
9159 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9160 performing an inferior call with watchpoints enabled.
9161 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9162 call.
9163
9164Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9165
9166 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9167 of "file" command.
9168
9169 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9170 Add additional pattern for when "int operator int(void);" appears
9171 in a different order.
9172
9173Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9174
9175 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9176
9177 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9178 and "signal" with ".*".
9179
9180Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9181
9182 * TODO: Add note about "handle all nostop".
9183
9184 * gdb.base/{sigall.c, sigall.exp}: New test.
9185 * gdb.base/Makefile.in: Add it.
9186
9187Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9188
9189 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9190 when invoking GDB, suppresses any windowing interface.
9191
9192Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9193
9194 * config/sim-gdb: New file, simulator testing support.
9195
9196Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9197
9198 * gdb.base/interrupt.exp: Test calling func1 twice.
9199
9200Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9201
9202 * gdb.base/list.exp (test_forward_search): Set timeout higher
9203 when we'll be getting lots of output from gdb.
9204
9205 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9206 "init_malloc" to after the expect statement. Run it if that
9207 regexp is taken, but also for two others which happen if source
9208 cannot be found.
9209
9210Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9211
9212 * gdb.base/printcmds.exp: New test, for printing register before
9213 program is running.
9214
9215Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9216
9217 * gdb.base/list.exp: Correct some alternate expect patterns
9218 to reflect changes in list1.c.
9219
9220Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9221
9222 * TODO: Add item regarding large frames.
9223
9224 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9225
9226 * TODO: Remove item about enabling return.exp; it
9227 is enabled. Suggest a few more "return" tests.
9228
9229Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9230
9231 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9232 anonymous unions.
9233
9234Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9235
9236 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9237 and pr-5646.o, so "make" is the same as "make all", not "make
9238 pr-4975.o".
9239
9240Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9241
9242 * gdb.base/list.exp: Adjust expectations to reflect changes in
9243 list1.c.
9244 (test_forward_search): New test proc.
9245 * gdb.base/list1.c (long_line): New function, has long source line.
9246
9247Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9248
9249 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9250 additional line of code that was added.
9251
9252Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9253
9254 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9255 tests so as not to overflow expect's input buffers.
9256 * gdb.disasm/hppa.exp: Corresponding changes.
9257
9258Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9259
9260 Beginnings of template debugging tests.
9261 * gdb.c++/templ-info.cc: New file to test for template
9262 debugging capability of the compiler.
9263 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9264 templ-info.cc.
9265 * gdb.c++/templates.cc: Add explicit template instantiations
9266 to enable compiling with -fno-implicit-templates. Add destructor
9267 and 'value' method to T5 class for template tests.
9268 * gdb.c++/templates.exp: Add testcases for printing of template
9269 types, setting breakpoints on template methods and calling a
beb998c6 9270 template method.
c906108c
SS
9271
9272Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9273
9274 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9275 branch target since some assemblers (gas-2.5) may emit a
9276 relocation for the branch instead of resolving it in the
9277 assembler.
9278
9279Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9280
9281 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9282 through signal handler.
9283
9284Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9285
9286 * configure.in (*-*-netware): Use config/mt-netware.
9287
9288 * config/mt-netware: New file.
9289 * config/mt-i386-netware: Removed, separate configs for different
9290 netware architectures are no longer needed now that we have
9291 --with-headers.
9292
9293Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9294
9295 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9296 by the recent changes to use ANSI C arithmetic conversions.
9297
9298Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9299
9300 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9301 bug involving using inferior_pid to figure out whether to select a
9302 frame.
9303
9304Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9305
9306 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9307 match the current disassembler output.
9308
9309Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9310
9311 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9312 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9313 types, expect "int" as type of integer values (for now).
9314
9315Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9316
9317 * gdb.base/commands.exp: New tests for if/while commands.
9318
9319Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9320
9321 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9322 by .*, since hex values have different syntax in Chill mode.
9323
9324Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9325
9326 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9327 linefeed from expect pattern for repeated types with indices > 9.
9328
9329Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9330
9331 First part of Fortran test suite.
9332 * gdb.fortran: New directory.
9333 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9334
9335Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9336
9337 * gdb.base/default.exp: Update expect pattern for load command
9338 without arguments.
9339
9340Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9341
9342 * configure.in: Change i386 to i[345]86.
9343 * gdb.base/configure.in: Likewise.
9344 * gdb.c++/configure.in: Likewise.
9345 * gdb.chill/configure.in: Likewise.
9346
9347Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9348
9349 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9350 patterns, since that is not a valid context for comments.
9351
9352Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9353
9354 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9355 repeated types and repeated types with indices > 9.
9356
9357Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9358
9359 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9360 2417; old bug has been fixed.
9361
9362Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9363
9364 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9365 send the newline ourselves instead of assuming gdb_test will do
9366 so when passed an empty input string.
9367
9368 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9369 stabs testcode.
9370
9371Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9372
9373 * lib/gdb.exp (gdb_test): Don't send anything if the first
9374 argument is an empty string. This makes cases where we want to
9375 match output that is already in expect's buffers (for example,
9376 matching a breakpoint after gdb_run_cmd has been called) work
9377 reliably.
9378
9379Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9380
9381 * config/netware.exp: New file.
9382
9383Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9384
9385 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9386 the -B and -L prefixes so we can find the debugging stub.
9387
9388 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9389 there and we are using the gcc from the tree.
9390
9391 * gdb.base/types.c: Removed.
9392
9393 * gdb.base/configure.in: Look for makefile fragments in ../config.
9394 Recognize i386-*-netware.
9395 * gdb.c++/configure.in: Likewise.
9396
9397Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9398
9399 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9400 the correct TCL syntax.
9401
9402Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9403
9404 * gdb.base/opaque.exp: use runto instead of messing around with
9405 breakpoints. Simplify by using gdb_test.
9406
9407 * gdb.base/bitfields.exp: restart between tests on netware targets
9408 because breakpoints aren't relocated after target death. Run
9409 processes to completion.
9410
9411 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9412
9413Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9414
9415 * Makefile.in: Remove extra tabs that confuse some versions
9416 of "make". Use the newly built gdb to test with by default,
9417 rather than the first one in the tester's search path.
9418
9419Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9420
9421 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9422
9423 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9424 condition help.
9425
9426Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9427
9428 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9429
9430 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9431 running.
9432 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9433 * gdb.base/funcargs.exp: Likewise.
9434
9435 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9436 * gdb.base/funcargs.exp: Likewise.
9437
9438 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9439 message is "".
9440
9441Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9442
9443 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9444 return,signals,twice}.exp: Handle non-existant binaries
9445 consistantly.
9446
9447 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9448 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9449 might testing a cross development system.
9450
9451Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9452
9453 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9454 runtest script is relative to ${srcdir}, not ${rootdir}.
9455
9456Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9457
9458 * gdb.base/signals.exp: Allow for optionality of breakpoint
9459 address.
9460
9461Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9462
9463 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9464
9465Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9466
9467 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9468 for size_t definition.
9469 * gdb.c++/templates.cc: Likewise
9470
9471 * config/mt-i386-netware: New file.
9472
9473 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9474 defined.
9475
9476 * gdb.base/Makefile.in: Added support for systems that name core
9477 files by appending "core" to the program name.
9478 * gdb.base/a1-selftest.exp: Likewise.
9479
9480Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9481
9482 * gdb.base/return.exp: Add comment and message for `return double'
9483 test failure on Sparc Solaris.
9484
9485Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9486
9487 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9488
9489Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9490
9491 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9492 from optimizing them away.
9493 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9494 patterns to include default constructors and assignment operators,
9495 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9496 character in the output of the virtual base pointer.
9497
9498Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9499
9500 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9501 expression match in print_addr_of to avoid unintented matches.
9502 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9503 versions up to 2.5.8.
9504
9505Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9506
9507 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9508 included file to run under newer versions of expect.
9509 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9510 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9511 Remove xfail for the virtual table of BDDHookV.
9512
9513Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9514
9515 * lib/gdb.exp (string_to_regexp): Set a default result.
9516 (default_gdb_start): Fix misleading message.
9517
9518Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9519
9520 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9521 Remove all CC, etc definitions.
9522 * config/mt-hpux: New file.
9523 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9524 (CFLAGS, LDFLAGS): Define.
9525 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9526
9527 * Makefile.in (site.exp): Don't insert host_os, etc.
9528 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9529 (distclean): Check existence of subdir.
9530 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9531 * gdb.base/Makefile.in: General cleanup and simplification.
9532 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9533 to build executables. Use default rule to build .o files.
9534 (EXPECT, RUNTEST, CC): Fix relative pathname.
9535 (site.exp): Don't insert host_os, etc.
9536 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9537 and/or SIGUSR1 defined.
9538 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9539 * gdb.c++/Makefile.in: General cleanup and simplification.
9540 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9541 (CFLAGS): Remove.
9542 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9543
9544Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9545
9546 * gdb.base/recurse.exp: Misc changes to get tests running again
9547 after Kung's changes to the watchpoint code.
9548 * gdb.base/watchpoint.exp: Likewise.
9549
9550Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9551
9552 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9553
9554Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9555
9556 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9557 * lib/gdb.exp (default_gdb_start): Define.
9558 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9559 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9560 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9561 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9562 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9563 Don't call gdb_target_udi in between tests.
9564
9565Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9566
9567 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9568 (which was basically just a local version of the same thing). In
9569 addition to avoiding duplication, gdb_test_exact is faster.
9570 * lib/gdb.exp (gdb_test_exact): Fix typo.
9571
9572 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9573 don't give an error.
9574
9575 * gdb.base/term.exp: Call delete_breakpoints before starting.
9576
9577 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9578 (t10): Add comment.
9579
9580Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9581
9582 Reorganization of the GDB Test Suite.
9583
9584 * gdb.base: New directory, contains all the basic tests.
9585 * gdb.c++: New directory, tests specific to C++.
9586 * gdb.chill: New directory, tests specific to Chill.
9587 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9588 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9589 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9590 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9591 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9592 t30-31 to chill).
9593 * */gdbme.*: Rename to match appropriate expect scripts.
9594 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9595 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9596 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9597 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9598 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9599 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9600 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9601 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9602 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9603 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9604 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9605 gdb.c++/virtfunc.cc: New names of C++ files.
9606 * gdb.chill/chillvars.ch: New name of Chill file.
9607 * gdb.base/configure.in, gdb.c++/configure.in,
9608 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9609 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9610 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9611 * configure.in (configdirs): Update to reflect directory changes.
9612 (target_abbrev): No longer define for any configuration.
9613 * Makefile.in: Cosmetic improvements to header comments.
9614
9615Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9616
9617 Various changes to gdb.t31:
9618
9619 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9620 * gdbme.ch: Make all key-words and predefineds be upper-case.
9621 * chillvars.exp: Expect key-words and predefinds in upper-case.
9622
9623 * chillvars.exp: Use gdb_test_exact many places.
9624 Change expected output for arrays (which now includes index labels).
9625
9626 * pr-5020.exp, gdme.ch (module PR_5020):
9627 New test, for PR-5020.
9628
9629Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9630
9631 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9632 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9633
9634Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9635
9636 * Makefile.in: Fix bit-rot in definitions of CHILL,
9637 CHILL_FOR_TARGET and Chill_LIB.
9638 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9639 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9640 CHILL, and CHILL_LIB.
9641
9642Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9643
9644 * Revert the previous changes. Please see Rob's directory
9645 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9646
9647Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9648
9649 * Makefile.in, configure.in, config/mips-gdb.exp,
9650 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9651 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9652 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9653 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9654 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9655 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9656 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9657 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9658 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9659 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9660 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9661 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9662 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9663 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9664 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9665 changes from 94Q1.
9666
9667Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9668
9669 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9670 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9671 Rob's new testing fragments.
9672
9673Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9674
9675 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9676 lib/gdb.exp: Replace error proc calls with perror.
9677
9678Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9679
9680 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9681 version also, match on casted version strings, and match on
9682 gdb startup case where the line numbers might be messed up.
9683
9684Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9685
9686 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9687 (CFLAGS): Delete it from here.
9688
9689Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9690
9691 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9692
9693Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9694
9695 * Makefile.in (RUNTEST): Default to just "runtest".
9696
9697Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9698
9699 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9700 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9701 the code has been restructured.
9702
9703Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9704
9705 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9706 \n, not just one of each.
9707
9708 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9709 /bin/cc gives a warning if you do.
9710
9711Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9712
beb998c6 9713 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9714 __t10ListS_link1ZUiRCUiPT0
9715
9716Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9717
9718 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9719 on local variables in recursive functions.
9720
9721 * gdb.t07/Makefile.in: Build the new test.
9722
9723Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9724
9725 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9726 directly. Instead compare the return values from actual calls.
9727
9728Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9729
9730 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9731
9732Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9733
9734 * From Peter Schauer with minor modifications.
9735 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9736 stops in mid-line in the caller. Add xfail for returning a float
9737 value on X86 targets.
9738
9739Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9740
9741 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9742 to avoid expect lossage.
9743 (fmem_LRbug_tests): Likewise.
9744 * gdb.disasm/hppa.s: Corresponding changes.
9745
9746 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9747 conditions to work with latest dejagnu/expect.
9748
9749 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9750 expected to fail on the PA.
9751 (backtrace in call with trampolines): Explicitly require main
9752 to be frame #1 (no trampolines should show up in backtrace).
9753
9754 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9755 "continue -expect".
9756 * gdb.t06/break.exp: Likewise.
9757 * gdb.t07/watchpoint.exp: Likewise.
9758 * gdb.t13/bitfields.exp: Likewise.
9759 * gdb.t15/{funcargs,return}.exp: Likewise.
9760 * gdb.stabs/weird.exp: Likewise.
9761 * config/{mips,udi}-gdb.exp: Likewise.
9762
9763 * hppa.sed: Enclose comments within a sed command to avoid
9764 losing with the old OSF1 sed.
9765
9766Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9767
9768 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9769 sequent dynix.
9770 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9771 * gdb.t15/funcargs.exp: Conditionally step again to really
9772 finish from marker_call_with_trampolines. Handle the case where
9773 the first step from within call_with_trampolines already steps
9774 us back to main.
9775 * gdb.t15/gdbme.c: Add comment to closing brace of
9776 call_with_trampolines for funcargs.exp.
9777
9778Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9779
beb998c6 9780 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9781 Fix typo(s).
9782
9783Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9784
9785 * gdb.t07/gdbme.c: More code for watchpoint testing.
9786
9787 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9788 "Hardware watchpoint" throughout file.
9789 (test_watchpoint_triggered_in_syscall): New test.
9790 (test_complex_watchpoint): New test.
9791
9792Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9793
9794 * gdbme.c (call_with_trampolines): New function to try and step
9795 into. Tests trampoline problems on the PA.
9796
9797 * funcargs.exp (localvars_in_indirect_call): No longer expect
9798 stepping into indirect call to fail on PAs.
9799 (test_stepping_over_trampolines): New test.
9800
9801Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9802
9803 * TODO: Add suggestions for static member function tests, and
9804 completion tests.
9805
9806Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9807
9808 * TODO: Add suggestions for "p/a" tests.
9809
9810 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9811 (default_gdb_exit): Replace all the hair with sending "quit" to
9812 the process with a simple close.
9813
9814Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9815
9816 * TODO: Add suggestions for shared library tests.
9817
9818Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9819
9820 * TODO: Add suggestions for x/s tests.
9821
9822Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9823
9824 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9825 "enable once", and "enable breakpoints once" with ".*".
9826
9827Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9828
9829 * TODO: Add suggestions about structure passing tests.
9830
9831Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9832
9833 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9834 the primary1 test, use work around if __GNUC__ < 2.
9835 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9836 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9837 Test for bad output rather than waiting for timeout. Issue
9838 second continue only if first continue failed.
9839
9840Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9841
9842 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9843 operator[] test with gdb_test because the old code didn't seem to
9844 be getting the quoting right with the new dejagnu.
9845
9846Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9847
9848 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9849 one from the path.
9850 * Makefile.in: Use a fresh expect if there is one, use runtest
9851 from the src tree if there is one.
beb998c6 9852
c906108c
SS
9853Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9854
9855 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9856 next over recursive call. Revise the tests from that point on
9857 (which had been skipped) to match GDB's actual (correct) output.
9858
9859 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9860 with next over a breakpoint whose condition is false.
9861
9862 * gdb.t00/help.exp: Comment out "help set print" tests just like
9863 (and for same reason as) "help set" test.
9864
9865Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9866
9867 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9868 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9869
9870Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9871
9872 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9873 necessary gdb_target_udi.
9874
9875 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9876
9877 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9878 1838 and 2417; they are fixed.
9879
9880 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9881 gdb.t03/ptype.exp (ptype structure, ptype union):
9882 Remove xfails; the test is looser than when the xfails were added.
9883
9884 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9885 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9886
9887 * gdb.t01/run.exp: Only run shell test if isnative.
9888
9889 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9890 since "run" automatically loads if necessary. Call gdb_target_udi
9891 after the "file" since "file" kills any execution target.
9892
9893 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9894 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9895 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9896 argument for UDI.
9897
9898Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9899
9900 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9901
9902 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9903
9904Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9905
9906 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9907 properly quoting regexps. This makes the second argument to
9908 demangle a fixed string, which matches the callers, instead of a
9909 shell-style pattern which is what the previous implementation
9910 used. Update some of the callers.
9911
9912Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9913
9914 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9915 (comib_nullified_tests): Fix typo.
9916 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9917 strings. No longer expected to fail.
9918
9919 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9920 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9921 strings. No longer expected to fail.
9922
9923 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9924 string. No longer expected to fail.
9925
9926Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9927
9928 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9929 No longer expected to fail.
9930
9931 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9932 string. No longer expected to fail.
9933
9934Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9935
9936 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9937 only in the names (I probably got most of them). I was even
9938 generous with some which differed in underscores in names, and
9939 probably missed a few, and I *still* was able to remove almost a
9940 third of the file with almost no impact on testsuite coverage.
9941
9942Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9943
9944 * gdb.t00/default.exp: Match udi_attach error message as well as
9945 the one from child_attach.
9946
9947 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9948
9949 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9950
9951 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9952 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9953
9954 * Move test with enums and partial symbols back to
9955 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9956 Reverts the change of 26 May 93. Per today's change to
9957 stabs.texinfo, the behavior that weird.exp was expecting was
9958 unreasonable; what is important is that the compiler+gdb get
9959 things right, which happens with a recent gcc. Also fix the test
9960 to deal with native compilers which put out the stab gdb can't
9961 deal with.
9962
9963Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9964
9965 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9966 in the names. The main thing these accomplish is to slow things down.
9967 Many more such duplicates surely remain.
9968
9969 * gdb.t00/help.exp: Comment out "help support" test just like
9970 (and for same reason as) "help set" test.
9971
9972Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9973
9974 * gdb.t06/break.exp: Remove setup_xfails for
9975 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9976 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9977 about known bug in gcc to include up through 2.5.8.
9978 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9979 well as "_vb$".
9980 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9981 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9982 with latest gcc and gdb.
9983 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9984 well as "_vb$".
9985
9986Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9987
9988 * configure.in (hppa*-*-*): Also configure and build stabs-only
9989 tests.
9990
9991Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9992
9993 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9994 * gdb.t10/configure.in (hppa*-*-*): Use it.
9995
9996Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9997
9998 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9999
10000Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10001
10002 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10003 versions prior to 1.13.5.
10004
10005Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10006
10007 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10008 the prompt is at the start of a line.
10009
10010Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10011
10012 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10013 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10014 in the copr tests now.
10015 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10016 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10017 expected to fail.
10018
10019Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10020
10021 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10022 gdb.t31/chillvars.exp, lib/gdb.exp:
10023 Tweak to run under either version of expect.
10024 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10025 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10026 * gdb.t11/list.exp: Remove extraneous whitespace.
10027
10028Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10029
10030 * gdb.t16/printcmds.exp (test_print_strings): Accept
10031 "(unsigned char *) " before the string.
10032
10033 * TODO: Add notes about printing of fancy types and GDB expressions.
10034
10035Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10036
10037 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10038 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10039 if doing mips-idt-ecoff.
c906108c
SS
10040
10041Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10042
10043 * Most .exp files: Tweak to run under either version of expect.
10044
10045Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10046
10047 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10048 xfails; I'm not sure why they are failing, but not because of PR 1806.
10049
10050Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10051
10052 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10053 defined in lib/gdb.exp.
10054
10055Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10056
10057 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10058 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10059 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10060 have to be typeless.
10061
10062Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10063
10064 * TODO: Add suggestion for copyright year test.
10065
10066Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10067
10068 * configure.in (*-*-lynxos*): Add stabs tests.
10069
10070Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10071
10072 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10073 so insert a tab before any assembler directive in column zero.
10074
10075 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10076 stores.
10077 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10078 stores.
10079 (fpu_short_memory_tests): Likewise.
10080
10081Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10082
10083 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10084 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10085 .stabs directives in comments.
10086
10087Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10088
10089 * TODO: New file, describing tests we could write.
10090 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10091
10092Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10093
10094 * gdb.t06/signals.exp: Add kludge to force re-sync.
10095
10096 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10097 to xgdb instead of gdb, get out of gdb.
10098
10099Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10100
10101 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10102 for info.
10103
10104Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10105
10106 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10107 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10108 * gdb.stabs/hppa.sed: New sed script for the PA.
10109
10110Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10111
10112 * gdb.stabs: Re-write weird.def and configuration to use sed
10113 instead of cpp. sed is portable and POSIX; cpp is neither.
10114
10115Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10116
10117 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10118
10119Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10120
10121 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10122
10123Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10124
10125 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10126 "_vb$".
10127 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10128 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10129
10130Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10131
10132 * lib/gdb.exp: Comment out code which depends on non-existent
10133 `transform' procedure.
10134
10135Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10136
10137 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10138 * lib/gdb.exp: Transform tool name.
10139 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10140 1.1's new error handling system.
10141
10142Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10143
10144 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10145
10146Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10147
10148 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10149 They made pattern matching so slow that timeouts happened on
10150 heavily loaded systems. Now any output from "show print" which
10151 gets us back to the GDB prompt is a PASS.
10152
10153Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10154
10155 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10156
10157Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10158
10159 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10160
10161 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10162 It is not from PR 3220.
10163
10164Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10165
10166 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10167 just started failing because they depended on the order the
10168 subcommands are presented, or exact docstring text. This kind of
10169 test is a pain and has minimal benefit.
10170
10171Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10172
10173 * gdb.t09/corefile.exp: At end of test, use "core" command with
10174 no arguments.
10175
10176Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10177
10178 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10179 17}/Makefile.in: Make it possible to run the testsuite with Sun
10180 make and CC = cross gcc by adding explicit build rules for .o
10181 files.
10182
10183Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10184
10185 * gdb.t15/funcargs.exp: Don't put comments on same line as
10186 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10187
c906108c
SS
10188Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10189
10190 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10191
10192Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10193
10194 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10195 * gdb.t20/inherit.exp: remove three dumplicate entries.
10196
10197Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10198
10199 * gdb.t06/break.exp: For "next over recursive call", fail on any
10200 incorrect output, not just on "factorial (value=2)".
10201
10202Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10203
10204 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10205 working now. Add an xfail if accesing a bss variable causes
10206 a memory error if the target is not yet run.
10207
10208Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10209
10210 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10211 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10212 name of __st* demangling (2 strings). Did Kung really get the
10213 more than 95 others right without testing them?
10214
10215Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10216
10217 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10218
10219Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10220
10221 * configure.in (configdirs): Add gdb.disasm
10222 * gdb.disasm: New directory for GDB disassembler tests.
10223 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10224
10225Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10226
10227 * gdb.t00/help.exp: Don't test "help set".
10228
10229 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10230 from within expect statements. None of these happen anymore and
10231 they cause regressions to be silently unnoticed.
10232
10233 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10234 messages) about known failures with gcc cygnus-2.4.5-930417.
10235
10236 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10237 comp-info.exp so it gets built if it doesn't exist.
10238
10239 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10240 it is no longer used.
10241 * gdb.t13/comp-info.c: Removed.
10242
10243Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10244
10245 * gdb.t06/signals.exp: Add xfail for sun3.
10246
10247Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10248
10249 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10250 relevant because ^C doesn't get sent but failure can be reproduced
10251 interactively).
10252
10253Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10254
10255 * gdb.stabs/alpha.mt: New configuration file for alpha.
10256 * gdb.stabs/configure.in: Use it.
10257 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10258 sharing with alpha.mt, redefine long to word via preprocessor.
10259 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10260 for alpha.
10261 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10262 native cc.
10263 * gdb.t00/teststrategy.exp: Change expect string so that we
10264 consume the `(xgdb)' from the command echo and from the gdb prompt.
10265 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10266 gdb currently compares all values as long, so this failure probably
10267 applies to any configuration where LONGEST is bigger than a target int.
10268 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10269 with gcc.
10270 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10271 to handle opaque pointers, gcc is.
10272 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10273 as first argument. Include <sys/types.h> and change all operator
10274 new definitions to use size_t.
10275 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10276 now that we use size_t.
10277
10278Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10279
10280 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10281 a long or float array cast all array members to the same type.
10282 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10283 with 64 bit longs.
10284 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10285 on alpha.
10286 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10287
10288Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10289
10290 * gdb.t24 (demangle.exp): Constructors of templates have names like
10291 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10292 section 14.6 of the ARM.
10293
10294 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10295 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10296 accomplish little and slow down the testsuite.
10297
10298 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10299 Accept spaces various places.
10300
10301Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10302
10303 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10304 with watchpoint enabled.
10305
10306 * Makefile.in: Remove definition of CC and remove the second
10307 definition of CXX (the "CXX = gcc" one remains). These definitions
10308 were causing backquotes to be expanded within backquotes, which
10309 doesn't work.
10310
10311Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10312
10313 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10314
10315Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10316
10317 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10318 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10319 by mips cc and contains no stabs entries.
10320
10321Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10322
10323 * config/vx-gdb.exp: Use fake device to load files rather than
10324 NFS.
10325 * lib/gdb.exp: New proc to do "file" command.
10326 * config/unix-gdb.exp: Use new "file" proc.
10327
10328Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10329
10330 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10331 Rework board rebooting slightly.
10332 (gdb_exit): Don't exit from the remote shell; there isn't one.
10333 * gdb.stabs/weird.exp: If a program is being debugged already,
10334 kill it.
10335 * gdb.t04/setvar.exp: Stop and restart gdb.
10336 * gdb.t05/expr.exp: Likewise.
10337 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10338 restart gdb and reload the program.
10339 * gdb.t08/opaque.exp: Likewise.
10340 * gdb.t12/scope.exp: Likewise.
10341 * gdb.t13/bitfields.exp: Likewise.
10342 * gdb.t15/funcargs.exp: Likewise.
10343 * gdb.t20/classes.exp: Likewise.
10344 * gdb.t03/ptype.exp: Increase timeout.
10345 * gdb.t16/printcmds.exp (test_print_string_constants,
10346 test_print_array_constants): Likewise.
10347 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10348 * gdb.t20/classes.exp (do_tests): Likewise.
10349 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10350
10351Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10352
10353 * gdb.stabs: Renamed *wierd* to *weird*.
10354
10355Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10356
10357 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10358 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10359
10360Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10361
10362 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10363 (do_tests): Remove xfail for whatis on one_var and two_var.
10364
10365Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10366
10367 * Makefile.in: Made cross building work better by adding
10368 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10369
10370Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10371
10372 * gdb.t15/{return.c,return.exp,Makefile.in}:
10373 New test, currently commented out.
10374
10375Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10376
10377 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10378 still running and removes the leftover named socket so GDb can do
10379 clean restarts.
10380
10381Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10382
10383 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10384 console, not GDB.
10385 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10386 cross testing works better with "make check"
10387 * config/unix-gdb: Use default procedures for exit and version.
10388 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10389 with the newest VxWorks.
10390
10391Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10392
10393 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10394 old form.
10395
10396 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10397 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10398
10399 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10400
10401 * config/unix-gdb.exp: Remove this version of gdb_exit
10402 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10403 Rob says he'll look at it when he gets back to testing boards.
10404
10405Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10406
10407 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10408 an expected fail for certain ptype commands.
10409
10410 * gdb.t20/classes.exp: Update expected results of "ptype class
10411 Base1" to account for the constructor that now appears in the type.
10412
10413Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10414
10415 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10416 disappeared from list.
10417 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10418 "alldone" proc with call to cleanup and exit.
10419 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10420 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10421 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10422 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10423 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10424 "alldone" proc with simple returns that suppress remaining
10425 tests. The alldone proc went away many months ago.
10426
10427Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10428
10429 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10430
10431 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10432
10433Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10434
10435 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10436 as vax gdb will display them.
10437
10438Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10439
10440 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10441 optimizers.
10442
10443 * scope.exp: Change "bad value for localval" messages so each one
10444 is unique.
10445
10446 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10447 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10448
10449 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10450
10451Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10452
10453 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10454 doesn't exist (due to optimization).
10455
10456Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10457
10458 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10459 contains \r because the filename is long.
10460
10461 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10462 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10463
10464Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10465
10466 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10467 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10468 Ultrix.
10469 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10470 int tests.
10471 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10472
10473Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10474
10475 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10476
10477 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10478 to match does not match the passing case but still matches the
c906108c
SS
10479 failing case.
10480
10481Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10482
10483 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10484
10485Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10486
10487 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10488 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10489 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10490 Remove various versions of gdb_exit.
10491 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10492 gdb_exit.
10493 * config/unix-gdb.exp: gdb_exit remains here, and should override
10494 the generic version, since it's doing a lot of wierd stuff that
10495 the other versions aren't. FIXME, fold it in, or abandon this
10496 version.
10497
10498Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10499
10500 * gdb.t24/demangle.exp: Add tests for PR 3220.
10501
10502Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10503
10504 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10505
10506Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10507
10508 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10509 "i386-*-*". Works for i486 as well.
10510
10511 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10512 bug, and expand domain of xfail to all SVR4 systems, since the
10513 actual problem is likely to be in generic SVR4 /proc support.
10514
10515Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10516
10517 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10518
10519Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10520
10521 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10522 xfails for other systems. Match a missing 'Continuing.' as an
10523 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10524
10525 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10526 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10527 Only issue warning for missing executables if -all option is used.
10528
10529 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10530 file if -all option is used. It's like an unpredictable XFAIL.
10531
10532Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10533
10534 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10535 for dynamically linked binaries.
10536
10537 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10538
10539Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10540
10541 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10542 to state that this is a known bug in old versions of g++.
10543
10544Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10545
10546 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10547 while waiting for `Continuing'.
10548
10549Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10550
10551 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10552 in text, data, and bss.
10553 * gdb.t10/nodebug.c: Add local and global test variables for
10554 initialized and uninitialized data.
10555
10556Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10557
10558 * config/unix-gdb.exp (gdb_exit): Add "wait".
10559
10560Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10561
10562 * gdb.t06/signals.exp: xfail the continue from the handler for all
10563 targets.
10564
10565 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10566 function with watchpoints enabled, the i386 call dummy starts with
10567 a call.
10568
10569 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10570 386 bsd names its corefiles.
10571
10572Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10573
10574 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10575 compilers don't grok it.
10576 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10577 with small octal ints rather than character constants, which
10578 are signed and might not fit if first promoted to int.
10579
10580Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10581
10582 * gdb.t09/Makefile.in (clean): Remove corefile.
10583
10584Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10585
10586 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10587
10588Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10589 and Jim Kingdon (kingdon@cygnus.com)
10590
10591 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10592 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10593 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10594
10595Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10596
10597 * gdb.t17/interrupt.exp: Add xfail for hppa.
10598
10599Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10600
10601 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10602 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10603 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10604 to determine signed-ness of bitfields and use the result to setup
10605 the xfail.
10606 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10607 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10608 call line is reached if necessary.
10609
10610Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10611
10612 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10613
10614Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10615
10616 * gdb.t06/break.exp: Also test `clear' command.
10617
10618Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10619
10620 * gdb.t00/teststrategy.exp: Remove extra quote.
10621
10622 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10623 watchpoint enabled to be for all non-68k machines.
10624
10625 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10626
10627Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10628
10629 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10630 targets use aout.mt instead of ecoff.mt as gas understands
10631 standard aout format.
10632
10633Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10634
10635 * lib/gdb.exp (runto): Don't insist that function we are running to
10636 was compiled with -g.
10637
10638 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10639
10640 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10641 to get back into the read system call.
10642 Accept leading newline in case where we woke it up.
10643
10644Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10645
10646 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10647 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10648 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10649 enable ecoff configuration.
10650
10651Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10652
10653 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10654
10655Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10656
10657 * gdb.t16/printcmds.exp: Add another printf test.
10658
10659Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10660
10661 * configure.in: If configured -with-stabs on any target, add
10662 stabsdirs to configdirs.
10663
10664Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10665
10666 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10667 fun" so pattern does not match the command itself.
10668
10669Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10670
10671 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10672
10673Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10674
10675 * gdb.t17/interrupt.exp: Test for more things.
10676
10677Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10678
10679 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10680 compiler arranges the code and line numbers.
10681
10682 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10683
10684Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10685
10686 * gdb.t00/help.exp: Increase expect input buffer size.
10687
10688Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10689
10690 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10691
10692 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10693
10694 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10695
10696 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10697 [0-9]*, not just [0-9].
10698
10699Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10700
10701 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10702
10703 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10704
10705Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10706
10707 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10708
10709Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10710
10711 * gdb.t06/signals.c: Add xfails for sun3.
10712
10713 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10714
10715 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10716 test_stepping tests.
10717
10718Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10719
10720 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10721
10722 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10723
10724 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10725 rather than actually putting it through cpp twice.
10726
10727 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10728
10729Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10730
10731 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10732 no longer needed.
10733
10734Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10735
10736 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10737
10738 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10739 C++ features prints as "struct", make it a pass, not an xfail.
10740
10741Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10742
10743 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10744 Don't require VA to print as "class" rather than "struct".
10745
10746Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10747
10748 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10749
10750Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10751
10752 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10753
10754Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10755
10756 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10757 order.
10758
10759Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10760
10761 * gdb.t16/printcmds.exp: Add printf tests.
10762
10763 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10764
10765 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10766
10767Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10768
10769 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10770 pass counts, to counteract any existing or future setup_xfails.
10771
10772Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10773
10774 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10775 {BEGIN,END}_COMMON for common block instead of STAB.
10776 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10777
10778 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10779 intp_var should be N_GSYM not N_LSYM.
10780 wierd-aout.S: Use a label for the value of the N_SO.
10781 wierd.def: Remove all backslashes.
10782 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10783
10784Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10785
10786 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10787 get the expected next to inheritance3.
10788
10789Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10790
10791 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10792 now that gcc-2.4 gets it right.
10793
10794Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10795
10796 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10797
10798 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10799 generating comp-info.exp which works for cross-compilation.
10800
10801Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10802
10803 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10804 "*-*-sysv4.*".
10805
10806Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10807
10808 * gdb.t01/run.exp: Start with a fresh gdb.
10809 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10810 SVR4.x.
10811
10812Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10813
10814 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10815 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10816 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10817 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10818 things to remove.
10819
10820Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10821
10822 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10823 test cases from bug reports.
10824
10825Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10826
10827 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10828 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10829 avoid spurious xfails.
10830 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10831 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10832 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10833
10834Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10835
10836 * gdb.t00/teststrategy.exp: Rework to provide more useful
10837 description of each test, fix problem with systems that define
10838 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10839 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10840 results for "next over recursive call" so timeouts aren't taken
10841 by error.
10842
10843Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10844
10845 * gdb.t12/scope.exp: Test printing of variables before run.
10846
10847 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10848 printed in wrong order due to sorting.
10849
10850Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10851
10852 * gdb.t00/teststrategy.exp: Fix expected results for printing
10853 user entered string constant. Is array of char, prints with no
10854 address.
10855
10856 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10857 commands.
10858 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10859 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10860 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10861 of struct of char arrays.
10862 * gdb.t00/radix.exp: New tests for radix commands.
10863
10864Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10865
10866 * gdb.t16/printcmd.exp: Print a variable before running program
10867 (with xfail for AIX).
10868
10869Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10870
10871 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10872
10873 * gdb.t16/printcmd.exp: Don't print variables before running program.
10874
10875 * gdb.t06/break.exp: Don't require envp argument to main.
10876
10877 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10878
10879 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10880 Add xfails for rs6000.
10881
10882 * gdb.t02/whatis.exp: Change other tests not to re-test something
10883 we already tested.
10884
10885 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10886 each type used has a variable of that type.
10887
10888Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10889
10890 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10891
10892Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10893
10894 * configure.in: change srctrigger to be a file, not a directory
10895
10896Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10897
10898 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10899
10900 * gdb.t11/list.exp: Fixed a couple of typos.
10901
10902Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10903
10904 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10905 is fixed and PR is closed.
10906 * gdb.t16 (gdbme.c): Add simple test string variable.
10907 * gdb.t16 (printcmds.exp): Add tests with simple test string
10908 variable, primarily for boundaries on "set print elements".
10909
10910Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10911
10912 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10913 Make leading 0's optional and don't expect a tab in the middle
10914 of the number.
10915
10916 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10917
10918 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10919 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10920 don't end command passed to gdb_test with newline.
10921
10922 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10923 signed keyword away, don't expect signed bitfields to be signed.
10924
10925 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10926 printing with only as many 1's as are in the field as well as printing
10927 with 32 1's (see comment).
10928
10929Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10930
10931 * gdb.t00/default.exp: Start with a fresh gdb.
10932 * configure.in (configdirs): Remove gdb.t31 until the chill
10933 compiler works again. It no longer is able to find chillrt0
10934 since it isn't in libchill.a anymore.
10935 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10936 wierd.o, make more modular.
10937 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10938 spurious newlines that caused problems.
10939
10940Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10941
10942 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10943 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10944 gdb.stabs/wierd.{exp,def}: Many new tests.
10945
10946 * gdb.t00/default.exp: update info line for new message.
10947
10948 * gdb.t02/{whatis.exp,gdbme.c}:
10949 Test that "char *" doesn't print as "caddr_t".
10950
10951Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10952
10953 * gdb.t00/help.exp: Use .* in place of some help messages which
10954 just changed.
10955 gdb.t00/default.exp: Update "info frame" test for new message.
10956 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10957 Remove some xfails
10958
10959Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10960
10961 * gdb.t03/{gdbme.c,ptype.exp}:
10962 Add tests for typedef'd struct and union without tags.
10963 Also check "whatis" on a variable of a typedef'd enum without a tag.
10964
10965 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10966 PRMS 1823; the bug still exists but isn't reproduced by this test
10967 anymore), and remove rs6000 XFAIL (the bug is fixed).
10968
10969 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10970 duplicated from whatis.exp. For those that are left, accept
10971 "long", "long int", or "int" for long variables (whatis.exp already
10972 has an XFAIL for "int", so no need to fail it here).
10973
10974 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10975 Deal with GCC's names for types now that GDB uses the compiler's names.
10976
10977 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10978 setup_xfail's for sunos4. If we #defined the signed keyword away,
10979 don't expect GDB to know that char it is signed.
10980
10981 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10982
10983Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10984
10985 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10986 should work on any system, regardless of debugging format.
10987 * gdb.t21/demangle.exp: Move to gdb.t24.
10988 * gdb.t24/demangle.exp: Move from gdb.t21.
10989 * gdb.t24/{Makefile.in, configure.in}: New files.
10990
10991Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10992
10993 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10994 * gdb.stabs: New directory.
10995
10996Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10997
10998 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10999 not just "Quit anyway?".
11000
11001Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11002
11003 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11004 that all setup_xfails are immediately followed by clear_xfails.
11005
11006Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11007
11008 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11009 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11010 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11011 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11012 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11013 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11014 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11015 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11016 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11017 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11018 gdb.t31/chillvars.exp, lib/gdb.exp:
11019 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11020 bug-gdb@prep.ai.mit.edu.
11021
11022Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11023
11024 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11025 with 0.0, not integer 0.
11026
11027Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11028
11029 * gdb.t06/break.exp: Update for "Kill the program" message change.
11030
11031Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11032
11033 * Makefile.in (GDBFLAGS): Set to -nx.
11034 * Makefile.in (site.exp): Use GDBFLAGS.
11035
11036Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11037
11038 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11039 Makefiles.
11040 (check): depend on just-check.
11041 (just-check): added so that tests can be run without a noop
11042 build pass.
11043
11044Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11045
11046 Switch to using configure's configdirs.
11047 * Makefile.in (Makefile): add configure.in dependency.
11048 (SUBDIRS): removed redundant assignment.
11049 * configure.in: switch subdirs assignment to configdirs.
11050 * gdb.t*/configure.in: new files.
11051
11052Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11053
11054 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11055 works.
11056
11057Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11058
11059 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11060 in explicit rules. Apparently this is not supported by some makes.
11061
11062Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11063
11064 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11065
11066Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11067
11068 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11069 disappeared.
11070
11071Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11072
11073 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11074
11075Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11076
11077 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11078 watchpoint problem that is now fixed.
11079 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11080 uninitialized convenience variables.
11081 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11082 structures.
11083
11084Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11085
11086 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11087 which causes expect to get out of sync with gdb on long output
11088 from help set.
11089 * gdb.t09/corefile.exp: Make expected pattern for core file
11090 failing signal and frame output format less sun specific.
11091
11092Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11093
11094 * gdb.t31/chillvars.exp: Add and remove initial dummy
11095 breakpoint, so that symbol table is forced in.
11096 (Needed at least on Sunos4, though it seems not SVR4.)
11097 * gdb.t31/chillvars.exp: Update for changed output format.
11098
11099Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11100
11101 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11102
11103Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11104
11105 * Makefile.in: Added --srcdir when invoking runtest, removed the
11106 need for a local config file. (optional now)
11107
11108Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11109
11110 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11111 failure count used to force early termination. Add some more
11112 expected failures for gnu style demangling.
11113
11114Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11115
11116 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11117 pmi variable from gdb.t20/gdbme to get optimized away.
11118 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11119 Check for written corefile upon timeout _and_ eof.
11120
11121Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11122
11123 * config/unix-gdb.exp: Add missing return 0.
11124
11125Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11126
11127 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11128 test termination.
11129
11130Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11131
11132 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11133 disappeared.
11134
11135Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11136
11137 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11138 time as i860 support works.
11139
beb998c6 11140 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11141 "backtrace 100\r" rather than just "backtrace\r", to match last
11142 change.
11143
11144Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11145
11146 * config/udi-gdb.exp (gdb_exit): Remove close command.
11147 (gdb_target_udi): New procedure to set the UDI target.
11148 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11149 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11150 Added waits for prompts after several question responses. Added
11151 some more responses used by a29k-amd-udi-gdb.
11152 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11153 pass different arguments, restart UDI connection after program
11154 completion.
11155 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11156 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11157 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11158 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11159 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11160 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11161 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11162 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11163 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11164 after program completion.
11165 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11166 compiled with a SELECT_VECS setting.
11167 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11168 infinite recursion.
11169
11170 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11171 Added checks for COFF results, and made them expected failures for
11172 all targets. It would be better to make them expected failures
11173 for COFF targets only.
11174
11175Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11176
11177 * Makefile.in: add null dvi target, don't bother to recurse
11178 through test directories for info and install-info; rename
11179 $(datadir) to be dejagnu instead of deja-gnu
11180
11181Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11182
11183 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11184 compiler to coredump.
11185 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11186 code.
11187
11188Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11189
11190 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11191 coredump.
11192 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11193 code.
11194
11195Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11196
11197 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11198 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11199 which in a shell. Deletes xgdb when done.
11200 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11201 Tests the return from the "set height" or "set width" commands.
11202 Added a few return codes where needed.
11203
11204Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11205
11206 * Makefile.in (SUBDIRS): Add gdb.t17.
11207 * configure.in (subdirs): Add gdb.t17.
11208 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11209 files to test gdb's calling of functions in the inferior with
11210 the correct arguments and gdb's ability to retrieve any
11211 result returned.
11212
11213Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11214
11215 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11216 may be called after gdb goes away. Previous versions of expect
11217 needed these to avoid file descriptor leaks, but they cause
11218 errors with the current revision of expect.
11219 * gdb.t00/gdbvars.exp: Use -re on expected output after
11220 setting sevenbit-strings.
11221 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11222 to set sevenbit-strings consistent across tests.
11223 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11224 set sevenbit-strings consistent across tests.
11225
11226Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11227
11228 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11229 expected output to match current "expect" expectations.
11230
11231Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11232
11233 * gdb.t00/default.exp: Change expected output for default "source"
11234 command, to match new gdb behavior which requires a filename to
11235 source.
11236
11237Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11238
11239 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11240 expected fail for i486-*-* that misses the marker2 function.
11241 * gdb.t10/crossload.exp (bfddefault): Allow successful
11242 recognition of a format to pass even if no symbols are found.
11243 Explicitly catch failures where the format is not recognized
11244 or is ambiguous, and add the reason to the fail message.
11245 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11246 the cause is and invalid target and add reason to failure message.
11247 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11248 elf32-i386, elf32-sparc, and elf32-i860.
11249 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11250 Set up expected failure for 'filename'::variable scope resolution,
11251 which is now apparently broken on all targets.
11252 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11253 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11254 gdb.t23/templates.exp: Change failure for missing binfile into
11255 just a warning.
11256 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11257 references.
11258
11259Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11260
11261 * gdb.t00/default.exp: Add expected output for default "source"
11262 command, to match new gdb behavior.
11263 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11264
11265Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11266
11267 * config/*-gdb.exp: returns an error, rather than exiting on
11268 internal errors.
11269
11270Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11271
11272 * gdb.t03/gdbme.c: Add pointer to struct variable.
11273 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11274 referencing struct members.
11275
11276Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11277
11278 * configure.in (mips-idt-ecoff): New target.
11279 * config/mips-gdb.exp: New file for remote board using MIPS remote
11280 debugging protocol.
11281
11282 * Redid configuration scheme. Removed gdb.t*/configure.in.
11283 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11284 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11285 distclean targets. Built executables via .o files. Adjusted
11286 tests to account for source files in $(srcdir) rather than
11287 $(objdir).
11288 * lib/gdb.exp (runto): Don't expect () after the function name,
11289 because it may have arguments.
11290
11291Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11292
11293 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11294 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11295 expected failures for mips-idt-* and mips-sgi-*.
11296 * gdb.t00/default.exp (attach): Kill process if requested.
11297 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11298 that does not read core files.
11299 * gdb.t01/run.exp: Removed checks for exit status code.
11300 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11301 it is linked in.
11302 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11303 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11304 appropriate, rather than doing it by hand.
11305 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11306 execution.
11307 * gdb.t10/crossload.exp: Kill existing program if needed.
11308 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11309 appropriate, rather than doing it by hand. Always increase
11310 timeout for this test, not just for VxWorks.
11311
11312Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11313
11314 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11315 of Chill STRUCT types and STRUCT values.
11316 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11317 than "char".
11318 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11319 struct2): New struct definitions and initializations to test
c906108c
SS
11320 simple Chill STRUCT types.
11321
11322Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11323
11324 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11325 the null byte at the end of strings.
11326 * gdb.t00/default.exp: Make show version insensitive to copyright
11327 date.
11328 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11329 to avoid dependencies on target char signedness.
11330 * gdb.t16/printcmds.exp: Update expected results for explicitly
11331 unsigned char.
11332 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11333 now work.
11334 * gdb.t21/demangle.exp: Add many more patterns for template
11335 demangling, most of them being expected failures.
11336 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11337 string we are matching for, to match on the whole string.
11338 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11339 and fix a whole bunch that had incorrect expected output but were
11340 passing anyway because of the bug in "proc demangle".
11341 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11342 type.
11343 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11344
11345Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11346
11347 * gdb/testsuite: made modifications to testcases, etc., to allow
11348 them to work properly given the reorganization of deja-gnu and the
11349 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11350
11351Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11352
11353 * gdb/testsuite: Initial creation of gdb/testsuite.
11354 Migrated dejagnu testcases and support files for testing nm to
11355 gdb/testsuite from deja-gnu. These files were moved "as is"
11356 with no modifications. This migration is part of a major overhaul
11357 of dejagnu. The modifications to these testcases, etc., which
11358 will allow them to work with the new version of dejagnu will be
11359 made in a future update.
48efe704
AC
11360
11361For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11362\f
11363Local Variables:
ef043731 11364mode: change-log
c906108c
SS
11365left-margin: 8
11366fill-column: 74
11367version-control: never
11368End: