]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* elf32-h8300.c: Fix formatting.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6fa9022e
MC
12004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.cp/exception.exp: Fix typo in doco.
4
209721fe
MK
52004-01-09 Mark Kettenis <kettenis@gnu.org>
6
7 * gdb.base/gdb1476.exp: Fix typo.
8
ef11303e
MC
92004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10
11 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12 file.
13
041ab88c
MC
142004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15
16 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
17 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
18 Use gdb_compile. Remove restriction on gcc. Add some patterns
19 for recent version of gdb. Delete second half, which was a copy
20 of the first half with different build flags. This test is
21 still disabled because it is still not ready for production.
22
e36d075a
MC
232004-01-08 Michael Chastain <mec.gnu@mindspring.com>
24
25 * gdb.cp/exception.cc: Add copyright notice.
26 * gdb.cp/exception.exp: Add a notice that this file is broken
27 because of line number changes caused by addition of copyright
28 notice.
29
42b190ad
MC
302004-01-08 Michael Chastain <mec.gnu@mindspring.com>
31
32 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
33 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
34
8f25f06b
MC
352004-01-08 Michael Chastain <mec.gnu@mindspring.com>
36
37 * gdb.cp/classes.exp: Accept gnu abi 2.
38 * gdb.cp/derivation.exp: Likewise.
39 * gdb.cp/overload.exp: Likewise.
40 * gdb.cp/virtfunc.exp: Likewise.
41
06ded8b8
MC
422004-01-08 Michael Chastain <mec.gnu@mindspring.com>
43
44 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
45 semicolon after end of function.
46
77c26ae3
MC
472004-01-07 Michael Chastain <mec.gnu@mindspring.com>
48
49 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
50 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
51 boilerplate code for compiling and running the program under
52 test. Add some string method tests.
53
20757486
MC
542004-01-07 Michael Chastain <mec.gnu@mindspring.com>
55
56 * gdb.cp/bs15503.cc: Add copyright notice.
57 * gdb.cp/bs15503.exp: Adjust line number.
58
0fd3b503
MC
592004-01-07 Michael Chastain <mec.gnu@mindspring.com>
60
61 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
62 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
63
10d1bea8
MC
642004-01-07 Michael Chastain <mec.gnu@mindspring.com>
65
66 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
67 hp_cc_compiler.
68
2789202a
MC
692004-01-07 Michael Chastain <mec.gnu@mindspring.com>
70
71 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
72 * gdb.cp/ctti.exp: Use the marker instead of "next".
73 With gcc, run further before bailing.
74
b862f14c
MC
752004-01-07 Michael Chastain <mec.gnu@mindspring.com>
76
77 * gdb.cp/cttiadd.cc: Add copyright notice.
78 * gdb.cp/cttiadd1.cc: Likewise.
79 * gdb.cp/cttiadd2.cc: Likewise.
80 * gdb.cp/cttiadd3.cc: Likewise.
81
96da2469
MC
822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
83
84 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
85 Use gdb_test, gdb_test_multiple. Use floating-point values that
86 have exact representations in IEEE-ish formats.
87
053248ff
MC
882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
89
90 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
91 compilers. Delete duplicate call to get_compiler_info.
92 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
93 * gdb.base/volatile.exp: Likewise.
94
84acecdd
MK
952004-01-07 Mark Kettenis <kettenis@gnu.org>
96
97 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
98 memory at address 0.
99
fe11a27f
MC
1002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
101
102 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
103 to test for hp-ux assembler. Fix copyright years.
104
60ad077b
AC
1052004-01-07 Andrew Cagney <cagney@redhat.com>
106
107 * gdb.base/fileio.c (strerrno): Add "EBUSY".
108
1c9b8f33
AC
1092004-01-07 Andrew Cagney <cagney@redhat.com>
110
111 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
112 when creating the read-only file. From analysis by Roland McGrath
113 and Elena Zannoni.
114
753ccc7a
MC
1152004-01-06 Michael Chastain <mec.gnu@mindspring.com>
116
117 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
118
eca3e36b
MC
1192004-01-06 Michael Chastain <mec.gnu@mindspring.com>
120
121 * gdb.base/cvexpr.c: Be type-safe with function pointers and
122 data pointers.
123
f8d4bac4
MC
1242004-01-06 Michael Chastain <mec.gnu@mindspring.com>
125
126 * gdb.cp/m-static.exp: Compile one source file at a time.
127 Delete unused call to get_compiler_info.
128
9b4e0f94
MC
1292004-01-06 Michael Chastain <mec.gnu@mindspring.com>
130
131 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
132 * gdb.base/call-rt-st.exp: Likewise.
133 * gdb.base/nodebug.exp: Likewise.
134 * gdb.base/volatile.exp: Likewise.
135 * gdb.cp/ref-types.exp: Likewise.
136 * gdb.cp/templates.exp: Likewise.
137
023c1024
MK
1382004-01-05 Mark Kettenis <kettenis@gnu.org>
139
140 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
141
19703c4a
MC
1422004-01-05 Michael Chastain <mec.gnu@mindspring.com>
143
144 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
145 hppa*-hp-hpux*.
146
18b67037
MK
1472004-01-04 Mark Kettenis <kettenis@gnu.org>
148
ba6219c8
MK
149 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
150 x86_64-*-*.
151
18b67037
MK
152 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
153 sparc64-*-* and sparc*-solaris2*.
154
1bfbbb9d
MK
1552004-01-04 Mark Kettenis <kettenis@gnu.org>
156
157 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
158 return ${tests}" test. The ${tests} already mentions the
159 filename.
160
06846494
MC
1612004-01-02 Michael Chastain <mec.gnu@mindspring.com>
162
163 * gdb.cp/local.exp: Accept gcc abi 2.
164
3b0cb202
MC
1652004-01-02 Michael Chastain <mec.gnu@mindspring.com>
166
167 * gdb.cp/templates.exp: Accept gcc abi 2.
168
0643ec3f
MC
1692004-01-02 Michael Chastain <mec.gnu@mindspring.com>
170
171 * lib/compiler.cc: Remove supports_template_debugging.
172 * gdb.cp/templates.exp: Do not test supports_template_debugging.
173
d231d0b1
MC
1742004-01-01 Michael Chastain <mec.gnu@mindspring.com>
175
176 * gdb.cp/namespace.exp: Accept gcc abi 2.
177
44ffb27c
MC
1782004-01-01 Michael Chastain <mec.gnu@mindspring.com>
179
180 * gdb.cp/method.exp: Accept gcc abi 2.
181
184ad485
MC
1822004-01-01 Michael Chastain <mec.gnu@mindspring.com>
183
184 * gdb.cp/classes.exp: Generate identical results as old version.
185 * gdb.cp/derivation.exp: Likewise.
186 * gdb.cp/overload.exp: Likewise.
187 * gdb.cp/virtfunc.exp: Likewise.
188
116f09e7
MC
1892004-01-01 Michael Chastain <mec.gnu@mindspring.com>
190
191 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
192 mysterious bug with sourceware version of expect.
193
b1379776
MC
1942004-01-01 Michael Chastain <mec.gnu@mindspring.com>
195
196 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
197 current versions of gcc, including gcc abi 2. Remove gratuitous
198 restart of test program. Use gdb_test_multiple and gdb_test for
199 all tests. Add patterns to xfail missing "const" in "const char *"
200 and kfail PR gdb/1155.
201
6b7a4c0e
MC
2022004-01-01 Michael Chastain <mec.gnu@mindspring.com>
203
204 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
205 current versions of gcc, including gcc abi 2. Remove gratuitous
206 restart of test program. Use gdb_test_multiple and gdb_test for
207 all tests. Add patterns to kfail PR gdb/1498.
208
51615d72
MC
2092003-12-31 Michael Chastain <mec.gnu@mindspring.com>
210
211 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
212 current versions of gcc, including gcc abi 2. Use "breakpoint"
213 and "continue" instead of restarting the target program. Use
214 gdb_test_multiple and gdb_test for all tests.
215
7b79a9d7
MK
2162004-01-01 Mark Kettenis <kettenis@gnu.org>
217
218 * gdb.asm/asm-source.exp: Update copyright year. Link statically
219 for *-*-solaris2*.
220
1cd3489f
MC
2212003-12-31 Michael Chastain <mec.gnu@mindspring.com>
222
223 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
224 current versions of gcc, including gcc abi 2. Use "breakpoint"
225 and "continue" instead of restarting the target program several
226 times. Use gdb_test_multiple and gdb_test for all tests.
227
850742db
MC
2282003-12-18 Michael Chastain <mec.gnu@mindspring.com>
229
230 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
231 source files.
232
eb4bbda8
MC
2332003-12-16 Michael Chastain <mec.gnu@mindspring.com>
234
235 * gdb.base/environ.exp: Handle compiling test case from multiple
236 source files.
237
e42c7771
MC
2382003-12-16 Michael Chastain <mec.gnu@mindspring.com>
239
240 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
241
80e4b428
JB
2422003-12-17 Jim Blandy <jimb@redhat.com>
243
5f06973a
JB
244 * gdb.base/freebpcmd.c: Add copyright notice.
245
80e4b428
JB
246 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
247
0ab84fb7
MC
2482003-12-16 Michael Chastain <mec.gnu@mindspring.com>
249
250 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
251
1b3bb3d0
JB
2522003-12-13 Jim Blandy <jimb@redhat.com>
253
254 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
255
3a4c9371
KB
2562003-12-12 Kevin Buettner <kevinb@redhat.com>
257
258 * gdb.asm/frv.inc: New file.
259 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
260
a1dea79a
FF
2612003-12-09 Fred Fish <fnf@redhat.com>
262
263 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
264 functions to break1.c and leave prototypes behind. Add more
265 "set breakpoint NN here" comments.
266 * gdb.base/break1.c: New file.
267
268 * gdb.base/break.exp: Handle compiling test case from multiple
269 source files and change source file references as needed.
270 * gdb.base/completion.exp: Ditto.
271 * gdb.base/condbreak.exp: Ditto.
272 * gdb.base/define.exp: Ditto.
273 * gdb.base/ena-dis-br.exp: Ditto.
274 * gdb.base/info-proc.exp: Ditto.
275 * gdb.base/maint.exp: Ditto.
276 * gdb.base/until.exp: Ditto.
277
278 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
279 hardcoded line numbers.
280 * gdb.base/define.exp: Ditto.
281 * gdb.base/ena-dis-br.exp: Ditto.
282 * gdb.base/maint.exp: Ditto.
283 * gdb.base/until.exp: Ditto.
284
285 * gdb.base/completion.exp: Use "break1" for completion tests since
286 "break" is no longer a unique prefix.
287
5266b69c
AC
2882003-12-06 Andrew Cagney <cagney@redhat.com>
289
290 * gdb.base/structs.exp (test_struct_returns): When applicable, set
291 "return_value_unimplemented". When an unimplemented struct return
292 architecture, report incorrect values as a KFAIL
293
374451f0
MC
2942003-12-05 Michael Chastain <mec.gnu@mindspring.com>
295
296 * gdb.cp/rtti.exp: Accept new wording of warning from
297 cp_lookup_rtti_type.
298
ba9b20a7
MC
2992003-12-05 Michael Chastain <mec.gnu@mindspring.com>
300
301 Partial fix for PR testsuite/1456.
302 * gdb.base/scope.exp (test_at_main): Replace references to
303 gcc_compiled with calls to test_compiler_info.
304 (test_at_foo): Likewise.
305 (test_at_bar): Likewise.
306
b74b6d0b
MC
3072003-12-04 Michael Chastain <mec.gnu@mindspring.com>
308
309 Partial fix for PR testsuite/1456.
310 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
311 to test_compiler_info.
312
ccfa3402
MC
3132003-12-03 Michael Chastain <mec.gnu@mindspring.com>
314
315 * gdb.base/so-impl-ld.exp: Update copyright notice.
316
f6246aba
MC
3172003-12-02 Michael Chastain <mec.gnu@mindspring.com>
318
319 Partial fix for PR testsuite/1456.
320 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
321 to test_compiler_info.
322
13ae734a
MC
3232003-11-28 Michael Chastain <mec.gnu@mindspring.com>
324
325 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
326 from current versions of gdb. Clean up regular expressions.
327 Delete redundant timeout case.
328
d8e1cdee
MC
3292003-11-28 Michael Chastain <mec.gnu@mindspring.com>
330
331 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
332 from current versions of gdb. Clean up regular expressions.
333 Delete redundant timeout case.
334
96457b64
MC
3352003-12-01 Michael Chastain <mec.gnu@mindspring.com>
336
337 Partial fix for PR testsuite/1456.
338 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
339 gcc_compiled with call to test_compiler_info.
340
f35309fc
MC
3412003-11-30 Michael Chastain <mec.gnu@mindspring.com>
342
343 Partial fix for PR testsuite/1456.
344 * gdb.base/list.exp (test_list_function): Delete unused declaration
345 of gcc_compiled.
346
d7afdf9b
MC
3472003-11-29 Michael Chastain <mec.gnu@mindspring.com>
348
349 Partial fix for PR testsuite/1456.
350 * gdb.base/complex.exp: Replace reference to gcc_compiled with
351 call to test_compiler_info.
352
71507b56
MK
3532003-11-29 Mark Kettenis <kettenis@gnu.org>
354
355 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
356 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
357 it to create the appropriate note.inc.
358 * gdb.asm/asmsrc1.s: Include "note.inc".
359 * gdb.asm/netbsd.inc: New file.
360 * gdb.asm/empty.inc: New file.
361
f81f93f7
MC
3622003-11-28 Michael Chastain <mec.gnu@mindspring.com>
363
364 Partial fix for PR testsuite/1456.
365 * gdb.base/constvars.exp: Replace references to gcc_compiled with
366 calls to test_compiler_info.
367
9a77938e
MC
3682003-11-27 Michael Chastain <mec.gnu@mindspring.com>
369
370 Partial fix for PR testsuite/1456.
371 * gdb.base/volatile.exp: Replace references to gcc_compiled with
372 calls to test_compiler_info.
373
e8367dc7
MK
3742003-11-27 Mark Kettenis <kettenis@gnu.org>
375
376 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
377 pattern for the KFAILs.
378
526c61ee
AF
3792003-11-25 Adam Fedor <fedor@gnu.org>
380
381 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
382 * gdb.objc/objcdecode.m: New file.
383
28f2d600
AF
3842003-11-25 Adam Fedor <fedor@gnu.org>
385
386 * gdb.objc/nondebug.exp: Test for PR objc/1236.
387 * gdb.objc/nondebug.m: New file.
388
a3895cee
BE
3892003-11-26 Ben Elliston <bje@wasabisystems.com>
390
391 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
392 NetBSD as it does on FreeBSD. Modelled on a similar change by
393 Mark Kettenis on 2003-05-30.
394 (link-flags): Set to "--entry _start" regardless of target.
395 Special linker flags are to be appended to $link-flags.
396 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
397
c9f2c8a3
MC
3982003-11-25 Michael Chastain <mec.gnu@mindspring.com>
399
400 * gdb.cp/method.exp: Accept output of new demangler.
401
15a0587a 4022003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
403
404 * gdb/class2.exp: New file.
405 * gdb/class2.cc: New file.
406
3c00b570
MC
4072003-11-25 Michael Chastain <mec.gnu@mindspring.com>
408
409 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
410 of new demangler.
411
7027acc7
MK
4122003-11-23 Mark Kettenis <kettenis@gnu.org>
413
414 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
415 of gdb_test "run".
416
b0e1598a
MK
4172003-11-23 Mark Kettenis <kettenis@gnu.org>
418
419 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
420 "continue" into "run".
421
4d9eda44
MC
4222003-11-23 Michael Chastain <mec.gnu@mindspring.com>
423
424 Partial fix for PR testsuite/1456.
425 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
426 call to test_compiler_info.
427 * gdb.cp/ctti.exp: Likewise.
428 * gdb.cp/derivation.exp: Likewise.
429 * gdb.cp/member-ptr.exp: Likewise.
430 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
431 reference to gcc_compiled.
432
4332003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
434
435 Fix PR testsuite/1463.
436 * gdb.base/structs.exp (start_structs_test): Call
437 get_debug_format before using the debug format.
438
d422fe19
AC
4392003-11-22 Andrew Cagney <cagney@redhat.com>
440
441 * lib/gdb.exp (gdb_test_multiple): Add simple example.
442 * gdb.base/structs.exp: Use gdb_test_multiple.
443
039cf96d
AC
4442003-11-20 Andrew Cagney <cagney@redhat.com>
445
6882279b
AC
446 * gdb.base/structs.exp: Handle and recover from internal errors.
447 Replace "foo${n}" with "foo<n>" in test messages.
448
e53890ae
AC
449 * gdb.base/structs.exp: Update copyright. Rewrite.
450 * gdb.base/structs.c: Update copyright. Rewrite.
451
2b211c59
AC
452 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
453 resync count exceeded.
454
039cf96d
AC
455 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
456 from the internal error.
457 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
458 Original from Jim Blandy.
459 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 460
eac98b22
AC
4612003-11-19 Andrew Cagney <cagney@redhat.com>
462
463 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
464 KFAIL.
465
67455b2a
MK
4662003-11-17 Mark Kettenis <kettenis@gnu.org>
467
468 New testcase for PR backtrace/1435.
469 * gdb.arch/i386-unwind.exp: New file.
470 * gdb.arch/i386-unwind.c: New file.
471
853d6e5b
AC
4722003-11-17 Andrew Cagney <cagney@redhat.com>
473
474 * lib/gdb.exp (compiler_info): New global.
475 (test_compiler_info): New function.
476 (get_compiler_info): Set compiler_info.
477 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
478 "compiler_info" to gcc-<major>-<minor>.
479
38cf6e11
MC
4802003-11-15 Michael Chastain <mec.gnu@mindspring.com>
481
482 * gdb.trace/configure: Remove.
483
a50d3602
EZ
4842003-11-13 Elena Zannoni <ezannoni@redhat.com>
485
486 * gdb.base/break.c: Add comments to aid finding line numbers for
487 breakpoints.
488 * gdb.base/break.exp: Remove all references to explicit line
489 numbers.
490
d9407aaa
NC
4912003-11-11 Nick Clifton <nickc@redhat.com>
492
493 * gdb.base/shreloc.exp: Do not run for targets which do not
494 support shared objects.
495
db488fc1
CV
4962003-11-10 Corinna Vinschen <vinschen@redhat.com>
497
498 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
499 Don't run tests if nofileio flag is given.
500
6a90a18e
EZ
5012003-11-07 Elena Zannoni <ezannoni@redhat.com>
502
503 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
504 as well as 'Watchpoint'.
505
0b915e9c
EZ
5062003-11-06 Elena Zannoni <ezannoni@redhat.com>
507
508 Reported by Jim Ingham <jingham@apple.com>:
509 * gdb.base/annota1.exp: Match at least one occurrence of the
510 signal handler annotation.
511
d7e4b55f
EZ
5122003-11-06 Elena Zannoni <ezannoni@redhat.com>
513
514 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
515 as well as 'Watchpoint'.
516
2fe4e8d0
MC
5172003-11-05 Michael Chastain <mec@shout.net>
518
519 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
520
6ef88553
KW
5212003-11-03 Kris Warkentin <kewarken@qnx.com>
522
523 * gdb.arch/gdb1291.c: New test file.
524 * gdb.arch/gdb1291.exp: New test script.
525 * gdb.arch/gdb1431.c: New test file.
526 * gdb.arch/gdb1431.exp: New test script.
527
ae7dc4d8
MC
5282003-10-22 Michael Chastain <mec@shout.net>
529
530 * gdb.mi/pthreads.c: Add copyright notice.
531
c39d7427
MC
5322003-10-22 Michael Chastain <mec@shout.net>
533
534 * gdb.threads/pthreads.c: Add copyright notice.
535
8b7d96c1
MC
5362003-10-20 Michael Chastain <mec@shout.net>
537
538 * gdb.base/gdb1056.exp: New test script.
539
d1d69fdd
DJ
5402003-10-13 Daniel Jacobowitz <drow@mvista.com>
541
542 * gdb.threads/killed.exp: Use gdb_run_cmd.
543
7d605576
DJ
5442003-10-13 Daniel Jacobowitz <drow@mvista.com>
545
546 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
547 create a core file.
548 * gdb.threads/gcore-thread.exp: Likewise.
549
618ec112
CV
5502003-10-13 Corinna Vinschen <vinschen@redhat.com>
551
552 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
553 type, based on char type.
554 (struct bit_flags_short_t): New bitfield type, based on short type.
555 (init_bit_flags_char): New fuction.
556 (init_bit_flags_short): Ditto.
557 (print_bit_flags_char): Ditto.
558 (print_bit_flags_short): Ditto.
559 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
560
9367a73c
MC
5612003-10-11 Michael Chastain <mec@shout.net>
562
563 * gdb.base/call-rt-st.exp: Update copyright year.
564
1decf120
KI
5652003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
566
567 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
568 * gdb.disasm/sh3.s: Ditto.
569
5445b2ae
DJ
5702003-10-07 Daniel Jacobowitz <drow@mvista.com>
571
572 * gdb.threads/switch-threads.exp: New test.
573 * gdb.threads/switch-threads.c: New source file.
574
aec24853
CV
5752003-10-07 Corinna Vinschen <vinschen@redhat.com>
576
577 * gdb.base/ending-run.exp: Add sh specific case.
578
adc7428d
AC
5792003-10-06 Andrew Cagney <cagney@redhat.com>
580
581 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
582 * gdb.disasm/mn10200.exp: Delete obsolete file.
583
c9d37158
DJ
5842003-09-29 Daniel Jacobowitz <drow@mvista.com>
585
586 * ChangeLog: Correct an entry command.exp -> commands.exp.
587 * gdb.base/commands.exp (bp_deleted_in_command_test)
588 (temporary_breakpoint_commands): Check noargs.
589
79c2c32d
DC
5902003-09-25 David Carlton <carlton@kealia.com>
591
592 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
593 of some print tests, where appropriate. Add tests for C::D::cd,
594 E::ce, F::cXfX, G::XgX.
595 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
596
594e6d67
RE
5972003-09-25 Richard Earnshaw <rearnsha@arm.com>
598
599 * lib/java.exp (java_init): Import target_alias before using it.
600
10f0d451
DC
6012003-09-25 David Carlton <carlton@kealia.com>
602
603 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
604
274bcba0
EZ
6052003-09-23 Elena Zannoni <ezannoni@redhat.com>
606
607 * gdb.base/selftest.exp: Accomodate more instruction reordering
608 weirdness.
609
cdbf20f7
MC
6102003-09-17 Michael Chastain <mec@shout.net>
611
612 * gdb.cp/gdb1355.exp: New file.
613 * gdb.cp/gdb1355.c: New file.
614
71e06f80
CV
6152003-09-15 Corinna Vinschen <vinschen@redhat.com>
616
617 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
618 * gdb.asm/sh.inc: New file.
619
5c4e30ca
DC
6202003-09-11 David Carlton <carlton@kealia.com>
621
bd45b7af
DC
622 * gdb.cp/namespace.exp: Add tests for namespace types.
623 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
624 (test_namespace): New.
625
1c199746
EZ
6262003-09-11 Elena Zannoni <ezannoni@redhat.com>
627
628 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 629 * gdb.stabs/weird.exp: Ditto.
1c199746 630
04ed252f
MC
6312003-09-08 Michael Chastain <mec@shout.net>
632
633 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
634
d8a2d9e7
MC
6352003-09-07 Michael Chastain <mec@shout.net>
636
637 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
638 'parse error'.
639
161afb24
MK
6402003-09-07 Mark Kettenis <m.kettenis@osp.nl>
641
642 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
643
49f2741a
MC
6442003-08-30 Michael Chastain <mec@shout.net>
645
646 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
647 * gdb.gdb/observer.exp: Ditto.
648 * gdb.gdb/xfullpath.exp: Ditto.
649
8afa723e
MK
6502003-08-29 Mark Kettenis <kettenis@gnu.org>
651
652 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
653 *-*-*bsd*.
654
f31dfe3b
JJ
6552003-08-28 Jeff Johnston <jjohnstn@redhat.com>
656
657 * gdb.base/dump.exp: Skip for ia64.
658
4630e498
JJ
6592003-08-25 Jeff Johnston <jjohnstn@redhat.com>
660
661 * gdb.asm/asm-source.exp: Add ia64 support.
662 * gdb.asm/ia64.inc: New file.
663
1105b7ef
MC
6642003-08-22 Michael Chastain <mec@shout.net>
665
666 * gdb.cp: New directory.
667 * gdb.cp/*: Copy from gdb.c++/*.
668 * gdb.c++/*: Remove.
669 * Makefile.in: Change gdb.c++ to gdb.cp.
670 * configure.in: Ditto.
671 * configure: Regnerate.
672
c945b932
MK
6732003-08-18 Mark Kettenis <kettenis@gnu.org>
674
675 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
676 * gdb.arch/i386-prologue.c (gdb1338): Add function.
677
2b66634b
DJ
6782003-08-17 Daniel Jacobowitz <drow@mvista.com>
679
680 * mi-var-display.exp (-var-list-children weird): Accept function
681 pointers with argument types.
682 * mi1-var-display.exp (-var-list-children weird): Likewise.
683 * mi2-var-display.exp (-var-list-children weird): Likewise.
684
a356f73b
DJ
6852003-08-17 Daniel Jacobowitz <drow@mvista.com>
686
687 * gdb.base/annota3.exp: Add missing newline.
688
483417b8
MC
6892003-08-06 Michael Chastain <mec@shout.net>
690
691 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
692
c99c59c3
MS
6932003-08-12 Michael Snyder <msnyder@redhat.com>
694
695 * gdb.base/float.exp: Add test for SH.
696
55ed7501
MK
6972003-08-10 Mark Kettenis <kettenis@gnu.org>
698
699 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
700
1a371f2e
EZ
7012003-08-07 Elena Zannoni <ezannoni@redhat.com>
702
703 * gdb.base/completion.exp: Remove reduntant completion test
704 on filename.
705
e0f353ce
EZ
7062003-08-07 Elena Zannoni <ezannoni@redhat.com>
707
708 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
709 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
710 gdb.trace/save-trace.exp: Make sure that full pathnames are
711 escaped correctly.
712
5710a1af
EZ
7132003-08-07 Elena Zannoni <ezannoni@redhat.com>
714
715 * configure.in: Don't generate config.h from config.hin.
716 * configure: Regenerate.
717 * config.hin: Remove file.
718 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
719 * gdb.threads/pthreads.c: Ditto.
720
dcd81ce9
DJ
7212003-08-07 Daniel Jacobowitz <drow@mvista.com>
722
723 From Kei Sakamoto <sakamoto.kei@renesas.com>:
724 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
725 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
726 Replace ld24 with seth/add3.
727
6009d884
AC
7282003-08-02 Andrew Cagney <cagney@redhat.com>
729
730 * gdb.base/annota3.exp: New file.
731 * gdb.base/annota3.c: New file.
732 * gdb.c++/annota3.exp: New file.
733 * gdb.c++/annota3.cc: New file.
734
51514e06
MC
7352003-07-29 Michael Chastain <mec@shout.net>
736
737 * gdb.threads/tls.c (spin): Check errno only if sem_wait
738 actually failed.
739 (do_pass): Likewise.
740 * gdb.threads/tls.exp: Always initialize no_of_threads.
741
4ee6625b
DJ
7422003-07-27 Daniel Jacobowitz <drow@mvista.com>
743
744 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
745 pattern.
746 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
747 * gdb.threads/tls.exp: Recognize one case of the host library not
748 supporting TLS.
749
225f2bf6
AC
7502003-07-27 Andrew Cagney <cagney@redhat.com>
751
752 * gdb.base/fileio.exp: Use SH when running commands using
753 remote_exec.
754
bcb27c9f
DJ
7552003-07-24 Daniel Jacobowitz <drow@mvista.com>
756
757 From Kei Sakamoto <sakamoto.kei@renesas.com>:
758 * gdb.base/relocate.c (dummy): New padding array.
759
3d67be83
MS
7602003-07-22 Michael Snyder <msnyder@redhat.com>
761
762 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
763
764 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
765 patterns to be more general, accepting old and new output.
766 Some output chars (such as '+') also must be quoted.
767 Some addresses are displayed numerically instead of
768 symbolically.
769
57ba3b85
MS
7702003-07-23 Michael Snyder <msnyder@redhat.com>
771
686d097c
MS
772 * gdb.base/return2.exp: Don't test long-long return.
773
57ba3b85
MS
774 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
775 * gdb.disasm/t01_mov.exp: Ditto.
776 * gdb.disasm/t02_mova.s: Ditto.
777 * gdb.disasm/t02_mova.exp: Ditto.
778 * gdb.disasm/t03_add.s: Ditto.
779 * gdb.disasm/t03_add.exp: Ditto.
780 * gdb.disasm/t04_sub.s: Ditto.
781 * gdb.disasm/t04_sub.exp: Ditto.
782 * gdb.disasm/t05_cmp.s: Ditto.
783 * gdb.disasm/t05_cmp.exp: Ditto.
784 * gdb.disasm/t06_ari2.s: Ditto.
785 * gdb.disasm/t06_ari2.exp: Ditto.
786 * gdb.disasm/t07_ari3.s: Ditto.
787 * gdb.disasm/t07_ari3.exp: Ditto.
788 * gdb.disasm/t08_or.s: Ditto.
789 * gdb.disasm/t08_or.exp: Ditto.
790 * gdb.disasm/t09_xor.s: Ditto.
791 * gdb.disasm/t09_xor.exp: Ditto.
792 * gdb.disasm/t10_and.s: Ditto.
793 * gdb.disasm/t10_and.exp: Ditto.
794 * gdb.disasm/t11_logs.s: Ditto.
795 * gdb.disasm/t11_logs.exp: Ditto.
796 * gdb.disasm/t12_bit.s: Ditto.
797 * gdb.disasm/t12_bit.exp: Ditto.
798 * gdb.disasm/t13_otr.s: Ditto.
799 * gdb.disasm/t13_otr.exp: Ditto.
800
e00759ef
EZ
8012003-07-22 Elena Zannoni <ezannoni@redhat.com>
802
803 * gdb.threads/tls.exp :Add kfail for 'info address' case.
804
8bc2021f
EZ
8052003-07-22 Elena Zannoni <ezannoni@redhat.com>
806
807 * gdb.threads/tls.c : New file.
808 * gdb.threads/tls.exp : New file.
809 * gdb.threads/tls-main.c : New file.
810 * gdb.threads/tls-shared.c : New file.
811 * gdb.threads/tls-shared.exp : New file.
812
89320c4c
AS
8132003-07-22 Andreas Schwab <schwab@suse.de>
814
815 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
816
180dea7c
AS
8172003-07-20 Andreas Schwab <schwab@suse.de>
818
819 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
820 due to insn reordering.
821
0714963c
AC
8222003-07-15 Andrew Cagney <cagney@redhat.com>
823
824 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
825
98a23b3f
MC
8262003-07-15 Michael Chastain <mec@shout.net>
827
828 * gdb.base/gdb1250.exp: New file.
829 * gdb.base/gdb1250.c: New file.
830
27e417a2
ML
8312003-07-09 Michal Ludvig <mludvig@suse.cz>
832
833 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
834 expansion of size_t to 'unsigned long', not only to 'unsigned'.
835
8bc2021f
EZ
8362003-07-09 Elena Zannoni <ezannoni@redhat.com>
837
838 * gdb.threads/tls.c: New file.
839 * gdb.threads/tls.exp: New file.
840 * gdb.threads/tls-main.c: New file.
841 * gdb.threads/tls-shared.c: New file.
842 * gdb.threads/tls-shared.exp: New file.
843
d99968dc
EZ
8442003-07-09 Elena Zannoni <ezannoni@redhat.com>
845
846 * gdb.base/annota1.exp: Make sure that we properly escape the
847 full path of the source file. Xfail more permissive patterns,
848 due to a compiler debug info problem.
849
83876b3b
AS
8502003-07-07 Andreas Schwab <schwab@suse.de>
851
2705e972
AS
852 * gdb.asm/m68k.inc: New file.
853 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
854
83876b3b
AS
855 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
856 arguments"): Also match negative number.
857
858 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
859
3a871b37
DJ
8602003-07-03 Daniel Jacobowitz <drow@mvista.com>
861
862 * gdb.base/store.c (charest): New typedef.
863 (add_char): Rename to add_charest, update.
864 (wack_char): Rename to wack_charest, update types. Return l + r
865 to keep r live across the call.
866 (wack_short, wack_int, wack_long, wack_longest, wack_float)
867 (wack_double, wack_doublest): Return l + r to keep r live across
868 the call.
869 * gdb.base/store.exp: Accomodate store.c changes.
870
b2a7f303
DC
8712003-06-30 David Carlton <carlton@kealia.com>
872
873 * gdb.c++/maint.exp (test_invalid_name): New.
874 (test_first_component): Add tests for invalid names.
875
3c6cb4a1
MC
8762003-06-29 Michael Chastain <mec@shout.net>
877
878 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
879 output of '<VTT for class>' for virtual base classes.
880
f1c2644b
DJ
8812003-06-29 Daniel Jacobowitz <drow@mvista.com>
882
883 * gdb.base/completion.exp: Tab-complete "complet" instead of
884 "compl".
885 * gdb.base/complex.exp, gdb.base/complex.c: New files.
886
18080350
DJ
8872003-06-29 Daniel Jacobowitz <drow@mvista.com>
888
889 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
890 * gdb.base/volatile.exp: Likewise.
891
f56973f8
DJ
8922003-06-29 Daniel Jacobowitz <drow@mvista.com>
893
894 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
895 gdb/1265.
896
8972003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
898 Daniel Jacobowitz <drow@mvista.com>
899
900 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
901 initial line count of 'captured_main' from 26 to 32.
902 (test_with_self): Allow xmalloc call to be interleaved with the
903 preceding two lines.
904
e766d4d6
JB
9052003-06-24 Joel Brobecker <brobecker@gnat.com>
906
907 * gdb.base/bang.exp: New testcase.
908
f125c9a4
JB
9092003-06-23 Joel Brobecker <brobecker@gnat.com>
910
911 * gdb.base/langs.exp: Add some tests for the "minimal" language
912 support.
913
6e25beaf
EZ
9142003-06-23 Elena Zannoni <ezannoni@redhat.com>
915
916 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
917 the testcase.
918
2f816dda
DJ
9192003-06-22 Daniel Jacobowitz <drow@mvista.com>
920
921 * gdb.base/relocate.exp: Test add-symbol-file with a variable
922 offset.
923
db5a5748
DJ
9242003-06-22 Daniel Jacobowitz <drow@mvista.com>
925
926 * gdb.c++/pr-1210.cc: New file.
927 * gdb.c++/pr-1210.exp: New file.
928
1df0c130
DJ
9292003-06-21 Daniel Jacobowitz <drow@mvista.com>
930
931 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
932 000-exec-continue.
933
a92feac0
MK
9342003-06-15 Mark Kettenis <kettenis@gnu.org>
935
936 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
937 on *-*-*bsd* instead of *-*-freebsd*.
938
81a58f5b
AC
9392003-06-14 Andrew Cagney <cagney@redhat.com>
940
941 * gdb.base/store.exp: Test longest and doublest. Test all
942 parameters. Weaken return statement match.
943 * gdb.base/store.c: Add longest and doublest - aka long long and
944 long double functions. Put all parameters into local register
945 variables. Use negative values.
946
b257a0d3
AC
9472003-06-14 Andrew Cagney <cagney@redhat.com>
948
949 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
950 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
951 exit status.
952 * gdb.base/fileio.exp: Disable target when nointerrupts and
953 noinferiorio, instead of limiting it to remote. Use remote_exec
954 instead of system.
955
21c38304
JJ
9562003-06-12 Jeff Johnston <jjohnstn@redhat.com>
957
958 * gdb.base/float.exp: Add ia64 support.
959
1bcdb424
CV
9602003-06-12 Corinna Vinschen <vinschen@redhat.com>
961
962 * gdb.base/fileio.exp: Run only on remote targets.
963
6aeb981f
CV
9642003-06-10 Corinna Vinschen <vinschen@redhat.com>
965
966 * gdb.base/fileio.c: New file, testing File-I/O.
967 * gdb.base/fileio.exp: Ditto.
968
53df362e
RG
9692003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
970
971 * gdb.base/shreloc.exp: New file, check symbol values obtained from
972 shared objects after relocation at load time (gdb PR/1132).
973 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
974 as above, part of the shared object relocation test.
975
ffee1b46
MK
9762003-06-08 Mark Kettenis <kettenis@gnu.org>
977
b5ca3722
MK
978 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
979 fully filled history list.
980 * gdb.base/gdb_history: New file.
981
03ed860d
MK
982 * gdb.base/signals.exp: XFAIL "continue to func1" on
983 i*86-*-freebsd*.
984
ffee1b46
MK
985 * gdb.base/attach.exp: When trying to attach to a nonexistent
986 process, make it possible to specify the PID based on the target,
987 and do so for *-*-freebsd*.
988
d80dbb52
RH
9892003-06-02 Richard Henderson <rth@redhat.com>
990
991 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
992
6dd77b81
RH
9932003-06-02 Richard Henderson <rth@redhat.com>
994
995 * gdb.base/selftest.exp: Next over lim_at_start initialization.
996
f6347e16
RH
9972003-06-02 Richard Henderson <rth@redhat.com>
998
999 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1000
2c161407
DJ
10012003-06-01 Daniel Jacobowitz <drow@mvista.com>
1002
1003 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1004 of globalvar.
1005
572eb746
MK
10062003-06-01 Mark Kettenis <kettenis@gnu.org>
1007
1008 * gdb.asm/asm-source.exp: Check for memory read errors in
1009 disassembler test on *BSD too.
1010
9e9617a5
RH
10112003-06-01 Richard Henderson <rth@redhat.com>
1012
1013 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1014 for .frame.
1015 (gdbasm_call): Lose ldgp.
1016 (gdbasm_startup): Add frame information.
1017 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1018
7b34ad4e
MK
10192003-05-31 Mark Kettenis <kettenis@gnu.org>
1020
1021 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1022 i?86-*-*.
1023
10059fdf
MK
10242003-05-30 Mark Kettenis <kettenis@gnu.org>
1025
1026 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1027 FreeBSD.
1028
acf4b816
RH
10292003-05-29 Richard Henderson <rth@redhat.com>
1030
1031 * gdb.asm/alpha.inc: New file.
1032 * gdb.asm/asm-source.exp: Use it.
1033
e9ecd949
JB
10342003-05-29 Jim Blandy <jimb@redhat.com>
1035
1036 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1037 'core.PID'.
1038
e3e5a4f3
JB
10392003-05-22 Jim Blandy <jimb@redhat.com>
1040
1041 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1042 backtrace.
1043
72fe3d25
DC
10442003-05-20 David Carlton <carlton@math.stanford.edu>
1045
1046 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1047 this time.
1048
58da2eb2
DC
10492003-05-19 David Carlton <carlton@bactrian.org>
1050
1051 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1052 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1053
1fcb5155
DC
10542003-05-19 David Carlton <carlton@bactrian.org>
1055
1056 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1057 namespace tests.
1058 Bump copyright date.
1059 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1060 (main): Call C::D::marker2.
1061 * gdb.c++/namespace1.cc: New file.
1062
85e85163
JJ
10632003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1064
1065 Roland McGrath <roland@redhat.com>
1066 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1067 there is no manager thread.
1068
a25fbfec
JJ
10692003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1070
1071 * gdb.threads/schedlock.exp: Remove assumption that all threads
1072 will run in a particular small time slice. Also ensure we break
1073 in one of the child threads rather than the main thread.
1074
be375bae
JB
10752003-05-07 Jim Blandy <jimb@redhat.com>
1076
09bf6082
JB
1077 Add support for assembly source testing on the s390x.
1078 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1079 architecture.
1080 * gdb.asm/s390x.inc: New file.
1081
be375bae
JB
1082 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1083 succession of 'if' statements.
1084
00905d52
AC
10852003-05-05 Andrew Cagney <cagney@redhat.com>
1086
1087 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1088
b1e29e33
AC
10892003-05-05 Andrew Cagney <cagney@redhat.com>
1090
1091 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1092 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1093
e33d66ec
EZ
10942003-05-02 Elena Zannoni <ezannoni@redhat.com>
1095
1096 * gdb.base/charset.exp: Update based on new behavior of set/show
1097 charset commands.
1098
2b6fd0d8
AC
10992003-05-01 Andrew Cagney <cagney@redhat.com>
1100
1101 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1102 variable do not give memory errors.
1103
130cacce
AF
11042003-04-30 Adam Fedor <fedor@gnu.org>
1105
1106 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1107 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1108 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1109 gdb.objc/basicclass.m: : New files
1110
1111 * lib/gdb.exp (gdb_compile_objc): New procedure.
1112
bea71854
DJ
11132003-04-27 Daniel Jacobowitz <drow@mvista.com>
1114
1115 * gdb.base/signals.exp: Make backtrace tests more specific.
1116
0f20eeea
DC
11172003-04-23 David Carlton <carlton@bactrian.org>
1118
1119 * gdb.c++/maint.exp (test_first_component): Add tests for
1120 'operator' in more locations.
1121
c8c4d8dc
KB
11222003-04-16 Kevin Buettner <kevinb@redhat.com>
1123
1124 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1125
3fe60e3c
EZ
11262003-04-16 Elena Zannoni <ezannoni@redhat.com>
1127
1128 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1129 func marke' instead. Update test name.
1130
9219021c
DC
11312003-04-15 David Carlton <carlton@math.stanford.edu>
1132
1133 * gdb.c++/maint.exp: New file.
1134
5dd55bdd
EZ
11352003-04-14 Elena Zannoni <ezannoni@redhat.com>
1136
1137 * gdb.threads/schedlock.c: Change type of thread function argument
1138 to long, to avoid warnings on 64-bit platforms.
1139
00890572
EZ
11402003-04-14 Elena Zannoni <ezannoni@redhat.com>
1141
1142 * gdb.base/attach.exp: Add new message from ptrace in case of
1143 attaching to nonexistent process.
1144
93201743
JB
11452003-04-11 Jim Blandy <jimb@redhat.com>
1146
1147 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1148 gdb.c++/userdef.cc: Place comments on the lines to which the
1149 marker function might return.
1150 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1151 gdb.c++/userdef.exp: Look for those comments to check that we've
1152 returned to the right place, instead of checking line numbers.
1153
2a11c64d
EZ
11542003-04-11 Elena Zannoni <ezannoni@redhat.com>
1155
1156 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1157 match on sourcefile name, instead of directory name.
1158
68ab8fc5
EZ
11592003-04-10 Elena Zannoni <ezannoni@redhat.com>
1160
1161 * gdb.base/completion.exp: Use string_to_regexp to match the
1162 working directory name.
1163
5624293a
JB
11642003-04-09 Jim Blandy <jimb@redhat.com>
1165
1166 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1167 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1168 after an inferior function call, report the failure, but allow the
1169 test to continue.
1170
f1f02ee4
SC
11712003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1172
1173 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1174 with -DPROTOTYPES.
1175
6eb79af0
SC
11762003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1177
1178 * gdb.base/break.exp: Revert last patch.
1179
8dfb4cf0
SC
11802003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1181
1182 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1183 with -DPROTOTYPES.
1184
ed4c619a
AC
11852003-04-02 Andrew Cagney <cagney@redhat.com>
1186
1187 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1188 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1189 matching directories by the name breakpoint.
1190 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1191 Make "continue to marker1" consistent.
1192 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1193 message consistent.
1194 * lib/gdb.exp: Put "the program is no longer running", and "the
1195 program exited" in parenthesis.
1196 * lib/mi-support.exp: Ditto.
1197
4e35d5f0
BR
11982003-04-02 Bob Rossi <bob_rossi@cox.net>
1199
1200 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1201
71900fe8
AC
12022003-03-29 Andrew Cagney <cagney@redhat.com>
1203
1204 * gdb.base/sizeof.c (main): Print the value of '\377'.
1205 * gdb.base/sizeof.exp: Check the sign of '\377'.
1206
c0655a16
MC
12072003-03-27 Michael Chastain <mec@shout.net>
1208
1209 * gdb.base/gdb1090.exp: New file.
1210 * gdb.base/gdb1090.cc: New file.
1211
5b2a3989
JB
12122003-03-27 J. Brobecker <brobecker@gnat.com>
1213
1214 * gdb.gdb/observer.exp: New regression test.
1215
79876890
MC
12162003-03-27 Michael Chastain <mec@shout.net>
1217
1218 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1219 * gdb.base/ptype.exp: Likewise.
1220
6eac95e3
CV
12212003-03-27 Corinna Vinschen <vinschen@redhat.com>
1222
1223 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1224
e8c71839
MC
12252003-03-26 Michael Chastain <mec@shout.net>
1226
1227 * gdb.base/ptype.exp: Actually use some typedef'd types.
1228
71b10041
SC
12292003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1230
1231 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1232 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1233
2512cf80
CV
12342003-03-20 Corinna Vinschen <vinschen@redhat.com>
1235
1236 * gdb.base/default.exp: Fix regular expression.
1237
0d195a4f
CV
12382003-03-20 Corinna Vinschen <vinschen@redhat.com>
1239
1240 * gdb.base/args.exp: Fix regular expression.
1241
8a2dbca8
CV
12422003-03-20 Corinna Vinschen <vinschen@redhat.com>
1243
1244 * gdb.base/help.exp: Allow Win32 child process.
1245
bf028682
CV
12462003-03-20 Corinna Vinschen <vinschen@redhat.com>
1247
1248 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1249 when stepping out of main().
1250
182dbe85
CV
12512003-03-20 Corinna Vinschen <vinschen@redhat.com>
1252
1253 * gdb.base/default.exp: Check for win32 specific message when calling
1254 "run" without executable.
1255
d67a6ba5
CV
12562003-03-20 Corinna Vinschen <vinschen@redhat.com>
1257
1258 * gdb.base/args.exp: Expect .exe in output.
1259
a955b5bb
CV
12602003-03-20 Corinna Vinschen <vinschen@redhat.com>
1261
1262 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1263 Cygwin native.
1264
bf6bad4b
AC
12652003-03-17 Andrew Cagney <cagney@redhat.com>
1266
1267 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1268 vector registes.
1269 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1270 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1271
293e9a31
DC
12722003-03-17 David Carlton <carlton@math.stanford.edu>
1273
1274 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1275 test, for PR breakpoints/38.
1276 Call test_watchpoint_and_breakpoint.
1277 * gdb.base/watchpoint.c (func3): New function.
1278 (main): Call func3.
1279
5330f2db
DC
12802003-03-04 David Carlton <carlton@math.stanford.edu>
1281
1282 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1283 Garply<Garply<char> >:: garply".
1284 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1285 with respect to PR c++/1111; note also PR c++/1113.
1286 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1287 respect to PR c++/1062.
1288 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1289
6ece72da
DC
12902003-03-03 David Carlton <carlton@math.stanford.edu>
1291
1292 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1293 with respect to PR c++/57.
1294 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1295 c++/826.
1296 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1297 respect to PR c++/57.
1298
85ca1584
DC
12992003-03-03 David Carlton <carlton@math.stanford.edu>
1300
1301 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1302 respect to PR c++/33 into FAILs.
1303
98e9c5b8
MC
13042003-03-03 Michael Chastain <mec@shout.net>
1305
7bedbf27
MC
1306 * configure.in: Update copyright years.
1307
13082003-03-03 Michael Chastain <mec@shout.net>
1309
1310 * Makefile.in: Update copyright years.
98e9c5b8 1311
f683e100
DC
13122003-02-28 David Carlton <carlton@math.stanford.edu>
1313
1314 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1315 print class instead of struct and/or superfluous protection
1316 specifiers, as long as the resulting output is equivalent to the
1317 source code.
1318 Delete FIXME from end of messages on tests that don't need
1319 fixing.
1320
a9e0cf2c
DC
13212003-02-28 David Carlton <carlton@math.stanford.edu>
1322
1323 * gdb.c++/templates.exp (do_tests): Allow const in the two
1324 Foo<volatile char *>::foo tests.
1325
e8d359df
MS
13262003-02-27 Michael Snyder <msnyder@redhat.com>
1327
1328 * gdb.base/restore.c (main): Return zero, so exit code
1329 will be consistant.
1330
0b71dc91
DC
13312003-02-26 David Carlton <carlton@math.stanford.edu>
1332
1333 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1334 char *>::foo" test with respect to PR c++/33. Create a new test
1335 which is identical to that one except that it doesn't put the
1336 space between the "char" and the "*"; KFAIL it, too.
1337
dd14ab43
DC
13382003-02-26 David Carlton <carlton@math.stanford.edu>
1339
1340 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1341 template types into either PASSes or KFAILs (corresponding to PR
1342 c++/57). Tweak indentation. Update copyright.
1343
1146c7f1
SC
13442003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1345
1346 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1347
74641dfb
MC
13482003-02-13 Michael Chastain <mec@shout.net>
1349
1350 * gdb.base/exprs.exp: Remove i960 remnants.
1351 * gdb.base/funcargs.exp: Likewise.
1352 * gdb.base/list.exp: Likewise.
1353 * gdb.base/ptype.exp: Likewise.
1354
559cd2d0
DC
13552003-02-14 David Carlton <carlton@math.stanford.edu>
1356
1357 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1358 pEe->D::vg()" from XFAIL to KFAIL.
1359
c4f90d87
JM
13602003-02-13 Jason Molenda (jmolenda@apple.com)
1361
1362 * gdb.base/maint.exp: Update maint print statistics regexp to include
1363 new entries.
1364
cbc4d97c
MC
13652003-02-13 Michael Chastain <mec@shout.net>
1366
1367 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1368
40f235b7
MC
13692003-02-12 Michael Chastain <mec@shout.net>
1370
1371 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1372 * gdb.c++/inherit.exp: Likewise.
1373 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1374 * gdb.c++/templates.exp: Likewise.
1375 * gdb.c++/virtfunc.exp: Likewise.
1376
c56716b0
JM
13772003-02-06 Jason Molenda (jason-cl@molenda.com)
1378
1379 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1380 why the code is written that way.
1381
070afcf8
MC
13822003-02-05 Michael Chastain <mec@shout.net>
1383
1384 * gdb.base/dump.exp: Add missing copyright line.
1385
5d0331e5
JM
13862003-02-05 Jason Molenda (jason-cl@molenda.com)
1387
f7ae6d3e 1388 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1389 at the beginning so the breakpoint doesn't get set on the loop.
1390
92851186
MC
13912003-02-05 Michael Chastain <mec@shout.net>
1392
1393 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1394 output for configurations with gcc 2.95.3.
1395
cbf1e085
AC
13962003-02-05 Keith Seitz <keiths@redhat.com>
1397 Andrew Cagney <ac131313@redhat.com>
1398
1399 * gdb.mi/mi-cli.exp: New file.
1400
29518e1e
MC
14012003-02-04 Michael Chastain <mec@shout.net>
1402
1403 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1404 Call perror and then continue.
1405
5af1d5f3
MC
14062003-02-03 Michael Chastain <mec@shout.net>
1407
1408 * gdb.c++/pr-1023.cc: New file.
1409 * gdb.c++/pr-1023.exp: New file.
1410
6b549786
JB
14112003-02-05 Jim Blandy <jimb@redhat.com>
1412
1413 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1414 it's local to foobar. Check for it there, and check that it's not
1415 present in main.
1416 * gdb.c++/local.cc (marker2): New function.
1417 (foobar): Call marker1.
1418 (main): Call marker2 instead of marker1.
1419
67f16606
AC
14202003-02-04 Andrew Cagney <ac131313@redhat.com>
1421
1422 * gdb.disasm/mn10200.exp: Obsolete file.
1423 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1424 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1425 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1426
1c5cb38e
DC
14272003-02-04 David Carlton <carlton@math.stanford.edu>
1428
1429 * gdb.c++/overload.exp: Test intToChar(1).
1430 * gdb.c++/overload.cc (intToChar): New.
1431 (main): Call intToChar.
1432
d1fe6965
DC
14332003-02-03 David Carlton <carlton@math.stanford.edu>
1434
1435 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1436 'might_kfail' arg.
1437 KFAIL some of the continue_to_bp_overloaded calls, according to
1438 PR c++/1025.
1439
9ba61c5d
MC
14402003-02-01 Michael Chastain <mec@shout.net>
1441
1442 * gdb.base/advance.c (marker1): New marker function.
1443 * gdb.base/advance.exp: When the 'advance' command lands on the
1444 return breakpoint, it can legitimately stop on either the
1445 current line or the next line. Accommodate both outcomes.
1446 * gdb.base/until.exp: Likewise.
1447
e7494ffb
AC
14482003-02-02 Andrew Cagney <ac131313@redhat.com>
1449
1450 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1451 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1452 now a list, not a tuple.
1453 * gdb.mi/mi-var-display.exp: Ditto.
1454 * gdb.mi/gdb792.exp: Ditto.
1455
075559bc
AC
14562003-02-01 Andrew Cagney <ac131313@redhat.com>
1457
1458 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1459 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1460 stack backtraces.
1461 * gdb.mi/mi-syn-frame.c: Part of same.
1462
2bd4c7b1
MK
14632003-02-01 Mark Kettenis <kettenis@gnu.org>
1464
1465 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1466 gdb.mi/mi1-pthreads.exp: Return instead of calling
1467 gdb_suppress_entire_file.
1468
eabd8992
MS
14692003-02-01 Mark Salter <msalter@redhat.com>
1470
1471 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1472
71469e2f
MS
14732003-01-31 Mark Salter <msalter@redhat.com>
1474
1475 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1476 Support empty arg.
1477
38a94d44
MC
14782003-01-30 Michael Chastain <mec@shout.net>
1479
1480 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1481 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1482 has been fixed in gdb/readline on 2003-01-09.
1483
19ea9e73
MS
14842003-01-29 Michael Snyder <msnyder@redhat.com>
1485
e8d359df
MS
1486 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1487 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1488 * gdb.base/args.exp: Skip if target does not support args passing.
1489
2307bd6a
DJ
14902003-01-22 Daniel Jacobowitz <drow@mvista.com>
1491
19ea9e73 1492 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1493 gdb_test. Accept a list of expect arguments as the third
1494 parameter.
1495 (gdb_test): Use it.
1496
f2dd3617
EZ
14972003-01-20 Elena Zannoni <ezannoni@redhat.com>
1498
1499 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1500 allow for different test tree configurations. Update some
1501 tescases accordingly.
1502 * gdb.arch/altivec-regs.exp: Ditto.
1503 * gdb.asm/asm-source.exp: Ditto.
1504 * gdb.base/advance.exp: Ditto.
1505 * gdb.base/display.exp: Ditto.
1506 * gdb.base/long_long.exp: Ditto.
1507 * gdb.base/mips_pro.exp: Ditto.
1508 * gdb.base/overlays.exp: Ditto.
1509 * gdb.base/relocate.exp: Ditto.
1510 * gdb.base/setshow.exp: Ditto.
1511 * gdb.base/step-line.exp: Ditto.
1512 * gdb.base/step-test.exp: Ditto.
1513 * gdb.base/until.exp: Ditto.
1514 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1515
c71cdefd
DC
15162003-01-17 David Carlton <carlton@math.stanford.edu>
1517
1518 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1519 corresponding to PR c++/945.
1520 Update copyright.
1521
fdba05d7
DC
15222003-01-17 David Carlton <carlton@math.stanford.edu>
1523
1524 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1525 corresponding to PR c++/68.
1526
15272003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1528
1529 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1530 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1531 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1532
c362c33a
EZ
15332003-01-15 Elena Zannoni <ezannoni@redhat.com>
1534
0fbc361c
EZ
1535 * gdb.base/break.exp: Fix change of default location, because of
1536 removal of until tests.
1537 * gdb.base/help.exp: Update test for new 'until' help message.
1538 Add test for help on 'advance'.
c362c33a
EZ
1539 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1540
dabf8a35
MK
15412003-01-15 Mark Kettenis <kettenis@gnu.org>
1542
1543 * gdb.base/default.exp: Adapt "info float" test for recent changes
1544 to that command. Add test for "info vector".
1545 * gdb.base/float.exp: New file. Add test for "info float" that
1546 resembles the old test in gdb.base/default.exp.
1547
a1769aca
DC
15482003-01-15 David Carlton <carlton@math.stanford.edu>
1549
1550 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1551
82025e13
EZ
15522003-01-15 Elena Zannoni <ezannoni@redhat.com>
1553
1554 * gdb.base/break.exp: Move the tests of until command from here...
1555 * gdb.base/until.exp: ... to here. New file. Add other tests.
1556 * gdb.base/advance.c: New file.
1557 * gdb.base/advance.exp: New file.
1558
8f9ab801
EZ
15592003-01-14 Elena Zannoni <ezannoni@redhat.com>
1560
1561 * gdb.base/args.c: New file.
1562 * gdb.base/args.exp: New file.
1563
9ae66589
DJ
15642003-01-14 Daniel Jacobowitz <drow@mvista.com>
1565
1566 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1567
8d77e5c3
DJ
15682003-01-14 Daniel Jacobowitz <drow@mvista.com>
1569
1570 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1571
12d2f0a1
DJ
15722003-01-14 Daniel Jacobowitz <drow@mvista.com>
1573
1574 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1575 dates.
1576
6ca37014
DJ
15772003-01-13 Daniel Jacobowitz <drow@mvista.com>
1578
1579 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1580
b0023472
DJ
15812003-01-13 Daniel Jacobowitz <drow@mvista.com>
1582
1583 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1584 (ptype &*"foo").
1585 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1586
d6abaea5
DJ
15872002-01-13 Daniel Jacobowitz <drow@mvista.com>
1588
1589 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1590 * gdb.mi/mi1-console.exp: Likewise.
1591
dfd536a7
DJ
15922002-01-13 Daniel Jacobowitz <drow@mvista.com>
1593
1594 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1595 * gdb.mi/mi1-console.exp: Likewise.
1596
a1fb14a2
DJ
15972003-01-13 Daniel Jacobowitz <drow@mvista.com>
1598
1599 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1600
c4cf40b7
DJ
16012003-01-09 Daniel Jacobowitz <drow@mvista.com>
1602
1603 * gdb.base/detach.exp: New test.
1604
696d5a5b
DJ
16052003-01-09 Daniel Jacobowitz <drow@mvista.com>
1606
1607 * Makefile.in (ALL_SUBDIRS): New variable.
1608 (subdirs, clean, distclean): Use it.
1609 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1610 regenerating Makefile, since it is generated from the top level.
1611 * gdb.asm/Makefile.in: Likewise.
1612 * gdb.base/Makefile.in: Likewise.
1613 * gdb.c++/Makefile.in: Likewise.
1614 * gdb.disasm/Makefile.in: Likewise.
1615 * gdb.java/Makefile.in: Likewise.
1616 * gdb.mi/Makefile.in: Likewise.
1617 * gdb.threads/Makefile.in: Likewise.
1618 * gdb.trace/Makefile.in: Likewise.
1619
754533e4
DC
16202003-01-09 David Carlton <carlton@math.stanford.edu>
1621
1622 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1623 Add copyright year 2003.
1624
d8b3e9ee
MC
16252003-01-06 Michael Chastain <mec@shout.net>
1626
1627 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1628 When selecting a thread, 'line' and 'file' are optional.
1629 * gdb.mi/mi1-pthreads.exp: Likewise.
1630
8e9e0fe6
AS
16312003-01-06 Andreas Schwab <schwab@suse.de>
1632
1633 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1634 failures.
1635
b5ab8ff3
DJ
16362003-01-04 Daniel Jacobowitz <drow@mvista.com>
1637
1638 Fix PR gdb/844
1639 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1640 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1641
1642 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1643 instead of calling gdb_suppress_entire_file.
1644 * gdb.threads/print-threads.exp: Likewise.
1645 * gdb.threads/schedlock.exp: Likewise.
1646
1647 * gdb.threads/killed.exp: Return instead of calling
1648 gdb_suppress_entire_file.
1649 * gdb.threads/linux-dp.exp: Likewise.
1650 * gdb.threads/pthreads.exp: Likewise.
1651
1e698235
DJ
16522003-01-04 Daniel Jacobowitz <drow@mvista.com>
1653
1654 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1655 stabs.
1656 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1657 * gdb.base/whatis.exp: Always allow (void) after function names.
1658
147ff08c
DJ
16592003-01-04 Daniel Jacobowitz <drow@mvista.com>
1660
1661 * gdb.c++/casts.exp: Correct regexp.
1662
dc62bfc2
MK
16632003-01-04 Mark Kettenis <kettenis@gnu.org>
1664
1665 * configure.in: Call AC_CONFIG_HEADER. Don't call
1666 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1667 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1668 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1669 aforementioned directories in the AC_OUPUT call.
1670 * config.hin: New file.
1671 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1672 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1673 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1674 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1675 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1676 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1677 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1678 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1679 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1680 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1681 gdb.threads/configure.in, gdb.threads/configure,
1682 gdb.threads/config.in, gdb.trace/configure.in,
1683 gdb.trace/configure: Removed.
1684
77afa639
MC
16852003-01-03 Michael Chastain <mec@shout.net>
1686
1687 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1688 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1689
7634bb6e
DJ
16902003-01-03 Daniel Jacobowitz <drow@mvista.com>
1691
1692 * gdb.base/store.exp: Fix regular expressions.
1693
b39c905e
MK
16942002-12-28 Mark Kettenis <kettenis@gnu.org>
1695
1696 * configure.in: Rewrite.
1697 * configure: Regenerated.
1698
0a8551dd
DC
16992003-01-03 David Carlton <carlton@math.stanford.edu>
1700
1701 * gdb.base/psymtab.exp: New file.
1702 * gdb.base/psymtab1.c: Ditto.
1703 * gdb.base/psymtab2.c: Ditto.
1704
c60b7188
AF
17052002-12-23 Adam Fedor <fedor@gnu.org>
1706
1707 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1708
ee73db83
DC
17092002-12-23 David Carlton <carlton@math.stanford.edu>
1710
1711 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1712 and current_directory initialization.
1713
d6c1774e
JB
17142002-12-22 Jim Blandy <jimb@redhat.com>
1715
f0a847b8
JB
1716 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1717 rather than as part of the output file name.
1718
d6c1774e
JB
1719 * gdb.base/attach.exp: There's no need to copy the test program to
1720 /tmp; that was only ever necessary on HP/UX, and this test is
1721 entirely disabled there anyway.
1722
f0708dbb
JB
17232002-12-21 Jim Blandy <jimb@redhat.com>
1724
4c2acfea
JB
1725 * gdb.c++/psmang.exp: Doc fix.
1726
f0708dbb
JB
1727 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1728 test.
1729
9579e000
DC
17302002-12-20 David Carlton <carlton@math.stanford.edu>
1731
1732 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1733
d1810171
MC
17342002-12-18 Michael Chastain <mec@shout.net>
1735
1736 * gdb.c++/annota2.exp: Add copyright year 2002.
1737
76565097
DC
17382002-12-17 David Carlton <carlton@math.stanford.edu>
1739
1740 * gdb.c++/try_catch.cc: Add marker comments.
1741 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1742 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1743 * gdb.c++/m-static.cc: Ditto.
1744 * gdb.c++/m-static1.cc: Ditto.
1745 * gdb.c++/try_catch.cc: Ditto.
1746
da81390b
JJ
17472002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1748
1749 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1750 to see whether we are using the new -environment-directory
1751 command which resets via -r or the old version of the command
1752 which may prompt the user. Part of fix for gdb/741.
1753
b304d130
AC
17542002-12-13 Andrew Cagney <ac131313@redhat.com>
1755
1756 * gdb.fortran/types.exp: Update obsolete comment.
1757 * gdb.fortran/exprs.exp: Ditto.
1758 * lib/gdb.exp: Delete obsolete code.
1759 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1760 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1761 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1762 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1763 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1764 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1765 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1766 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1767 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1768 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1769 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1770 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1771 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1772 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1773 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1774 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1775 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1776 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1777 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1778 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1779 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1780 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1781 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1782 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1783 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1784 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1785 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1786 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1787 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1788 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1789 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1790 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1791 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1792 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1793 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1794 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1795 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1796
a23b6e6a
DC
17972002-12-11 David Carlton <carlton@math.stanford.edu>
1798
1799 * gdb.c++/m-data.exp: Add test for members that shadow global
1800 variables: see PR gdb/804.
1801 * gdb.c++/m-data.cc: Ditto.
1802
6604731b
DJ
18032002-12-10 Daniel Jacobowitz <drow@mvista.com>
1804
1805 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1806
de46ecd7
DC
18072002-12-06 David Carlton <carlton@math.stanford.edu>
1808
1809 * gdb.base/store.c: Don't declare functions static.
1810
27e829d0
AC
18112002-12-04 Andrew Cagney <ac131313@redhat.com>
1812
1813 * gdb.base/store.exp, gdb.base/store.c: New files.
1814
92806416
DJ
18152002-12-03 Daniel Jacobowitz <drow@mvista.com>
1816
1817 * gdb.base/selftest.exp: Update for current gdb.
1818
3bcbaac5
DJ
18192002-12-03 Daniel Jacobowitz <drow@mvista.com>
1820
1821 * gdb.base/maint.exp: Only dump symbols from one source file
1822 or objfile.
1823
f4f00b1f
DJ
18242002-12-03 Daniel Jacobowitz <drow@mvista.com>
1825
1826 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1827 function call.
1828
f1c8a949
JB
18292002-11-25 Jim Blandy <jimb@redhat.com>
1830
1831 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1832 function appearing in error message.
1833
9e297a97
DJ
18342002-11-21 Daniel Jacobowitz <drow@mvista.com>
1835
1836 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1837
1f312e79
JJ
18382002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1839
1840 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1841 for mi1 and current mi is in correct format. New mi startup message
1842 should be in mi console format. This is part of fix for PR gdb/604.
1843
83c31e7d
FN
18442002-09-18 Fernando Nasser <fnasser@redhat.com>
1845
1846 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1847 which explicitly prints the zero offset as "+0".
1848
322b3f65
DJ
18492002-10-22 Daniel Jacobowitz <drow@mvista.com>
1850
1851 * gdb.threads/schedlock.c (args): Make unsigned.
1852
18532002-10-21 Daniel Jacobowitz <drow@mvista.com>
1854
1855 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1856 numbers. Allow "foo2|selected stack frame".
1857 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1858 * gdb.asm/asmsrc2.s: Likewise.
1859 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1860 comments.
1861 * gdb.asm/mips.inc: New file.
1862
5e2fe5b8
AF
18632002-10-18 Adam Fedor <fedor@gnu.org>
1864
1865 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1866 * gdb.base/help.exp: Likewise.
1867
abe1a5d0
KB
18682002-10-17 Kevin Buettner <kevinb@redhat.com>
1869
1870 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1871 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1872
10abb1d4
JB
18732002-10-02 Jim Blandy <jimb@redhat.com>
1874
1875 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1876
1f609b42
AC
18772002-10-01 Andrew Cagney <ac131313@redhat.com>
1878
1879 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1880 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1881 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1882 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1883 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1884 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1885 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1886
0aee02e4
AC
18872002-09-29 Andrew Cagney <ac131313@redhat.com>
1888
1889 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1890 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1891 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1892 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1893 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1894 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1895 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1896
6fde09ad
KB
18972002-09-27 Kevin Buettner <kevinb@redhat.com>
1898
1899 * gdb.base/annota1.exp (info break): Make directory components of
1900 path optional since not all compilers emit this debug information.
1901
1902 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1903 step ends up stepping out of the function instead of stopping on
1904 the epilogue.
1905
9e8aab75
KS
19062002-09-26 Keith Seitz <keiths@redhat.com>
1907
1908 * lib/insight-support.exp (gdbtk_start): Figure out where
1909 the insight executable is based on where gdb is. Use this
1910 executable to start insight instead of gdb.
1911
e36180d7
AC
19122002-09-25 Andrew Cagney <cagney@redhat.com>
1913
1914 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1915
9dd34b2b
AC
19162002-09-24 Andrew Cagney <ac131313@redhat.com>
1917
1918 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1919 test_isolated_complaints.
1920 (test_empty_complaint): New function.
1921 (test_empty_complaints): New function. Check no output when no
1922 complaints.
1923
dea97812
KB
19242002-09-19 Jim Blandy <jimb@redhat.com>
1925
1926 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1927
54951bd7
AC
19282002-09-19 Andrew Cagney <ac131313@redhat.com>
1929
1930 * gdb.gdb/complaints.exp: New file.
1931
dec43320
AC
19322002-09-18 Andrew Cagney <ac131313@redhat.com>
1933
1934 * gdb.base/maint.exp: Check `help maint internal-warning'.
1935
e70d6e3f
DC
19362002-09-18 David Carlton <carlton@math.stanford.edu>
1937
1938 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1939 numbers, and replace them by a single breakpoint after the
1940 constructors are all finished.
1941 Add test 4.
1942 * gdb.c++/m-static.cc: Add test 4.
1943 * gdb.c++/m-static.h: New file.
1944 * gdb.c++/m-static1.cc: New file.
1945
1946 * gdb.c++/printmethod.exp: New file.
1947 * gdb.c++/printmethod.cc: New file.
1948
1949 * gdb.c++/pr-574.exp: New file.
1950 * gdb.c++/pr-574.cc: New file.
1951
afb5c968
CV
19522002-09-18 Corinna Vinschen <vinschen@redhat.com>
1953
1954 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1955 embedded targets which never actually exit.
1956
31e45dee
FN
19572002-09-18 Fernando Nasser <fnasser@redhat.com>
1958
1959 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1960 "don't step after run" as unresolved or unsupported, instead of xfail.
1961
a283c5a1
CV
19622002-09-18 Corinna Vinschen <vinschen@redhat.com>
1963
1964 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1965 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1966 Add newline to expected string in "step out of main (status wrapper)"
1967 case.
1968
11350d2a
CV
19692002-09-18 Corinna Vinschen <vinschen@redhat.com>
1970
1971 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1972 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1973
0deec7d6
TT
19742002-09-17 Tom Tromey <tromey@redhat.com>
1975
1976 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1977 \000, not \0, in double-quoted string.
1978
b2b4a1b5
CV
19792002-09-14 Corinna Vinschen <vinschen@redhat.com>
1980
c9d37158 1981 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
1982 string after running the commands execution on breakpoint tests.
1983
1c56143a
CV
19842002-09-13 Corinna Vinschen <vinschen@redhat.com>
1985
1986 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1987
37f8da45
JB
19882002-09-12 Joel Brobecker <brobecker@gnat.com>
1989
1990 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1991
08b468e0
KS
19922002-09-10 Keith Seitz <keiths@redhat.com>
1993
1994 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1995 runto proc.
1996 (mi_run_to_main): Use mi_runto.
1997 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1998
dc360f58
KS
19992002-09-10 Keith Seitz <keiths@redhat.com>
2000
2001 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2002 regexp for stopping at main. Could have multiple event notifications.
2003 Don't assume that main was declared with no parameters.
2004 (mi_next): Use mi_step_to.
2005 (mi_step): Use mi_next_to.
2006
ce3abcfb
CV
20072002-09-09 Corinna Vinschen <vinschen@redhat.com>
2008
2009 * gdb.base/default.exp: Fix expected string in `info float' test.
2010
d1f5b980
BE
20112002-09-09 Ben Elliston <bje@redhat.com>
2012
2013 * config/mips.exp: Update comments.
2014 * config/mips-idt.exp: Likewise.
2015 * config/nind.exp: Likewise.
2016 * config/slite.exp: Likewise.
2017 * config/sparclet.exp: Likewise.
2018 * config/udi.exp: Likewise.
2019 * config/vx.exp: Likewise.
2020 * config/vxworks29k.exp: Likewise.
2021
2f71430b
JB
20222002-09-05 Jim Blandy <jimb@redhat.com>
2023
2024 * gdb.threads/killed.exp: Fix test failure message.
2025
7ddebc7e
KS
20262002-09-04 Keith Seitz <keiths@redhat.com>
2027
2028 * lib/mi-support.exp: Update copyright.
2029 (mi_gdb_test): Increase the priority of the expected pattern
2030 so that it matches gdb_test.
2031
0ae67eb3
KS
20322002-09-03 Keith Seitz <keiths@redhat.com>
2033
2034 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2035 Use integer comparison instead of string comparison for testing
2036 whether binary was built.
2037
38fc42c8
JB
20382002-09-03 Jim Blandy <jimb@redhat.com>
2039
2040 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2041
b6ff0e81
JB
20422002-08-29 Jim Blandy <jimb@redhat.com>
2043
2044 * gdb.threads/pthreads.exp: Move the portable thread compilation
2045 code into a function in lib/gdb.exp, and call that from here.
2046 * lib/gdb.exp (gdb_compile_pthreads): New function.
2047
07c98896
KS
20482002-08-29 Keith Seitz <keiths@redhat.com>
2049
2050 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2051 expect_out so that callers can get at it.
2052
0312286c
DJ
20532002-08-23 Daniel Jacobowitz <drow@mvista.com>
2054
2055 * gdb.threads/print-threads.c: New file.
2056 * gdb.threads/print-threads.exp: New file.
2057 * gdb.threads/schedlock.c: New file.
2058 * gdb.threads/schedlock.exp: New file.
2059
dd039bc4
EZ
20602002-08-22 Elena Zannoni <ezannoni@redhat.com>
2061
2062 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2063 not altivec.c.
2064
1f36144c
MK
20652002-08-17 Mark Kettenis <kettenis@gnu.org>
2066
2067 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2068 targets. The problem should be fixed now.
2069
16057ec7 20702002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2071
2072 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2073 2002-07-24 change that removes final dots from error messages.
2074
3c1499ad
TT
20752002-08-13 Tom Tromey <tromey@redhat.com>
2076
2077 * gdb.base/readline.exp: New file.
2078
a20ce2c3
AC
20792002-08-01 Andrew Cagney <ac131313@redhat.com>
2080
2081 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2082 supress message.
2083
db034ac5
AC
20842002-08-01 Andrew Cagney <cagney@redhat.com>
2085
2086 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2087 CHILL_FOR_TARGET and CHILL_LIB.
2088 * configure.in (configdirs): Remove gdb.chill.
2089 * configure: Regenerate.
2090 * lib/gdb.exp: Obsolete references to chill.
2091 * gdb.fortran/types.exp: Ditto.
2092 * gdb.fortran/exprs.exp: Ditto.
2093
3e000b18
KB
20942002-07-30 Kevin Buettner <kevinb@redhat.com>
2095
2096 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2097 set Irix-specific compile and link flags.
2098
28f4966b
KB
20992002-07-29 Kevin Buettner <kevinb@redhat.com>
2100
2101 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2102 source files. The ``-o'' option doesn't work with the ``-E'' option
2103 when using the Irix compiler.
2104
46c0d5a6
DJ
21052002-07-19 Daniel Jacobowitz <drow@mvista.com>
2106
2107 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2108 Improve support for reusing an exec file. Copy exec file
2109 to target, and run gdbserver on the target instead of on the host.
2110
eecf4bed
JB
21112002-07-18 Jim Blandy <jimb@redhat.com>
2112
0f815cdf
JB
2113 * gdb.base/ending-run.exp: Don't expect to see the program end in
2114 some orderly fashion when we're running on a real stand-alone
2115 board.
2116
eecf4bed
JB
2117 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2118 targets that don't support interrupts.
2119
52d309e4
JB
21202002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2121
2122 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2123 systems.
2124 Move comments in expect statements to inside the actions, so that they
2125 don't get matched against.
2126
ff683d9e
MK
21272002-07-10 Mark Kettenis <kettenis@gnu.org>
2128
2129 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2130 function when asleep" test.
2131
b5356753
AC
21322002-07-10 Andrew Cagney <ac131313@redhat.com>
2133
2134 * gdb.base/page.exp: Rewrite to handle problems with very long
2135 `info set' output. Update copyright.
2136
6aa4d13a
AC
21372002-06-26 Andrew Cagney <ac131313@redhat.com>
2138
2139 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2140 gdb.threads-hp.
2141 * gdb.hp/configure: Regenerate.
2142 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2143 * gdb.hp/gdb.threads-hp/configure: Delete file.
2144 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2145
8cf8c2b8
AC
21462002-06-22 Andrew Cagney <ac131313@redhat.com>
2147
2148 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2149 setlocale, bindtextdomain and textdomain.
2150
6827a8f8
JB
21512002-06-11 Jim Blandy <jimb@redhat.com>
2152
919d772c
JB
2153 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2154 preprocessor macro information is present.
2155
6827a8f8
JB
2156 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2157 tests.
2158
c15b0d21
MS
21592002-06-06 Michael Snyder <msnyder@redhat.com>
2160
c5984d70
MS
2161 * gdb.base/overlays.exp: Record addresses of overlay
2162 functions in TCL variables rather than in GDB variables,
2163 to avoid having GDB convert them to pointers (with loss
2164 of information).
2165
99a8512b
MS
2166 * gdb.base/d10v.ld: Merge in several years worth of
2167 default linker script changes.
c15b0d21
MS
2168 * gdb.base/long_long.exp: Add check for sizeof (long double).
2169
be26fe0d
ML
21702002-06-06 Michal Ludvig <mludvig@suse.cz>
2171
2172 * gdb.asm/asm-source.exp: Add x86-64 target.
2173 * gdb.asm/x86_64.inc: New.
2174
258093ca 21752002-05-30 Michael Chastain <mec@shout.net>
258093ca 2176
4b3153f1 2177 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2178 * gdb.c++/m-static.cc: New file.
2179 * gdb.c++/m-static.exp: New file.
2180
241264c6
MS
21812002-05-28 Michael Snyder <msnyder@redhat.com>
2182
2183 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2184 precision.
2185
9bba8c8f 21862002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2187
4b3153f1 2188 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2189 * gdb.c++/m-data.cc: New file.
2190 * gdb.c++/m-data.exp: New file.
2191
21922002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2193
4b3153f1 2194 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2195 * gdb.c++/try_catch.cc: New file.
2196 * gdb.c++/try_catch.exp: New file.
2197
def1b996
MC
21982002-05-27 Michael Chastain <mec@shout.net>
2199
2200 * gdb.c++/local.exp: Accept more nested types in output.
2201
522ba268
MC
22022002-05-26 Michael Chastain <mec@shout.net>
2203
2204 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2205
277254ba
MS
22062002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2207
2208 * lib/gdb.exp (gdb_wrapper_init): Just because
2209 gdb_wrapper_file exists, this does not mean that the file
2210 should not be rebuilt. That is what gdb_wrapper_initialized
2211 is for.
2212 (default_gdb_init): Reset gdb_wrapper_initialized.
2213
b61a8733
MS
22142002-05-23 Michael Snyder <msnyder@redhat.com>
2215
5bdb6d01
MS
2216 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2217 the precision of the floating point test results.
2218 * gdb.base/call-rt-st.exp: Ditto.
2219
b61a8733
MS
2220 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2221 * gdb.base/call-rt-st.exp: Ditto.
2222
56f6e910
MC
22232002-05-19 Michael Chastain <mec@shout.net>
2224
2225 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2226
ad0b0016
EZ
22272002-05-19 Elena Zannoni <ezannoni@redhat.com>
2228
2229 * configure.in (configdirs): Add gdb.arch.
2230 * configure: Regenerate.
2231
f617d2b6
JB
22322002-05-17 Jim Blandy <jimb@redhat.com>
2233
2234 * gdb.base/completion.exp: Recognize the more detailed error
2235 messages produced by the macro expander's lexical analyzer.
2236
eac2a696
EZ
22372002-05-14 Elena Zannoni <ezannoni@redhat.com>
2238
2239 * gdb.arch/altivec-abi.c: New file.
2240 * gdb.arch/altivec-abi.exp: New file.
2241 * gdb.arch/altivec-regs.c: New file.
2242 * gdb.arch/altivec-regs.exp: New file.
2243
2fdde8f8
DJ
22442002-05-14 Daniel Jacobowitz <drow@mvista.com>
2245
2246 * gdb.base/maint.exp (maint print type): Update for new type
2247 structure.
eac2a696 2248
e31f1a7c
EZ
22492002-05-14 Elena Zannoni <ezannoni@redhat.com>
2250
2251 * gdb.arch: New directory.
2252 * gdb.arch/configure.in: New file.
2253 * gdb.arch/configure: New file.
2254 * gdb.arch/Makefile.in: New file.
2255
db589741
CV
22562002-05-13 Corinna Vinschen <vinschen@redhat.com>
2257
2258 * gdb.asm/asm-source.exp: Add v850 as supported target.
2259 * gdb.asm/v850.inc: New file.
2260
8ce2a7dc
DJ
22612002-05-13 Daniel Jacobowitz <drow@mvista.com>
2262
2263 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2264
df763c7f
DJ
22652002-05-12 Daniel Jacobowitz <drow@mvista.com>
2266
2267 * gdb.base/break.exp: Check 'break "marker2"'.
2268
377daeed
MS
22692002-05-10 Michael Snyder <msnyder@redhat.com>
2270
2271 * gdb.base/long_long.exp: Fix typo.
2272
c4b7bc2b
JB
22732002-05-10 Jim Blandy <jimb@redhat.com>
2274
ecac9a4e
JB
2275 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2276 a bug.
2277
c4b7bc2b
JB
2278 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2279 Recognize more detailed error message produced by the macro
2280 expander's lexical analyzer.
2281 * lib/gdb.exp (test_print_reject): Same.
2282
e71019a1
MK
22832002-05-09 Mark Kettenis <kettenis@gnu.org>
2284
2285 * gdb.c++/method.exp: Fix typo.
2286
fedfc8e6
MS
22872002-05-08 Michael Snyder <msnyder@redhat.com>
2288
166a1957
MS
2289 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2290 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2291 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2292 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2293 Add iftarget clause for strongarm.
2294
f1c47eb2
MS
22952002-05-06 Michael Snyder <msnyder@redhat.com>
2296
cb9a9d3e
MS
2297 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2298 (gdb_continue_to_end): Accept output from status wrapper.
2299 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2300 Clean up fail messages to match pass messages.
2301
f1c47eb2
MS
2302 Enable the "needs_status_wrapper" testsuite feature.
2303 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2304 (gdb_compile): Conditionally call gdb_wrapper_init.
2305 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2306 * gdb.c++/method.exp: Recognize output from status wrapper.
2307
6079c749
BE
23082002-05-06 Ben Elliston <bje@redhat.com>
2309From Graydon Hoare <graydon@redhat.com>
2310
2311 * config/sid.exp: Include support for "rawsid" protocol.
2312
188baff3
JB
23132002-05-03 Jim Blandy <jimb@redhat.com>
2314
2315 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2316 * gdb.c++/hang3.C: New file.
2317
b9c07f0f
AC
23182002-05-04 Andrew Cagney <ac131313@redhat.com>
2319
2320 * gdb.base/default.exp: Remove obsolete code.
2321 * gdb.c++/misc.exp: Ditto. Update copyright.
2322 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2323 * gdb.base/whatis.exp: Ditto. Update copyright.
2324 * gdb.base/scope.exp: Ditto. Update copyright.
2325 * gdb.base/ptype.exp: Ditto. Update copyright.
2326 * gdb.base/printcmds.exp: Ditto. Update copyright.
2327 * gdb.base/opaque.exp: Ditto. Update copyright.
2328 * gdb.base/list.exp: Ditto.
2329 * gdb.base/funcargs.exp: Ditto. Update copyright.
2330 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2331 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2332 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2333 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2334 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2335 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2336
5c7a0397
MS
23372002-05-02 Michael Snyder <msnyder@redhat.com>
2338
d6dcc264 2339 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2340 * gdb.base/long_long.exp: Add xscale target.
2341 * gdb.base/default.exp: Add xscale target.
2342
eb7f1c48
JB
23432002-05-01 Jim Blandy <jimb@redhat.com>
2344
2345 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2346 gdb.c++/hang.exp: New test.
2347
a6befae8
FF
23482002-05-01 Fred Fish <fnf@redhat.com>
2349
2350 * gdb.base/completion.exp: Handle completions of "./Make" for
2351 more than one completion possibility, as is the case when we
2352 build and test in the source tree.
2353
0a310277
AG
23542002-04-29 Anthony Green <green@redhat.com>
2355
2356 * gdb.java/jmisc1.exp: New file.
2357 * gdb.java/jmisc2.exp: New file.
2358
6ff9af88
DJ
23592002-04-24 Daniel Jacobowitz <drow@mvista.com>
2360
2361 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2362
96b3d632
EZ
23632002-04-23 Elena Zannoni <ezannoni@redhat.com>
2364
2365 * gdb.base/help.exp: Change 'help status' to allow for target
2366 dependent output differences.
2367
5019bb54
MC
23682002-04-22 Michael Chastain <mec@shout.net>
2369
2370 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2371
a805a116
MC
23722002-04-22 Michael Chastain <mec@shout.net>
2373
2374 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2375
a1706bfd
DM
23762002-04-17 David S. Miller <davem@redhat.com>
2377
2378 * gdb.asm/sparc64.inc: New file.
2379 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2380
a73a20a2
EZ
23812002-04-19 Elena Zannoni <ezannoni@redhat.com>
2382
2383 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2384 instruction file directly into the build tree. Clean up at end of
2385 test.
2386
ba678339
DM
23872002-04-18 David S. Miller <davem@redhat.com>
2388
2389 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2390 handle 64-bit platforms correctly.
2391 * gdb.base/maint.exp: Likewise.
2392
b03399da
KB
23932002-04-18 Kevin Buettner <kevinb@redhat.com>
2394
2395 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2396 ``-fpic'' when compiling files comprising a shared library, but
2397 it does need additional linker flags in order to find shared
2398 libraries at run time.
2399
e2004992
KB
24002002-04-18 Kevin Buettner <kevinb@redhat.com>
2401
2402 * gdb.base/cvexpr.c (use): New function.
2403 (main): Invoke use() on all global variables to prevent
2404 some linkers from deleting these otherwise unused symbols.
2405
d8937120
MC
24062002-04-17 Michael Chastain <mec@shout.net>
2407From David S. Miller <davem@redhat.com>
2408
2409 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2410 handle 64-bit platforms correctly.
2411
ffd61a58
MS
24122002-04-12 Michael Snyder <msnyder@redhat.com>
2413From Jim Blandy <jimb@redhat.com>
2414 * gdb.base/foo.c (foox): Remove section attribute; the linker
2415 script can handle this instead.
2416 * gdb.base/bar.c (barx): Same.
2417 * gdb.base/baz.c (bazx): Same.
2418 * gdb.base/grbx.c (grbxx): Same.
2419
2420 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2421 manager doesn't automatically unmap overlays unnecessarily.
2422
6b8426a6
MH
24232002-04-10 Martin M. Hunt <hunt@redhat.com>
2424
2425 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2426 stepping out of main.
2427
34af4875
MC
24282002-04-09 Michael Chastain <mec@shout.net>
2429
2430 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2431 scope so that the nested scope tests will make sense.
2432 * gdb.c++/local.exp: Write patterns that actually work with gcc
2433 (the HP patterns "were never known to work with gcc").
2434 Keep the old aCC patterns too.
2435
2d1676a0
DJ
24362002-04-09 Daniel Jacobowitz <drow@mvista.com>
2437
2438 * gdb.base/attach.exp: Correct target board test.
2439
3a63e3f9
MC
24402002-04-08 Michael Chastain <mec@shout.net>
2441
2442 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2443 in a const method. Add some xfail and fail cases for configurations
2444 that do not emit the "const ...".
2445
f18dabd2
MC
24462002-04-07 Michael Chastain <mec@shout.net>
2447
2448 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2449 Accept "A * const" and "const A * const" as type of "this".
2450 Fix spelling of getFunky throughout. Make messages uniform.
2451
0fcddd82
EZ
24522002-04-07 Elena Zannoni <ezannoni@redhat.com>
2453
2454 Work around for PR gdb/285:
2455 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2456
16a8534a
EZ
24572002-04-07 Elena Zannoni <ezannoni@redhat.com>
2458
2459 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2460 instructions file at run time instead of configure time.
2461 Sometimes we run the test in a directory that is not the one we
2462 configured in.
2463 * gdb.asm/configure.in: Delete creation of symlink.
2464 * gdb.asm/configure: Regenerate.
2465
24181d81
JB
24662002-04-05 J. Brobecker <brobecker@gnat.com>
2467
2468 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2469 xfullpath () function.
2470
7cdb7107
DJ
24712002-04-04 Daniel Jacobowitz <drow@mvista.com>
2472
2473 * gdb.asm/Makefile.in: Correct dependencies.
2474
2475 * gdb.asm/powerpc.inc: New file.
2476 * gdb.asm/asm-source.exp: Add PowerPC.
2477 * gdb.asm/configure.in: Likewise.
2478 * gdb.asm/configure: Regenerated.
2479
a7d17088
DJ
24802002-04-04 Daniel Jacobowitz <drow@mvista.com>
2481
2482 * gdb.base/relocate.exp: New file.
2483 * gdb.base/relocate.c: New file.
2484
cd721503
FF
24852002-04-04 Fred Fish <fnf@redhat.com>
2486
2487 * gdb.base/step-test.exp: Update comment regarding stopping in
2488 memcpy/bcopy calls inserted as part of the compiler runtime.
2489
b22ad7a7
MS
24902002-04-04 Michael Snyder <msnyder@redhat.com>
2491
2492 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2493
5f279fa6
DJ
24942002-04-03 Daniel Jacobowitz <drow@mvista.com>
2495
2496 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2497 (gdb_expect): Remove $notransfer hack.
2498
dd0fd3ce
DJ
24992002-04-02 Daniel Jacobowitz <drow@mvista.com>
2500
2501 * gdb.c++/classes.exp ("calling method for small class"): Match
2502 updated register output.
2503
1e50cda1
DJ
25042002-03-30 Daniel Jacobowitz <drow@mvista.com>
2505
2506 Fix PR gdb/452
2507 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2508 when finished. Make gdb_file_cmd send "exec-file" when
2509 appropriate.
2510
24015922
DJ
25112002-03-30 Daniel Jacobowitz <drow@mvista.com>
2512
2513 * gdb.base/attach.exp: Remove extra setup_xfail.
2514
dd7dfd64
MS
25152002-03-26 Michael Snyder <msnyder@redhat.com>
2516
2517 * gdb.base/default.exp: Add tests for dump, append, and restore.
2518 * gdb.base/help.exp: Add tests for dump, append, and restore.
2519 * gdb.base/dump.exp: New file, test dump, append and restore.
2520 * gdb.base/dump.c: New file.
2521
48b2f8d7
MS
25222002-03-27 Michael Snyder <msnyder@redhat.com>
2523
2524 * gdb.base/help.exp: Modify expect strings to reflect
2525 clean-ups in help messages.
2526
05b4d525
FF
25272002-03-26 Fred Fish <fnf@redhat.com>
2528
2529 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2530 have debugging info for those functions and the compiler uses them
2531 internally to copy structs around.
2532
d7679631
FF
25332002-03-26 Fred Fish <fnf@redhat.com>
2534
2535 * gdb.base/list.exp: Revert the change made yesterday and add note
2536 about why we don't list the default lines for remote targets.
2537
523ac3f9
MS
25382002-03-25 Michael Snyder <msnyder@redhat.com>
2539
2540 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2541
754b2b8d
FF
25422002-03-25 Fred Fish <fnf@redhat.com>
2543
2544 * gdb.base/list.exp: This test works on remote targets so remove
2545 the short circuit for remote targets. Update copyright.
2546
33c3e192
FF
25472002-03-25 Fred Fish <fnf@redhat.com>
2548
2549 * gdb.base/attach.exp: Fix logic error that was suppressing this
2550 test for all non hppa*-*-hpux* targets, instead of the hp target.
2551 Move comments closer to the suppression point. Also now need to
2552 check that we are running natively.
2553
d43e73ee
MS
25542002-03-22 Michael Snyder <msnyder@redhat.com>
2555
882c8f02
MS
2556 * gdb.base/default.exp: Add test for gcore. Update copyright.
2557 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2558
04c12f60
FF
25592002-03-06 Fred Fish <fnf@redhat.com>
2560
2561 * gdb.base/funcargs.c: Remove extraneous ';' character.
2562 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2563
b43df995
MC
25642002-03-04 Michael Chastain <mec@shout.net>
2565
2566 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2567 accommodate gcc v3 function signature.
2568 * gdb.mi/mi0-var-cmd-exp: Ditto.
2569
92362027
AC
25702002-02-24 Andrew Cagney <ac131313@redhat.com>
2571
2572 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2573 ``GNU/Linux'' or ``Linux kernel''
2574 * testsuite/gdb.threads/pthreads.c: Ditto.
2575
258ad32d
MC
25762002-02-24 Michael Chastain <mec@shout.net>
2577
2578 * gdb.threads/pthreads.c (thread1): Add a return statement.
2579 (thread2): Likewise.
2580 (foo): Likewise.
2581
04c3b3d4
MC
25822002-02-23 Michael Chastain <mec@shout.net>
2583
2584 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2585 to placate gcc.
2586
5a2a0a20
MC
25872002-02-23 Michael Chastain <mec@shout.net>
2588
2589 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2590 test "ptype bint". The test passes on all my stabs configurations.
2591
a640f7fc
JB
25922002-02-21 Jim Blandy <jimb@redhat.com>
2593
27924826
JB
2594 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2595 filename at a time, and watch for the ones we want to see.
2596
a640f7fc
JB
2597 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2598 types of pointers to prototyped functions.
2599
edcc8c75
AC
26002002-02-20 Andrew Cagney <ac131313@redhat.com>
2601
2602 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2603 signed, unsigned and straight char.
2604 (padding_char, padding_short, padding_int, padding_long,
2605 padding_long_long, padding_float, padding_double,
2606 padding_long_double): New global variables.
2607 (fill, fill_structs): New functions.
2608
2609 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2610 for correctly sized writes. Update copyright.
2611 (get_valueof): New procedure.
2612 (get_sizeof): Call get_valueof.
2613 (check_valueof): New procedure.
2614 (check_padding): New procedure.
2615
ac57ea44
MC
26162002-02-20 Michael Chastain <mec@shout.net>
2617
2618 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2619 to setup_xfail. Document some of the remaining calls.
2620
7a10c941
MC
26212002-02-18 Michael Chastain <mec@shout.net>
2622
2623 * gdb.c++/userdef.exp: Update copyright year.
2624
fb8acdcc
DJ
26252002-02-18 Daniel Jacobowitz <drow@mvista.com>
2626
2627 * gdb.c++/userdef.exp: Test overloaded operators properly.
2628 Remove xfails.
2629
fda6ae12
MS
26302002-02-14 Michael Snyder <msnyder@redhat.com>
2631
2632 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2633
676a0442
DJ
26342002-02-14 Daniel Jacobowitz <drow@mvista.com>
2635
2636 * gdb.base/a2-run.exp: Check for a remote target properly.
2637 * gdb.base/annota1.exp: Likewise.
2638 * gdb.base/list.exp: Likewise.
2639 * gdb.base/reread.exp: Likewise.
2640 * gdb.base/scope.exp: Likewise.
2641 * gdb.base/shlib-call.exp: Likewise.
2642 * gdb.base/term.exp: Likewise.
2643 * gdb.c++/annota2.exp: Likewise.
2644
78b4f468
RE
26452002-02-13 Richard Earnshaw <rearnsha@arm.com>
2646
2647 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2648
9a81ba51
MC
26492002-02-10 Michael Chastain <mec@shout.net>
2650
2651 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2652 (call_after_alloca): Ditto.
2653
004af6c7
DJ
26542002-02-10 Daniel Jacobowitz <drow@mvista.com>
2655
2656 * gdb.base/ending-run.exp: Guard "cont" test with
2657 gdb_skip_stdio_test.
2658
37225f62
JB
26592002-02-06 Jim Blandy <jimb@redhat.com>
2660
2661 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2662 from here...
2663 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2664 To here. Disable this test on non-HP platforms. Add big comment.
2665
fe6fdd96
MS
26662002-02-04 Michael Snyder <msnyder@redhat.com>
2667
2668 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2669 other than d10v and m32r.
2670
036fad3f
RE
26712002-02-02 Richard Earnshaw <rearnsha@arm.com>
2672
2673 * gdb.base/default.exp: Rewrite test patterns to reduce time
2674 taken to match them.
2675
7148ab62
DJ
26762002-01-30 Daniel Jacobowitz <drow@mvista.com>
2677
2678 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2679 Allow a start function above main.
2680 * gdb.threads/linux-dp.exp: Fix copyright date.
2681
396cc255
DJ
26822002-01-30 Daniel Jacobowitz <drow@mvista.com>
2683
2684 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2685 (check_philosopher_stack): Check for manager thread before checking
2686 for a just-starting thread.
2687
f038d31b
DJ
26882002-01-30 Daniel Jacobowitz <drow@mvista.com>
2689
2690 From Neil Booth <neil@daikokuya.demon.co.uk>:
2691 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2692 warnings.
2693
b3ff9d9a
FF
26942002-01-21 Fred Fish <fnf@redhat.com>
2695
2696 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2697 not caller.
2698
39ad761d
JB
26992002-01-21 Jim Blandy <jimb@redhat.com>
2700
2701 * gdb.base/reread.exp: Check that GDB properly re-reads the
2702 executable file when it changes while no inferior is running.
2703
aaf320fa
FF
27042002-01-21 Fred Fish <fnf@redhat.com>
2705
2706 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2707 optionally accept the "shlib events" variation.
2708
808a31f5
JB
27092002-01-21 Jim Blandy <jimb@redhat.com>
2710
2711 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2712 call `fflush' after every `printf', so that the output is produced
2713 at predictable points, regardless of whatever buffering does (or
2714 doesn't) take place.
2715 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2716 at different points.
2717
4420d5e2
DJ
27182002-01-20 Daniel Jacobowitz <drow@mvista.com>
2719
2720 * gdb.c++/inherit.exp: Update copyright years.
2721 * gdb.c++/method.exp: Likewise.
2722
3e36a0f4
DJ
27232002-01-20 Daniel Jacobowitz <drow@mvista.com>
2724
2725 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2726 artificial methods/arguments.
2727 * gdb.c++/derivation.exp: Likewise.
2728 * gdb.c++/inherit.exp: Likewise.
2729 * gdb.c++/method.exp: Likewise.
2730 * gdb.c++/virtfunc.exp: Likewise.
2731
b4ceaee6
AC
27322002-01-18 Andrew Cagney <ac131313@redhat.com>
2733
2734 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2735 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2736 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2737 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2738 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2739 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2740
ecace851
JB
27412002-01-17 Jim Blandy <jimb@redhat.com>
2742
2743 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2744 anchoring the pattern matching the entry point symbol's name.
2745
375fc983
AC
27462002-01-17 Andrew Cagney <ac131313@redhat.com>
2747
2748 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2749 continue/quit query. Update copyright.
2750
fe6fdd96
MS
27512002-01-14 Michael Snyder <msnyder@redhat.com>
2752
2753 * gdb.base/gcore.exp: Remove extra debugging output.
2754
e017c81f
DJ
27552002-01-13 Daniel Jacobowitz <drow@mvista.com>
2756
2757 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2758 for slightly dubious v2 mangled string.
2759
37ab3bf8
DJ
27602002-01-13 Daniel Jacobowitz <drow@mvista.com>
2761
2762 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2763
1bc05c3a 27642002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2765
1bc05c3a 2766 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2767
1bc05c3a
JM
2768 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2769 constructors.
2770 * gdb.c++/derivation.exp: Likewise.
2771 * gdb.c++/templates.exp: Likewise.
2772 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2773
1bc05c3a
JM
27742002-01-10 Michael Snyder <msnyder@redhat.com>
2775
2776 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2777
a911c360
MS
27782002-01-08 Michael Snyder <msnyder@redhat.com>
2779
2780 * gdb.base/gcore.exp: New test for generate-core-file command.
2781 * gdb.base/gcore.c: Testcase for above.
2782 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2783
ea2119ec
JM
27842002-01-08 Jason Merrill <jason@redhat.com>
2785
2786 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2787
68203136
FF
27882002-01-07 Fred Fish <fnf@redhat.com>
2789
2790 * gdb.c++/overload.exp: Remove unconditional xfails for:
2791 print foo_instance1.overloadargs(1)
2792 print foo_instance1.overloadargs(1, 2)
2793 print foo_instance1.overloadargs(1, 2, 3)
2794 print foo_instance1.overloadargs(1, 2, 3, 4)
2795 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2796 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2797 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2798 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2799 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2800 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2801 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2802 print foo_instance1.overload1arg()
2803 print foo_instance1.overload1arg((char)arg2)
2804 print foo_instance1.overload1arg((signed char)arg3)
2805 print foo_instance1.overload1arg((unsigned char)arg4)
2806 print foo_instance1.overload1arg((int)arg7)
2807 print foo_instance1.overload1arg((unsigned int)arg8)
2808 print foo_instance1.overload1arg((float)arg11)
2809 print foo_instance1.overload1arg((double)arg12)
2810
21b9b5b1
MS
28112002-01-07 Michael Snyder <msnyder@redhat.com>
2812
2813 * gdb.base/huge.exp: New test. Print a very large target data object.
2814 (skip_huge_test): New test variable. Define if you want to skip this
2815 test. The test reads an 8 megabyte data object from the target, so it
2816 might be very time consuming on remote targets with a slow connection.
2817 * gdb.base/huge.c: New file. Test case for above.
2818
725f922e
FF
28192002-01-07 Fred Fish <fnf@redhat.com>
2820
2821 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2822 g_instance.bfoo, and g_instance.cfoo.
2823
634d57ec
JL
2824Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2825
f286b2c3
JL
2826 * gdb.base/break.c (multi_line_if_conditional): New function.
2827 (multi_ilne_while_conditional): Likewise.
2828 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2829 IF or WHILE condition puts the breakpoint at the start of
2830 the condition.
2831
634d57ec
JL
2832 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2833 hppa*-*-hpux* expected failure.
2834 * gdb.base/structs.exp (do_function_calls): Similarly.
2835
2836 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2837 watchpoints.
2838
9fbfe2dc
AC
28392002-01-06 Andrew Cagney <ac131313@redhat.com>
2840
2841 Fix PR gdb/66.
2842 * gdb.base/structs.exp: Replace skip for a29k with skip for
2843 gdb,cannot_call_functions.
2844 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2845 * gdb.base/callfuncs.exp: Ditto.
2846 * gdb.base/call-rt-st.exp: Ditto.
2847 * gdb.base/call-strs.exp: Ditto.
2848 * gdb.base/callfwmall.exp: Ditto.
2849 * gdb.base/scope.exp: Obsolete xfail a29k.
2850 * gdb.c++/misc.exp: Ditto.
2851 * gdb.c++/cplusfuncs.exp: Ditto.
2852 * gdb.base/ptype.exp: Ditto.
2853 * gdb.base/printcmds.exp: Ditto.
2854 * gdb.base/opaque.exp: Ditto.
2855 * gdb.base/list.exp: Ditto.
2856 * gdb.base/funcargs.exp: Ditto.
2857 * gdb.base/default.exp: Ditto.
2858
8ddad156
MS
28592002-01-04 Michael Snyder <msnyder@redhat.com>
2860
ca4976a6 2861 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2862 * gdb.base/maint.exp: Add tests for maint info sections options.
2863
1b074332
JL
2864Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2865
2866 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2867
7d159115
CV
28682001-12-20 Corinna Vinschen <vinschen@redhat.com>
2869
2870 * gdb.asm/arm.inc: New file.
2871 * gdb.asm/asm-source.exp: Add arm targets.
2872 * gdb.asm/configure.in: Ditto.
2873 * gdb.asm/configure: Recreated from configure.in.
2874
8fb87725
JL
2875Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2876
afabe08c
JL
2877 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2878 with HP's compiler.
2879 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2880 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2881 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2882 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2883
2884 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2885 either HP's compilers or GCC.
2886
db521deb
JL
2887 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2888 a SIGBUS or SIGSEGV.
2889
2890 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2891
2892 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2893 can be compiled with either HP's compiler or GCC.
2894
cfa88ab7
JL
2895 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2896 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2897 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2898
ca344dff
JL
2899 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2900 to match current gdb output. Update due to using auto-solib-limit
2901 for limiting instead of overloading auto-solib-add.
2902 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2903 test program.
2904
3f3c6e55 2905 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2906 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2907 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2908 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2909 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2910 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2911 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2912 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2913 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2914 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2915 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2916 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2917 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2918
8fb87725
JL
2919 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2920 a SIGTRAP to the inferior.
2921
cf599fa7
CV
29222001-12-19 Corinna Vinschen <vinschen@redhat.com>
2923
2924 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2925 Substitute call to target_link by call to gdb_compile.
2926
2cd045cd
JL
2927Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2928
2929 * gdb.base/break.exp: Fix HP specific search string when testing
2930 backtracing in a called function.
2931
2932 * gdb.base/constvars.exp: Only set lang to C++ if we're
2933 compiling the test with HP's compilers.
2934 * gdb.base/volatile.exp: Similarly.
2935
99ebe9ac
JB
29362001-12-19 Jim Blandy <jimb@redhat.com>
2937
2938 * gdb.base/printcmds.exp: Expect the null character to be printed
2939 as '\0', and the '\013' to be printed as '\v'.
2940 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2941 * gdb.base/setvar.exp: Same.
2942
b9891b29
JB
29432001-12-17 Jim Blandy <jimb@redhat.com>
2944
0eba65ab
JB
2945 * gdb.base/completion.exp: Rather than completing very long
2946 filenames, which can make the readline library produce output we
2947 don't recognize, cd to the directory first, and then complete
2948 using nice, short relative paths.
2949
6970b5b1
JB
2950 * gdb.base/completion.exp: On some systems, there is, in fact, a
2951 variable named `b' in scope, since GDB treats all static
2952 variables as being in scope. So use `no_var_named_this'
2953 instead of `b'.
2954
b9891b29
JB
2955 * gdb.base/corefile.exp: Recognize the message saying that GDB
2956 can't find the core file's registers as a failure.
2957
e6ccd35f
JSC
29582001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2959
2960 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2961 test expect string more specific.
2962
105ba819
CV
29632001-12-13 Corinna Vinschen <vinschen@redhat.com>
2964
2965 * gdb.asm/asm-source.exp: Add support for xstormy16.
2966 * gdb.asm/configure.in: Ditto.
2967 * gdb.asm/configure: Rebuild.
2968 * gdb.asm/xstormy16.inc: New file.
2969
e9e79dd9
FF
29702001-12-10 Fred Fish <fnf@redhat.com>
2971
2972 * gdb.base/maint.exp: Update to match changes in type dumping code.
2973
347dc97d
JB
29742001-12-10 Jim Blandy <jimb@redhat.com>
2975
2976 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2977 matching the entry point symbol's name at the beginning of the
2978 line.
2979
5178b9d6
DJ
29802001-12-07 Daniel Jacobowitz <drow@mvista.com>
2981
2982 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2983 gdb.c++/inherit.exp, gdb.c++/method.exp,
2984 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2985 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2986 and class layout support.
2987
af890c52
DJ
29882001-12-07 Daniel Jacobowitz <drow@mvista.com>
2989
2990 * gdb.c++/classes.exp: Add test for static member function.
2991 * gdb.c++/misc.cc: Add class with static member function.
2992
7a345fb3
JB
29932001-12-07 Jim Blandy <jimb@redhat.com>
2994
f2e54a80 2995 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2996 those tests as `unsupported'.
2997 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2998 Rewrite subsequent tests to use it.
2999
3000 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3001 those tests as `unsupported'.
3002 * gdb.base/structs.exp (call_struct_func): New function.
3003 (do_function_calls): Use call_struct_func to call the functions
3004 returning structs.
3005
0bc69509
JB
3006 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3007 whether functions are prototyped or not, so we can't possibly pass
3008 arguments to t_float_values2 properly.
3009
7a345fb3
JB
3010 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3011 value of `timeout' for targets other than the mips*tx39-*.
3012
edb6ede1
MS
30132001-12-06 Michael Snyder <msnyder@redhat.com>
3014
3015 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3016 and detect whether the start symbol has a leading underscore.
3017
2d842f13
JB
30182001-12-04 Jim Blandy <jimb@redhat.com>
3019
3020 * gdb.base/completion.exp: Clarify indentation.
3021
68550daf
JB
30222001-12-03 Jim Blandy <jimb@redhat.com>
3023
3024 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3025 variables on the S/390, not `.word'.
3026
cd5195a8
JB
30272001-11-30 Jim Blandy <jimb@redhat.com>
3028
3029 Add assembly-source tests for s390-ibm-linux.
3030 * gdb.asm/s390.inc: New file.
3031 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3032 the S/390 architecture.
3033 * gdb.asm/configure: Regenerated.
3034
ca9efc90
MS
30352001-11-30 Michael Snyder <msnyder@redhat.com>
3036
3037 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3038 next, info source, info sources, info line, global and static
3039 variables, and static functions.
3040 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3041 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3042 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3043 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3044 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3045 (gdbasm_leave): Restore frame pointer.
3046 (gdbasm_startup): Copy stack set-up from crt0.S.
3047
d0e66976
FN
30482001-11-26 Fernando Nasser <fnasser@redhat.com>
3049
3050 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3051 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3052 to a local (non-static) variable. Copy tstruct.a to a static buffer
3053 and return a pointer to that buffer.
3054 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3055
e2334072
MK
30562001-11-24 Mark Kettenis <kettenis@gnu.org>
3057
3058 * gdb.asm/configure.in: Fix recognition of ix86 target.
3059 * gdb.asm/configure: Regenerate.
3060
756caa3d
MS
30612001-11-21 Michael Snyder <msnyder@redhat.com>
3062
3063 * gdb.asm/sparc.inc: New file.
3064 * gdb.asm/asm-source.exp: Recognize sparc target.
3065 * gdb.asm/configure.in: Recognize sparc target.
3066 * gdb.asm/configure: Regenerate.
3067
9a4d72d5
MS
30682001-11-21 Michael Snyder <msnyder@redhat.com>
3069
3070 * gdb.asm/m32r.inc: New file.
3071 * gdb.asm/asm-source.exp: Recognize m32r target.
3072 * gdb.asm/configure.in: Recognize m32r target.
3073 * gdb.asm/configure: Regenerate.
3074
a773d1cd
MS
30752001-11-20 Michael Snyder <msnyder@redhat.com>
3076
017ac23d
MS
3077 * gdb.asm/i386.inc: New file.
3078 * gdb.asm/asm-source.exp: Recognize ix86 target.
3079 * gdb.asm/configure.in: Recognize ix86 target.
3080 * gdb.asm/configure: Regenerate.
3081
a773d1cd
MS
3082 * gdb.c++/namespace.exp: Fix quotes in output messages.
3083
bb632afb
MS
30842001-11-14 Michael Snyder <msnyder@redhat.com>
3085
25d559ca 3086 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3087 qualifier in a type cast expression, to designate an address
3088 in the instruction space (Harvard architecture).
3089
4749e309
MS
30902001-11-13 Michael Snyder <msnyder@redhat.com>
3091
3092 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3093 Tests for expressions using 'const' and 'volatile'.
3094
25050984
CV
30952001-11-13 Corinna Vinschen <vinschen@redhat.com>
3096
3097 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3098
1902c51f
DJ
30992001-11-12 Daniel Jacobowitz <drow@mvista.com>
3100
3101 * lib/mi-support.exp (mi_run_to_helper): Move comments
3102 outside of gdb_expect.
3103
dcf95b47
DJ
31042001-11-11 Daniel Jacobowitz <drow@mvista.com>
3105
3106 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3107 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3108 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3109 mi0_run_to): New functions.
3110 * gdb.mi/mi-simplerun.exp: Use them.
3111 * gdb.mi/mi0-simplerun.exp: Likewise.
3112 * gdb.mi/mi-var-cmd.exp: Likewise.
3113 * gdb.mi/mi0-var-cmd.exp: Likewise.
3114
45b074e1
AC
31152001-11-10 Andrew Cagney <ac131313@redhat.com>
3116
3117 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3118 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3119
bf50d346
AC
31202001-11-09 Andrew Cagney <ac131313@redhat.com>
3121
3122 * gdb.base/restore.exp: Include $expected value in restored test
3123 message.
3124
9383332c
AC
31252001-11-09 Andrew Cagney <ac131313@redhat.com>
3126
3127 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3128 implemented.
3129
db62520a
MS
31302001-11-08 Michael Snyder <msnyder@redhat.com>
3131
3132 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3133 Add pass/fail message for stop at breakpoint in call dummy function.
3134
b5703437
MS
31352001-11-07 Michael Snyder <msnyder@redhat.com>
3136
760f6330
MS
3137 * gdb.c++/templates.exp (test_template_breakpoints):
3138 If we get an overload menu, but it does not match what
3139 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3140 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3141 making the whitespace optional. Argument for "new" may be
3142 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3143 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3144 making the whitespace optional. Also replace "(void) with
3145 "((void|)), making the keyword "void" optional.
63f50499
MS
3146 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3147 making the whitespace optional. Also replace "(void) with
3148 "((void|)), making the keyword "void" optional.
3bf40917
MS
3149 * gdb.base/callfuncs.c (t_float_values): This function must
3150 _not_ be prototyped, and the following function (t_float_values2)
3151 must be prototyped (if the compiler supports it), so that GDB
3152 can be tested against both cases. Usually one case involves
3153 promotion of float to double, while the other does not.
3154 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3155 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3156 includes a stack frame for "start".
3157
c8ab4e6d
JB
31582001-11-05 Jim Blandy <jimb@redhat.com>
3159
3160 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3161 pointers are 32 bits long, and that offsets of relocs are always
3162 stored in the data (REL-style), and not in the reloc entry itself
3163 (RELA-style).
3164 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3165 stabs.
3166
3f08ced9
MS
31672001-11-01 Michael Snyder <msnyder@redhat.com>
3168
3169 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3170 and regular expression operators by using quoting.
3171
cbfa24cd
MS
31722001-10-31 Michael Snyder <msnyder@redhat.com>
3173
3174 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3175 depending on what the symbol table contains.
3176 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3177 the output of the ptype command. Similarly, accept both "const &"
3178 and "const&".
3179
aaa68313
CV
31802001-10-31 Corinna Vinschen <vinschen@redhat.com>
3181
3182 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3183 symbol `STORAGE' to allow to choose the storage class of
3184 the local datastructures.
3185 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3186 compiler directive.
3187
91740388
MS
31882001-10-30 Michael Snyder <msnyder@redhat.com>
3189
3190 * gdb.base/jump.exp: Allow it to run for all targets.
3191
1b7c05e7
CV
31922001-10-29 Corinna Vinschen <vinschen@redhat.com>
3193
3194 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3195 with new double_array size.
3196 (main): Change storage class of all local variables to static.
3197 Reduce size of double_array to 9.
3198 * gdb.base/call-ar-st.exp: Increase timeout value.
3199 Change expected output for double array to match new size in
3200 call-ar-st.c.
3201
36a22261
CV
32022001-10-29 Corinna Vinschen <vinschen@redhat.com>
3203
3204 * gdb.base/ending-run.exp: Create identical output when passing
3205 `step to end of run' case. Add regular expression branch satisfying
3206 Stormy16 target.
3207
92b8ae91
MK
32082001-10-28 Mark Kettenis <kettenis@gnu.org>
3209
3210 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3211 that we catch the expected failure under Linux/x86.
3212
cb135b83
OF
32132001-10-29 Orjan Friberg <orjanf@axis.com>
3214
3215 * gdb.base/setvar.exp: Escape curly braces.
3216 * gdb.stabs/weird.exp: Ditto.
3217
6884aa54
DJ
32182001-10-27 Daniel Jacobowitz <drow@mvista.com>
3219
3220 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3221 * gdm.mi/mi0-hack-cli.exp: Likewise.
3222
0398c9aa
AC
32232001-10-25 Andrew Cagney <ac131313@redhat.com>
3224
3225 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3226 messages.
3227
d20bf2e8
AC
32282001-10-21 Andrew Cagney <ac131313@redhat.com>
3229
3230 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3231 checking MI enabled.
3232
03dd63aa
CV
32332001-10-09 Corinna Vinschen <vinschen@redhat.com>
3234
3235 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3236
1d9d99f3
FCE
32372001-10-04 Frank Ch. Eigler <fche@redhat.com>
3238
3239 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3240 if gdb child process crashes, just signal an error.
3241
838ae6c4
JB
32422001-10-02 Jim Blandy <jimb@redhat.com>
3243
3244 * lib/gdb.exp (test_xfail_format): Simplify.
3245
3246 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3247 front of the variable name `format'. Simplify `if'.
3248
8f0cbc1c
DJ
32492001-10-01 Daniel Jacobowitz <drow@mvista.com>
3250
3251 * gdb.threads/pthreads.exp: Wait for output and delay
3252 before sending ^C.
3253
1f08dafd
DJ
32542001-10-01 Daniel Jacobowitz <drow@mvista.com>
3255
3256 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3257 some incorrect output instead of timing out.
3258 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3259
674f90ff
CV
32602001-09-28 Corinna Vinschen <vinschen@redhat.com>
3261
3262 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3263 check to allow additional `int'.
3264
9b284272
DJ
32652001-09-27 Daniel Jacobowitz <drow@mvista.com>
3266
3267 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3268 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3269
b55a4771
MS
32702001-09-27 Michael Snyder <msnyder@redhat.com>
3271
3272 * lib/gdb.exp (test_debug_format): New proc.
3273 (setup_xfail_format): Use new proc test_debug_format.
3274 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3275 proc; use new service proc test_debug_format.
3276 Replace all other "gcc_compiled" tests with this test.
3277 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3278 proc; use new service proc test_debug_format.
3279 Replace all other "gcc_compiled" tests with this test.
3280
32812001-09-27 Michael Snyder <msnyder@redhat.com>
3282
3283 * gdb.base/cvexpr.exp: New file.
3284 * gdb.base/cvexpr.c: New file
3285 Test for expressions using const and volatile keywords.
3286
4e6667ac
CV
32872001-09-26 Corinna Vinschen <vinschen@redhat.com>
3288
3289 * gdb.base/constvars.exp: Check for different orders of keywords
3290 and additional "int" strings in output.
3291
4f337972
AC
32922001-09-22 Andrew Cagney <ac131313@redhat.com>
3293
3294 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3295 responses from "help maint".
3296
2015650d
FCE
32972001-09-19 Frank Ch. Eigler <fche@redhat.com>
3298
3299 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3300 to localhost:NNN instead of :NNN, in case Xvfb is listening
3301 only on TCP.
3302
f3bcedc1
CV
33032001-09-19 Corinna Vinschen <vinschen@redhat.com>
3304
3305 * gdb.base/recurse.exp: When checking leaving the watchpoint
3306 scope, recognize when gdb is in function's epilogue and pass.
3307
6b819c92
KS
33082001-09-18 Keith Seitz <keiths@redhat.com>
3309
3310 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3311 support for running tests against sid targets.
3312 (gdbtk_done): Ditto.
3313
a10c9419
CV
33142001-09-18 Corinna Vinschen <vinschen@redhat.com>
3315
3316 * gdb.base/ending-run.c (main): Set stdout buffersize
3317 to the same reasonable value for any target.
3318 * gdb.base/ending-run.exp: Add a regular expression
3319 to make testsuite happy on Sanyo Stormy16 target.
3320
739d0d99
CV
33212001-09-17 Corinna Vinschen <vinschen@redhat.com>
3322
3323 * gdb.base/display.c (do_loops): Add float variable `f'.
3324 Increment f in loop.
3325 * gdb.base/display.exp: Increment timeout by 60 seconds.
3326 Change float display test to use variable `f'.
3327
1b8947f0
JB
33282001-09-17 Jim Blandy <jimb@redhat.com>
3329
3330 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3331 overflowing the limited breakpoint tables on some ROM monitors
3332 (like the ROM68K).
3333
9890ac81
FCE
33342001-09-15 Frank Ch. Eigler <fche@redhat.com>
3335
3336 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3337 the "-ac" (disable access control) flag.
3338
6db765ea
JH
33392001-08-30 Jeff Holcomb <jeffh@redhat.com>
3340
3341 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3342 ints.
3343
4c32cc04
KS
33442001-08-30 Keith Seitz <keiths@redhat.com>
3345
3346 * lib/gdb.exp: Move all insight-related functionality into
3347 separate file.
3348 * lib/insight-support.exp: New file.
3349
8d6e6f81
FCE
33502001-08-29 Frank Ch. Eigler <fche@redhat.com>
3351
3352 * config/sid.exp (sid_start): Never set sid verbosity; disable
3353 expect_background {} that consumed its stdout; tolerate </dev/null.
3354 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3355
6a90e1d0
AC
33562001-08-18 Andrew Cagney <ac131313@redhat.com>
3357
3358 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3359 CLI jump command to start it.
3360 (mi_run_to_main): Fail immediatly when unexpected output.
3361
1759b3c3
AC
33622001-08-18 Andrew Cagney <ac131313@redhat.com>
3363
3364 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3365 beginning of function. Fix PR gdb/191.
3366
61d11d80
FCE
33672001-08-16 Frank Ch. Eigler <fche@redhat.com>
3368
3369 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3370 what to force sid endianness to.
3371
942a4df2
KS
33722001-08-15 Keith Seitz <keiths@redhat.com>
3373
3374 * lib/gdb.exp (gdbtk_start): Don't set environment
3375 variables for TCL_LIBRARY and friends. Insight will
3376 now figure these out for itself.
3377
0521c418
MS
33782001-08-02 Michael Snyder <msnyder@redhat.com>
3379
3380 * gdb.base/completion.exp: Remove the symbol "a64l" from
3381 the expect string; this is target-specific, and not related
3382 to what is being tested.
3383
74a9a58a
DB
33842001-08-02 Dave Brolley <brolley@redhat.com>
3385
3386 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3387
c70819fa
MS
33882001-07-25 Michael Snyder <msnyder@redhat.com>
3389
c2b8fa57
MS
3390 * gdb.base/consecutive.exp: New file. Test stepping over
3391 breakpoints on consecutive instructions.
3392 * gdb.base/consecutive.c: New file.
3393
c70819fa
MS
3394 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3395 curly braces in regular expressions.
3396
2b1a1355
MS
33972001-07-25 Michael Snyder <msnyder@redhat.com>
3398
3399 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3400 legitimate output from stepping out of main.
3401
413eca6f
KS
34022001-07-22 Keith Seitz <keiths@redhat.com>
3403
3404 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3405 the empty string, do not run the tests.
3406
7e5a9322
SC
34072001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3408
3409 * gdb.base/long_long.exp: Detect size of pointer. Take into
3410 account 2-byte pointers when testing for p/a results.
3411
de58f10f
SC
34122001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3413
3414 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3415 and defined to 1K for m68hc11.
3416 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3417 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3418 (sizeof_random_data): New variable to tell the size of the data table;
3419 don't test past this size; always run to main.
3420
d6f5fea1
SC
34212001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3422
3423 * gdb.base/return2.exp: return of long long and double fails for
3424 68HC11; don't execute these tests on that platform.
3425 * gdb.base/return.exp: Return of a double fails for 68hc11.
3426
c477543d
SC
34272001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3428
3429 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3430 tests that print a float.
3431 * call-rt-st.exp: Likewise.
3432
63cf1c79
MK
34332001-07-12 Mark Kettenis <kettenis@gnu.org>
3434
3435 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3436 running this test on Linux.
3437
112f9ab5
MC
34382001-06-24 Michael Chastain <chastain@redhat.com>
3439
3440 * gdb.base/arithmet.exp: Remove some tests to make all test names
3441 unique.
3442
4970cb0f
MS
34432001-07-03 Michael Snyder <msnyder@redhat.com>
3444
3445 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3446 the output of the ptype command.
3447
d85da69f
MS
34482001-07-02 Michael Snyder <msnyder@redhat.com>
3449
4c8a82de
MS
3450 * gdb.base/completion.exp: Don't assume that break.c is the only
3451 source file that may contain functions named "marker".
d85da69f
MS
3452 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3453
8afc772b
AC
34542001-06-28 Andrew Cagney <ac131313@redhat.com>
3455
3456 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3457 of files to delete.
3458
3459 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3460 * gdb.disasm/h8300s.exp: New file.
3461 gdb.disasm/h8300s.s: Likewise.
3462
cff22675
AC
34632001-06-27 Andrew Cagney <ac131313@redhat.com>
3464
3465 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3466 empty breakpoint tables.
3467
68c81b54
AC
34682001-06-25 Andrew Cagney <ac131313@redhat.com>
3469
3470 * lib/mi-support.exp: Update args=... part of stop-reason
3471 patterns. Accept either a list or a tuple.
3472
2dd62704
AC
34732001-06-23 Andrew Cagney <ac131313@redhat.com>
3474
3475 * lib/mi-support.exp: Remove local emacs variable defining
3476 change-log-default-name.
3477
b4127474
MC
34782001-06-22 Michael Chastain <chastain@redhat.com>
3479
3480 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3481 This is operationally compatible with the previous version.
3482
8dbfb380
JB
34832001-06-13 Jim Blandy <jimb@redhat.com>
3484
3485 * lib/gdb.exp (gdb_test): Doc fix.
3486
f2d8c86d
MC
34872001-06-10 Michael Chastain <chastain@redhat.com>
3488
3489 * gdb.base/exprs.exp: Remove a duplicate test.
3490
81564d34
JB
34912001-06-06 Jim Blandy <jimb@redhat.com>
3492
3493 * gdb.base/return2.exp (main): Use values to test float and double
3494 returns that are not NaN's, to avoid being confused by IEEE
3495 comparison rules.
3496
da55addb
MS
34972001-06-04 Michael Snyder <msnyder@redhat.com>
3498
3499 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3500 non-zero if control_c fails. Terminate the test on failure,
3501 rather than wait for 12 more tests to time out.
3502
42c65987
JB
35032001-06-06 Jim Blandy <jimb@redhat.com>
3504
b18bced9
JB
3505 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3506 Don't forget to match the GDB prompt.
3507
42c65987
JB
3508 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3509
5b41e5f0
JB
35102001-06-04 Jim Blandy <jimb@redhat.com>
3511
3512 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3513 command.
3514
015e046f
KB
35152001-05-31 Kevin Buettner <kevinb@redhat.com>
3516
3517 * gdb.base/annota1.exp (info break): Match four or more spaces
3518 after "Address".
3519
fb1ffbbe
MC
35202001-05-31 Michael Chastain <chastain@redhat.com>
3521
3522 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3523 (dm_type_int_star): Likewise.
3524 (dm_type_long_star): Likewise.
3525 (dm_type_void_star): Likewise.
3526
5ea2a32c
KB
35272001-05-29 Kevin Buettner <kevinb@redhat.com>
3528
3529 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3530 to a known value in order to get consistent results regardless
3531 of the setting of INPUTRC or the presence or contents of .inputrc.
3532
ae23c492
MS
35332001-05-24 Michael Snyder <msnyder@redhat.com>
3534
ac55707e
MS
3535 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3536 Don't require that the main thread and the manager thread are the
3537 first in the list.
3538
ae23c492
MS
3539 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3540 debugging. If test fails, issue an "unsupported" not a "fail".
3541
400071f1
JB
35422001-05-24 Jim Blandy <jimb@redhat.com>
3543
3544 Don't assume that short is shorter than int.
3545 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3546 assume that shorts are smaller than ints. On a 16-bit machine,
3547 this isn't true.
3548 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3549 an int, is not equal to ~0 stored in an unsigned char. This tests
3550 the same thing that the previous test meant to, but works on
3551 16-bit machines, too.
3552 ("print unsigned char != (~0)"): Same test, complemented.
3553
0816a3e5
MS
35542001-05-24 Michael Snyder <msnyder@redhat.com>
3555
3556 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3557 test for (full_coverage == 0). This makes the test run faster,
3558 and prevents dejagnu getting out of step.
3559
f6dc23a9
KB
35602001-05-23 Kevin Buettner <kevinb@redhat.com>
3561
3562 * gdb.base/finish.exp (finish_void): Revise pattern for
3563 stopping on the call statement to not permit stopping at
3564 the start of the instructions comprising the call sequence.
3565
7dbd117d
MC
35662001-05-19 Michael Chastain <chastain@redhat.com>
3567
3568 * gdb.base/callfuncs.exp: Make all test names unique.
3569 * gdb.base/commands.exp: Make all test names unique.
3570 * gdb.base/condbreak.exp: Make all test names unique.
3571 * gdb.base/dbx.exp: Make all test names unique.
3572 * gdb.base/default.exp: Make all test names unique.
3573 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3574 and TIMEOUT messages to their corresponding PASS message.
3575 * gdb.base/ending-run.exp: Make all test names unique.
3576 * gdb.base/long_long.exp: Remove duplicate test.
3577
6b0b0a9e
KB
35782001-05-21 Kevin Buettner <kevinb@redhat.com>
3579
3580 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3581 stop on the call statement as well as the statement after the
3582 call.
3583
2caa35cb
MS
35842001-05-21 Michael Snyder <msnyder@redhat.com>
3585
3586 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3587
40713331
EZ
35882001-05-10 Elena Zannoni <ezannoni@redhat.com>
3589
3590 * gdb.base/completion.exp: Revamp test. Make it execute on all
3591 platforms.
3592
c2c1be8d
EZ
35932001-05-10 Elena Zannoni <ezannoni@redhat.com>
3594
2c9cd303
EZ
3595 * config/gdbserver.exp (gdb_load): Handle the case
3596 in which the arguments to gdbserver are given in the
3597 baseboard configuration file.
3598 Also handle the case in which the server needs to do a
3599 load.
3600
9671de48
KS
36012001-05-07 Keith Seitz <keiths@cygnus.com>
3602
3603 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3604 set up the display for testing.
3605 (gdbtk_start): Convert all paths to paths that tcl will like.
3606 Export target information to environment.
3607 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3608 necessary.
3609 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3610 (to_tcl_path): New proc to convert a given pathname into
3611 a path acceptible as an argument to a tcl command.
3612 (_gdbtk_export_target_info): New proc to export target info
3613 into the environment for gdbtk testing.
3614 (gdbtk_done): New proc to signal end-of-test.
3615
5a360f47
JB
36162001-05-06 Jim Blandy <jimb@redhat.com>
3617
3618 * restore.c: Make the code of caller0 correspond to its comment.
3619
66c756c6
MS
36202001-05-03 Michael Snyder <msnyder@redhat.com>
3621
3622 * config/sid.exp (gdb_target_sid): Check for error messages.
3623 On error or timeout, don't make expect exit (which will terminate
3624 all subsequent tests); instead just make gdb exit.
3625 (gdb_load): Check for error messages. On error or timeout,
3626 return a negative value.
3627
a966fde5
JB
36282001-04-24 Jim Blandy <jimb@redhat.com>
3629
851c18e0
JB
3630 * gdb.c++/templates.exp: If we see the prompt for the overload
3631 list, but we haven't recognized any of the longer patterns,
3632 arrange for this test to fail, not hang.
3633
a966fde5
JB
3634 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3635 variations.
3636
db144853
MC
36372001-04-22 Michael Chastain <chastain@redhat.com>
3638
3639 * gdb.c++/local.exp: Use the 'runto' library function.
3640 * gdb.c++/namespace.exp: Likewise.
3641 * gdb.c++/overload.exp: Likewise.
3642
3207ec21
KB
36432001-03-26 Kevin Buettner <kevinb@redhat.com>
3644
3645 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3646 * gdb.base/step-line.exp: New file. Test step/next in presence of
3647 #line directives.
3648 * gdb.base/step-line.c: New file. Test program for the above.
3649 * gdb.base/step-line.inp: New file. We pretend that this file has
3650 been transformed by some other tool into step-line.c.
3651
13b57657
JB
36522001-03-21 Jim Blandy <jimb@redhat.com>
3653
3654 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3655 unmangled operator names.
3656
754cbe1c
JB
36572001-03-20 Jim Blandy <jimb@redhat.com>
3658
3659 * gdb.threads/linux-dp.exp: Recognize an additional message
3660 generated by GDB when it doesn't understand how to debug threads
3661 on the target system.
3662
177495c9
AC
36632001-03-19 Andrew Cagney <ac131313@redhat.com>
3664
3665 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3666
f266096b
MC
36672001-03-12 Michael Chastain <chastain@redhat.com>
3668
3669 * gdb.c++/derivation.exp: Use the 'runto' library function.
3670
cac3c2ff
MC
36712001-03-12 Michael Chastain <chastain@redhat.com>
3672
3673 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3674
b6c11a24
MC
36752001-02-24 Michael Chastain <chastain@redhat.com>
3676
3677 * gdb.c++/ref-types.exp: Change handwritten code to library
3678 function 'runto'.
3679
6bae5bce
OF
36802001-03-16 Orjan Friberg <orjanf@axis.com>
3681
3682 * gdb.base/signals.exp: Set count to 0 explicitly.
3683
0015fd9a
MS
36842001-03-15 Mark Salter <msalter@redhat.com>
3685
3686 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3687 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3688 (gdb_load): Add support for additional target_info: gdb_download_size
3689 and gdb_load_timeout.
0015fd9a 3690
fc33412a
DT
3691Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3692
3693 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3694 file -- to prevent failing when the compile fails but we have no
3695 intention of running the tests anyway.
3696
3697 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3698 tests if set.
3699
3700 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3701 integers.
3702
3703 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3704 * gdb.c++/namespace.exp: Ditto.
3705
115f06de
OF
37062001-03-07 Orjan Friberg <orjanf@axis.com>
3707
3708 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3709 * gdb.base/pointers.exp: Relax pattern match of decimals.
3710
b6ba6518
KB
37112001-03-06 Kevin Buettner <kevinb@redhat.com>
3712
3713 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3714 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3715 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3716 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3717 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3718 config/sh.exp, config/sid.exp, config/slite.exp,
3719 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3720 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3721 config/vxworks.exp, config/vxworks29k.exp,
3722 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3723 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3724 gdb.base/arithmet.exp, gdb.base/assign.exp,
3725 gdb.base/async.exp, gdb.base/attach.exp,
3726 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3727 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3728 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3729 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3730 gdb.base/commands.exp, gdb.base/completion.exp,
3731 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3732 gdb.base/constvars.exp, gdb.base/corefile.exp,
3733 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3734 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3735 gdb.base/ending-run.exp, gdb.base/environ.exp,
3736 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3737 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3738 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3739 gdb.base/funcargs.exp, gdb.base/help.exp,
3740 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3741 gdb.base/logical.exp, gdb.base/long_long.exp,
3742 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3743 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3744 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3745 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3746 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3747 gdb.base/regs.exp, gdb.base/relational.exp,
3748 gdb.base/remote.exp, gdb.base/reread.exp,
3749 gdb.base/restore.exp, gdb.base/return2.exp,
3750 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3751 gdb.base/selftest.exp, gdb.base/setshow.exp,
3752 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3753 gdb.base/sigall.exp, gdb.base/signals.exp,
3754 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3755 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3756 gdb.base/step-test.exp, gdb.base/structs.c,
3757 gdb.base/structs.exp, gdb.base/structs2.exp,
3758 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3759 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3760 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3761 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3762 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3763 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3764 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3765 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3766 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3767 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3768 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3769 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3770 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3771 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3772 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3773 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3774 gdb.trace/circ.exp, gdb.trace/collection.exp,
3775 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3776 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3777 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3778 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3779 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3780 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3781 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3782 notices.
3783
dc96c6c7 37842001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3785
3786 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3787 first arg is int not float.
3788
dc96c6c7 37892001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3790
3791 * gdb.base/reread.exp: Unsupported for non-native targets;
3792 doesn't work for remote debugging.
3793
9b0c4aeb
FN
37942001-02-19 Fernando Nasser <fnasser@redhat.com>
3795
3796 From Drew Moseley <dmoseley@redhat.com>
3797 * gdb.base/ending-run.exp: Properly handle the BSP state when
3798 stepping past the end of main.
3799
02aa71d5
MC
38002001-02-19 John Moore <jmoore@redhat.com>
3801
3802 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3803 Converted HPUX fix for non-expected items following multiple
3804 step commands into general solution for all platforms.
3805
1fa449a4
MC
38062001-02-18 Michael Chastain <chastain@redhat.com>
3807
3808 * gdb.c++/classes.exp (do_tests): Change runto statements
3809 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3810 statements demangler agnostic.
3811 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3812 (gdb_virtfunc_restart): Likewise.
3813
b2f9ec70
MC
38142001-02-14 Michael Chastain <chastain@redhat.com>
3815
3816 * gdb.c++/inherit.exp (do_tests): Change runto statements
3817 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3818 statements demangler agnostic.
3819
cf74b8ca
AC
3820Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3821
3822 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3823 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3824 before calling common_routine 15 times'' tests.
3825
99f78f56
MC
38262001-02-11 Michael Chastain <chastain@redhat.com>
3827
3828 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3829 Helps the test script figure out which demangler is in use.
3830 (dm_type_foo_ref): Ditto.
3831 (dm_type_int_star): Ditto.
3832 (dm_type_long_star): Ditto.
3833 (dm_type_unsigned_int): Ditto.
3834 (dm_type_void): Ditto.
3835 (dm_type_void_star): Ditto.
99707966 3836 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3837 Probe the gdb demangler and set variables to accommodate
3838 formatting differences.
3839 (info_func_regexp): New function. Same as info_func, but
3840 matches against a regexp.
3841 (info_func): Match against a literal string.
3842 (print_addr_2): New function. Match against a literal string,
3843 which can be different from the input to gdb.
3844 (print_addr): Simply call print_addr_2 with the same argument twice.
3845 (test_lookup_operator_functions): Use demangler formatting variables.
3846 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3847 the tests in the same order as the C++ class declaration.
3848 (test_paddr_operator_functions): Ditto.
3849 (test_paddr_overloaded_functions): Ditto.
3850 (test_paddr_hairy_functions): Use demangler formatting variables.
3851 Add reference to gdb/19 for related tests.
3852 (do_tests): Call probe_demangler.
3853
1de8f023
KB
38542001-01-30 Kevin Buettner <kevinb@redhat.com>
3855
3856 * gdb.c++/templates.cc (printf): Remove unused function definition.
3857
ca3f91ed
MS
38582001-01-26 Felix Lee <flee@redhat.com>
3859
3860 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3861
38622001-01-25 matthew green <mrg@redhat.com>
3863
3864 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3865 up sid.
3866 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3867
38682001-01-25 matthew green <mrg@redhat.com>
3869
3870 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3871 Deprecate $sid_spawn_id.
3872 (sid_exit): Remove code necessary only for `spawn.'
3873
38742001-01-25 matthew green <mrg@redhat.com>
3875
3876 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3877
fb18ec4a
MC
38782001-01-28 Michael Chastain <chastain@redhat.com>
3879
3880 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3881 to call when tests fail. It takes gdb out of the overloaded
3882 function choice menu back to the main prompt, so that the test
3883 program stays synchronized.
3884 (set_bp_overloaded): New proc to collect all the common
3885 code for setting a breakpoint on an overloaded name. Calls
3886 take_gdb_out_of_choice_menu when needed.
3887 (menu_overload1arg): New variable to collect the repeated
3888 instances of the expected menu for an overloaded name. Change
3889 the regular expression to handle changes in g++ type encoding:
3890 "void" can be either "void" or "", and "unsigned int" can be
3891 either "unsigned int" or "unsigned".
3892 (continue_to_bp_overloaded): Change regular expressions to handle
3893 changes in g++ type encoding.
3894 (no proc): Call take_gdb_out_of_choice_menu when needed.
3895 Remove redundant calls to "info break". Accept either "canceled"
3896 or "cancelled". Change regular expressions in "info break"
3897 calls to handle changes in g++ type encoding. Give all tests
3898 unique strings.
3899
9c646a6e
BE
39002001-01-17 Ben Elliston <bje@redhat.com>
3901
3902 * config/sid.exp: New file.
3903
9549d9c1
AC
3904Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3905
3906 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3907
dc96c6c7 39082000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3909
3910 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3911 Add a RE to accept a non-ascii char if one is ever presented.
3912
b4df4f68
FN
39132000-12-20 Fernando Nasser <fnasser@redhat.com>
3914
297dd0fd 3915 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3916
dc96c6c7 39172000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3918
3919 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3920 in regexp. One '\' does not suffice on Linux.
3921
4a7bddb6
MC
39222000-12-09 Michael Chastain <chastain@redhat.com>
3923
3924 * gdb.base/break.exp (test_clear_command): Use a marker function
3925 rather than 'main' for the test function. Also move this
3926 test to an execution point where the marker function names are
3927 guaranteed to be bound to functions. (Executing tests after a
3928 'finish' from main runs into name conflicts with local names
3929 in __libc_start_main).
3930
dc96c6c7 39312000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3932
3933 * gdb.base/finish.exp: New test for gdb's "finish" command.
3934 * gdb.base/return2.exp: New test for gdb's "return" command.
3935 * gdb.base/return2.c: New source file for above.
3936
dc96c6c7 39372000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3938
3939 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3940 * gdb.base/miscexprs.exp: Ditto.
3941 * gdb.base/pointers.exp: Ditto.
3942 * gdb.c++/derivation.exp: Ditto.
3943 * gdb.c++/local.exp: Ditto.
3944 * gdb.c++/namespace.exp: Ditto.
3945 * gdb.c++/overload.exp: Ditto.
3946 * gdb.c++/ref-types.exp: Ditto.
3947
dc96c6c7 39482000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3949
3950 * gdb.base/constvars.exp: Test result of "up" command.
3951 * gdb.base/miscexprs.exp: Ditto.
3952 * gdb.base/pointers.exp: Ditto.
3953 * gdb.base/scope.exp: Ditto.
3954 * gdb.c++/derivation.exp: Ditto.
3955 * gdb.c++/local.exp: Ditto.
3956 * gdb.c++/namespace.exp: Ditto.
3957 * gdb.c++/overload.exp: Ditto.
3958 * gdb.c++/ref-types.exp: Ditto.
3959
44097287
FN
39602000-11-22 Michael Chastain <chastain@redhat.com>
3961
3962 * mips_pro.exp: Accept either "middle -> top -> main" or
3963 "middle -> main" in the backtrace, because gcc can optimize
3964 tail calls to jumps. Remove setup_xfail for the hppa case.
3965 Add a comment with the original warning messages from PR 3016,
3966 which was filed in 1993, to preserve them for posterity.
3967
9d2e1bab
ND
39682000-11-17 Nick Duffek <nsd@redhat.com>
3969
3970 * lib/gdb.exp (gdb_test): Override timeout with board info.
3971
1aca8eb7
ND
39722000-11-17 Nick Duffek <nsd@redhat.com>
3973
3974 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3975 the second kill and detach messages.
3976
93076499
ND
39772000-11-17 Nick Duffek <nsd@redhat.com>
3978
3979 * configure.in: Add AC_EXEEXT.
3980 * configure: Regenerate.
3981 * Makefile.in (just-check): Export EXEEXT.
3982 * lib/gdb.exp ($EXEEXT): Import from environment.
3983 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3984 expect "maint dump-me" on Cygwin.
3985 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3986 $EXEEXT.
3987
30e87cd3
ND
39882000-11-17 Nick Duffek <nsd@redhat.com>
3989
3990 * gdb.base/break.exp: Test backtrace and finish from called
3991 function on all platforms, not just HP-UX.
3992
dc96c6c7 39932000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3994
3995 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3996 code from gdb_target_monitor, so it can be used independantly
3997 for gdbserver. Also comment out an unnecessary PUTS.
3998
dc96c6c7 39992000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4000
4001 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4002 * gdb.base/corefile.exp: Expect the message "Program is being
4003 debugged already" when we send the "corefile" command, since
4004 the preceeding gdb_load may have connected gdb to a remote target.
4005 * gdb.base/display.exp: Disable hardware watchpoints if new
4006 board info variable "no_hardware_watchpoints" is true.
4007 Replace single-letter commands with more readable ones.
4008 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4009 if new board info variable "no_hardware_watchpoints" is true.
4010 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4011 to see if stdio (printf) testing is possible.
4012 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4013 board info variable "no_hardware_watchpoints" is true. Use new
4014 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4015
39124dea
FN
40162000-11-13 Fernando Nasser <fnasser@redhat.com>
4017
4018 From Orjan Friberg <orjanf@axis.com>:
4019 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4020 in array print pattern match.
4021
a9e2e984
FN
40222000-11-09 Fernando Nasser <fnasser@redhat.com>
4023
4024 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4025 spelling "cancelled" to U.S. spelling "canceled" to match changes
4026 made to gdb.
4027 * gdb.c++/ovldbreak.exp: Ditto.
4028
c7db355b
PS
40292000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4030
4031 * gdb.base/callfuncs.c (main): Moved to end of file, call
4032 t_double_values to initialize the FPU before inferior calls are made.
4033 * gdb.base/callfuncs.exp: Test for register preservation after calling
4034 inferior functions. Add tests for continuining, finishing and
4035 returning from a stop in a call dummy.
4036
dc96c6c7 40372000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4038
4039 * gdb.base/commands.exp: Break up long lines, and re-indent.
4040
dc96c6c7 40412000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4042
4043 * config/gdbserver.exp: Rewritten from the ground up, to make it
4044 compatible with the current dejagnu tree, and to make it work with
4045 the new "gdbserver" in libremote.
4046
dc96c6c7 40472000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4048
4049 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4050 * gdb.base/varargs.exp: Skip entire test if no printf support.
4051 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4052 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4053
dc96c6c7 40542000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4055
4056 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4057 no floating point support.
4058 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4059 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4060 * gdb.base/call-rt-st.exp: Ditto.
4061 * gdb.base/call-strs.exp: Ditto.
4062
bac5fc66
JG
40632000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4064
4065 * gdb.base/sizeof.c: include <stdio.h>.
4066
4067 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4068 'finish', otherwise uncaptured gdb_prompt would potentially
4069 throw remaining test points out of sync.
4070
b22a6027
SB
40712000-07-26 Scott Bambrough <scottb@netwinder.org>
4072
4073 * gdb.base/recurse.exp: Run tests for all targets.
4074 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4075 gnu-oldld case on ARM.
4076 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4077 for ARM targets.
4078
d8231941
AG
4079Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4080
4081 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4082 * gdb.java/configure: Rebuild.
4083
8caabe69
AG
4084Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4085
4086 * gdb.java/jv-exp.exp: New file.
4087
9d273ca3
AG
4088Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4089
4090 * configure: Rebuilt.
4091 * configure.in (configdirs): Add gdb.java.
4092 * gdb.java/jmisc.java: New file.
4093 * gdb.java/jmisc.exp: New file.
4094 * gdb.java/Makefile.in: New file.
4095 * gdb.java/configure: Rebuilt.
4096 * gdb.java/configure.in: New file.
4097 * lib/java.exp: New file.
4098
4f823a66
AC
4099Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4100
4101 * gdb.base/exprs.exp: Test casts to a pointer including over and
4102 underflow.
4103
2391e11d
AC
4104Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4105
4106 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4107 and the compilers sizes.
4108
54602222
ND
41092000-07-09 Nick Duffek <nsd@redhat.com>
4110
4111 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4112 (use_methods): New function.
4113 (main): Call use_methods().
4114 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4115 (do_tests): Call test_method_param_class.
4116
2bec0572
ND
41172000-07-09 Nick Duffek <nsd@redhat.com>
4118
4119 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4120 spelling.
4121 (test_enums): New procedure. Move enum tests from end of script
4122 to here. Set breakpoint on function name instead of line number.
4123 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4124 (enums2): New marker function.
4125 (enums1): New function.
4126 (main): Call enums1(). Move enum tests to enums1().
4127
78492fde
AC
4128Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4129
4130 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4131 compile/link program. Update line numbers.
4132 * gdb.asm/d10v.inc: Define ``startup''.
4133 * gdb.asm/asmsrc1.s: Add definition of _start.
4134
49a2cef8
AC
4135Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4136
4137 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4138
3e6c8688
EZ
41392000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4140
4141 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4142 of 'help maint print' command.
4143
9ff5cbe9
AC
4144Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4145
4146 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4147 they use gdb_expect_list.
4148
17c579bd
AC
4149Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4150
4151 * gdb.base/commands.exp: Use ``set remote
4152 memory-read-packet-size'' instead of ``set endian big'' to test
4153 long commands.
4154
e6d71bf3
DB
41552000-06-03 Daniel Berlin <dan@cgsoftware.com>
4156
4157 * gdb.c++/templates.exp (do_tests): Make all of these work under
4158 g++, and stop skipping them.
4159
4160 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4161 work under g++.
4162
e5f9ba7b
MS
4163 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4164 initialization.
4165
dc96c6c7 41662000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4167
4168 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4169 the regular expression: accept an (almost) arbitrary sequence of
4170 "frames-invalid" and "breakpoints-invalid" messages both before
4171 and after the "starting" message.
4172
dc96c6c7 41732000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4174
4175 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4176
dc96c6c7 41772000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4178
4179 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4180 Relax the regular expression a little, make it pass on Solaris 8.
4181
8216cda9
KB
41822000-05-12 Kevin Buettner <kevinb@redhat.com>
4183
4184 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4185 a call, do not require that gdb stop on the line after the call.
4186 Instead, it is permissible for gdb to stop on the line of the
4187 call itself.
4188
1a570b2f
MS
41892000-05-12 Michael Snyder <msnyder@.cygnus.com>
4190
4191 * gdb.base/break.exp (bp on small function, optimized file):
4192 Add a second pass pattern. The behavior differs here between stabs
4193 and dwarf for one-line functions. Stabs preserves two line symbols
4194 (one before the prologue and one after) with the same line number,
4195 but dwarf regards these as duplicates and discards one of them.
4196 Therefore the address after the prologue (where the breakpoint is)
4197 has no exactly matching line symbol, and GDB reports the breakpoint
4198 as if it were in the middle of a line rather than at the beginning.
4199
dc96c6c7 42002000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4201
4202 * gdb.base/interrupt.exp: Make "pass" message say "send"
4203 rather than "send_gdb" (for consistancy).
4204
7d418785
AC
4205Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4206
4207 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4208 * gdb.c++/templates.cc: Properly check for GCC version number.
4209 * lib/compiler.cc: Likewise
4210
dc96c6c7 42112000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4212
4213 * gdb.base/break.exp: When compiled with -O2 optimization,
4214 gdb may not stop at the first line of main, due to code motion.
4215
dc96c6c7 42162000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4217
4218 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4219 This test depends on parsing the printf output from the target.
4220 Since the sparclet stub doesn't do stdio, this will never work.
4221 * gdb.base/call-rt-st.exp: ditto.
4222 * gdb.base/call-strs: ditto.
4223
dc96c6c7 42242000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4225
4226 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4227
4228 * gdb.base/ending-run.exp: After connecting to a remote target,
4229 but before running, the target will appear to be in a random
4230 location. Specify both a file and a line for breakpoints.
4231 Also, the function that calls main may be called 'init'
4232 rather than 'start'.
4233
a5a51225
EZ
42342000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4235
4236 * gdb.base/help.exp: Update output for add-symbol-file command.
4237
7930cc7c
FN
42382000-04-10 Fernando Nasser <fnasser@cygnus.com>
4239
4240 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4241 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4242
23e37ab1
C
42432000-04-07 J.T. Conklin <jtc@redback.com>
4244
e93c542c
C
4245 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4246
23e37ab1
C
4247 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4248
591b8fa3
PDM
4249Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4250
4251 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4252 values that can be represented exactly.
4253 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4254 above change, and to not check against the directory part of the source
4255 file name.
4256 (step into print_long_arg_list): Likewise.
4257 (print print_small_structs from print_long_arg_list): Likewise.
4258 (print print_long_arg_list): Likewise.
4259
7a495180
EZ
42602000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4261
30b53638 4262 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4263
beb998c6
AC
4264Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4265
4266 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4267
1c689132
DB
42682000-03-25 Daniel Berlin <dan@cgsoftware.com>
4269
4270 * gdb.base/commands.exp (deprecated_command_test): Add test for
4271 deprecate with no arguments.
4272
c1790a9d
JL
42732000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4274
4275 * gdb.base/break.exp: Add new test for setting breakpoints on
4276 optimized code so we can test breakpoints work even when function
4277 prologues may be optimized away
4278
003ba290
FN
42792000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4280
4281 From David Whedon <dwhedon@gordian.com>
4282 * gdb.base/commands.exp : Added command deprecator tests.
4283
6837a0a2
DB
42842000-03-22 Daniel Berlin <dan@cgsoftware.com>
4285
4286 * gdb.base/help.exp: Added test for new apropos command.
4287
b9593231
KB
42882000-03-21 Kevin Buettner <kevinb@redhat.com>
4289
4290 * gdb.base/pointers.c (usevar): New function.
4291 (main): Make sure that global variables v_int_pointer2, rptr,
4292 and y are all referenced someplace in the program by calling
4293 usevar() on them. [Some linkers delete symbols which are
4294 never referenced. The space remains, but there's no way to
4295 get a (symbolic) handle on the variable from the debugger.]
4296
751a959b
EZ
42972000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4298
4299 * gdb.base/printcmds.c: Add typedeffed arrays.
4300
4301 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4302 procedure to test arrays that are typedef'd.
4303
73a93a32
JI
43042000-03-13 James Ingham <jingham@leda.cygnus.com>
4305
4306 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4307 the library directories.
73a93a32 4308
fb40c209
AC
4309Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4310
4311 * configure.in (configdirs): Add sub directory gdb.mi.
4312 * configure: Re-generate.
4313
4314 * gdb.mi: New directory.
beb998c6 4315
ee4dd2c9
AC
43162000-02-25 Scott Bambrough <scottb@netwinder.org>
4317
4318 * gdb.base/long_long.exp: Correct test suite failure when printing
4319 a long long value as a double on ARM platforms.
4320
70f0cc22
JB
43212000-02-16 Jim Blandy <jimb@redhat.com>
4322
4323 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4324 default source file is set properly before running this test.
4325
853819b8
EZ
43262000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4327
4328 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4329 gdbtk/library directory, not in gdbtcl2.
4330
dfcd3bfb
JM
43312000-02-04 Jim Blandy <jimb@redhat.com>
4332
4333 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4334 backslash from regexp pattern.
4335
4336 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4337 procedure. Use it to run all the "continue to bp overloaded"
4338 tests. Note that this changes the names of the tests slightly.
4339 If the breakpoint hit message includes a hex PC value, because
4340 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4341 from the real source code, still consider that a pass.
4342
4343 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4344 XFAIL here if the breakpoint message contains a hex address. Note
4345 similar change on 1999-11-02.
4346
4347 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4348
4349 * gdb.base/ptype.exp: Establish a default source file before
4350 calling get_debug_format.
4351
43522000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4353
4354 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4355
8b93c638
JM
43562000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4357
4358 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4359 of successive stepi commands -- while in the prologue we should see
4360 the function entry bracket.
4361
43622000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4363
4364 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4365 reach __change_mode() when stepping through the end of main().
4366
c5394b80
JM
43672000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4368
4369 * gdb.base/default.exp: Fix expected pattern.
4370 * gdb.base/help.exp: Same.
4371
0d06e24b
JM
43722000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4373
4374 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4375 Don't use xfail's because that affects only the following test.
beb998c6 4376
0d06e24b
JM
4377 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4378 solaris or linux.
4379
4380 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4381
dc96c6c7 43822000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4383
beb998c6 4384 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4385 "A syntax error" rather than "A parse error". Accept both.
4386
43872000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4388
4389 * gdb.base/default.exp: Remove OS dependent string from "target
4390 remote" test.
4391 * gdb.base/help.exp: Same for "help target remote" test.
4392
c3f6f71d
JM
43932000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4394
4395 From Jim Kingdon <kingdon@redhat.com>:
4396
4397 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4398 prompt (cleanup rather than necessity, but still might keep output
4399 from spilling to next test).
4400
44012000-01-02 Fred Fish <fnf@cygnus.com>
4402
4403 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4404 AIX, which defines them in <sys/types.h>.
4405
ed9a39eb 44061999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4407
ed9a39eb
JM
4408 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4409 float" test.
4410
44111999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4412
ed9a39eb 4413 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4414
4415 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4416 outermost frame disallowed".
4417
44181999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4419
4420 * gdb.base/setvar.exp: New tests for setting the value of a struct
4421 with a constant list.
4422
44231999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4424
4425 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4426 require the user to type a cast before setting the value of a struct.
4427
de57eccd
JM
44281999-12-06 Jim Blandy <jimb@cygnus.com>
4429
4430 * gdb.base/default.exp: Expect the new 'info float' command on
4431 all i386 platforms.
4432
4433 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4434 LinuxThreads libraries that don't support debugging.
4435
c2d11a7d
JM
4436Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4437
4438 * gdb.base/remote.c: Fill the buffer with truely random data.
4439 Change the buffer type to ``unsigned char'' to simplify size
4440 arithmetic.
4441
4442 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4443 stub only handles 400-1 byte packets. Verify that the download
4444 worked.
4445
44461999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4447
4448 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4449 tests, using UNRESOLVED for the untested cases. Also, does not wait
4450 for a timeout if the prompt was received before a recognizable pattern.
4451
44521999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4453
4454 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4455
44561999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4457
4458 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4459 watchpoints.
4460
44611999-11-24 Jason Merrill <jason@casey.cygnus.com>
4462
4463 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4464
4465 * gdb.c++/local.exp: Be more flexible in recognizing local class
4466 name mangling. Don't allow horribly truncated method names.
4467 * gdb.c++/derivation.exp: Expect protected inheritance.
4468 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4469 * gdb.c++/virtfunc.exp: Likewise.
4470 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4471 when printing a nested enum.
4472
44731999-11-22 Jim Blandy <jimb@cygnus.com>
4474
4475 * gdb.base/step-test.exp: Properly await GDB's response to setting
4476 a breakpoint on the call to large_struct_by_value.
4477
4478 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4479 just because we have debug info for the `start' function.
4480
44811999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4482
4483 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4484 "Unknown signal" messages, which indicate (on LinuxThreads) that
4485 GDB doesn't know how to debug threads on this system. This is
4486 better than hanging while philosopher 0 dumps chatter into gdb.log.
4487
44881999-11-18 Tom Tromey <tromey@cygnus.com>
4489
4490 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4491
44921999-11-18 Fred Fish <fnf@cygnus.com>
4493
4494 * gdb.base/coremaker2.c: Add sample program for generating
4495 cores that is more self contained than coremaker.c. Eventually
4496 I'll add more code to this and tie it into the testsuite.
4497
4ce44c66
JM
44981999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4499
4500 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4501
45021999-11-10 Jimmy Guo <guo@cup.hp.com>
4503
4504 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4505 from $srcdir/lib/.
4506 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4507 and gdb.c++/.
4508
4509 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4510
beb998c6 4511 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4512 'continue with watch' test point.
4513
45141999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4515
4516 Merged from p2linux-990323-branch:
beb998c6 4517
4ce44c66
JM
4518 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4519
11cf8741
JM
4520Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4521
4522 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4523 {limit,fixed}''. Test ``set download-write-size''.
4524
4525Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4526
4527 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4528 gdb_expect_list.
4529
4530Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4531
4532 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4533
45341999-11-03 Mark Salter <msalter@cygnus.com>
4535
4536 * gdb.base/break.exp: Fix "stub continue" pattern.
4537
45381999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4539
4540 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4541
45421999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4543
4544 * gdb.base/display.exp ("finish"): Add timeout clause.
4545
4546 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4547 plain prompt clause, so this doesn't have to time out in order to
4548 fail.
4549
4550 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4551 breakpoint hit messages include an address.
4552
4553 * gdb.base/display.exp: Don't forget to escape parens in regular
4554 expressions. Unix regexp notatation sucks.
4555
45561999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4557
4558 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4559 order for 'signalled' message.
4560
5c44784c
JM
45611999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4562
4563 From Jimmy Guo <guo@cup.hp.com>:
4564 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4565 * gdb.base/annota1.c: Add code for tests to work with.
4566
45671999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4568
4569 * gdb.base/remote.exp: New test for remote downloading settings.
4570 * gdb.base/remote.c: New file with large .data.
4571
917317f4
JM
45721999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4573
4574 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4575 for LinuxThreads support, merged from the Code Fusion branch.
4576
4577Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4578
4579 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4580 containing exp_continue into a while within an expect. Don't
4581 attempt a start more than three times. Check return value from
4582 gdb_load.
beb998c6 4583
2df3850c
JM
4584Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4585
4586 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4587 a pass case.
4588
2acceee2
JM
45891999-10-01 Kevin Buettner <kevinb@cygnus.com>
4590
4591 * gdb.base/break.c (main): Added a statement that we can step
4592 off of.
4593 * gdb.base/break.exp: Added tests for setting a breakpoint
4594 at an offset and stepping onto a breakpoint.
4595
45961999-10-01 Fred Fish <fnf@cygnus.com>
4597
beb998c6 4598 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4599 gdb output.
4600
c2c6d25f
JM
46011999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4602
4603 * gdb.base/break.exp: Code locations are in hex, don't forget!
4604 (For HP-UX.)
4605
46061999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4607
4608 * condbreak.exp: Use break.c as test program.
4609 * condbreak.c: Remove, redundant with break.c.
4610
46111999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4612
4613 * config/monitor.exp (gdb_target_monitor): Disable X- and
4614 Z-packets if the target needs it.
4615
46161999-09-13 James Ingham <jingham@leda.cygnus.com>
4617
4618 * gdb.c++/overload.exp: Added tests for listing overloaded
4619 functions with function pointers in the arg, explicitly calling
4620 out the version you want.
4621
cff3e48b
JM
46221999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4623
4624 * long_long.exp: Add variations of test cases that work for
4625 targets with 16-bit ints and 32-bit doubles.
4626
d4f3574e
SS
46271999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4628
4629 * break.c (main): Compare a possibly-uninitialized argc with an
4630 unlikely value that fits in 16 bits.
4631
46321999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4633
4634 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4635 0xfeeb, don't want negative numbers if ints are 16 bits.
4636
4637 * lib/gdb.exp (skip_cplus_tests): New proc.
4638 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4639 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4640 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4641 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4642 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4643 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4644 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4645 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4646
4647 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4648
4649Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4650
4651 * gdb.base/corefile.exp (up): Allow a parameter to appear
4652 in the frame that we're going up to.
4653
4654 From Jim Blandy <jimb@cygnus.com>:
4655
4656 * gdb.base/default.exp (info float): Expect some output now.
4657
4658 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4659 returning floating-point values to fail on the x86.
4660 * gdb.base/callfwmall.exp (do_function_calls): Same.
4661
4662 * gdb.base/list.exp (test_listsize): Correct expectations for
4663 listing line 1 with listsize 2. Also, listing a single line
4664 works now, as does listing three lines. [Kevin's note: There
4665 were a number of other cases fixed too where the expectations
4666 differed...]
4667
46681999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4669
4670 * gdb.base/selftest.exp: Add case for when version prints as
4671 constant string instead of char pointer.
4672
104c1213
JM
46731999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4674
4675 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4676 stepping out of main.
4677
4678 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4679 G++ used.
4680
4681 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4682 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4683
4684 * gdb.c++/ovldbreak.exp: Update match string in test that
4685 includes a warning of multiple breakpoints.
4686
46871999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4688
4689 * gdb.base/display.exp: Improve precision of step-after-finish
4690 added yesterday.
4691
4692 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4693 test.
4694
4695 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4696 configs when using G++, not just hppa*.
4697
46981999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4699
4700 * gdb.base/async.c: New file.
4701 * gdb.base/async.exp: New file.
4702
4703Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4704
4705 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4706 PA64.
4707
53a5351d
JM
4708Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4709
104c1213
JM
4710 * gdb.base/display.exp: "finish" can leave us mid-line on many
4711 targets, deal with it. Add a small constant to main, instead of
4712 1000 since main+1000 may not be a valid address in the target.
4713
53a5351d
JM
4714 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4715 on hpux11.
4716
4717 * gdb.base/attach.exp: Handle another hpux11 error message variant
4718 when attaching to a process that does not exist.
4719
47201999-08-19 J.T. Conklin <jtc@redback.com>
4721
4722 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4723 characters in 'continue to 1241' test.
4724
47251999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4726
4727 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4728 stop in print_long_arg_list, define and use a whitespace
4729 variable in print_small_structs test, add an XFAIL for Solaris.
4730 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4731 interested enough to fix.
4732
7be570e7
JM
47331999-08-13 Keith Seitz <keiths@cygnus.com>
4734
4735 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4736 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4737 proc knows about targets other than the natives.
4738 (test_assign): Use "gdb_run_cmd" to "run" the target.
4739 Check that we've actually hit the breakpoint at main.
4740 When we attempt to assign a value to a local variable, check
4741 that the variable is in the current scope, i.e., don't use
4742 a test with an empty result.
4743
4744Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4745
4746 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4747 command.
4748
47491999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4750
4751 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4752 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4753 gdb.compat, gdb.threads-hp.
4754 gdb.hp/configure, gdb.hp/configure.in: New files.
4755 gdb.hp/Makefile.in: Recurse into new subdirs.
4756 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4757 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4758 in object files.
4759 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4760
96baa820
JM
47611999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4762
4763 * gdb.base/display.exp: Help expect by putting a newline in the
4764 funky printf, remove a bogus p/a test.
4765
47661999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4767
4768 * gdb.base/display.exp: Make sure that when we say 'run', we are
4769 connected to the target. This is necessary when running not
4770 natively.
4771
47721999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4773
4774 * gdb.base/step-test.exp: Removed some extraneous messages.
4775
4776 * gdb.base/long_long.exp: Don't run memory examination tests
4777 on little-endian targets (they will need a different set of
4778 results to match).
4779
47801999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4781
4782 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4783 until somebody decides to fix GDB.
4784
4785 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4786 constant as "ULL".
4787 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4788 matches for a couple x/2 commands.
4789
a0b3c4fd
JM
47901999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4791
4792 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4793 by merging in ref-types2 tests.
4794 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4795
4796 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4797 * gdb.c++/Makefile.in: Add standard actions.
4798 (EXECUTABLES): Rename from PROGS, update list.
4799 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4800 from gdb.hp.
4801 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4802 foo and bar locals.
4803 * gdb.c++/anon-union.exp: Fix tests to match.
4804 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4805 expect matches to handle output variations.
4806 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4807 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4808 output, add HP alternatives for new and delete prints.
4809 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4810 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4811 * gdb.c++/demangle.exp: Use $style when reporting failure.
4812 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4813 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4814 match alternatives.
4815 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4816 compilers.
4817 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4818 * gdb.c++/method.exp: Add match alternatives.
4819 * gdb.c++/misc.cc: Add bool types.
4820 * gdb.c++/misc.exp: Add tests for bool types.
4821 * gdb.c++/overload.exp: Add xfails.
4822 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4823 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4824 add some more template parameter tests (only for HP currently).
4825 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4826 * gdb.c++/virtfunc.cc: Add return type and value for main.
4827 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4828 match alternatives.
beb998c6 4829
a0b3c4fd
JM
48301999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4831
4832 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4833
48341999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4835
4836 * gdb.base/signals.exp: Don't expect getting a backtrace from
4837 within a signal handler to fail on Linux.
4838
48391999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4840
4841 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4842 * lib/gdb.exp: Remove some gratuitious semicolons.
4843 (delete_breakpoints): Increase timeout.
4844 (gdb_expect): Add -notransfer option.
4845 (gdb_test): Use -notransfer option.
4846 (get_compiler_info): Add f77 case.
4847 (get_compiler): New proc, split out from gdb_preprocess, add f77
4848 case.
4849 (gdb_preprocess): Call get_compiler.
4850
4851 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4852 * gdb.base/attach.exp, gdb.base/display.exp,
4853 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4854 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4855 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4856 third arg to gdb_test.
4857 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4858 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4859 HP-UX xfails, add others.
4860 * gdb.base/completion.exp: Reflect name change of self-test.
4861 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4862 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4863 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4864 HP failure number.
4865 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4866 useless HP-UX 10.30 references.
4867 * gdb.base/maint.exp: Loosen matches.
4868 * gdb.base/pointers.c (main): Declare more_code.
4869 * gdb.base/pointers.exp: Match on output of a `next'.
4870 * gdb.base/structs.c: Add prototypes.
4871 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4872 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4873
48741999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4875
4876 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4877 command.
4878
48791999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4880
4881 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4882 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4883
4884 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4885 debug info. Deal with lack of signal hanlder info in stack.
4886
4887 From Jim Kingdon <kingdon@redhat.com>:
4888 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4889
5a2468f5
JM
48901999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4891
4892 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4893 gdb.base/foll-vfork.exp: Don't run for crosses.
4894
adf40b2e
JM
4895Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4896
4897 * gdb.base/configure.in: Check for gdbvars.exp instead of
4898 a1-selftest.exp.
4899 * gdb.base/configure: Re-generate.
4900
49011999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4902
4903 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4904 in trying to run first and name is too long.
4905
4906 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4907 pointers2.c and pointers2.exp, respectively.
4908 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4909 doschk happier.
4910
43e526b9
JM
49111999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4912
4913 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4914 callfuncs2.c and callfuncs2.exp.
4915
4916 * gdb.base/list.exp: Remove mistaken xfails.
4917 * gdb.base/list0.h: Add optional prototypes.
4918
9846de1b
JM
4919Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4920
4921 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4922 calling malloc.
4923 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4924 * ptype.exp: Move test for get_debug_format to before its first
4925 use.
4926
49271999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4928
4929 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4930 * gdb.base/annota2.cc, annota2.exp: Move from here.
4931 * gdb.c++/annota2.cc, annota2.exp: To here.
4932 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4933
43ff13b4
JM
4934Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4935
4936 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4937 a consistent format.
4938
085dd6e6
JM
49391999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4940
4941 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4942 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4943 HP compilers, also set the globals $true and $false.
4944
4945 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4946 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4947 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4948 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4949 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4950 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4951 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4952 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4953 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4954 whatis.c} Add C++ compatible function definitions and return
4955 types, add includes for library functions.
4956 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4957 * gdb.base/step-test.c (myglob): Rename from glob.
4958 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4959 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4960 files, move here from gdb.hp.
4961 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4962 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4963 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4964 Adjust line numbers in regexps.
4965
4966 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4967 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4968 instead of 0/1.
4969
4970 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4971 foll-vfork.exp: New files, move here from gdb.hp.
4972 * gdb.base/page.exp: New file, test of pagination command.
4973
4974 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4975 recursion test.
4976 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4977
4978 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4979 gdb.base/solib.exp: Fix compiler invocation process.
4980
4981 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4982 HP-UX 11, turn off overload resolution explicitly.
4983 * gdb.base/commands.exp: Set argument list explicitly, add
4984 watchpoint test.
4985 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4986 them work.
4987 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4988 expressions properly.
4989 * gdb.base/corefile.exp: Loosen the match slightly.
4990 * gdb.base/default.exp: Allow "Error accessing memory" message
4991 also.
4992 * gdb.base/display.exp: Skip over x/0 j if PA64.
4993 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4994 * gdb.base/interrupt.exp: Ditto.
4995 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4996 in use.
4997 * gdb.base/list.exp: Add xfails for HP-UX.
4998 * gdb.base/long_long.exp: Refine some of the numeric matches.
4999 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5000 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5001 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5002 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5003 * gdb.base/ptype.exp: Succeed on more varieties of output.
5004 * gdb.base/scope.exp: Add xfails for HP-UX.
5005 * gdb.base/sect-cmd.exp: Add more cases.
5006 * gdb.base/setvar.exp: Add xfails for HP-UX.
5007 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5008 * gdb.base/signals.exp: Match on void symbolically.
5009 * gdb.base/step-test.exp: Add case for PA64.
5010 * gdb.base/term.exp: Add exit and restart.
5011 * gdb.base/twice.exp: Clean up after self.
5012 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5013 * gdb.base/whatis.exp: Allow more ways to pass tests.
5014
5015 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5016 no longer useful.
5017
5018Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5019
5020 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5021 list of patterns.
5022 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5023 print_double_array(double_array)", "continuing to breakpoint
5024 1018", "print print_double_array(array_d)" and "continuing to
5025 1034" tests.
beb998c6 5026
085dd6e6
JM
50271999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5028
5029 * Makefile.in: Add empty html and install-html targets.
5030
50311999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5032
5033 * config/mt-*: Remove, these haven't been used since 1996.
5034
50351999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5036
5037 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5038 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5039 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5040
9e0b60a8
JM
50411999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5042
5043 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5044 simpler match case for the ptype of the big class.
5045
50461999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5047
5048 * gdb.exp: Fix test for gdb_prompt existence.
5049
50501999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5051
5052 * gdb.exp (gdb_test): Add fail after calls to perror.
5053
50541999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5055
5056 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5057
50581999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5059
5060 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5061
0f71a2f6
JM
5062Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5063
5064 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5065 malloc() is linked in.
5066
50671999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5068
5069 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5070 step at end.
5071
5072 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5073
50741999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5075
5076 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5077
cce74817
JM
5078Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5079
5080 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5081 * gdb.base/mips_pro.exp: Likewise.
5082
50831999-06-02 Keith Seitz <keiths@cygnus.com>
5084
5085 * gdb.c++/templates.cc: Change all "new" operators to throw
5086 an exception.
5087 * gdb.c++/cplusfuncs.cc: Likewise.
5088
5089 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5090
5091Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5092
5093 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5094 * gdb.base/ending-run.exp: When stepping out of main, accept a
5095 step into an arbitrary assembler file.
5096
392a587b
JM
50971999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5098
beb998c6 5099 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5100 "breakpoint-invalid" to be printed.
beb998c6 5101 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5102 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5103 * gdb.base/annota2.cc: Initialize a.x to 0.
5104
9e086581
JM
51051999-05-17 Keith Seitz <keiths@cygnus.com>
5106
5107 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5108 when "skip_float_tests" set.
5109 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5110 "print print_ten_doubles", and "step into print_long_arg_list".
5111 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5112 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5113 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5114 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5115 "skip_float_tests" is set.
5116 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5117 when "skip_float_tests" set.
beb998c6 5118
cd0fc7c3
SS
51191999-05-06 Keith Seitz <keiths@cygnus.com>
5120
5121 * gdb.base/annota2.cc: Include stdio.h.
5122
5123Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5124
5125 * gdb.base/crossload.exp: Remove, this has been disabled ever
5126 since BFD stopped including all targets, and cross-GDB gets
5127 plenty of testing anyway.
5128 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5129 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5130 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5131 * gdb.base/README: Remove, was doc for this.
5132 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5133 needed.
5134
b83266a0
SS
51351999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5136
5137 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5138 output.
5139
5140 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5141 * gdb.base/annota2.exp: New file. More annotation tests.
5142 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5143 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5144
51451999-04-23 Angela Marie Thomas <angela@cygnus.com>
5146
5147 * config/cfdbug.exp: New file.
5148
7a292a7a
SS
51491999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5150
5151 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5152 Marcus Daniel's and Dale Hawkins's demangler crashes.
5153
5154 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5155 test_lucid_style_demangling, test_arm_style_demangling,
5156 test_hp_style_demangling): Try Tom Tromey's core-dumping
5157 identifier under each demangling style.
5158
51591999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5160
5161 * gdb.c++/demangle.exp: Include the current demangling style
5162 in all test names.
5163 (current_demangling_style): New global variable.
5164 (set_demangling_style, test_demangling_core, test_demangling,
5165 test_demangling_exact): New functions.
5166 (test_gnu_style_demangling, test_lucid_style_demangling,
5167 test_arm_style_demangling, test_hp_style_demangling): Use those,
5168 instead of calling gdb_test and gdb_test_exact directly.
5169 (catch_demangling_errors): New function, which reports errors
5170 signalled by the demangling test functions in an orderly way.
5171 (do_tests): Use catch_demangling_errors.
5172
51731999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5174
5175 * gdb.base/signals.exp (test_handle_all_print): Use () for
5176 grouping in expressions, not {}.
5177
5178 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5179 initialized yet.
5180
51811999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5182
5183 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5184 are listed.
5185
51861999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5187
5188 * gdb.stabs/weird.exp: Test for CC being defined before
5189 looking at its value.
5190
51911999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5192
5193 * gdb.base/call-ar-st.exp: Remove stray '#'.
5194 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5195 "short int" and "long int".
5196 * gdb.c++/overload.cc: Cast the string added in the previous
5197 change, to mollify finicky HP compiler.
5198 * gdb.hp/reg-test.exp (testfile): Fix file name.
5199 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5200
7a292a7a
SS
5201 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5202 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5203 alternate form of enum ptype.
5204
c906108c
SS
52051999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5206
7a292a7a
SS
5207 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5208 * gdb.hp/*.exp: Change all to run compiler probe only after
5209 passing skip_hp_tests, so as not to waste time on guaranteed
5210 failure.
5211
c906108c
SS
5212 * gdb.c++/overload.cc: Pass string instead of char addr, always
5213 init ccpfoo.
5214 * gdb.c++/templates.cc: Fix syntax error.
5215
7a292a7a
SS
5216Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5217
5218 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5219 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5220 command.
5221
52221999-03-18 James Ingham <jingham@cygnus.com>
5223
5224 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5225
5226 * gdb.c++/method.exp: It was testing an uninitialized int on the
5227 stack and assuming it was positive.
5228
5229 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5230
5231 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5232 keep it from killing the rest of the tests.
7a292a7a
SS
5233 Use gdb_continue_to_end.
5234
5235 * gdb.base/sigall.exp: use gdb_continue_to_end.
5236
5237 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5238
5239 * gdb.base/display.exp: use runto_main, not run.
5240
beb998c6
AC
5241 * gdb.base/default.exp: Check for the current error message in the
5242 r abbreviation test.
7a292a7a
SS
5243 Add strongarm to the targets that know info float.
5244
beb998c6 5245 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5246 run which doesn't work with monitors.
5247
5248 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5249
5250 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5251
5252 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5253 program. Traps the case (in Cygmon) when the program never really
5254 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5255 more places, so I used my name. Sorry Mark...
5256
5257 * config/monitor.exp (gdb_target_monitor): added another
5258 target_info parameter: remotebinarydownload. This will set the
5259 remotebinarydownload flag if this is causing some boards trouble.
5260
52611999-03-18 Mark Salter <msalter@cygnus.com>
5262
5263 * lib/gdb.exp (continue_to_exit): New function.
5264
5265 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5266 * gdb.base/ending-run.exp: Ditto.
5267 * gdb.base/step-test.exp: Ditto.
5268
52691999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5270
5271 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5272 (suggested by Art Haas <ahaas@neosoft.com>).
5273
52741999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5275
5276 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5277
5278Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5279
5280 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5281 descriptions of types (short unsigned int vs unsigned short, etc).
5282
52831999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5284
5285 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5286 a call to strlen; sometimes we do have sources.
5287
52881999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5289
5290 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5291 character, so GDB won't print garbage after its end.
beb998c6 5292
c906108c
SS
5293 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5294 breakpoint there instead. Sometimes GCC emits memcpy to handle
5295 the large structures being passed by value, so we step into that
5296 instead of sum_array_print, which obscures what we're really testing.
5297 * gdb.base/step-test.exp: However, we do want a test that notices
5298 the bizarre steps into memcpy, so do that here. Add check for
5299 stepping into function calls that pass large structures by value.
5300 ("Is that a noun clause, or are you just happy to see me?")
5301 Remove all references to specific line numbers.
5302 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5303 New type and function.
5304 (main): Call large_struct_by_value, passing it a large struct by value.
5305 * lib/gdb.exp (gdb_get_line_number): New function.
5306
5307 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5308 more portable.
5309
7a292a7a
SS
53101999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5311
c906108c
SS
5312 * lib/gdb.exp: Doc fixes.
5313
7a292a7a
SS
53141999-03-05 Nick Clifton <nickc@cygnus.com>
5315
beb998c6 5316 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5317
53181999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5319
c906108c
SS
5320 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5321 commands. They're not germane to this test, and they don't work
5322 that way on remote targets.
5323
3fc11d3e
JM
53241999-03-01 James Ingham <jingham@cygnus.com>
5325
5326 * Changelog entries merged over from gdb development branch.
5327
3fc11d3e
JM
5328 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5329
5330 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5331 for outputting results of test run.
5332
2d4a1622 5333 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5334
5335 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5336
7a292a7a
SS
53371999-02-25 Felix Lee <flee@cygnus.com>
5338
5339 * lib/gdb.exp (debug_format): initialize
5340
c906108c
SS
53411999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5342
5343 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5344 * gdb.base/call-rt-st.c: Ditto.
5345
c906108c
SS
53461999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5347
5348 * gdb.threads/pthreads.exp (horiz): New variable.
5349 (test_startup): Fix regexps that capture thread numbers.
5350
53511999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5352
5353 * gdb.base/smoke.exp: Disambiguate two test case names (both
5354 called ``print'').
5355
5356Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5357
5358 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5359 compilation.
5360
53611999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5362
5363 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5364 actual output formatting.
5365 * gdb.base/smoke.exp: GDB removes leading 0's.
5366 * gdb.base/volatile.exp: Don't check type of remuneration;
5367 that variable is no longer defined in constvars.c.
5368 * gdb.base/step-test.c (main): Exit with explicit exit code.
5369 * gdb.base/step-test.exp: Remove two nexti checks--they are
5370 not portable.
5371
53721999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5373
5374 * gdb.base/help.exp ("help delete display"): Fix test to match
5375 gdb's output.
5376
5377 * gdb.base/long_long.c (known_types): Initialize values to zero.
5378 * gdb.base/long_long.exp: Step one more line
5379 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5380 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5381 unique test case names.
5382
5383Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5384
beb998c6 5385 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5386
5387 * gdb.c++/method.exp: Add missing close brace.
5388
53891999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5390
5391 * gdb.base/maint.exp: Use 'set height 0' to disable page
5392 prompting, not 'set height 400'.
5393
5394 Fix a bunch of timeouts.
5395 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5396 four separate tests, so expect doesn't take forever to match a ton
5397 of text against a regexp with lots of .* forms.
5398 ("maint print psymbols", "maint print symbols"): Make some of
5399 these greps more selective, so that expect doesn't try to wade
5400 through huge piles of output and time out.
5401
5402 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5403
5404 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5405 tests: one which doesn't expect shlib events to be reported, and
5406 another which does, but is XFAIL for all platforms other than
5407 HP/UX.
5408
5409 * gdb.base/break.exp: Teach the test suite that the `catch
5410 fork', `catch vfork', and `catch exec' commands produce error
5411 messages on platforms that don't provide these features.
5412
5413Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5414
5415 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5416 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5417 (shortening names from solib_threshold.exp etc), won't run on
5418 anything but HP-UX for the foreseeable future.
5419 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5420 reflect move.
5421
5422Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5423
5424 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5425 gdb.trace/Makefile.in (clean): Remove all test executables.
5426
5427Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5428
5429 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5430 successfully re-sets breakpoints in shared libraries.
5431 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5432
5433Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5434
beb998c6
AC
5435 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5436 and compiled w/o GCC.
c906108c
SS
5437
5438 * gdb.hp/watch-cmd.exp: ditto.
5439
5440 * gdb.hp/watch-hp.exp: ditto.
5441
5442 * gdb.hp/xdb1.exp: ditto.
5443
5444 * gdb.hp/xdb2.exp: ditto.
5445
5446 * gdb.hp/dbx.exp: ditto.
5447
5448Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5449
5450 * constvars.c: Remove C++-isms.
5451 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5452 with GCC.
5453
5454Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5455
5456 The following changes are part of the HP merge.
5457
5458 * gdb.base/break.exp: new tests to verify that catchpoints for
5459 fork, vfork, and exec don't trigger inappropriately.
5460
5461 * gdb.base/opaque.exp: compile one file at a time, then link.
5462
5463 * gdb.base/signals.exp: be more restrictive about which hppa
5464 systems receive a setup_xfail. new tests.
5465
5466 * gdb.base/solib_threshold.build: new file.
5467 * gdb.base/solib_threshold.exp: new file.
5468 * gdb.base/solib_threshold.link_opts: new file.
5469 * gdb.base/solib_threshold.mk: new file.
5470 * gdb.base/gen_solib_threshold.c: new file.
5471
5472 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5473 tests. New tests for enums inside classes.
5474
5475 * gdb.c++/compiler.cc: indicate support of template debugging.
5476
5477 * gdb.c++/demangle.exp: run hp style demangling tests.
5478
5479 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5480 tests.
5481
5482 * gdb.c++/misc.cc: changes to support new tests.
5483
5484 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5485 to support new tests.
5486
5487 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5488 gcc, then skip these tests.
5489
5490Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5491
5492 The following files are part of the HP merge; some had longer
5493 names at HP, but have been renamed to be no more than 14
5494 characters in length.
5495
5496 * gdb.hp/ambiguous.cc: new file.
5497 * gdb.hp/ambiguous.exp: new file.
5498 * gdb.hp/attach.exp: new file.
5499 * gdb.hp/attach2.exp: new file.
5500 * gdb.hp/classes-hp.exp: new file.
5501 * gdb.hp/ctti.exp: new file.
5502 * gdb.hp/ctti-add.cc: new file.
5503 * gdb.hp/ctti-add1.cc: new file.
5504 * gdb.hp/ctti-add2.cc: new file.
5505 * gdb.hp/ctti-add3.cc: new file.
5506 * gdb.hp/dbx.exp: new file.
5507 * gdb.hp/exception.cc: new file.
5508 * gdb.hp/exception.exp: new file.
5509 * gdb.hp/foll-exec.c: new file.
5510 * gdb.hp/foll-exec.exp: new file.
5511 * gdb.hp/foll-fork.c: new file.
5512 * gdb.hp/foll-fork.exp: new file.
5513 * gdb.hp/foll-vfork.c: new file.
5514 * gdb.hp/foll-vfork.exp: new file.
5515 * gdb.hp/inherit-hp.exp: new file.
5516 * gdb.hp/more-steps.exp: new file.
5517 * gdb.hp/namespace.cc: new file.
5518 * gdb.hp/namespace.exp: new file.
5519 * gdb.hp/optimize.exp: new file.
5520 * gdb.hp/pxdb.c: new file.
5521 * gdb.hp/pxdb.exp: new file.
5522 * gdb.hp/quicksort.exp: new file.
5523 * gdb.hp/reg-test.exp: new file.
5524 * gdb.hp/reg-test.s: new file.
5525 * gdb.hp/sized-enum.c: new file.
5526 * gdb.hp/sized-enum.exp: new file.
5527 * gdb.hp/start-stop.exp: new file.
5528 * gdb.hp/templ-hp.cc: new file.
5529 * gdb.hp/templ-hp.exp: new file.
5530 * gdb.hp/thr-lib.c: new file.
5531 * gdb.hp/thr-lib.exp: new file.
5532 * gdb.hp/thr-lib.h: new file.
5533 * gdb.hp/thr-liblib.c: new file.
5534 * gdb.hp/virtfun-hp.c: new file.
5535 * gdb.hp/virtfun-hp.exp: new file.
5536 * gdb.hp/watch-cmd.exp: new file.
5537 * gdb.hp/watch-hp.exp: new file.
5538 * gdb.hp/xdb1.exp: new file.
5539 * gdb.hp/xdb2.exp: new file.
5540 * gdb.hp/xdb3.exp: new file.
5541
5542Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5543
5544 The following files are part of the HP merge; some had longer
5545 names at HP, but have been renamed to be no more than 14
5546 characters in length.
5547
5548 * gdb.base/ss.h: new file.
5549 * gdb.base/call-ar-st.c: new file.
5550 * gdb.base/call-ar-st.exp: new file.
5551 * gdb.base/call-rt-st.c: new file.
5552 * gdb.base/call-rt-st-exp: new file.
5553 * gdb.base/call-strs.exp: new file.
5554 * gdb.base/ena-dis-br.exp: new file.
5555 * gdb.base/environ.exp: new file.
5556 * gdb.base/long_long.exp: new file.
5557 * gdb.base/sect-cmd.exp: new file.
5558 * gdb.base/shlib-cl2.exp: new file.
5559 * gdb.base/smoke.exp: new file.
5560 * gdb.base/so-impl-ld.c: new file.
5561 * gdb.base/so-impl-ld.exp: new file.
5562 * gdb.base/so-indr-cl.c: new file.
5563 * gdb.base/so-indr-cl.exp: new file.
5564 * gdb.base/varargs.exp: new file.
5565 * gdb.base/volatile.exp: new file.
5566 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5567 * gdb.base/display.exp: new file.
c906108c
SS
5568 * gdb.c++/derivation.exp: new file.
5569 * gdb.c++/local.exp: new file.
5570 * gdb.c++/member-ptr.exp: new file.
5571 * gdb.c++/overload.exp: new file.
5572 * gdb.c++/ovldbreak.exp: new file.
5573 * gdb.c++/ref-types.exp: new file.
5574 * gdb.c++/ref-types2.exp: new file.
5575 * gdb.c++/userdef.exp: new file.
beb998c6 5576
c906108c
SS
5577Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5578
5579 * gdb.base/default.exp: Reflect wording change in remote.c.
5580
dc96c6c7 5581Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5582
5583 * gdb.base/help.exp: Update to reflect current text.
5584
5585Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5586
5587 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5588 they're stack variables and contain garbage.
5589 * gdb.c++/anon-union.exp: new file.
5590
5591 The following changes were made by David Taylor
5592 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5593 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5594 in changes by HP.
5595
5596 * gdb.base/bitops.exp: new file.
5597 * gdb.base/default.exp: change expected messages for catch and
5598 info catch tests to reflect HP merge changes.
5599 * gdb.base/enable-disable-break.exp
5600 * gdb.base/ending-run.c: new file.
5601 * gdb.base/long_long.c: new file.
5602 * gdb.base/maint.exp: new file.
5603 * gdb.base/pointers2.exp: new file.
5604 * gdb.base/shlib-call2.exp: new file.
5605 * gdb.base/solib.exp: new file.
5606 * gdb.base/step-test.c: new file.
5607 * gdb.c++/anon-union.cc: new file.
5608 * gdb.c++/local.cc: new file.
5609 * gdb.c++/member-pointer.cc: new file.
5610 * gdb.c++/method.cc: new file.
5611 * gdb.c++/ref-types.cc: new file.
5612 * gdb.c++/ref-types2.cc: new file.
5613 * gdb.c++/userdef.cc: new file.
beb998c6 5614
c906108c
SS
5615 * gdb.base/scope.exp: compile one file at a time, then link.
5616 * gdb.base/langs.exp: ditto.
5617 * gdb.base/list.exp: ditto.
beb998c6 5618
c906108c
SS
5619Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5620
5621 The following changes were made by David Taylor
5622 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5623 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5624 in changes by HP.
beb998c6 5625
c906108c
SS
5626 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5627 skip tests. When compiling pass c++ flag to gdb_compile.
5628 * gdb.c++/
beb998c6 5629
c906108c
SS
5630 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5631 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5632 (skip_hp_tests): new function.
5633 (gdb_preprocess): new function.
5634
5635 * configure.in (hpdir): decide whether to configure gdb.hp.
5636 * configure: regenerated.
5637
5638 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5639 to delete on clean.
5640 (EXECUTABLES): update to reflect new additions.
5641 * gdb.base/commands.exp: update message expected.
5642 * gdb.base/default.exp: add copyright notice.
5643 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5644 * gdb.base/help.exp: update messages to reflect current text.
5645 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5646 targets for recurse tests.
5647 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5648 skip this file.
5649
5650 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5651 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5652 compilation.
5653 * gdb.c++/misc.exp: ditto.
5654 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5655 run the tests. tell gdb_compile that it's a c++ compilation.
5656
5657 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5658
c906108c
SS
5659 * gdb.base/all-bin.exp: new file.
5660 * gdb.base/arithmet.exp: new file.
5661 * gdb.base/assign.exp: new file.
5662 * gdb.base/completion.exp: new file.
5663 * gdb.base/cond-expr.exp: new file.
5664 * gdb.base/condbreak.exp: new file.
5665 * gdb.base/define.exp: new file.
5666 * gdb.base/dollar.exp: new file.
5667 * gdb.base/environment.exp: new file.
5668 * gdb.base/eval-skip.exp: new file.
5669 * gdb.base/jump.exp: new file.
5670 * gdb.base/logical.exp: new file.
5671 * gdb.base/pointers.exp: new file.
5672 * gdb.base/relational.exp: new file.
5673 * gdb.base/section_command.exp: new file.
5674 * gdb.base/whatis-expr.exp: new file.
5675
5676 * gdb.base/all-types.c: new file.
5677 * gdb.base/call-array-struct.c: new file.
5678 * gdb.base/call-return-struct.c: new file.
5679 * gdb.base/call-strings.c: new file.
5680 * gdb.base/callfuncs2.c: new file.
5681 * gdb.base/condbreak.c: new file.
5682 * gdb.base/constvars.c: new file.
5683 * gdb.base/display.c: new file.
5684 * gdb.base/int-type.c: new file.
5685 * gdb.base/jump.c: new file.
5686 * gdb.base/miscexprs.c: new file.
5687 * gdb.base/pointers.c: new file.
5688 * gdb.base/pointers2.c: new file.
5689 * gdb.base/shmain.c: new file.
5690 * gdb.base/shr1.c: new file.
5691 * gdb.base/shr2.c: new file.
5692 * gdb.base/solib.c: new file.
5693 * gdb.base/solib1.c: new file.
5694 * gdb.base/solib2.c: new file.
5695 * gdb.base/varargs.c: new file.
5696 * gdb.c++/derivation.cc: new file.
5697 * gdb.c++/overload.cc: new file.
5698 * gdb.c++/ovldbreak.cc: new file.
5699 * gdb.hp/attach.c: new file.
5700 * gdb.hp/attach2.c: new file.
5701 * gdb.hp/average.c: new file.
5702 * gdb.hp/compiler.c: new file.
5703 * gdb.hp/compiler.cc: new file.
5704 * gdb.hp/execd-program.c: new file.
5705 * gdb.hp/follow-exec.c: new file.
5706 * gdb.hp/follow-fork.c: new file.
5707 * gdb.hp/follow-vfork-and-exec.c: new file.
5708 * gdb.hp/misc-hp.cc: new file.
5709 * gdb.hp/more-steps.c: new file.
5710 * gdb.hp/optimize.c: new file.
5711 * gdb.hp/quicksort.c: new file.
5712 * gdb.hp/run-hp.c: new file.
5713 * gdb.hp/start-stop.c: new file.
5714 * gdb.hp/sum.c: new file.
5715 * gdb.hp/templates-hp.cc: new file.
5716 * gdb.hp/thread-local-in-lib.c: new file.
5717 * gdb.hp/thread-local-in-lib.h: new file.
5718 * gdb.hp/thread-local-in-lib.lib.c: new file.
5719 * gdb.hp/vforked-program.c: new file.
5720 * gdb.hp/virtfunc-hp.cc: new file.
5721 * gdb.hp/watchpoint-hp.c: new file.
5722 * gdb.hp/xdb.c: new file.
5723 * gdb.hp/xdb0.c: new file.
5724 * gdb.hp/xdb0.h: new file.
5725 * gdb.hp/xdb1.c: new file.
5726
5727Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5728
5729 The following change was made by Edith Epstein
5730 <eepstein@cygnus.com> as part of a project to merge in changes
5731 originally made by HP; HP did not create ChangeLog entries.
5732
5733 * gdb.c++/demangle.exp: changed the expected output for some
5734 ARM-style mangling -- removed second reference to datatype.
5735 For example, maint demangle __dt__11T1__pt__2_cFv
5736 T1<char>::~T1<char>(void)
5737 becomes,
5738 maint demangle __dt__11T1__pt__2_cFv
5739 T1<char>::~T1(void)
5740
5741 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5742
c906108c
SS
5743Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5744
5745 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5746 * gdb.trace/backtrace.exp: Likewise.
5747 * gdb.trace/circ.exp: Likewise.
5748 * gdb.trace/collection.exp: Likewise.
5749 * gdb.trace/deltrace.exp: Likewise.
5750 * gdb.trace/infotrace.exp: Likewise.
5751 * gdb.trace/limits.exp: Likewise.
5752 * gdb.trace/packetlen.exp: Likewise.
5753 * gdb.trace/passc-dyn.exp: Likewise.
5754 * gdb.trace/passcount.exp: Likewise.
5755 * gdb.trace/report.exp: Likewise.
5756 * gdb.trace/save-trace.exp: Likewise.
5757 * gdb.trace/tfind.exp: Likewise.
5758 * gdb.trace/tracecmd.exp: Likewise.
5759 * gdb.trace/while-dyn.exp: Likewise.
5760 * gdb.trace/while-stepping.exp: Likewise.
5761
57621998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5763
5764 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5765
5766Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5767
5768 From Brendan Kehoe:
5769 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5770 int return types.
5771
5772Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5773
5774 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5775 remote dos host testing right.
5776
5777Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5778
5779 * gdb.base/corefile.exp: remove some xfails.
5780
5781Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5782
5783 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5784 have different timestamps.
5785
5786Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5787
5788 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5789 gdb.base/default.exp: Replace "exec" with "executable".
5790
5791Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5792
5793 * gdb.base/default.exp: Change else if to elseif from previous
5794 delta.
5795
5796Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5797
5798 * gdb.base/default.exp: Add brace missing from previous delta.
5799
5800Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5801
5802 * gdb.base/default.exp: Support test for info float for all
5803 varieties of arm toolchain.
5804
dc96c6c7 5805Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5806
5807 * gdb.trace/*.exp: remove "remote_download" command.
5808
dc96c6c7 5809Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5810
5811 * gdb.trace/*.exp: remove -gdwarf from compile.
5812
5813Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5814
5815 * gdb.trace/configure.in(AC_INIT): typo
5816 * gdb.trace/configure: regenerated
5817
dc96c6c7 5818Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5819
5820 * config/m68k-emc.exp: New file.
5821 * lib/<emc-support.exp trace-support.exp}: New files.
5822 * configure.in: add new test directory gdb.trace.
5823 * gdb.trace/{configure configure.in Makefile.in}: New files.
5824 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5825 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5826 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5827 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5828 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5829 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5830 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5831
dc96c6c7 5832Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5833
5834 * gdb.c++/classes.exp: Change all regular expressions to match
5835 arbitrary combinations of newline/carriage-return, so that they
5836 will work equally well on Unix and Windows.
5837 * gdb.c++/inherit.exp: ditto.
5838 * gdb.c++/virtfunc.exp: ditto.
5839
58401998-08-11 Dawn Perchik <dawn@cygnus.com>
5841
5842 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5843
c2d11a7d
JM
5844Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5845
5846 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5847 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5848 to use a0-a3/d0-d3 as needed.
5849
5850Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5851
5852 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5853 * gdb.disasm/am33.exp: Corresponding changes.
5854
c906108c
SS
58551998-07-11 Felix Lee <flee@cygnus.com>
5856
5857 * gdb.base/callfuncs.exp: add cmp10 test.
5858 * gdb.base/callfuncs.c (cmp10): new function.
5859
5860Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5861
beb998c6 5862 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5863 into two parts to get around a synchronization problem in expect.
5864
3fc11d3e
JM
5865Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5866
5867 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5868
5869 * configure.in: Add options for gdbtk testsuite.
5870
5871 * configure: Regenerate.
5872
5873 * gdb.gdbtk: New directory to hold gdbtk tests.
5874
c906108c
SS
5875Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5876
5877 * gdb.fortran/types.exp: Escape brackets in expect patterns
5878 for test_float_literal_types_accepted tests.
5879 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5880 before run test.
5881
c2d11a7d
JM
5882Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5883
5884 * am33.exp: Just compile, do not link the testcase.
5885 * am33.s: Add ".am33" pseudoop to force am33 mode.
5886
c906108c
SS
58871998-06-25 Felix Lee <flee@cygnus.com>
5888
5889 * gdb.base/setshow.exp: make sure $pc is sane.
5890
5891 * gdb.stabs/weird.exp: split expect patterns properly.
5892
c2d11a7d
JM
5893Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5894
5895 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5896 * gdb.disasm/am33.exp: Run it.
5897
dc96c6c7 5898Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5899
5900 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5901 match processing (and eliminate spurious timeouts when running).
5902
dc96c6c7 5903Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5904
5905 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5906 exception test, but conditionalize it on target [mach | gnu].
5907
dc96c6c7 5908Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5909
5910 * gdb.base/overlays.exp: fixup compile line for linker script.
5911
5912Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5913
5914 * gdb.fortran/types.exp: don't guess at float size.
5915
5916Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5917
5918 * gdb.base/exprs.exp: delete test that depends on int size.
5919
5920Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5921
5922 * config/sim.exp: Removed checks for target triplets.
5923 (gdb_target_sim): Use gdb,target_sim_options.
5924
5925Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5926
5927 * gdb.base/reread.exp: New file.
5928 * gdb.base/reread1.c: New file.
5929 * gdb.base/reread2.c: New file.
5930
5931Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5932
5933 * config/sim.exp: Use 'target sim -sparclite' when running
5934 SPARClite programs.
5935
5936Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5937
5938 * gdb.base/structs2.exp: New file.
5939 * gdb.base/structs2.c: New file.
5940
5941Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5942
5943 * gdb.asm/common.inc: New file.
5944 * gdb.asm/d10v.inc: New file.
5945 * asm-source.exp: Pass -I's to gas to find .inc files.
5946 Update line numbers in expected output.
5947 * asmsrc1.s: Rewrite.
5948 * asmsrc2.s: Rewrite.
5949 * configure.in: Create arch.inc symlink.
5950 * configure: Regenerate.
5951 * Makefile.in (distclean): Delete arch.inc.
5952
5953Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5954
5955 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5956 (t_enum_value2): ditto
5957 (t_enum_value3): ditto
5958 (main): ditto
5959Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5960
5961 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5962 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5963 change.
5964 Use gdb_test instead of send_gdb/gdb_expect sequences.
5965
5966Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5967
5968 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5969 not void.
5970
5971Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5972
5973 * gdb.base/branches.c: Code with lots of loops and
5974 subroutines. Used to test gdbs ability to single step through PC
5975 changes, especially to test mips-tdep.c:mips_next_pc
5976
5977Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5978
5979 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5980 more rigorous EGCS C++ error checking.
5981
5982Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5983
5984 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5985 tests.
c906108c 5986 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5987 function when asleep.
c906108c 5988 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5989 for i*86 Linux and SVR4 signal handling problems.
5990 Remove linux xfail for `next to handler in signals_tests_1', fixed
5991 by recent infrun.c change.
c906108c 5992 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5993 stack backtraces.
c906108c
SS
5994 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5995 target.[ch] change.
5996
5997Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5998
5999 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6000 for a newline from gdb before continuing.
6001 (default_gdb_exit): Just look for y or n.
6002 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6003 it does, fail the rests of the tests in the file.
6004
6005Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6006
6007 * config/cygmon.exp: New file.
6008
6009Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6010
6011 * gdb.base/list.exp: Fix problem with "list default lines around
6012 main" test on remote targets.
6013
6014 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6015 run test on remote targets.
6016
6017Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6018
6019 * gdb.asm: New directory.
6020 * configure.in: Configure it.
6021 * configure: Regenerate.
6022 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6023 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6024
6025Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6026
6027 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6028
dc96c6c7 6029Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6030
c906108c
SS
6031 * gdb.base/overlays (several files): Merge the two overlay
6032 managers into one. Change variables (foox, barx, bazx, grbxx)
6033 back into ints but force them to load in their proper sections.
6034
6035Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6036
6037 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6038 on-chip insn memory and IMAP1 to upper 128k.
6039 (D10VCopy): Handle memory regions crossing 16k boundaries.
6040 (D10VCopy): Transfer data in 32 bit chunks.
6041
6042Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6043
6044 * gdb.base/overlays.c (main): Exit normally when result is
6045 correct.
6046
6047 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6048 map. Include space for printf in .text segment.
6049
6050 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6051 updated d10v memory VMA/LMA map.
6052 (D10VCopy): Call D10VTranslate.
beb998c6 6053
c906108c
SS
6054Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6055
6056 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6057
6058 * gdb.base/bar.c (barx, bar): Change variable to small array so
6059 that it won't be put into the .sdata - small data -
6060 section. Update reference.
6061 * gdb.base/baz.c (bazx, baz): Ditto.
6062 * gdb.base/foo.c (foox, foo): Ditto.
6063 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6064
6065 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6066 to be arrays.
beb998c6 6067
dc96c6c7 6068Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6069
c906108c
SS
6070 * gdb.base/overlays.exp: fix up and get working again.
6071 Add tests for backtraces from an overlay function.
beb998c6 6072
c906108c
SS
6073Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6074
6075 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6076 "calling function with watchpoint enabled".
6077
6078Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6079
6080 * gdb.base/break.exp (test_next_with_recursion): Remove
6081 gdb_suppress_tests for d10v-*-*.
6082 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6083 pending review of whether it is useful or not.
6084
6085Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6086
6087 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6088
6089Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6090
6091 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6092 * config/dve.exp: New file to support Densan boards.
6093
6094Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6095
6096 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6097 reads and BSD.
6098
6099Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6100
6101 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6102 response.
6103
6104 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6105
6106Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6107
6108 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6109 test.
6110
6111 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6112 target_sizeof_long and target_bigendian_p.
6113 (structs_by_value, structs_by_reference): Check values according
6114 to targets word size and endianess.
beb998c6 6115
c906108c
SS
6116Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6117
6118 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6119 output.
6120
6121Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6122
6123 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6124 Update test of set args help to match source change.
6125
6126Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6127
6128 * gdb.base/default.exp: Expect help system output to be in
6129 alphabetical order.
6130 * gdb.base/help.exp: Ditto.
6131
6132Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6133
6134 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6135 "i*86-pc-linux-gnu*".
6136 * gdb.base/interrupt.exp: Ditto.
6137 * gdb.base/corefile.exp: Ditto.
6138
6139 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6140 define vxworks when building the testcase.
6141
6142 * gdb.base/ptype.exp: Fix testnames to be unique.
6143 * gdb.base/radix.exp: Ditto.
6144 * gdb.base/term.exp: Ditto.
6145 * gdb.base/whatis.exp: Ditto.
6146 * gdb.c++/classes.exp: Ditto.
6147
6148Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6149
6150 * gdb.base/callfuncs.exp: Fix indentation.
6151
6152 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6153 suppress_flag has been set.
6154 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6155 target feature.
6156
6157Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6158
6159 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6160 the testcase.
6161
6162 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6163 set_debug_traps() and breakpoint().
6164 * gdb.c++/misc.cc (main): Ditto.
6165 * gdb.c++/templates.cc (main): Ditto.
6166 * gdb.c++/virtfunc.cc (main): Ditto.
6167
6168Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6169
6170 * lib/gdb.exp(gdb_step_for_stub): New function.
6171 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6172 exists, reload the executable and do a "continue" instead of
6173 doing a jump.
6174 (runto_main): Use gdb_step_for_stub.
beb998c6 6175
c906108c
SS
6176 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6177 tests to have unique names.
6178 * gdb.base/callfuncs.exp: Ditto.
6179 * gdb.base/commands.exp: Ditto.
6180 * gdb.base/default.exp: Ditto.
6181 * gdb.base/help.exp: Ditto.
6182 * gdb.base/list.exp: Ditto.
6183 * gdb.base/opaque.exp: Ditto.
6184 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6185 similar tests.
beb998c6 6186
c906108c
SS
6187 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6188 * gdb.c++/cplusfuncs.cc: Ditto.
6189 * gdb.c++/virtfunc.cc: Ditto.
6190
6191 * config/monitor.exp: Keep track of the last file we saw, rather
6192 than trying to get the info from gdb.
6193
6194 * gdb.fortran/types.exp: Move comment to previous line.
6195
6196Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6197
6198 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6199 target mode.
6200
6201Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6202
6203 From Bob Manson:
6204 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6205 string from GDB when it connects.
6206
6207 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6208
6209Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6210
6211 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6212 if we can't get a debug format from GDB (we may be testing an
6213 older GDB). Use a 10 second timeout when checking for the format.
6214
6215 * gdb.stabs/weird.exp: Fix quoting.
6216
6217 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6218
6219Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6220
6221 * config/arm-ice.exp: New file.
6222
6223Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6224
6225 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6226 until it has been modified to work with the new testsuite.
6227
99707966 6228 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6229 testcase won't compile, cause all of the testcases in the file to
6230 fail instead.
6231
6232 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6233 (gdb_clear_suppressed): New procedure.
6234 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6235 it contains a positive value.
6236
6237Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6238
6239 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6240
6241 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6242
6243Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6244
6245 * lib/gdb.exp (setup_xfail_format): New function.
6246 (get_debug_format): New function to get debug format.
6247 (debug_format): New global variable to hold last value set
6248 by get_debug_format.
6249 * gdb.base/list.exp: Call get_debug_format and expect some
6250 tests to fail for DWARF 1 and COFF formats.
6251 * gdb.c++/ptype.exp: Ditto.
6252 * gdb.c++/classes.exp: Ditto.
6253 * gdb.c++/cplusfuncs.exp: Ditto.
6254 * gdb.c++/inherit.exp: Ditto.
6255 * gdb.c++/templates.exp: Ditto.
6256 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6257
c906108c
SS
6258Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6259
6260 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6261 host doesn't have a currently-open connection.
6262
6263 * config/sparclet.exp: Cleanups and fixes to make it generic for
6264 any gdb stub target. Handle cases where gdb doesn't respond when
6265 interrupted in a sane fashion.
6266
6267 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6268 same thing in a totally different way.
6269
6270 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6271 setting "timeout".
6272 (gdb_start): We set the global gdb_prompt variable in
6273 default_gdb_init now.
6274
6275Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6276
6277 * gdb.base/printcmds.exp: Fix "check for floating addition"
6278 regexp to accept results within approx +/- .01 of exact value.
6279 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6280
6281Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6282
6283 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6284 properly.
6285 (gdb_expect): Add optional timeout parameter, and add timeout
6286 value to various calls.
6287 (gdb_suppress_tests): Only give one warning message per group.
6288
6289Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6290
6291 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6292 global variables. Handle getting a value for $timeout more
6293 gracefully.
6294
6295Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6296
6297 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6298 initialize.
6299 (default_gdb_init): New procedure; allow gdb_init to be overridden
6300 by a target configuration file.
6301 (gdb_expect): Pass the timeout to remote_expect.
6302
6303 * config/monitor.exp(gdb_load): Fix typo in regexp.
6304
6305Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6306
6307 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6308
6309Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6310
6311 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6312 here. Call gdb_target_exec before rebooting the target, to make
6313 sure the connection to the target is closed.
6314 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6315 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6316 Also detect "Timeout reading from remote" error.
6317
6318 * config/gdbserver.exp: Pass the executable being loaded to
6319 gdb_target_monitor. Don't call gdb_file_cmd here; let
6320 gdb_target_monitor do it.
6321
6322 * gdb.disasm/hppa.exp: Don't use exec_output.
6323
6324Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6325
6326 * gdb.base/list.exp: If we're debugging a non-native target,
6327 try to set the pc register to point to the start of the
6328 program before doing the first list command.
6329
6330 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6331 test_calls after restarting.
6332
6333 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6334 reloading.
6335
6336 * gdb.base/watchpoint.exp: Fix typo.
6337
6338 * gdb.base/setshow.exp: Check for use_gdb_stub.
6339
6340 * gdb.base/break.exp: Fix continue until exit test for the gdb
6341 stub case.
6342 * gdb.base/langs.exp: Ditto.
6343
6344 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6345 gdb_load_offset. If we weren't given a file to load, figure out
6346 what the current file is and use it.
6347
6348 * config/i386-bozo.exp: New file.
6349
6350Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6351
6352 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6353 feature.
6354
6355 * config/proelf.exp: New entry.
6356
6357Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6358
6359 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6360 of regexps.
6361
6362 * gdb.base/watchpoint.exp: Don't run the test_stepping
6363 tests if gdb can't call functions on the target.
6364
6365 * gdb.base/setshow.exp: Don't run the set prompt tests if
6366 the board has gdb_prompt set.
6367
6368Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6369
6370 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6371 * gdb.base/commands.exp: Likewise.
6372 * gdb.base/setshow.exp: Likewise.
6373
6374Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6375
6376 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6377 feature.
6378
6379 * config/i960.exp: New file.
6380
6381Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6382
6383 * gdb.base/funcargs.exp: Check for gdb,short_int target
6384 feature instead of looking for explicit target triplets.
6385
dc96c6c7 6386Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6387
beb998c6 6388 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6389 "p 123DEADBEEF", to check parse_number.
6390 * top.c: change "to enable to enable" to "to enable" in a couple
6391 of help strings.
6392
6393Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6394
6395 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6396 on the mn10300.
beb998c6 6397
c906108c
SS
6398Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6399
6400 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6401 where the test executable is run with explicit args.
6402 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6403
6404Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6405
6406 * gdb.base/run.c: Use FAKEARGV to build test executable that
6407 does not require a command line arg, since most simulators
6408 don't currently support passing such an arg into the simulated
6409 program.
6410 * gdb.base/commands.exp: Change tests to insert the proper
6411 value as the arg to the first recursive factorial call. Change
6412 compilation line to define FAKEARGV at compile time.
6413
6414Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6415
6416 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6417 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6418 function with watchpoint enabled" test.
6419
6420Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6421
6422 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6423 Don't call gdb_test when the command doesn't return to a gdb prompt.
6424
6425 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6426 "Tests restarted" messages.
6427
6428Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6429
6430 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6431
dc96c6c7 6432Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6433
6434 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6435 for INFO SYMBOL; add help tests for OVERLAY commands.
6436 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6437 add tests for OVERLAY commands
6438 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6439 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6440 * gdb.base/sigall.c: add usestubs code frag
6441 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6442
c906108c
SS
6443Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6444
6445 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6446 failures.
6447 (gdb_stop_suppressing_tests): Note that tests have restarted.
6448
6449Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6450
6451 * config/h8300.exp: New file.
6452
6453Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6454
6455 * gdb.base/setshow.exp: Check for the existence of a
6456 feature, not its value.
6457
6458Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6459
6460 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6461
6462 * gdb.base/scope.exp: It's now init0(), not init().
6463
6464 * gdb.base/scope0.c: For now, change init() to be init0().
6465
6466 * config/monitor.exp: Use gdb_serial in preference to serial
6467 or netport.
6468
6469 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6470 and it's not already set.
6471
6472Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6473
6474 * gdb.base/setshow.exp: Only test the run command if the target
6475 isn't using a stub and if it supports argument passing.
6476
6477Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6478
6479 * config/udi.exp(gdb_start): Make sure UDICONF is set
6480 properly before starting gdb.
6481
6482Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6483
6484 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6485 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6486 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6487
6488Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6489
6490 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6491 specialized code to reboot the board, use remote_reboot instead.
6492
6493 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6494
6495 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6496
6497 * config/monitor.exp: Make sure we disconnect from the target.
6498 Also, try a reboot/reload cycle instead of failing if the
6499 load fails.
6500
6501Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6502
6503 * gdb.base/default.exp: Don't set match_max.
6504 * gdb.base/help.exp: Ditto.
6505 * gdb.base/list.exp: Ditto.
6506 * gdb.base/signals.exp: Ditto.
6507
6508 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6509 set, use remote_ld to download the testcase instead of
6510 the GDB loader.
6511
6512Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6513
6514 * config/vr5000.exp: New file.
6515
6516 * config/monitor.exp(gdb_target_monitor): Add pattern for
6517 "Ending remote" to detect errors in connecting.
6518
6519 * gdb.base/setshow.exp: Add .* within auto language test.
6520
6521 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6522 target feature.
6523
6524 * config/monitor.exp(gdb_load): Check for a failure when loading,
6525 and reboot the board if necessary.
6526
6527 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6528 a set of tests. Remove print.* from the patterns being checked.
6529
6530Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6531
6532 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6533 refer to gdb_spawn_id.
6534
6535 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6536 longer used.
6537 * config/sparclet.exp: Ditto.
6538 * config/sparclet-old.exp: Ditto.
6539 * config/slite.exp: Ditto.
6540 * config/sim.exp: Ditto.
6541 * gdb.base/funcargs.exp: Ditto.
6542
6543 * lib/gdb.exp:Remove references to gdb_spawn_id.
6544 (gdb_expect): Move to remote.exp.
6545
6546Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6547
6548 * config/monitor.exp: Detect the "Couldn't establish connection"
6549 message from GDB.
6550
6551Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6552
6553 * gdb.base/bitfields.exp: Use runto instead of explicit
6554 gdb_run_cmd/gdb_expect sequences.
6555
6556 * gdb.base/break.exp(text_next_with_recursion): Add match for
6557 gdb_expect call.
6558
6559 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6560 We also need to handle the "A program is being debugged already"
6561 prompt from gdb. Use gdb_test to set the baud rate.
6562
6563 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6564 to 20000. Really. I mean it.
6565
6566Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6567
6568 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6569 fails. If suppress_flag is set, skip perror message about not
6570 being able to send to GDB.
6571 (send_gdb): If suppress_flag is set, don't try to send commands to
6572 GDB.
6573 (gdb_expect): If suppress_flag is set, always fail immediately.
6574 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6575 (gdb_init): Call gdb_stop_suppressing_tests.
6576 (default_gdb_exit): Ditto.
6577 (default_gdb_start): Ditto.
6578
6579 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6580 gdb_stop_suppressing_tests as appropriate.
6581 * gdb.base/break.exp: Ditto.
6582 * gdb.base/callfuncs.exp: Ditto.
6583 * gdb.base/commands.exp: Ditto.
6584 * gdb.base/exprs.exp: Ditto.
6585 * gdb.base/funcargs.exp: Ditto.
6586 * gdb.base/list.exp: Ditto.
6587 * gdb.base/recurse.exp: Ditto.
6588 * gdb.base/scope.exp: Ditto.
6589 * gdb.base/structs.exp: Ditto.
6590 * gdb.c++/inherit.exp: Ditto.
6591
6592Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6593
6594 * config/vr4300.exp: New file.
6595
99707966
MC
6596 * gdb.*/*.exp: Call gdb_expect instead of expect.
6597
6598 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6599
6600Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6601
6602 * lib/gdb.exp(gdb_init): New function.
6603
6604 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6605 for each individual variable set.
6606
6607 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6608 name.
6609
6610 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6611
6612 * gdb.base/scope.exp: Use gdb_test.
6613
6614 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6615 aborting; the testsuite driver will do that for us (see
6616 gdb_finish). Also, use gdb_test in a few more places.
6617
6618Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6619
6620 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6621
6622Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6623
6624 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6625 and "add_tests" are not at the same address.
6626
6627Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6628
6629 * gdb.base/ptype.exp: Use gdb_test.
6630
6631Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6632
6633 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6634 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6635 left in. No longer expect them to fail.
6636
6637 * gdb.stabs/*.mt; Deleted, no longer used.
6638 * gdb.stabs/configure.in: Remove references to target makefile
6639 frags.
6640 * gdb.stabs/configure: Rebuilt.
6641
6642 * gdb.disasm/*.mt: Deleted, no longer used.
6643 * gdb.disasm/configure.in: Remove references to target makefile
6644 frags. Use "sh3.s" as the unique filename for this directory.
6645 * gdb.disasm/configure: Rebuilt.
6646
6647 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6648 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6649 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6650
6651Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6652
6653 * config/udi.exp: Use mondfe,name instead of remote_host.
6654
6655Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6656
6657 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6658 a function with a watchpoint enabled on the mn10200.
6659
6660 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6661 before trying to create it!
6662
6663Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6664
6665 * config/vx.exp: Use hostname instead of netport.
6666
6667 * config/vxworks.exp: New file.
6668
6669 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6670
6671 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6672 gdb before assuming everything worked. Send a ^C if a timeout
6673 occurs.
6674
6675 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6676 $gdb_spawn_id directly.
6677 (gdb_run_cmd): Try _start as well as start. Use the target feature
6678 gdb,start_symbol as the symbol to start from when jumping.
6679
6680Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6681
6682 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6683 redundant) test.
6684
6685 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6686 it doesn't lose for 16bit integer systems.
6687
6688Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6689
6690 * gdb.fortran/types.exp: If the target doesn't support "double"
6691 data types, then expect "real" types to only be 4 bytes.
6692
6693 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6694 call tests if the target doesn't support inferior function calls.
6695
6696 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6697 in printf tests.
6698
6699Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6700
6701 * gdb.base/help.exp: Disable "help set", "help show", and
6702 "help support". Simplify regexp for "help stack".
6703
6704 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6705 to 60 seconds. Temporarily set match_max to 15000 around the
6706 "info copying" test.
6707
6708 * gdb.base/nodebug.exp: Don't try to do an inferior function
6709 call if the target doesn't support them.
6710 * gdb.base/printcmds.exp: Likewise.
6711 * gdb.base/setvar.exp: Likewise.
6712 * gdb.base/structs.exp: Likewise.
6713 * gdb.c++/templates.exp: Likewise.
6714 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6715
6716 * gdb.base/recurse.exp: Enable for the mn10200.
6717
6718 * configure.in: Do configure gdb.stabs directory for *-*-elf
6719 targets.
6720 * configure: Rebuilt.
6721
6722 * gdb.base/break.exp: Check for gdb,noresults before testing
6723 exit status and/or results from the target.
6724 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6725 * lib/gdb.exp: Remove old (now bogus) initialization of
6726 noinferior, noargs, noresults and nosignals.
6727
6728Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6729
6730 * config/sh.exp: New file.
6731
6732 * config/slite.exp: Try to connect multiple times to the board
6733 before rebooting. Only send a "monitor run" if need_monitor_run
6734 is set.
6735
6736 * gdb.base/break.exp: Don't do the "stub continue" test if
6737 the target has gdb_stub set.
6738
6739 * gdb.base/callfuncs.exp: Increase the timeout.
6740
6741 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6742 if the target has gdb,noinferiorio set.
6743
6744 * gdb.base/list.exp: Increase match_max to 10000 characters.
6745
6746 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6747
6748 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6749 target.
6750
6751 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6752
6753Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6754
6755 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6756 trying to delete the copy of gdb. Catch the file delete so we
6757 don't die if the delete fails; also, the file should be copied to
6758 the host, not to the build.
6759
6760Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6761
6762 * lib/gdb.exp(gdb_test): Surround the result pattern with
6763 parenthesis in case it contains multiple regexps separated
6764 with |.
6765
6766 * gdb.base/watchpoint.exp: Use gdb_test.
6767 * gdb.base/default.exp: Ditto.
6768
6769Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6770
99707966 6771 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6772
c906108c
SS
6773 * gdb.base/scope.exp: Use gdb_test.
6774 * gdb.c++/classes.exp: Ditto.
6775 * gdb.c++/inherit.exp: Ditto.
6776
6777Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6778
6779 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6780 remote_exec instead.
6781 * gdb.base/corefile.exp: Don't be ridiculous.
6782 * gdb.base/*.c: Add missing stub invocations.
6783
6784Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6785
6786 * config/slite.exp: Miscellaneous fixes.
6787
6788 * lib/gdb.exp: Fix runto.
6789
6790 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6791 the target.
6792
6793 * gdb.base/watchpoint.exp: Fix regexp.
6794
6795 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6796 close and wait commands, as the descriptor may now be
6797 invalid. Always call "remote_close host".
6798
6799Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6800
6801 Major rewrite for testsuite revision.
beb998c6 6802
c906108c
SS
6803 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6804 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6805 instead of relying on spawn_id to always contain a valid
6806 spawn id.
6807 (get_compiler_info): New procedure to build the ${binfile}.ci
6808 file, instead of replicating this in N different places.
6809 (gdb_compile): New procedure.
beb998c6 6810
c906108c
SS
6811 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6812 appropriate arguments) instead of compile. Use gdb_test in a lot
6813 more places. Use send_gdb instead of send. Always run gdb_start
6814 at the start of a testcase, as this is no longer done magically.
6815
6816 config/*-gdb.exp: Rename without the -gdb suffix.
6817
6818 config/mips.exp: Use remote_close instead of exit_remote_shell.
6819 config/monitor.exp: Use target_info instead of looking at
6820 baud, timeout, etc.
6821 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6822
6823Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6824
6825 * gdb.c++/templates.exp (test_ptype_of_templates),
6826 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6827 Update expect patterns for destructors and assignment operators
6828 to match corresponding c-typeprint.c changes.
6829 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6830 to destructor breakpoint test, GDB should be able to set the
6831 destructor breakpoint without specifying arguments.
6832
6833Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6834
6835 * gdb.threads/pthreads.exp: Change result for failure to compile due
6836 to lack of pthreads runtime support from an error to simply an
6837 unsupported test, per dejagnu standards.
6838
6839Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6840
6841 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6842 where GDB exits to reduce pattern match time.
6843 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6844
6845 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6846
dc96c6c7 6847Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6848
6849 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6850 * gdb.base/default.exp: ditto.
6851 * gdb.base/nodebug.exp: ditto.
6852 * gdb.base/printcmds.exp: ditto.
6853 * gdb.base/ptype.exp: ditto.
6854 * gdb.base/setvar.exp: ditto.
6855 * gdb.base/structs.exp: ditto.
6856 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6857
6858Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6859
6860 * configure, */configure: Rebuild with autoconf 2.12.
6861
6862Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6863
6864 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6865 use new i*86-pc-linux*-gnu quads.
6866 * gdb.base/corefile.exp: Ditto.
6867 * gdb.base/signals.exp: Ditto.
6868 * gdb.base/sigall.exp: Ditto.
6869 * gdb.base/interrupt.exp: Ditto.
6870
6871 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6872 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6873 RedHat 4.0.
beb998c6 6874
c906108c
SS
6875 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6876 linux. This allows the test case to at least compile on latest
6877 linux, but still not run due to missing the threads runtime library.
6878
6879Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6880
6881 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6882 directory to search gdb directory. Accept and step over conditional
6883 stack alignment code. Consume $prompt in failure cases.
6884 Reset timeout to $oldtimeout instead of some arbitrary value.
6885 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6886 timeout problems with infinite stack backtraces.
6887 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6888 Accept function parameters for linkfunc member.
6889
6890Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6891
6892 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6893 (CXXFLAGS): Remove, unreferenced.
6894 (B_OPTIONS): Add for -B options and add code to initialize with
6895 previous -B options and also add -B option to pick up cross compiled
6896 runtime.
6897 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6898 doing cross compiles.
6899 (target_alias): Declare global.
6900 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6901 to verify that gcc exists in build tree, and if so set CC to that
6902 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6903
c906108c
SS
6904Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6905
6906 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6907 ptype test for anonymous union. Fixup testcase to match
6908 current gcc debug output.
6909
6910Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6911
6912 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6913 force argument to an unsigned long type.
6914
6915Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6916
6917 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6918 tests and anonymous union print/ptype tests.
6919 * gdb.base/list.exp (test_forward-search): Increase timeout by
6920 5 minutes for the "search extremely long line" case.
6921 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6922 completely optional and that the pass/fail messages use the command as
6923 the message if that third arg is a null string.
6924 (gdb_test_exact): Arrange that a null string pattern means match a
6925 null string output rather than any output, which might include random
6926 errors.
6927 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6928 backtrace test.
6929 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6930 always failing and failure is now exposed by gdb.exp changes.
6931
6932Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6933
6934 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6935 weren't being noted.
6936
6937Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6938
6939 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6940 * gdb.stabs/weird.exp: Remove v_comb xfails.
6941
dc96c6c7 6942Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6943
6944 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6945 list.exp scope.exp watchpoint.exp]
6946 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6947
dc96c6c7 6948Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6949
6950 * config/monitor.exp: Increase download timeout to 1000 seconds.
6951
dc96c6c7 6952Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6953
6954 * config/m32r.exp: Increase timeout to 120 seconds.
6955
6956Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6957
6958 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6959 and accept older ordering as obsolescent gcc or gdb.
6960 * gdb.c++/templates.exp: Ditto.
6961 * gdb.c++/virtfunc.exp: Ditto.
6962
6963Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6964
6965 * gdb.base/coremaker.c: Add code to mmap some data so we
6966 can check that it ends up in the core file.
6967 * gdb.base/corefile.exp: Add test to read mmapped data
6968 from core file.
6969
dc96c6c7 6970Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6971
6972 * config/m32r.exp: New file.
6973
6974Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6975
6976 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6977 that cflags can contains -gstabs, and work correctly for other tests.
6978
dc96c6c7 6979Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6980
6981 * gdb.base/setshow.exp: New file, tests show and set.
6982 * gdb.base/setshow.c: New file, tests show and set.
6983 * gdb.base/help.exp: Add test for help set|show annotate.
6984 * gdb.base/default.exp: Add test for set|show annotate.
6985
6986Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6987
6988 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6989 errors unique.
6990 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6991 explicitly.
6992
6993Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6994
6995 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6996 and width commands. This is done elsewhere.
6997 * (gdb_start): Don't call gdb_start_sim here. That's already
6998 done in gdb_load. This fixes lots of failures in default.exp.
6999
7000Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7001
7002 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7003 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7004 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7005 in the same we we treat other failures (since it may be an expected
7006 condition), rather than as an error.
7007 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7008 old test format.
7009
7010Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7011
7012 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7013 (distclean maintainer-clean realclean): No need to remove files
7014 twice. Nuke the duplicates.
7015 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7016 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7017 Remove config.h along with other config files.
7018
7019Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7020
7021 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7022 "p func1 ()" and note that rests of tests are skipped.
7023 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7024 setup_xfails for "print func2::coremaker_local".
7025 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7026 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7027 affected by the previous run test.
7028 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7029 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7030 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7031 "pass int powerset tuple" and "pass modeless int powerset tuple".
7032 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7033 "real write 4" and "real write 8".
7034 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7035 setup_xfails for "print vs1 after tuple assign 2",
7036 "print \$i after tuple assign 2", and
7037 "print vs2 after tuple assign 2".
7038 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7039 meaningful error message and return -1 so the caller can
7040 suppress further tests and avoid a cascade of errors.
beb998c6 7041
c906108c
SS
7042Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7043
7044 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7045 format for printing version.
7046 * gdb.base/default.exp: Ditto.
7047 * gdb.base/interrupt.exp: Fix problem with cascade of
7048 errors if child process dies while calling a function.
beb998c6 7049
c906108c
SS
7050Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7051
7052 * Makefile.in (VPATH): Add
7053 * Makefile.in (Makefile, config.status): Fix rules so things get
7054 remade when necessary.
7055
7056Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7057
7058 * Makefile.in (just-check): Add path to sibling expect dir
7059 to environment variable specified by RPATH_ENVVAR.
7060
7061Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7062
7063 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7064 (just-check): Add shared library paths for libstdc++, tk,
7065 tcl, bfd, and opcodes to the environment variable specified
7066 in RPATH_ENVVAR.
7067 * configure.in: Add support to recognize --enable-shared flag
7068 and generate correct value for RPATH_ENVVAR.
7069 * configure: Regenerated with autoconf.
7070
7071Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7072
7073 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7074 include all osf versions.
7075 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7076 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7077 when target is linux. When failing to build pthreads test
7078 executable, give more meaningful message.
7079 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7080 arg for pthread_create.
beb998c6 7081
c906108c
SS
7082Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7083
7084 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7085 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7086 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7087 and -lpthreads (everybody else).
7088 (test_startup): Fail gracefully if threads are not supported.
7089 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7090 "p/c array_index("abcdef",2)" when not gcc compiled.
7091 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7092 "print func2::coremaker_local" when not gcc compiled.
7093 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7094 "ptype on opaque struct tagname (statically)",
7095 "ptype on opaque struct tagname (dynamically) 1", and
7096 "ptype on opaque struct tagname (dynamically) 2"
7097 for not compiled with gcc.
7098 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7099 backtrace when compiled with gcc.
beb998c6 7100 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7101 than always return success.
7102
7103Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7104
7105 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7106
7107Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7108
7109 * gdb.base/structs.exp: Undo last change.
7110
7111Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7112
7113 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7114 encapsulate all the steps/nexts done during self test, starting
7115 at main, and makes them less sensitive to optimization issues.
7116 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7117 signal handler" test.
7118 * gdb.threads/pthreads.exp: Only run this for native configs.
7119 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7120 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7121 tests.
7122 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7123 for "runto test_calls(void)" test.
beb998c6 7124
c906108c
SS
7125Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7126
7127 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7128 and don't expect address info in breakpoint confirmations.
7129
7130Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7131
7132 * gdb.base/list.exp (test_forward_search): Increase timeout
7133 temporarily by 60 seconds for searching extremely long line,
7134 and then reset to old value when done. Increase expect input
7135 buffer to 10000.
7136
7137Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7138
7139 * gdb.base/list.exp (test_forward_search): Fix to handle very
7140 long source line without overflowing expect's input buffer.
7141
7142Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7143
7144 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7145 "buffer_full".
7146
7147 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7148 "buffer_full".
7149
7150 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7151 "buffer_full".
7152
7153 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7154 "buffer_full".
7155
7156Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7157
7158 * configure.in (configdirs): Add gdb.threads.
7159 * configure: Regenerated with autoconf.
7160 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7161 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7162 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7163
c906108c
SS
7164Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7165
7166 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7167
7168Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7169
7170 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7171 each signal's status in the output of "handle all print".
7172 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7173 the \r\n sequence that immediately precedes the gdb prompt.
7174 * gdb.base/a1-selftest.exp: Save original timeout and restore
7175 after test.
7176
7177Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7178
7179 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7180 symbol.
7181
7182Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7183
7184 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7185
7186Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7187
7188 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7189 timeout by 60 seconds.
7190
7191Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7192
7193 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7194 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7195 error return.
7196
7197Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7198
7199 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7200 gdb initialization, also report how long dejagnu waited. Restore
7201 old timeout before doing error return. Temporarily increase timeout
7202 by 3 minutes to allow for slow startups over heavy NFS use.
7203
7204Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7205
7206 * lib/gdb.exp: Report timeout value for verbosity level 2.
7207 * config/gdbserver.exp: Ditto.
7208 * config/hppro.exp: Ditto.
7209 * config/mips-gdb.exp: Ditto.
7210 * config/monitor.exp: Ditto.
7211 * config/netware.exp: Ditto.
7212 * config/sim-gdb.exp: Ditto.
7213 * config/slite-gdb.exp: Ditto.
7214 * config/udi-gdb.exp: Ditto.
7215 * config/unix-gdb.exp: Ditto.
7216 * config/vx-gdb.exp: Ditto.
7217 * gdb.base/a1-selftest.exp: Ditto.
7218 * gdb.base/a2-run.exp: Ditto.
7219 * gdb.base/break.exp: Ditto.
7220 * gdb.base/corefile.exp: Ditto.
7221 * gdb.base/list.exp: Ditto.
7222 * gdb.base/recurse.exp: Ditto.
7223 * gdb.base/scope.exp: Ditto.
7224 * gdb.base/signals.exp: Ditto.
7225
7226Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7227
7228 * gdb.threads/Makefile.in (docdir): Removed.
7229
7230Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7231
7232 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7233 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7234 @srcdir@.
beb998c6 7235 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7236 autoconf 2.5 or higher.
7237 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7238
7239Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7240
7241 * configure: Regenerated.
7242 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7243 avoid name clashes with SunOS headers.
7244
7245Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7246
7247 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7248
7249Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7250
7251 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7252 prototype information ends up in the compiler info file.
7253
7254Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7255
7256 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7257 attempting to regenerate it. Eliminate use of a temporary file
7258 and just generate the info file directly. Source it immediately,
7259 for consistency of use.
7260 * gdb.base/corefile.exp: Ditto
7261 * gdb.base/exprs.exp: Ditto.
7262 * gdb.base/funcargs.exp: Ditto.
7263 * gdb.base/langs.exp: Ditto.
7264 * gdb.base/list.exp: Ditto.
7265 * gdb.base/mips_pro.exp: Ditto.
7266 * gdb.base/nodebug.exp: Ditto.
7267 * gdb.base/opaque.exp: Ditto.
7268 * gdb.base/ptype.exp: Ditto.
7269 * gdb.base/scope.exp: Ditto.
7270 * gdb.base/setvar.exp: Ditto.
7271 * gdb.base/signals.exp: Ditto.
7272 * gdb.base/whatis.exp: Ditto.
7273 * gdb.c++/templates.exp: Ditto.
7274 * gdb.c++/virtfunc.exp: Ditto.
7275 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7276 whether or not to add -lstdc++ to the compile command line args.
7277
7278Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7279
7280 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7281 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7282 Increase timeout, a lot of single stepping might be needed if the
7283 target has no hardware watchpoints.
7284
7285Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7286
7287 * gdb.base/break.exp: Ignore compiler warnings when compiling
7288 break.c.
7289 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7290 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7291 from remote-sim.
7292 * gdb.base/exprs.exp: Add h8300 xfails.
7293 * gdb.base/funcargs.exp: Likewise.
7294 * gdb.base/nodebug.exp: Likewise.
7295 * gdb.base/printcmds.exp: Likewise.
7296 * gdb.base/ptype.exp: Likewise.
7297 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7298 h8300 xfails.
beb998c6 7299 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7300 on the h8300.
7301 * gdb.base/funcargs.c: Explicitly make last constant argument to
7302 call_after_alloca_subr an unsigned long type.
7303 * gdb.base/return.c: Include stdio.h.
7304
7305Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7306
7307 * config/abug.exp: New file for the older Motorola Bug monitor
7308 that runs on the mvme13x series VME boards.
7309 * config/monitor.exp: Use the new config array for target settings
7310 if they exist.
7311
7312Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7313
7314 * sim-gdb.exp: Make the SH simulator allocate less space when
7315 it is targeted.
7316
7317Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7318
7319 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7320 test.
7321
7322Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7323
7324 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7325 "rs6000-*-*" for "list function in include file" when gcc compiled.
7326 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7327 for "p ctable1[120]".
7328 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7329 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7330 Remove setup_xfail for "rs6000-*-*" for
7331 "print 'scope0.c'::filelocal before run".
7332 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7333 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7334 since some compilers don't allow both options to be given
7335 on the same command line. Create object file and move it.
beb998c6 7336
c906108c
SS
7337Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7338
7339 * gdb.base/corefile.exp: Always regenerate the core file, since
7340 we always regenerate the coremaker program. Detect special case
7341 where registers cannot be read from core file.
beb998c6 7342
c906108c
SS
7343Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7344
7345 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7346 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7347 * gdb.c++/templates.exp: Only match on basename of file since
7348 some formats like xcoff don't encode directory information.
7349 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7350 and rs6000 AIX xcoff targets.
7351 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7352 * configure: Regenerate.
7353 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7354 here, rather than in distclean.
beb998c6 7355
c906108c
SS
7356Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7357
7358 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7359 defined, and use it to compile the test case with -O2. The
7360 native compilation still uses no optimization.
7361 * gdb.base/mips_pro.c: Remove inline assembly code since
7362 it is compiled PIC by default, which results in assembler
7363 warnings that make the testsuite think the compilation
7364 was unsuccessful.
7365
7366Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7367
7368 * gdb.c++/misc.exp: Add note to message for
7369 "print s.a for foo struct" that this is a known gcc 2.7.2
7370 and earlier bug.
7371
7372Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7373
7374 * gdb.base/break.exp: Fix pattern for matching "Delete all
7375 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7376 setup_xfail for deleting all breakpoints test. Fix various
7377 timeout messages to include "(timeout)".
7378 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7379 for "p t_float_values2(3.14159,float_val2)".
7380 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7381 for "continue to call2g" when gcc compiled.
7382 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7383 "up to foo in langs.exp", "show language at foo in langs.exp",
7384 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7385 and "show language at fsub in langs.exp".
7386 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7387 "list line 1 in include file", "list message for lines past EOF",
7388 "list function in include file", "list list0.h:foo", and
7389 "list filename:function; nonexistant function".
7390 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7391 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7392 and "ptype t_char_array" to be for native cc only.
beb998c6 7393
c906108c
SS
7394Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7395
beb998c6 7396 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7397 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7398 "print func2::coremaker_local", and "backtrace in corefile.exp".
7399
7400Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7401
7402 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7403 "bt in signals.exp". This problem only appears when running
7404 the testsuite, and then only intermittently.
7405
7406Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7407
7408 * gdb.base/return.exp (return_tests): Differentiate between
7409 two tests of continuing.
7410
7411Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7412
7413 * */Makefile.in (maintainer-clean): Remove config.log.
7414 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7415 * gdb.c++/Makefile.in (PROGS): Add inherit.
7416 (clean): Remove *.ci.
7417
7418Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7419
7420 * gdb.c++/misc.cc: Add test code from Mike Stump.
7421 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7422
7423Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7424
7425 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7426 to "alpha-*-osf2*" and add comment.
7427 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7428 setup_xfail for "step over execarg initialization" and
7429 "step over corearg initialization".
7430 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7431 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7432 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7433 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7434 "print func2::coremaker_local", and "backtrace in corefile.exp".
7435 * gdb.base/signals.exp: Build and source signals.ci.
7436 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7437 to be for gcc only.
7438 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7439
c906108c
SS
7440Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7441
7442 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7443 Feb 3 procfs.c change.
7444
7445Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7446
7447 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7448
7449Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7450
7451 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7452 from dejagnu's apparent default of 10 seconds, which gives random
7453 results when running the tests over NFS on moderately loaded systems.
7454 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7455
7456Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7457
7458 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7459 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7460 result reports.
7461
7462Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7463
7464 * configure.in (CY_AC_PATH_TCLH): Remove.
7465 * configure: Regenerate.
7466
7467Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7468
7469 * gdb.c++/Makefile.in (clean): Add missing '{'.
7470
7471Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7472
7473 * lib/gdb.exp: Provide a default value for noinferior.
7474
7475 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7476 Load libgloss.exp.
7477
7478Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7479
7480 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7481 the executable, not the .o to run the tests from.
7482
7483Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7484
7485 * gdb.base/break.exp: Don't test for program exit or exit status
7486 if $noresults if nonzero.
7487 * gdb.base/langs.exp: Likewise.
7488 * gdb.base/watchpoint.exp: Likewise.
7489
7490 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7491 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7492 trying to compile the testcase.
7493
7494Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7495
7496 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7497 * gdb.base/signals.exp (continue to handler): Likewise.
7498
7499Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7500
7501 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7502
7503 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7504
7505Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7506
7507 * gdb.base/corefile.exp: Recognize "not found" as failure
7508 when trying to determine if a core file was generated.
7509 If no core file was generate the first time, try again without
7510 the ulimit -c to work around braindamaged shells.
7511
7512Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7513
7514 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7515 [] tests with "test" and enclose string in quotes.
7516 * gdb.stabs/configure: Rebuild
beb998c6 7517
c906108c
SS
7518Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7519
7520 Changes in sync with expect:
7521 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7522 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7523 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7524 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7525 argument to AC_REQUIRE.
7526 * configure: Regenerated.
7527
7528Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7529
7530 * gdb.base/corefile.exp: When generating a core, discard any
7531 error messages about ulimit not found and the "core dumped"
7532 message from the shell that runs the coredumper.
7533
7534Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7535
7536 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7537
7538 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7539 which sed script to run. Expect failure for v_comb test
7540 on PA targets too.
beb998c6 7541
c906108c
SS
7542Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7543
7544 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7545 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7546
7547Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7548
7549 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7550 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7551 "sparc-sun-solaris*" xfails for "p v_comb".
7552 * lib/gdb.exp (default_gdb_start): Fix typo.
7553 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7554 messages to not include the full program name that caused
7555 the core dump since some systems (such as solaris) apparently
7556 truncate this path to about 80 characters.
7557 When generating a core file first try increasing the core file
7558 size limit to unlimited since some systems may default it to
7559 zero, and it is harmless to try it. Move the test for failing
7560 to generate a core file to where it will actually get executed.
7561 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7562 new gdb result from g++ debug info improvements and make old
7563 pattern obsolescent. Also account for size_t differences
7564 (may be int or long).
7565 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7566 initialization before function call is placed in the delay slot
7567 and thus appears to be skipped over by commands such as "next".
7568
7569Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7570
7571 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7572
7573Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7574
7575 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7576 input source file; fix code to compile test to deal with this
7577 convention.
7578 * gdb.c++/*.exp: Likewise.
7579
7580Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7581
7582 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7583 "bt in signals.exp".
7584
7585Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7586
7587 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7588 "step over execarg initialization" and
7589 "step over corearg initialization".
7590
7591Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7592
7593 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7594 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7595
7596Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7597
7598 From Rob Savoye (rob@poseidon.cygnus.com)
7599 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7600 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7601 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7602 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7603 configure.in}: Major reworking for autoconfig.
7604 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7605 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7606 New files.
7607 * config/unix-gdb.exp: Make GDB global.
7608 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7609 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7610 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7611 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7612 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7613 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7614 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7615 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7616 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7617 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7618 pr-8136.exp, result.exp, string.exp, tuples.exp},
7619 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7620 to returns as necessary, arrange for test to compile own testcase
7621 executable.
7622 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7623
c906108c
SS
7624Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7625
7626 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7627 clear_xfail at end of test which might not call either pass or fail.
7628 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7629 "backtrace through signal handler".
7630
7631Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7632
7633 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7634 continuing from a job control stop signal.
7635 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7636
7637Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7638
7639 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7640 * gdb.base/corefile.exp: Likewise.
7641 * gdb.base/funcargs.exp: Likewise.
7642
7643Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7644
7645 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7646 * config/monitor.exp: Add support for setting baud rate.
7647
7648Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7649
7650 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7651 i*86-*-linux* xfails for "backtrace through signal handler".
7652 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7653 "print func2::coremaker_local".
7654 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7655 alpha-dec-osf2* xfail for
7656 "delete all breakpoints when none".
7657
7658Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7659
7660 * gdb.base/break.exp: Change test that deletes all breakpoints
7661 when no user breakpoints are installed. A post 4.15 change
7662 causes gdb to no longer prompt in this case.
7663
7664Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7665
7666 * gdb.base/return.exp (return_tests): Change xfail for test
7667 "correct value returned double test" to stop xfailing at
7668 Solaris 2.5. Apparently the bug has been fixed.
7669
7670Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7671
7672 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7673 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7674
7675Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7676
7677 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7678 * gdb.disasm/hppa.s: Corresponding changes.
7679
7680Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7681
7682 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7683 makefile fragment.
7684 * config/mt-hpux: Deleted.
7685
7686Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7687
beb998c6 7688 * Many files: When warning about suppressed tests due to a
c906108c
SS
7689 nonexistant test binary, avoid incrementing the warning count.
7690
7691Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7692
7693 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7694
c906108c
SS
7695Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7696
7697 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7698 "sparc-*-solaris2*".
7699
7700Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7701
7702 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7703 Add global and local variables and initialize them.
7704 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7705 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7706 extracts the file name and terminating signal from the core file.
7707 * TODO: Remove note about tests for correct mapping of corefile.
7708 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7709 from optimizing it away.
7710 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7711 handles common blocks.
7712
7713Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7714
7715 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7716 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7717
7718Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7719
7720 * Makefile.in (maintainer-clean): New target, synonym for
7721 realclean.
7722 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7723 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7724 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7725 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7726 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7727 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7728
7729Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7730
7731 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7732 xfails when not gcc compiled for "print foo::funclocal".
7733 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7734 "print foo::funclocal at foo",
7735 "print 'scope1.c'::foo::funclocal at foo",
7736 "print foo::funclocal_bss at foo",
7737 "print 'scope1.c'::foo::funclocal_bss at foo",
7738 "print foo::funclocal_ro at foo",
7739 "print 'scope1.c'::foo::funclocal_ro at foo",
7740 "print bar::funclocal at foo" and
7741 "print 'scope1.c'::bar::funclocal at foo".
7742 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7743 gcc compiled for "print foo::funclocal at bar".
7744 Expand all messages to ensure that they identify that
7745 the test is at bar().
7746 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7747 gcc compiled for:
7748 "ptype on opaque struct pointer (statically)",
7749 "ptype on opaque struct tagname (statically)",
7750 "ptype on opaque struct pointer (dynamically) 1",
7751 "ptype on opaque struct tagname (dynamically) 1",
7752 "ptype on opaque struct pointer (dynamically) 2" and
7753 "ptype on opaque struct tagname (dynamically) 2
7754 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7755 gcc compiled for:
7756 "p datalocal"
7757 "whatis datalocal",
7758 "ptype datalocal",
7759 "p bsslocal",
7760 "whatis bsslocal", and
7761 "ptype bsslocal".
7762 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7763 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7764 when not gcc compiled.
7765 * gdb.base/funcargs.exp (float_and_integral_args): Add
7766 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7767 compiled.
7768 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7769 "backtrace from call6a" when not gcc compiled.
7770 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7771 "backtrace from call7a" when not gcc compiled.
7772 * gdb.base/callfuncs.exp (do_function_calls):
7773 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7774 "p t_char_array_values(char_array_val2,char_array_val1)",
7775 "p t_char_array_values(char_array_val1,char_array_val2)",
7776 "p t_char_array_values("carray 1","carray 2")",
7777 "p t_char_array_values("carray 1",char_array_val2)",
7778 "p t_char_array_values(char_array_val1,"carray 2")",
7779 "p sum_args(1,{2})",
7780 "p sum_args(2,{2,3})",
7781 "p sum_args(3,{2,3,4})",
7782 "p sum_args(4,{2,3,4,5})"
7783 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7784 "backtrace in corefile.exp" when not gcc compiled.
7785
7786Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7787
7788 * gdb.base/signals.exp: Rewrite `handle all print' test as
7789 a procedure. Accept blanks or TABs as whitespace, increase
7790 timeout and expect input buffer size for the large output
7791 from the command. Remove "i*86-*-bsdi2.0" xfail.
7792
7793Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7794
7795 * gdb.base/setvar.exp: Add new testcases for truncation when
7796 assigning invalid values to bitfields.
7797
7798Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7799
beb998c6 7800 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7801 mips-sgi-irix* xfail for
7802 "call inferior func with struct - returns char *"
7803 and fix test so that an optional (unsigned char *) cast is
7804 accepted in the result.
7805
7806Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7807
7808 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7809 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7810 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7811 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7812 that accidentally got checked in.
7813
7814Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7815
beb998c6 7816 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7817 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7818 compiled test.
7819 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7820 Add mips-sgi-irix5* xfail for not gcc compiled.
7821 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7822 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7823 "p top", "whatis top", "p middle", and "whatis middle".
7824 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7825 "whatis signed char" for not gcc compiled.
7826 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7827 "set variable signed char=-1 (-1)" and
7828 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7829 * gdb.base/funcargs.exp (float_and_integral_args):
7830 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7831 Add mips-sgi-irix* xfail when not gcc compiled for
7832 "continue to call2b".
7833 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7834 "continue to call2g".
7835 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7836 "backtrace from call6a"
7837 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7838 "backtrace from call7k".
7839 Add mips-sgi-irix5* xfail when not gcc compiled for
7840 "backtrace from call7a".
7841 (localvars_after_alloca): Fix gdb_test cmds for
7842 "print * after runto ...".
7843 Remove rs6000-*-* xfails for
7844 "print i after runto localvars_after_alloca" and
7845 "print l after runto localvars_after_alloca"
7846 for all compilers.
7847 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7848 when not compiled with gcc, for:
7849 "print signed char == (minus)",
7850 "print signed char != (minus)",
7851 "print signed char < (minus)",
7852 "print signed char > (minus)".
7853 * gdb.base/callfuncs.exp (do_function_calls):
7854 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7855 "call inferior func with struct - returns char *".
beb998c6 7856 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7857 "correct value returned double test" to include Solaris 2.4.
7858 * gdb.base/funcargs.exp (float_and_integral_args):
7859 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7860
c906108c
SS
7861Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7862
7863 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7864 enumeration bitfields if compiling with GNU C.
7865 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7866 to empty' prompt.
7867
7868Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7869
7870 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7871 test for PRO targets.
7872
7873 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7874 breakpoints in the inferior at any given time by making
7875 two groups of breakpoints for call2*, call6* and call7*
7876 tests.
7877
7878Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7879
7880 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7881 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7882 from optimizing it away.
7883 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7884 "call inferior func with struct".
7885
7886Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7887
7888 * configure.in: Only configure gdb.chill for particular targets.
7889
7890Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7891
7892 * gdb.base/Makefile.in: Add action to .c.o transformation
7893 rule that generates a .ci file for each .o file and remove
7894 explicit .c.o rules except for callfuncs.o.
7895 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7896 generates a .ci file for each .o file and remove explicit
7897 .cc.o rules.
7898 (clean): Remove *.tmp *.ci files.
7899 (EXECUTABLES): Remove templ-info.exp.
7900 * gdb.base/compiler.c: New file.
7901 * gdb.c++/compiler.cc: New file
7902 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7903 Change rs6000-*-* xfail for
7904 "print 'scope0.c'::filelocal_ro" and
7905 "print 'scope1.c'::filelocal" and
7906 "print 'scope1.c'::filelocal_bss" and
7907 "print 'scope1.c'::filelocal_ro" and
7908 "print 'scope1.c'::foo::funclocal" and
7909 "print 'scope1.c'::foo::funclocal_ro" and
7910 "print 'scope1.c'::bar::funclocal" and
7911 "print 'scope0.c'::filelocal_ro" and
7912 "print 'scope1.c'::filelocal at foo" and
7913 "print 'scope1.c'::filelocal_bss at foo" and
7914 "print 'scope1.c'::filelocal_ro at foo" and
7915 "print 'scope1.c'::foo::funclocal at foo" and
7916 "print 'scope1.c'::foo::funclocal_bss at foo" and
7917 "print 'scope1.c'::foo::funclocal_ro at foo" and
7918 "print 'scope1.c'::bar::funclocal at foo" and
7919 "print 'scope0.c'::filelocal_ro" and
7920 "print 'scope1.c'::filelocal" and
7921 "print 'scope1.c'::filelocal_bss" and
7922 "print 'scope1.c'::filelocal_ro" and
7923 "print 'scope1.c'::foo::funclocal" and
7924 "print 'scope1.c'::foo::funclocal_bss" and
7925 "print 'scope1.c'::foo::funclocal_ro" and
7926 "print 'scope1.c'::bar::funclocal" and
7927 "print 'scope1.c'::bar::funclocal_bss"
7928 to only be xfail'd when not compiled with gcc.
beb998c6 7929 Add rs6000-*-* xfail for
c906108c
SS
7930 "print 'scope0.c'::filelocal_bss before run"
7931 when compiled with gcc.
7932 (test_at_main): Add rs6000-*-* xfail for
7933 "print filelocal_ro in test_at_main"
7934 when compiled with gcc.
7935 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7936 Add rs6000-*-aix* xfail for
c906108c
SS
7937 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7938 "ptype t_char_array", not compiled with gcc.
7939 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7940 xfail for "list foo (in include file)" when gcc compiled.
7941 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7942 (integral_args): Add rs6000-*-* xfail for
7943 "run to call0a" if not compiled with gcc.
7944 (unsigned_integral_args): Add rs6000-*-* xfail for
7945 "run to call1a" if not compiled with gcc.
7946 (float_and_integral_args): Add rs6000-*-* xfail for
7947 "run to call2a" if not compiled with gcc and for
7948 "continue to call2b" for any compiler.
7949 Add rs6000-*-* xfail to
7950 "print f1 after run to call2a" for gcc compiled.
7951 (discard_and_shuffle): Add rs6000-*-* xfail for
7952 "run to call6a".
7953 (shuffle_round_robin): Add rs6000-*-* xfail for
7954 "backtrace from call7a" if not compiled with gcc.
7955 Add rs6000-*-* xfail for
7956 "backtrace from call7b" if compiled with gcc.
7957 (call_after_alloca): Add rs6000-*-* xfail for
7958 "print c in call_after_alloca" and
7959 "print s in call_after_alloca" and
7960 "backtrace from call_after_alloca_subr"
7961 if not compiled with gcc.
7962 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7963 "print c in localvars_in_indirect_call" and
7964 "print c in localvars_in_indirect_call" and
7965 "backtrace in indirectly called function" and
7966 "stepping into indirectly called function"
7967 if not compiled with gcc.
7968 (localvars_after_alloca): Add rs6000-*-* xfail for
7969 "print c after runto localvars_after_alloca" and
7970 "print s after runto localvars_after_alloca" and
7971 "print i after runto localvars_after_alloca" and
7972 "print l after runto localvars_after_alloca"
7973 for all compilers.
7974 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7975 than whatis-info.exp.
7976 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7977 than opaque-info.exp.
7978 Setup rs6000-*-* xfail for
beb998c6 7979 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7980 "ptype on opaque struct pointer (dynamically)" when
7981 not compiled with gcc.
7982 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7983 rather than callf-info.exp.
7984 (do_function_calls): Add clear_xfail for rs6000-*-* for
7985 "p t_float_values2(3.14159,float_val2)". Seems to work
7986 fine there, both with xlc and gcc. Need to find out what
7987 it is doing right and fix other platforms.
7988 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7989 "call inferior func with struct - returns int",
7990 "call inferior func with struct - returns long",
7991 "call inferior func with struct - returns float",
7992 "call inferior func with struct - returns double",
7993 "call inferior func with struct - returns char *",
7994 but only if not gcc compiled (presumes xlc compiled).
7995 Change rs6000-*-* xfails for
7996 "call inferior func with struct - returns char" and
7997 " call inferior func with struct - returns short" to only
7998 xfail if not using gcc.
7999 (clean mostlyclean): Remove *.ci and *.tmp files.
8000 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8001 than templ-info.exp.
8002 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8003 Add rs6000-*-* xfail for "up to foo in langs.exp"
8004 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8005 when not gcc compiled.
beb998c6 8006
c906108c
SS
8007Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8008
8009 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8010 * gdb.base/corefile.exp: Likewise.
8011 * gdb.base/list.exp: Likewise.
8012 * gdb.base/scope.exp: Likewise.
8013 * gdb.base/siganls.exp: Likewise.
8014
8015 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8016 compiler output.
8017 * gdb.base/whatis.exp: Likewise.
8018
8019Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8020
8021 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8022 failure (opcode table has been fixed to match reality).
8023
8024Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8025
8026 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8027 "call inferior func with struct - returns char",
8028 "call inferior func with struct - returns short"
8029
8030 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8031 "print 'scope0.c'::filelocal at main",
8032 "print 'scope0.c'::filelocal_bss in test_at_main",
8033 "print 'scope0.c'::filelocal at foo",
8034 "print 'scope0.c'::filelocal_bss in test_at_foo",
8035 "print 'scope0.c'::filelocal at bar",
8036 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8037
c906108c
SS
8038 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8039 in source file 1". This bug seems to have been fixed with both
8040 gcc and native cc (was native assembler bug?).
8041
8042Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8043
8044 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8045 "backtrace through signal handler" to "i*86-*-sysv4*".
8046 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8047 continue" case. Add "known SVR4 bug" to fail message.
8048 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8049 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8050 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8051 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8052 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8053 "up to foo in langs.exp", "show language at foo in
8054 langs.exp", "up to cppsub_ in langs.exp", "show
8055 language at cppsub_ in langs.exp", "up to fsub in
8056 langs.exp", and "show language at fsub in langs.exp".
8057 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8058 "bactrace in corefile.exp".
8059 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8060 "call inferior function with struct - returns float" and
8061 "call inferior function with struct - returns double".
beb998c6 8062
c906108c
SS
8063Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8064
8065 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8066 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8067 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8068 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8069
8070Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8071
8072 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8073 (or overriden) "CHILL" macro rather then bare "gcc".
8074 Also look for ../../gcc/xgcc since that is what we will
8075 actually need, not "Makefile". Remove following assignment
8076 of CHILL to CHILL_FOR_TARGET because that results in
8077 recursive definition.
8078
8079Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8080
8081 * gdb.base/corefile.exp: Change xfail for backtrace in
8082 corefile.exp from linuxaout to all linux.
8083 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8084 cases where we miss the breakpoint at the signal handler
8085 for some reason. Setup xfail for linuxoldld/linuxaout and
8086 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8087 hitting SIGURG breakpoint.
8088 * gdb.base/signals.exp: Setup xfail for "next" acting like
8089 continue to add linuxoldld. Setup xfail for all linux for
8090 "next to handler in signals_tests_1", "backtrace in
8091 signals_tests_1", "continue to func1", "pass SIGUSR1",
8092 and continue to handler".
8093
8094Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8095
8096 * Update all FSF addresses except those in COPYING* files.
8097
8098Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8099
8100 * gdb.base/a2-run.exp: Change messages to be more explicit about
8101 the status of args, and quote binfile in results.
8102
8103Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8104
8105 * gdb.base/callfuncs.exp: Add tests for passing structs to
8106 inferior functions and return various types.
8107 * gdb.base/callfuncs.c: Add functions to receive a struct
8108 and return a member of the struct, in various types.
8109
8110Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8111
8112 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8113
8114Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8115
8116 * config/vxworks29k.exp: New file, sources vxworks.exp.
8117
8118Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8119
8120 * config/gdbremote.exp: New file. Testing framework using
8121 gdbserver.
8122
8123Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8124
8125 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8126 "call function when asleep" and "send end of file".
8127 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8128 for "backtrace in corefile.exp".
8129 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8130 for "backtrace through signal handler".
8131 * gdb.base/corefile.exp: Make sure we actually generate a core file
8132 before trying the core tests. Some systems allow the user to suppress
8133 generation of core files and default to that (linux for example).
8134 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8135 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8136
8137Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8138
8139 * gdb.threads: New directory with some crude multi-threaded
8140 gdb tests (step.exp and step2.exp).
8141 * config/mt-lynx (STEP_EXECUTABLE): Define.
8142 (THREADFLAGS): Define.
8143
8144Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8145
8146 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8147
8148 * gdb.base/signals.exp: Disable whole file for lynx until
8149 further notice.
8150
8151 * gdb.base/signals.exp: xfail test where "next" acts like
8152 "continue" for lynx.
8153
8154 * gdb.base/interrupt.exp: xfail test for calling function while
8155 inferior is asleep for lynx.
8156
8157 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8158 than one cr-lf after each command.
8159
8160Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8161
8162 * configure.in: Reinstate setting of stabsdirs variable, fix
8163 typo in setting up configdirs for native builds.
8164
8165 * gdb.base/return.exp: Fix typo in return double test.
8166 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8167 compiler from optimizing them away.
8168
8169Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8170
8171 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8172 sequences to be echo'd by gdb when using gdb_test.
8173 * gdb.chill/chexp.exp: Likewise.
8174 * gdb.fortran/exprs.exp: Likewise
8175
8176Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8177
8178 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8179 after the inferior gdb has started.
8180
8181 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8182 after each command.
8183 * gdb.base/funcargs.exp: Likewise.
8184 * gdb.base/gdbvars.exp: Likewise.
8185 * gdb.base/interrupt.exp: Likewise.
8186 * gdb.base/list.exp: Likewise.
8187 * gdb.base/watchpoint.exp: Likewise.
8188 * gdb.c++/demangle.exp: Likewise.
8189 * gdb.c++/inherit.exp: Likewise.
8190 * gdb.chill/chexp.exp: Likewise.
8191 * gdb.fortran/exprs.exp: Likewise.
8192
8193 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8194 test if we can't handle IO to/from the inferior.
8195
8196 * gdb.c++/misc.exp: Always check for a program already being
8197 started after sending a "run" command to gdb.
8198
8199 * gdb.base/twice.exp: Start with a fresh gdb.
8200
8201 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8202 only depend on gdb's expression code, not the chill runtime.
8203
8204 * gdb.base/return.c: Put return values into variables so we
8205 can have gdb print them rather than depending on the program
8206 to print them.
8207 * gdb.base/return.exp: Corresponding changes.
8208
8209 * lib/gdb.exp: Provide default value for noinferiorio.
8210 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8211 the inferior.
8212
8213 * gdb.base/break.exp: Always check for a program already being
8214 started after sending a "run" command to gdb.
8215 (text_next_with_recursion): Don't check the output from the
8216 program's printf statement. Instead just make sure the program
8217 exited.
8218
8219 * gdb.base/commands.exp: Protect tests which need arguments with
8220 $noargs conditionals.
8221
8222Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8223
8224 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8225 of structure member arrays to match gdb/valops.c:value_addr change.
8226
8227Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8228
8229 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8230 cases.
8231
8232Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8233
8234 * configure.in (configdirs): Remove gdb.chill from default list
8235 of subdirs and then add it back in only if doing a native build.
8236 The current chill compiler does not yet work in any cross build.
8237 * Revert all signal changes from Jul 6.
8238 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8239 for sh-hms targets, allowing these tests to link, with no other
8240 changes. Testing is suppressed by setting "nosignals" in site.exp.
8241
8242Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8243
8244 * configure.in (signaldirs): Define and add to configdirs for all
8245 targets except some specific ones that are known to not support signals.
8246 Also clean up formatting.
8247 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8248 (signals, sigall): Remove rules to build.
8249 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8250 Moved to new gdb.signals directory.
8251 * gdb.signals: New test directory.
8252 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8253 signals.c signals.exp}: New or moved files.
8254
8255Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8256
8257 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8258
8259Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8260
8261 * gdb.base/return.exp: Xfail `return double' test failure
8262 on at least Solaris 2.3 and handle future/past versions on
8263 a case by case basis as appropriate. Also update message
8264 to include i*86 failures.
8265
8266Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8267
8268 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8269
8270 * lib/gdb.exp: Fix comment which erroneously identified
8271 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8272 gdb_file_cmd not gdb_load).
8273 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8274
8275 * gdb.base/setvar.exp: Make test names consistent between pass and
8276 fail cases. Use gdb_test more.
8277
8278Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8279
8280 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8281
8282Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8283
8284 * gdb.base/help.exp: Fix expected help string for `show commands'.
8285
8286Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8287
8288 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8289
8290 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8291 of a text section.
8292
8293Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8294
8295 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8296 that loop eventually terminates. Fix Connection refused logic so
8297 that testsuite will expire nicely.
8298
8299Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8300
8301 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8302 config/rom68k.exp: New tcl glue for the appropriate monitors.
8303 These all just end up calling monitor.exp.
8304 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8305 refused' by retrying. Cleanup some timeout issues.
8306 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8307 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8308 callers don't have to set/restore global timeout variable.
8309
8310 * The following set of changes centralizes management of the global
8311 timeout variable. This way, it can be set in one target dependent
8312 place instead of dozens of places scattered throughout the test suite.
8313 If you need to lengthen a timeout, then you should either set timeout
8314 in one of the config/{target}.exp files, or multiply it by a factor.
8315 Setting it to an absolute value is always going to lose for some
8316 targets.
8317 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8318 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8319 * gdb.base/funcargs.exp: Don't set timeout.
8320 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8321 * gdb.base/printcmds.exp (test_print_string_constants
8322 test_print_array_constants): Don't set timeout.
8323 * gdb.base/ptype.exp: Don't set timeout.
8324 * gdb.base/recurse.exp: Don't set timeout.
8325 * gdb.base/return.exp: Don't set timeout.
8326 * gdb.base/watchpoint.exp: Don't set timeout.
8327 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8328 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8329
8330Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8331
8332 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8333
8334Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8335
8336 * lib/gdb.exp: Disable chill tests for irix5.
8337
8338Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8339
8340 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8341 each test pass or fail.
8342
8343Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8344
8345 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8346 xlc not gcc.
8347
8348Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8349
8350 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8351
8352Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8353
8354 * config/est.exp: Fix copyright and comments. Remove dead code.
8355 Use targetname, serialport and baud variables instead of fixed
8356 constants.
8357 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8358 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8359
8360Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8361
8362 * gdb.base/watchpoint.exp: Don't run
8363 test_watchpoint_triggered_in_syscall for sunos.
8364
8365Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8366
8367 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8368 they don't seem to exist. Do include stdio.h.
8369
8370Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8371
8372 * gdb.base/a1-selftest.exp: Add alpha xfail.
8373
8374Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8375
8376 * gdb.base/watchpoint.c (main): Prompt before calling read().
8377 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8378 Revise accordingly. Remove cruft about sending "123" several
8379 times, until it gets noticed. Clean up the "print buf[0]" stuff
8380 so that it passes or fails, and waits for prompts in the usual way.
8381
8382Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8383
8384 * gdb.base/recurse.exp: Fix comment.
8385
8386 * TODO: Remove item about printing variables in nodebug.exp. Add
8387 item about enabling tests which are only run on some targets.
8388
8389 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8390 fail, make test names unique, use new gdb_test convention
8391 regarding pattern, use gdb_test more, etc.).
8392
8393 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8394 fail, make test names unique, etc.).
8395
8396Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8397
8398 * gdb.base/nodebug.c: Change return type of top and middle to
8399 short.
8400 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8401 are fixed by the recent mdebugread.c changes. Allow `short ()'
8402 as type for top and middle.
8403
8404Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8405
8406 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8407 nearly as I can tell, the whole thing was an accident in Stu's
8408 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8409 to replace a send/expect pair with gdb_test, but ended up only
8410 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8411 of 30 Mar 1995 took care of it, but left this vestigial comment
8412 which I am now nuking.
8413
8414Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8415
8416 * gdb.base/break.exp: Look for different line number for
8417 breakpoint at main depending on usestubs.
8418
8419Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8420
8421 * gdb.base/list.exp: Adjust some alternate expect patterns to
8422 match recent list0.c change. Add alternate expect pattern for
8423 output from `list default lines around main' for optimizing
8424 compilers.
8425
8426Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8427
8428 * lib/gdb.exp: If nosignals is not set, set it to 0.
8429
8430Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8431
8432 * config/slite-gdb.exp: Responds to load symbol table prompt.
8433 * gdb.base/break.exp: Adjust line number, fix rerun.
8434 * gdb.base/langs0.c: Add #ifdef usestubs.
8435
8436Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8437
8438 * gdb.base/list.exp: Adjust line contents after adding new lines in
8439 list0.c. Also fix a syntax error.
8440
8441 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8442 * gdb.base/break.exp: ditto.
8443 * gdb.base/list.exp: ditto.
8444 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8445 * gdb.base/run.c: ditto.
8446 * gdb.base/list0.c: ditto.
8447 * gdb.base/funcargs.c: ditto.
8448
8449Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8450
8451 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8452 $targetname, $serialport and $baud instead of hardwired variables.
8453 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8454 target doesn't support signals.
8455
8456Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8457
8458 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8459
8460Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8461
8462 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8463 Don't rely on the value of an auto variable before it has been
8464 initialized. Use gdb_test more.
8465
8466Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8467
8468 * lib/gdb.exp (default_gdb_version): A version number must start
8469 with a digit, but other than that contains all characters up to
8470 the first whitespace character.
8471
8472Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8473
8474 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8475
8476Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8477
8478 * gdb.c++/*.exp: Warn if executable does not exist. The original
8479 reason for skipping the warning was that configure.in sometimes
8480 intentionally skipped building the executables but the tcl code
8481 had no way of knowing. That (a) was always bogus with respect to
8482 error handling, (b) is no longer true (right now there is no way
8483 to skip C++ tests).
8484
8485 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8486
8487Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8488
8489 * gdb.base/list.exp: Add expect patterns for output from
8490 SunPRO compiled executables.
8491 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8492 types.
8493
8494Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8495
8496 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8497 number (we are already testing that the correct source line text
8498 gets printed).
8499
8500 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8501 that is what is intended, but something needed to be done to get
8502 sunos4 native working again.
8503
8504 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8505
8506 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8507 apparently went with a (very) old xfail.
8508
8509Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8510
8511 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8512 runto_main is a proc in gdb.exp that will do 'step' for target use
8513 stubs.
8514 * gdb.base/exprs.exp: ditto.
8515 * gdb.base/interrupt.exp: ditto.
8516 * gdb.base/opaque.exp: ditto.
8517 * gdb.base/printcmds.exp: ditto.
8518 * gdb.base/ptype.exp: ditto.
8519 * gdb.base/scope.exp: ditto.
8520 * gdb.base/setvar.exp: ditto.
8521 * gdb.base/signals.exp: ditto.
8522 * gdb.base/twice.exp: ditto.
8523 * gdb.c++/classes.exp: ditto.
8524 * gdb.c++/inherit.exp: ditto.
8525 * gdb.c++/templates.exp: ditto.
8526 * gdb.base/break.exp: no run and hit main for stubs. Change line
8527 numbers for breakpoints and info breakpoint.
8528 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8529 breakpoint().
8530 * gdb.base/callfuncs.c: ditto.
8531 * gdb.base/exprs: ditto.
8532 * gdb.base/interrupt.c: ditto.
8533 * gdb.base/opaque0.c: ditto.
8534 * gdb.base/printcmds.c: ditto.
8535 * gdb.base/ptype.c: ditto.
8536 * gdb.base/scope0.c: ditto.
8537 * gdb.base/setvar.c: ditto.
8538 * gdb.base/signals.c: ditto.
8539 * gdb.base/twice.c: ditto.
8540 * gdb.c++/misc.cc: ditto.
8541 * gdb.c++/templates.cc: ditto.
8542
8543Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8544
8545 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8546
8547 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8548 somewhere between `read' and `main.c'. I'm pretty sure the
8549 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8550 and it isn't particularly useful.
8551
8552 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8553
8554Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8555
8556 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8557
8558Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8559
8560 * config/mt-slite: add LIBS and -nostdlib.
8561 * config/slite-gdb.exp: add this new file to support sparclite target.
8562
8563Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8564
8565 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8566
8567 * gdb.base/a2-run.exp: Change argument to istarget from
8568 "*-*-vxworks" to "*-*-vxworks*".
8569 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8570
8571Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8572
8573 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8574 will not runto main but do a 'step' to step out of breakpoint().
8575 * config/mt-slite: add -Dusestubs.
8576
8577Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8578
8579 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8580 instead of just @.
8581
8582 * gdb.base/signals.exp: Add test for "handle all print".
8583 * TODO: Remove "handle all print". Also remove item about
8584 checking copyright date (I don't like the idea of a spurious FAIL
8585 based on when we run the tests).
8586
8587 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8588 for SunOS4 (reason for failure not investigated). Remove
8589 redundant test for $binfile.
8590
8591 * gdb.base/nodebug.c (array_index): Call malloc.
8592
8593 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8594
8595Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8596
8597 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8598 conventions and slightly simplify the matching regexp.
8599
8600Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8601
8602 * gdb.base/break.exp: Update gdb_test invocation to use new
8603 convention.
8604
8605 * lib/gdb.exp: If noargs is not set, set it to 0.
8606
8607 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8608 tests unique.
8609
8610 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8611
8612Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8613
8614 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8615 one argument of type "<non-float parameter>".
8616
8617Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8618
8619 * config/rom68k.exp: New file to support Motorola IDP board.
8620 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8621 * gdb.base/break.c: Change things around so that this program
8622 doesn't depend upon args. This is necessary to make remote
8623 targets work (in general, they can't take args).
8624 * gdb.base/break.exp: Don't try to send args to program. Don't
8625 expect output. Also, replace lots of code with gdb_test.
8626
8627Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8628
8629 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8630 printing of '\'' (which is what the comment says we are testing,
8631 even though we were not), not '''.
8632 (test_integer_literals_rejected): Test that printing ''' is an error.
8633
8634 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8635 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8636 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8637 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8638 Use gdb_test not test_print_accept.
8639 * lib/gdb.exp: Remove test_print_accept.
8640
8641 * gdb.base/signals.exp (signal_tests_1): Make pass message
8642 consistent with fail message.
8643
8644 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8645 unsigned char; the bug (PR 1821) is fixed.
8646
8647 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8648
8649 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8650 successful tests--makes xfailing them work right.
8651
8652Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8653
8654 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8655 only \r\n, not .*. The test can pass .* as the last thing in
8656 $pattern if that is what it wants. In addition to providing this
8657 flexibility, this change should speed up pattern matching in cases
8658 where the pattern already ended with .* (there were a number of
8659 them). This change also helps catch bad patterns--in the old
8660 scheme the typo "char \*" instead of "char \\*" would pass. Now
8661 it is caught.
8662 * Many .exp files: Update callers.
8663
8664 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8665 clearer and does not spuriously match multiple ('s. Likewise for
8666 ) and *.
8667
8668 * gdb.base/nodebug.exp: Test ability to call a function and pass
8669 it a string (even with no debugging info).
8670
8671 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8672 "p '\'", which is the same as "p ''" once tcl gets done with
8673 quoting, to "p '\\'", which I suspect is what is intended (one
8674 backslash gets sent to GDB).
8675
8676 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8677
8678Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8679
8680 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8681 1817) was fixed literally years ago.
8682
8683Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8684
8685 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8686 test, it causes stepping out of call_after_alloca_subr with
8687 optimizing compilers.
8688 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8689 fails.
8690
8691 * gdb.c++/templates.exp: Source templ-info.exp only if
8692 the templates executable exists.
8693
8694 * gdb.c++/misc.cc (class Contains_static_instance,
8695 class Contains_nested_static_instance),
8696 gdb.c++/classes.exp (test_static_members): Test printing of
8697 a class that contains a static instance of the class.
8698
8699Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8700
8701 * gdb.base/langs2.c (cppsub_): Don't prototype.
8702 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8703 only, I believe).
8704
8705Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8706
8707 * lib/gdb.exp (skip_chill_tests): New procedure.
8708
8709 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8710
8711Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8712
8713 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8714 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8715
8716Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8717
8718 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8719
8720 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8721 disassemble 8, not 16, instructions for part 4.
8722
8723 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8724 support the latter anymore.
8725
8726 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8727 -DNO_PROTOTYPES.
8728 * gdb.base/callfuncs.c: Control use of prototypes based on
8729 NO_PROTOTYPES, not __STDC__.
8730 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8731 t_float_values2 tests if prototypes in use.
8732
8733 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8734 t_double_values): When checking differences against DELTA, check
8735 that difference is within the range (-DELTA,DELTA), not just
8736 (-infinity,DELTA).
8737
8738Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8739
8740 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8741 'file' command firts, then 'target', then 'load', this is due to gdb
8742 target set up.
8743 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8744
8745Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8746
8747 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8748 FP load/store variants.
8749 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8750
8751Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8752
8753 * gdb.base/term.exp: Do not give a warning if not native, it is
8754 not an abnormal condition.
8755
8756Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8757
8758 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8759 t_char_array".
8760
8761Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8762
8763 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8764 are getting the version number.
8765
8766 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8767 if not native, it is not an abnormal condition.
8768
8769Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8770
8771 * lib/gdb.exp: Just use "file exists", rather than undocumented
8772 dejagnu procedure "findfile".
8773
8774Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8775
8776 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8777 (LDFLAGS): Set to -Xlinker -Ur.
8778
8779 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8780 Removed, these values are set by lib/gdb.exp.
8781
8782 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8783
8784Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8785
8786 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8787 of replicating gdb startup code.
8788
8789 * config/mt-vxworks (LDFLAGS): Set to -r.
8790 (CFLAGS_FOR_TARGET): Removed.
8791
8792 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8793 (gdb) and gdb for vxworks uses (vxgdb).
8794
8795 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8796 executable is not in the tree and host != target, use sed and
8797 program_transform_name to determine the gdb name used by the
8798 target.
8799
8800 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8801 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8802
8803Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8804
8805 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8806 floats, chars, and shorts where there are ANSI-style function
8807 definitions.
8808
8809 * gdb.base/langs.exp, gdb.base/langs*: New test.
8810 * gdb.base/Makefile.in: Build it.
8811 * TODO: Remove item about checking that C names don't get C++
8812 demangling applied; this test tests it.
8813
8814Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8815
8816 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8817 went with the const70 xfail. The xfail went away a year ago.
8818
8819 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8820
8821 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8822 for hp300.
8823
8824 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8825
8826 * gdb.base/a1-selftest.exp: Don't run on hp300.
8827
8828Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8829
8830 * Makefile.in (site.exp): Set host_alias and target_alias as well
8831 as host_triplet and target_triplet.
8832
8833Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8834
8835 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8836
8837 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8838 places as other ecoff systems).
8839
8840 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8841 ultrix.
8842
8843Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8844
8845 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8846 remove them.
8847 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8848 variable and "variable" in addition to "data variable".
8849 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8850
8851 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8852 2.
8853 * gdb.base/list1.c (long_line): Add additional statement at start
8854 of function.
8855 * gdb.base/list.exp (test_forward_search): Update line number to
8856 reflect new statement.
8857
8858Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8859
8860 * gdb.base/signals.exp: Reinitialize searched source directories
8861 after gdb_start call.
8862
8863Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8864
8865 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8866 * gdb.stabs/Makefile.in: Likewise.
8867
8868 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8869 change. Instead split the tests into smaller pieces.
8870 * gdb.disasm/hppa.s: Corresponding changes.
8871
8872Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8873
8874 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8875 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8876
8877 * gdb.base/funcargs.exp: Modify many tests so that every test
8878 either passes or fails. Make some test names unique.
8879
8880Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8881
8882 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8883 Call stty to set interrupt character.
8884
8885 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8886 for HP assembler versus GNU assembler based on actual behavior of
8887 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8888
8889 * TODO: Suggest a few more stepping tests.
8890
8891Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8892
8893 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8894 restart GDB for h8300 after a continue.
8895 (return): Add pattern to match a29k-udi behavior.
8896 * gdb.base/nodebug.exp: Remove obsolete comment.
8897 * gdb.base/regs.exp: New file, testing of register displays.
8898 * gdb.base/return.exp: Fix typo in reference to $objdir.
8899 * gdb.base/whatis.exp: Always start with a fresh GDB.
8900
8901Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8902
8903 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8904 higher, these tests generate a lot of output.
8905
8906Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8907
8908 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8909 code following the catch silently ignored some errors; without the
8910 catch they should be thrown like any other tcl error. Also, the
8911 catch used "" instead of {} which meant all the callers who wanted
8912 to include one of the characters "[]$ had to quote it an extra time.
8913 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8914 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8915 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8916 Remove extra quoting.
8917
8918Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8919
8920 * gdb.base/commands.exp: Make test names unique; every test either
8921 passes or fails. Update some comments.
8922
8923 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8924
8925Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8926
8927 The following fixes a FAIL caused by the fact that the alpha stabs
8928 configuration didn't use the ".if alpha" code in weird.def.
8929 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8930 bit pointer, so the 32 bit version works even on the alpha.
8931 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8932 Remove the stuff which allowed us to have separate versions for
8933 alpha and everything else.
8934
8935 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8936 regexp which "info func operator\[\](" is supposed to match. Fix
8937 string to send to GDB. Note that GDB still doesn't work right. Add a
8938 new test for "info func .perator\[\](" which GDB does handle correctly.
8939
8940 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8941
8942Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8943
8944 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8945 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8946 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8947 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8948 it makes the tests harder to understand and confuses test-o-matic.
8949 The preferred style is that each test provides a PASS or a FAIL,
8950 and has a unique message (e.g. "continue #54" not just "continue")
8951 which is the same for the pass and the fail.
8952 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8953 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8954 to lib/gdb.exp.
8955 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8956 prt_accept which was basically the same thing. Likewise for
8957 test_print_reject and prt_reject.
8958 * lib/gdb.exp (test_print_reject): Add some more error message
8959 patterns to match from the former printcmds.exp (prt_reject).
8960 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8961 One defect of the passcount stuff is that some of it failed to
8962 report XPASS where appropriate.
8963 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8964 stuff before and after arg in expected pattern.
8965 (test_paddr_operator_functions): Re-do test without print_addr_of;
8966 this is the only test which seems to want extra stuff there.
8967
8968Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8969
8970 * gdb.base/nodebug.exp: Update new tests to reflect improved
8971 wording of gdb output.
8972
8973 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8974 and "ptype" work on variables in files compiled without -g.
8975 Replaces commented out "maint print msymbol" tests.
8976
8977Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8978
8979 * gdb.base/setvar.c (dummy): Call malloc.
8980
8981 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8982 losing with the irix4 sed.
8983
8984 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8985 ALRM" on irix4.
8986
8987Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8988
8989 * TODO: Remove items about corefile.exp testing new exec-file and
8990 backtrace; both are now done. Add items about printing enums.
8991
8992Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8993
8994 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8995 "get signal $thissig" test fails.
8996
8997 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8998
8999Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9000
9001 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9002 compiler warning with dec alpha compiler.
9003
9004 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9005 extra \n from gdb_test call (this explains why the prompt test
9006 that I removed yesterday was there).
9007 (user_defined_command_test): Remove extra \n and prompt test.
9008
9009 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9010 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9011 doesn't exist.
9012 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9013 Also remove alpha workaround, which turns out to be because
9014 SIGABRT == SIGLOST.
9015
9016 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9017
9018 * gdb.base/help.exp: Don't test "help show".
9019
9020Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9021
9022 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9023 "set print address" is on.
9024 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9025 pass prompt to gdb_test; gdb_test already looks for the prompt.
9026
9027 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9028
9029 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9030 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9031 was to make sure that gdb can read a core file. But (a) the "read
9032 the corefile" part didn't make it to a1-selftest.exp, we just
9033 delete the corefile after creating it, and (b) we test reading
9034 corefiles in corefile.exp anyway. Also, this test left around a
9035 xgdb process on Solaris.
9036
9037 * gdb.base/corefile.exp: Also test backtrace.
9038
9039Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9040
9041 * gdb.base/commands.exp: Test a simple user defined command with
9042 arguments and if/while statements; verify the full user command is
9043 printed by "show user".
9044
9045 * gdb.base/commands.exp: Test if/while commands as part of a
9046 breakpoint command list; verify they appear in breakpoint
9047 information.
9048
9049Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9050
9051 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9052 than by dividing by zero.
9053
9054Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9055
9056 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9057 performing an inferior call with watchpoints enabled.
9058 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9059 call.
9060
9061Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9062
9063 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9064 of "file" command.
9065
9066 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9067 Add additional pattern for when "int operator int(void);" appears
9068 in a different order.
9069
9070Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9071
9072 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9073
9074 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9075 and "signal" with ".*".
9076
9077Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9078
9079 * TODO: Add note about "handle all nostop".
9080
9081 * gdb.base/{sigall.c, sigall.exp}: New test.
9082 * gdb.base/Makefile.in: Add it.
9083
9084Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9085
9086 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9087 when invoking GDB, suppresses any windowing interface.
9088
9089Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9090
9091 * config/sim-gdb: New file, simulator testing support.
9092
9093Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9094
9095 * gdb.base/interrupt.exp: Test calling func1 twice.
9096
9097Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9098
9099 * gdb.base/list.exp (test_forward_search): Set timeout higher
9100 when we'll be getting lots of output from gdb.
9101
9102 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9103 "init_malloc" to after the expect statement. Run it if that
9104 regexp is taken, but also for two others which happen if source
9105 cannot be found.
9106
9107Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9108
9109 * gdb.base/printcmds.exp: New test, for printing register before
9110 program is running.
9111
9112Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9113
9114 * gdb.base/list.exp: Correct some alternate expect patterns
9115 to reflect changes in list1.c.
9116
9117Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9118
9119 * TODO: Add item regarding large frames.
9120
9121 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9122
9123 * TODO: Remove item about enabling return.exp; it
9124 is enabled. Suggest a few more "return" tests.
9125
9126Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9127
9128 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9129 anonymous unions.
9130
9131Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9132
9133 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9134 and pr-5646.o, so "make" is the same as "make all", not "make
9135 pr-4975.o".
9136
9137Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9138
9139 * gdb.base/list.exp: Adjust expectations to reflect changes in
9140 list1.c.
9141 (test_forward_search): New test proc.
9142 * gdb.base/list1.c (long_line): New function, has long source line.
9143
9144Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9145
9146 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9147 additional line of code that was added.
9148
9149Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9150
9151 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9152 tests so as not to overflow expect's input buffers.
9153 * gdb.disasm/hppa.exp: Corresponding changes.
9154
9155Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9156
9157 Beginnings of template debugging tests.
9158 * gdb.c++/templ-info.cc: New file to test for template
9159 debugging capability of the compiler.
9160 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9161 templ-info.cc.
9162 * gdb.c++/templates.cc: Add explicit template instantiations
9163 to enable compiling with -fno-implicit-templates. Add destructor
9164 and 'value' method to T5 class for template tests.
9165 * gdb.c++/templates.exp: Add testcases for printing of template
9166 types, setting breakpoints on template methods and calling a
beb998c6 9167 template method.
c906108c
SS
9168
9169Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9170
9171 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9172 branch target since some assemblers (gas-2.5) may emit a
9173 relocation for the branch instead of resolving it in the
9174 assembler.
9175
9176Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9177
9178 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9179 through signal handler.
9180
9181Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9182
9183 * configure.in (*-*-netware): Use config/mt-netware.
9184
9185 * config/mt-netware: New file.
9186 * config/mt-i386-netware: Removed, separate configs for different
9187 netware architectures are no longer needed now that we have
9188 --with-headers.
9189
9190Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9191
9192 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9193 by the recent changes to use ANSI C arithmetic conversions.
9194
9195Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9196
9197 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9198 bug involving using inferior_pid to figure out whether to select a
9199 frame.
9200
9201Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9202
9203 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9204 match the current disassembler output.
9205
9206Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9207
9208 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9209 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9210 types, expect "int" as type of integer values (for now).
9211
9212Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9213
9214 * gdb.base/commands.exp: New tests for if/while commands.
9215
9216Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9217
9218 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9219 by .*, since hex values have different syntax in Chill mode.
9220
9221Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9222
9223 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9224 linefeed from expect pattern for repeated types with indices > 9.
9225
9226Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9227
9228 First part of Fortran test suite.
9229 * gdb.fortran: New directory.
9230 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9231
9232Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9233
9234 * gdb.base/default.exp: Update expect pattern for load command
9235 without arguments.
9236
9237Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9238
9239 * configure.in: Change i386 to i[345]86.
9240 * gdb.base/configure.in: Likewise.
9241 * gdb.c++/configure.in: Likewise.
9242 * gdb.chill/configure.in: Likewise.
9243
9244Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9245
9246 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9247 patterns, since that is not a valid context for comments.
9248
9249Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9250
9251 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9252 repeated types and repeated types with indices > 9.
9253
9254Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9255
9256 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9257 2417; old bug has been fixed.
9258
9259Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9260
9261 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9262 send the newline ourselves instead of assuming gdb_test will do
9263 so when passed an empty input string.
9264
9265 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9266 stabs testcode.
9267
9268Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9269
9270 * lib/gdb.exp (gdb_test): Don't send anything if the first
9271 argument is an empty string. This makes cases where we want to
9272 match output that is already in expect's buffers (for example,
9273 matching a breakpoint after gdb_run_cmd has been called) work
9274 reliably.
9275
9276Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9277
9278 * config/netware.exp: New file.
9279
9280Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9281
9282 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9283 the -B and -L prefixes so we can find the debugging stub.
9284
9285 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9286 there and we are using the gcc from the tree.
9287
9288 * gdb.base/types.c: Removed.
9289
9290 * gdb.base/configure.in: Look for makefile fragments in ../config.
9291 Recognize i386-*-netware.
9292 * gdb.c++/configure.in: Likewise.
9293
9294Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9295
9296 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9297 the correct TCL syntax.
9298
9299Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9300
9301 * gdb.base/opaque.exp: use runto instead of messing around with
9302 breakpoints. Simplify by using gdb_test.
9303
9304 * gdb.base/bitfields.exp: restart between tests on netware targets
9305 because breakpoints aren't relocated after target death. Run
9306 processes to completion.
9307
9308 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9309
9310Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9311
9312 * Makefile.in: Remove extra tabs that confuse some versions
9313 of "make". Use the newly built gdb to test with by default,
9314 rather than the first one in the tester's search path.
9315
9316Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9317
9318 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9319
9320 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9321 condition help.
9322
9323Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9324
9325 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9326
9327 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9328 running.
9329 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9330 * gdb.base/funcargs.exp: Likewise.
9331
9332 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9333 * gdb.base/funcargs.exp: Likewise.
9334
9335 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9336 message is "".
9337
9338Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9339
9340 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9341 return,signals,twice}.exp: Handle non-existant binaries
9342 consistantly.
9343
9344 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9345 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9346 might testing a cross development system.
9347
9348Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9349
9350 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9351 runtest script is relative to ${srcdir}, not ${rootdir}.
9352
9353Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9354
9355 * gdb.base/signals.exp: Allow for optionality of breakpoint
9356 address.
9357
9358Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9359
9360 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9361
9362Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9363
9364 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9365 for size_t definition.
9366 * gdb.c++/templates.cc: Likewise
9367
9368 * config/mt-i386-netware: New file.
9369
9370 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9371 defined.
9372
9373 * gdb.base/Makefile.in: Added support for systems that name core
9374 files by appending "core" to the program name.
9375 * gdb.base/a1-selftest.exp: Likewise.
9376
9377Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9378
9379 * gdb.base/return.exp: Add comment and message for `return double'
9380 test failure on Sparc Solaris.
9381
9382Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9383
9384 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9385
9386Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9387
9388 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9389 from optimizing them away.
9390 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9391 patterns to include default constructors and assignment operators,
9392 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9393 character in the output of the virtual base pointer.
9394
9395Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9396
9397 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9398 expression match in print_addr_of to avoid unintented matches.
9399 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9400 versions up to 2.5.8.
9401
9402Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9403
9404 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9405 included file to run under newer versions of expect.
9406 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9407 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9408 Remove xfail for the virtual table of BDDHookV.
9409
9410Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9411
9412 * lib/gdb.exp (string_to_regexp): Set a default result.
9413 (default_gdb_start): Fix misleading message.
9414
9415Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9416
9417 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9418 Remove all CC, etc definitions.
9419 * config/mt-hpux: New file.
9420 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9421 (CFLAGS, LDFLAGS): Define.
9422 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9423
9424 * Makefile.in (site.exp): Don't insert host_os, etc.
9425 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9426 (distclean): Check existence of subdir.
9427 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9428 * gdb.base/Makefile.in: General cleanup and simplification.
9429 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9430 to build executables. Use default rule to build .o files.
9431 (EXPECT, RUNTEST, CC): Fix relative pathname.
9432 (site.exp): Don't insert host_os, etc.
9433 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9434 and/or SIGUSR1 defined.
9435 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9436 * gdb.c++/Makefile.in: General cleanup and simplification.
9437 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9438 (CFLAGS): Remove.
9439 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9440
9441Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9442
9443 * gdb.base/recurse.exp: Misc changes to get tests running again
9444 after Kung's changes to the watchpoint code.
9445 * gdb.base/watchpoint.exp: Likewise.
9446
9447Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9448
9449 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9450
9451Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9452
9453 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9454 * lib/gdb.exp (default_gdb_start): Define.
9455 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9456 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9457 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9458 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9459 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9460 Don't call gdb_target_udi in between tests.
9461
9462Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9463
9464 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9465 (which was basically just a local version of the same thing). In
9466 addition to avoiding duplication, gdb_test_exact is faster.
9467 * lib/gdb.exp (gdb_test_exact): Fix typo.
9468
9469 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9470 don't give an error.
9471
9472 * gdb.base/term.exp: Call delete_breakpoints before starting.
9473
9474 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9475 (t10): Add comment.
9476
9477Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9478
9479 Reorganization of the GDB Test Suite.
9480
9481 * gdb.base: New directory, contains all the basic tests.
9482 * gdb.c++: New directory, tests specific to C++.
9483 * gdb.chill: New directory, tests specific to Chill.
9484 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9485 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9486 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9487 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9488 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9489 t30-31 to chill).
9490 * */gdbme.*: Rename to match appropriate expect scripts.
9491 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9492 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9493 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9494 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9495 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9496 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9497 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9498 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9499 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9500 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9501 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9502 gdb.c++/virtfunc.cc: New names of C++ files.
9503 * gdb.chill/chillvars.ch: New name of Chill file.
9504 * gdb.base/configure.in, gdb.c++/configure.in,
9505 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9506 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9507 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9508 * configure.in (configdirs): Update to reflect directory changes.
9509 (target_abbrev): No longer define for any configuration.
9510 * Makefile.in: Cosmetic improvements to header comments.
9511
9512Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9513
9514 Various changes to gdb.t31:
9515
9516 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9517 * gdbme.ch: Make all key-words and predefineds be upper-case.
9518 * chillvars.exp: Expect key-words and predefinds in upper-case.
9519
9520 * chillvars.exp: Use gdb_test_exact many places.
9521 Change expected output for arrays (which now includes index labels).
9522
9523 * pr-5020.exp, gdme.ch (module PR_5020):
9524 New test, for PR-5020.
9525
9526Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9527
9528 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9529 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9530
9531Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9532
9533 * Makefile.in: Fix bit-rot in definitions of CHILL,
9534 CHILL_FOR_TARGET and Chill_LIB.
9535 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9536 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9537 CHILL, and CHILL_LIB.
9538
9539Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9540
9541 * Revert the previous changes. Please see Rob's directory
9542 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9543
9544Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9545
9546 * Makefile.in, configure.in, config/mips-gdb.exp,
9547 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9548 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9549 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9550 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9551 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9552 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9553 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9554 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9555 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9556 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9557 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9558 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9559 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9560 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9561 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9562 changes from 94Q1.
9563
9564Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9565
9566 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9567 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9568 Rob's new testing fragments.
9569
9570Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9571
9572 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9573 lib/gdb.exp: Replace error proc calls with perror.
9574
9575Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9576
9577 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9578 version also, match on casted version strings, and match on
9579 gdb startup case where the line numbers might be messed up.
9580
9581Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9582
9583 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9584 (CFLAGS): Delete it from here.
9585
9586Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9587
9588 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9589
9590Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9591
9592 * Makefile.in (RUNTEST): Default to just "runtest".
9593
9594Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9595
9596 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9597 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9598 the code has been restructured.
9599
9600Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9601
9602 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9603 \n, not just one of each.
9604
9605 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9606 /bin/cc gives a warning if you do.
9607
9608Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9609
beb998c6 9610 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9611 __t10ListS_link1ZUiRCUiPT0
9612
9613Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9614
9615 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9616 on local variables in recursive functions.
9617
9618 * gdb.t07/Makefile.in: Build the new test.
9619
9620Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9621
9622 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9623 directly. Instead compare the return values from actual calls.
9624
9625Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9626
9627 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9628
9629Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9630
9631 * From Peter Schauer with minor modifications.
9632 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9633 stops in mid-line in the caller. Add xfail for returning a float
9634 value on X86 targets.
9635
9636Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9637
9638 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9639 to avoid expect lossage.
9640 (fmem_LRbug_tests): Likewise.
9641 * gdb.disasm/hppa.s: Corresponding changes.
9642
9643 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9644 conditions to work with latest dejagnu/expect.
9645
9646 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9647 expected to fail on the PA.
9648 (backtrace in call with trampolines): Explicitly require main
9649 to be frame #1 (no trampolines should show up in backtrace).
9650
9651 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9652 "continue -expect".
9653 * gdb.t06/break.exp: Likewise.
9654 * gdb.t07/watchpoint.exp: Likewise.
9655 * gdb.t13/bitfields.exp: Likewise.
9656 * gdb.t15/{funcargs,return}.exp: Likewise.
9657 * gdb.stabs/weird.exp: Likewise.
9658 * config/{mips,udi}-gdb.exp: Likewise.
9659
9660 * hppa.sed: Enclose comments within a sed command to avoid
9661 losing with the old OSF1 sed.
9662
9663Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9664
9665 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9666 sequent dynix.
9667 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9668 * gdb.t15/funcargs.exp: Conditionally step again to really
9669 finish from marker_call_with_trampolines. Handle the case where
9670 the first step from within call_with_trampolines already steps
9671 us back to main.
9672 * gdb.t15/gdbme.c: Add comment to closing brace of
9673 call_with_trampolines for funcargs.exp.
9674
9675Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9676
beb998c6 9677 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9678 Fix typo(s).
9679
9680Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9681
9682 * gdb.t07/gdbme.c: More code for watchpoint testing.
9683
9684 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9685 "Hardware watchpoint" throughout file.
9686 (test_watchpoint_triggered_in_syscall): New test.
9687 (test_complex_watchpoint): New test.
9688
9689Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9690
9691 * gdbme.c (call_with_trampolines): New function to try and step
9692 into. Tests trampoline problems on the PA.
9693
9694 * funcargs.exp (localvars_in_indirect_call): No longer expect
9695 stepping into indirect call to fail on PAs.
9696 (test_stepping_over_trampolines): New test.
9697
9698Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9699
9700 * TODO: Add suggestions for static member function tests, and
9701 completion tests.
9702
9703Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9704
9705 * TODO: Add suggestions for "p/a" tests.
9706
9707 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9708 (default_gdb_exit): Replace all the hair with sending "quit" to
9709 the process with a simple close.
9710
9711Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9712
9713 * TODO: Add suggestions for shared library tests.
9714
9715Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9716
9717 * TODO: Add suggestions for x/s tests.
9718
9719Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9720
9721 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9722 "enable once", and "enable breakpoints once" with ".*".
9723
9724Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9725
9726 * TODO: Add suggestions about structure passing tests.
9727
9728Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9729
9730 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9731 the primary1 test, use work around if __GNUC__ < 2.
9732 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9733 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9734 Test for bad output rather than waiting for timeout. Issue
9735 second continue only if first continue failed.
9736
9737Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9738
9739 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9740 operator[] test with gdb_test because the old code didn't seem to
9741 be getting the quoting right with the new dejagnu.
9742
9743Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9744
9745 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9746 one from the path.
9747 * Makefile.in: Use a fresh expect if there is one, use runtest
9748 from the src tree if there is one.
beb998c6 9749
c906108c
SS
9750Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9751
9752 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9753 next over recursive call. Revise the tests from that point on
9754 (which had been skipped) to match GDB's actual (correct) output.
9755
9756 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9757 with next over a breakpoint whose condition is false.
9758
9759 * gdb.t00/help.exp: Comment out "help set print" tests just like
9760 (and for same reason as) "help set" test.
9761
9762Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9763
9764 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9765 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9766
9767Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9768
9769 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9770 necessary gdb_target_udi.
9771
9772 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9773
9774 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9775 1838 and 2417; they are fixed.
9776
9777 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9778 gdb.t03/ptype.exp (ptype structure, ptype union):
9779 Remove xfails; the test is looser than when the xfails were added.
9780
9781 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9782 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9783
9784 * gdb.t01/run.exp: Only run shell test if isnative.
9785
9786 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9787 since "run" automatically loads if necessary. Call gdb_target_udi
9788 after the "file" since "file" kills any execution target.
9789
9790 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9791 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9792 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9793 argument for UDI.
9794
9795Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9796
9797 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9798
9799 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9800
9801Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9802
9803 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9804 properly quoting regexps. This makes the second argument to
9805 demangle a fixed string, which matches the callers, instead of a
9806 shell-style pattern which is what the previous implementation
9807 used. Update some of the callers.
9808
9809Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9810
9811 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9812 (comib_nullified_tests): Fix typo.
9813 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9814 strings. No longer expected to fail.
9815
9816 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9817 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9818 strings. No longer expected to fail.
9819
9820 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9821 string. No longer expected to fail.
9822
9823Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9824
9825 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9826 No longer expected to fail.
9827
9828 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9829 string. No longer expected to fail.
9830
9831Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9832
9833 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9834 only in the names (I probably got most of them). I was even
9835 generous with some which differed in underscores in names, and
9836 probably missed a few, and I *still* was able to remove almost a
9837 third of the file with almost no impact on testsuite coverage.
9838
9839Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9840
9841 * gdb.t00/default.exp: Match udi_attach error message as well as
9842 the one from child_attach.
9843
9844 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9845
9846 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9847
9848 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9849 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9850
9851 * Move test with enums and partial symbols back to
9852 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9853 Reverts the change of 26 May 93. Per today's change to
9854 stabs.texinfo, the behavior that weird.exp was expecting was
9855 unreasonable; what is important is that the compiler+gdb get
9856 things right, which happens with a recent gcc. Also fix the test
9857 to deal with native compilers which put out the stab gdb can't
9858 deal with.
9859
9860Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9861
9862 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9863 in the names. The main thing these accomplish is to slow things down.
9864 Many more such duplicates surely remain.
9865
9866 * gdb.t00/help.exp: Comment out "help support" test just like
9867 (and for same reason as) "help set" test.
9868
9869Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9870
9871 * gdb.t06/break.exp: Remove setup_xfails for
9872 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9873 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9874 about known bug in gcc to include up through 2.5.8.
9875 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9876 well as "_vb$".
9877 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9878 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9879 with latest gcc and gdb.
9880 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9881 well as "_vb$".
9882
9883Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9884
9885 * configure.in (hppa*-*-*): Also configure and build stabs-only
9886 tests.
9887
9888Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9889
9890 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9891 * gdb.t10/configure.in (hppa*-*-*): Use it.
9892
9893Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9894
9895 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9896
9897Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9898
9899 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9900 versions prior to 1.13.5.
9901
9902Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9903
9904 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9905 the prompt is at the start of a line.
9906
9907Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9908
9909 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9910 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9911 in the copr tests now.
9912 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9913 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9914 expected to fail.
9915
9916Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9917
9918 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9919 gdb.t31/chillvars.exp, lib/gdb.exp:
9920 Tweak to run under either version of expect.
9921 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9922 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9923 * gdb.t11/list.exp: Remove extraneous whitespace.
9924
9925Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9926
9927 * gdb.t16/printcmds.exp (test_print_strings): Accept
9928 "(unsigned char *) " before the string.
9929
9930 * TODO: Add notes about printing of fancy types and GDB expressions.
9931
9932Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9933
9934 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9935 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9936 if doing mips-idt-ecoff.
c906108c
SS
9937
9938Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9939
9940 * Most .exp files: Tweak to run under either version of expect.
9941
9942Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9943
9944 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9945 xfails; I'm not sure why they are failing, but not because of PR 1806.
9946
9947Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9948
9949 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9950 defined in lib/gdb.exp.
9951
9952Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9953
9954 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9955 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9956 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9957 have to be typeless.
9958
9959Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9960
9961 * TODO: Add suggestion for copyright year test.
9962
9963Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9964
9965 * configure.in (*-*-lynxos*): Add stabs tests.
9966
9967Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9968
9969 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9970 so insert a tab before any assembler directive in column zero.
9971
9972 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9973 stores.
9974 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9975 stores.
9976 (fpu_short_memory_tests): Likewise.
9977
9978Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9979
9980 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9981 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9982 .stabs directives in comments.
9983
9984Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9985
9986 * TODO: New file, describing tests we could write.
9987 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9988
9989Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9990
9991 * gdb.t06/signals.exp: Add kludge to force re-sync.
9992
9993 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9994 to xgdb instead of gdb, get out of gdb.
9995
9996Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9997
9998 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9999 for info.
10000
10001Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10002
10003 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10004 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10005 * gdb.stabs/hppa.sed: New sed script for the PA.
10006
10007Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10008
10009 * gdb.stabs: Re-write weird.def and configuration to use sed
10010 instead of cpp. sed is portable and POSIX; cpp is neither.
10011
10012Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10013
10014 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10015
10016Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10017
10018 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10019
10020Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10021
10022 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10023 "_vb$".
10024 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10025 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10026
10027Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10028
10029 * lib/gdb.exp: Comment out code which depends on non-existent
10030 `transform' procedure.
10031
10032Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10033
10034 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10035 * lib/gdb.exp: Transform tool name.
10036 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10037 1.1's new error handling system.
10038
10039Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10040
10041 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10042
10043Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10044
10045 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10046 They made pattern matching so slow that timeouts happened on
10047 heavily loaded systems. Now any output from "show print" which
10048 gets us back to the GDB prompt is a PASS.
10049
10050Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10051
10052 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10053
10054Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10055
10056 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10057
10058 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10059 It is not from PR 3220.
10060
10061Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10062
10063 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10064 just started failing because they depended on the order the
10065 subcommands are presented, or exact docstring text. This kind of
10066 test is a pain and has minimal benefit.
10067
10068Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10069
10070 * gdb.t09/corefile.exp: At end of test, use "core" command with
10071 no arguments.
10072
10073Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10074
10075 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10076 17}/Makefile.in: Make it possible to run the testsuite with Sun
10077 make and CC = cross gcc by adding explicit build rules for .o
10078 files.
10079
10080Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10081
10082 * gdb.t15/funcargs.exp: Don't put comments on same line as
10083 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10084
c906108c
SS
10085Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10086
10087 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10088
10089Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10090
10091 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10092 * gdb.t20/inherit.exp: remove three dumplicate entries.
10093
10094Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10095
10096 * gdb.t06/break.exp: For "next over recursive call", fail on any
10097 incorrect output, not just on "factorial (value=2)".
10098
10099Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10100
10101 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10102 working now. Add an xfail if accesing a bss variable causes
10103 a memory error if the target is not yet run.
10104
10105Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10106
10107 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10108 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10109 name of __st* demangling (2 strings). Did Kung really get the
10110 more than 95 others right without testing them?
10111
10112Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10113
10114 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10115
10116Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10117
10118 * configure.in (configdirs): Add gdb.disasm
10119 * gdb.disasm: New directory for GDB disassembler tests.
10120 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10121
10122Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10123
10124 * gdb.t00/help.exp: Don't test "help set".
10125
10126 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10127 from within expect statements. None of these happen anymore and
10128 they cause regressions to be silently unnoticed.
10129
10130 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10131 messages) about known failures with gcc cygnus-2.4.5-930417.
10132
10133 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10134 comp-info.exp so it gets built if it doesn't exist.
10135
10136 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10137 it is no longer used.
10138 * gdb.t13/comp-info.c: Removed.
10139
10140Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10141
10142 * gdb.t06/signals.exp: Add xfail for sun3.
10143
10144Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10145
10146 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10147 relevant because ^C doesn't get sent but failure can be reproduced
10148 interactively).
10149
10150Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10151
10152 * gdb.stabs/alpha.mt: New configuration file for alpha.
10153 * gdb.stabs/configure.in: Use it.
10154 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10155 sharing with alpha.mt, redefine long to word via preprocessor.
10156 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10157 for alpha.
10158 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10159 native cc.
10160 * gdb.t00/teststrategy.exp: Change expect string so that we
10161 consume the `(xgdb)' from the command echo and from the gdb prompt.
10162 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10163 gdb currently compares all values as long, so this failure probably
10164 applies to any configuration where LONGEST is bigger than a target int.
10165 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10166 with gcc.
10167 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10168 to handle opaque pointers, gcc is.
10169 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10170 as first argument. Include <sys/types.h> and change all operator
10171 new definitions to use size_t.
10172 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10173 now that we use size_t.
10174
10175Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10176
10177 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10178 a long or float array cast all array members to the same type.
10179 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10180 with 64 bit longs.
10181 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10182 on alpha.
10183 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10184
10185Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10186
10187 * gdb.t24 (demangle.exp): Constructors of templates have names like
10188 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10189 section 14.6 of the ARM.
10190
10191 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10192 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10193 accomplish little and slow down the testsuite.
10194
10195 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10196 Accept spaces various places.
10197
10198Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10199
10200 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10201 with watchpoint enabled.
10202
10203 * Makefile.in: Remove definition of CC and remove the second
10204 definition of CXX (the "CXX = gcc" one remains). These definitions
10205 were causing backquotes to be expanded within backquotes, which
10206 doesn't work.
10207
10208Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10209
10210 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10211
10212Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10213
10214 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10215 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10216 by mips cc and contains no stabs entries.
10217
10218Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10219
10220 * config/vx-gdb.exp: Use fake device to load files rather than
10221 NFS.
10222 * lib/gdb.exp: New proc to do "file" command.
10223 * config/unix-gdb.exp: Use new "file" proc.
10224
10225Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10226
10227 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10228 Rework board rebooting slightly.
10229 (gdb_exit): Don't exit from the remote shell; there isn't one.
10230 * gdb.stabs/weird.exp: If a program is being debugged already,
10231 kill it.
10232 * gdb.t04/setvar.exp: Stop and restart gdb.
10233 * gdb.t05/expr.exp: Likewise.
10234 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10235 restart gdb and reload the program.
10236 * gdb.t08/opaque.exp: Likewise.
10237 * gdb.t12/scope.exp: Likewise.
10238 * gdb.t13/bitfields.exp: Likewise.
10239 * gdb.t15/funcargs.exp: Likewise.
10240 * gdb.t20/classes.exp: Likewise.
10241 * gdb.t03/ptype.exp: Increase timeout.
10242 * gdb.t16/printcmds.exp (test_print_string_constants,
10243 test_print_array_constants): Likewise.
10244 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10245 * gdb.t20/classes.exp (do_tests): Likewise.
10246 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10247
10248Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10249
10250 * gdb.stabs: Renamed *wierd* to *weird*.
10251
10252Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10253
10254 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10255 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10256
10257Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10258
10259 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10260 (do_tests): Remove xfail for whatis on one_var and two_var.
10261
10262Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10263
10264 * Makefile.in: Made cross building work better by adding
10265 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10266
10267Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10268
10269 * gdb.t15/{return.c,return.exp,Makefile.in}:
10270 New test, currently commented out.
10271
10272Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10273
10274 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10275 still running and removes the leftover named socket so GDb can do
10276 clean restarts.
10277
10278Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10279
10280 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10281 console, not GDB.
10282 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10283 cross testing works better with "make check"
10284 * config/unix-gdb: Use default procedures for exit and version.
10285 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10286 with the newest VxWorks.
10287
10288Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10289
10290 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10291 old form.
10292
10293 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10294 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10295
10296 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10297
10298 * config/unix-gdb.exp: Remove this version of gdb_exit
10299 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10300 Rob says he'll look at it when he gets back to testing boards.
10301
10302Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10303
10304 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10305 an expected fail for certain ptype commands.
10306
10307 * gdb.t20/classes.exp: Update expected results of "ptype class
10308 Base1" to account for the constructor that now appears in the type.
10309
10310Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10311
10312 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10313 disappeared from list.
10314 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10315 "alldone" proc with call to cleanup and exit.
10316 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10317 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10318 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10319 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10320 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10321 "alldone" proc with simple returns that suppress remaining
10322 tests. The alldone proc went away many months ago.
10323
10324Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10325
10326 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10327
10328 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10329
10330Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10331
10332 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10333 as vax gdb will display them.
10334
10335Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10336
10337 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10338 optimizers.
10339
10340 * scope.exp: Change "bad value for localval" messages so each one
10341 is unique.
10342
10343 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10344 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10345
10346 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10347
10348Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10349
10350 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10351 doesn't exist (due to optimization).
10352
10353Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10354
10355 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10356 contains \r because the filename is long.
10357
10358 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10359 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10360
10361Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10362
10363 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10364 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10365 Ultrix.
10366 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10367 int tests.
10368 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10369
10370Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10371
10372 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10373
10374 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10375 to match does not match the passing case but still matches the
c906108c
SS
10376 failing case.
10377
10378Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10379
10380 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10381
10382Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10383
10384 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10385 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10386 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10387 Remove various versions of gdb_exit.
10388 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10389 gdb_exit.
10390 * config/unix-gdb.exp: gdb_exit remains here, and should override
10391 the generic version, since it's doing a lot of wierd stuff that
10392 the other versions aren't. FIXME, fold it in, or abandon this
10393 version.
10394
10395Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10396
10397 * gdb.t24/demangle.exp: Add tests for PR 3220.
10398
10399Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10400
10401 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10402
10403Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10404
10405 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10406 "i386-*-*". Works for i486 as well.
10407
10408 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10409 bug, and expand domain of xfail to all SVR4 systems, since the
10410 actual problem is likely to be in generic SVR4 /proc support.
10411
10412Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10413
10414 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10415
10416Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10417
10418 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10419 xfails for other systems. Match a missing 'Continuing.' as an
10420 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10421
10422 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10423 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10424 Only issue warning for missing executables if -all option is used.
10425
10426 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10427 file if -all option is used. It's like an unpredictable XFAIL.
10428
10429Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10430
10431 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10432 for dynamically linked binaries.
10433
10434 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10435
10436Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10437
10438 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10439 to state that this is a known bug in old versions of g++.
10440
10441Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10442
10443 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10444 while waiting for `Continuing'.
10445
10446Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10447
10448 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10449 in text, data, and bss.
10450 * gdb.t10/nodebug.c: Add local and global test variables for
10451 initialized and uninitialized data.
10452
10453Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10454
10455 * config/unix-gdb.exp (gdb_exit): Add "wait".
10456
10457Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10458
10459 * gdb.t06/signals.exp: xfail the continue from the handler for all
10460 targets.
10461
10462 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10463 function with watchpoints enabled, the i386 call dummy starts with
10464 a call.
10465
10466 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10467 386 bsd names its corefiles.
10468
10469Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10470
10471 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10472 compilers don't grok it.
10473 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10474 with small octal ints rather than character constants, which
10475 are signed and might not fit if first promoted to int.
10476
10477Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10478
10479 * gdb.t09/Makefile.in (clean): Remove corefile.
10480
10481Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10482
10483 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10484
10485Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10486 and Jim Kingdon (kingdon@cygnus.com)
10487
10488 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10489 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10490 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10491
10492Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10493
10494 * gdb.t17/interrupt.exp: Add xfail for hppa.
10495
10496Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10497
10498 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10499 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10500 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10501 to determine signed-ness of bitfields and use the result to setup
10502 the xfail.
10503 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10504 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10505 call line is reached if necessary.
10506
10507Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10508
10509 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10510
10511Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10512
10513 * gdb.t06/break.exp: Also test `clear' command.
10514
10515Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10516
10517 * gdb.t00/teststrategy.exp: Remove extra quote.
10518
10519 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10520 watchpoint enabled to be for all non-68k machines.
10521
10522 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10523
10524Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10525
10526 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10527 targets use aout.mt instead of ecoff.mt as gas understands
10528 standard aout format.
10529
10530Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10531
10532 * lib/gdb.exp (runto): Don't insist that function we are running to
10533 was compiled with -g.
10534
10535 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10536
10537 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10538 to get back into the read system call.
10539 Accept leading newline in case where we woke it up.
10540
10541Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10542
10543 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10544 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10545 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10546 enable ecoff configuration.
10547
10548Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10549
10550 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10551
10552Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10553
10554 * gdb.t16/printcmds.exp: Add another printf test.
10555
10556Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10557
10558 * configure.in: If configured -with-stabs on any target, add
10559 stabsdirs to configdirs.
10560
10561Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10562
10563 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10564 fun" so pattern does not match the command itself.
10565
10566Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10567
10568 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10569
10570Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10571
10572 * gdb.t17/interrupt.exp: Test for more things.
10573
10574Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10575
10576 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10577 compiler arranges the code and line numbers.
10578
10579 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10580
10581Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10582
10583 * gdb.t00/help.exp: Increase expect input buffer size.
10584
10585Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10586
10587 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10588
10589 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10590
10591 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10592
10593 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10594 [0-9]*, not just [0-9].
10595
10596Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10597
10598 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10599
10600 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10601
10602Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10603
10604 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10605
10606Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10607
10608 * gdb.t06/signals.c: Add xfails for sun3.
10609
10610 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10611
10612 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10613 test_stepping tests.
10614
10615Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10616
10617 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10618
10619 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10620
10621 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10622 rather than actually putting it through cpp twice.
10623
10624 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10625
10626Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10627
10628 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10629 no longer needed.
10630
10631Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10632
10633 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10634
10635 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10636 C++ features prints as "struct", make it a pass, not an xfail.
10637
10638Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10639
10640 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10641 Don't require VA to print as "class" rather than "struct".
10642
10643Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10644
10645 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10646
10647Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10648
10649 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10650
10651Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10652
10653 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10654 order.
10655
10656Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10657
10658 * gdb.t16/printcmds.exp: Add printf tests.
10659
10660 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10661
10662 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10663
10664Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10665
10666 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10667 pass counts, to counteract any existing or future setup_xfails.
10668
10669Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10670
10671 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10672 {BEGIN,END}_COMMON for common block instead of STAB.
10673 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10674
10675 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10676 intp_var should be N_GSYM not N_LSYM.
10677 wierd-aout.S: Use a label for the value of the N_SO.
10678 wierd.def: Remove all backslashes.
10679 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10680
10681Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10682
10683 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10684 get the expected next to inheritance3.
10685
10686Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10687
10688 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10689 now that gcc-2.4 gets it right.
10690
10691Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10692
10693 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10694
10695 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10696 generating comp-info.exp which works for cross-compilation.
10697
10698Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10699
10700 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10701 "*-*-sysv4.*".
10702
10703Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10704
10705 * gdb.t01/run.exp: Start with a fresh gdb.
10706 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10707 SVR4.x.
10708
10709Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10710
10711 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10712 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10713 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10714 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10715 things to remove.
10716
10717Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10718
10719 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10720 test cases from bug reports.
10721
10722Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10723
10724 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10725 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10726 avoid spurious xfails.
10727 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10728 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10729 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10730
10731Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10732
10733 * gdb.t00/teststrategy.exp: Rework to provide more useful
10734 description of each test, fix problem with systems that define
10735 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10736 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10737 results for "next over recursive call" so timeouts aren't taken
10738 by error.
10739
10740Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10741
10742 * gdb.t12/scope.exp: Test printing of variables before run.
10743
10744 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10745 printed in wrong order due to sorting.
10746
10747Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10748
10749 * gdb.t00/teststrategy.exp: Fix expected results for printing
10750 user entered string constant. Is array of char, prints with no
10751 address.
10752
10753 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10754 commands.
10755 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10756 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10757 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10758 of struct of char arrays.
10759 * gdb.t00/radix.exp: New tests for radix commands.
10760
10761Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10762
10763 * gdb.t16/printcmd.exp: Print a variable before running program
10764 (with xfail for AIX).
10765
10766Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10767
10768 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10769
10770 * gdb.t16/printcmd.exp: Don't print variables before running program.
10771
10772 * gdb.t06/break.exp: Don't require envp argument to main.
10773
10774 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10775
10776 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10777 Add xfails for rs6000.
10778
10779 * gdb.t02/whatis.exp: Change other tests not to re-test something
10780 we already tested.
10781
10782 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10783 each type used has a variable of that type.
10784
10785Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10786
10787 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10788
10789Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10790
10791 * configure.in: change srctrigger to be a file, not a directory
10792
10793Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10794
10795 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10796
10797 * gdb.t11/list.exp: Fixed a couple of typos.
10798
10799Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10800
10801 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10802 is fixed and PR is closed.
10803 * gdb.t16 (gdbme.c): Add simple test string variable.
10804 * gdb.t16 (printcmds.exp): Add tests with simple test string
10805 variable, primarily for boundaries on "set print elements".
10806
10807Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10808
10809 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10810 Make leading 0's optional and don't expect a tab in the middle
10811 of the number.
10812
10813 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10814
10815 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10816 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10817 don't end command passed to gdb_test with newline.
10818
10819 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10820 signed keyword away, don't expect signed bitfields to be signed.
10821
10822 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10823 printing with only as many 1's as are in the field as well as printing
10824 with 32 1's (see comment).
10825
10826Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10827
10828 * gdb.t00/default.exp: Start with a fresh gdb.
10829 * configure.in (configdirs): Remove gdb.t31 until the chill
10830 compiler works again. It no longer is able to find chillrt0
10831 since it isn't in libchill.a anymore.
10832 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10833 wierd.o, make more modular.
10834 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10835 spurious newlines that caused problems.
10836
10837Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10838
10839 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10840 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10841 gdb.stabs/wierd.{exp,def}: Many new tests.
10842
10843 * gdb.t00/default.exp: update info line for new message.
10844
10845 * gdb.t02/{whatis.exp,gdbme.c}:
10846 Test that "char *" doesn't print as "caddr_t".
10847
10848Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10849
10850 * gdb.t00/help.exp: Use .* in place of some help messages which
10851 just changed.
10852 gdb.t00/default.exp: Update "info frame" test for new message.
10853 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10854 Remove some xfails
10855
10856Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10857
10858 * gdb.t03/{gdbme.c,ptype.exp}:
10859 Add tests for typedef'd struct and union without tags.
10860 Also check "whatis" on a variable of a typedef'd enum without a tag.
10861
10862 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10863 PRMS 1823; the bug still exists but isn't reproduced by this test
10864 anymore), and remove rs6000 XFAIL (the bug is fixed).
10865
10866 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10867 duplicated from whatis.exp. For those that are left, accept
10868 "long", "long int", or "int" for long variables (whatis.exp already
10869 has an XFAIL for "int", so no need to fail it here).
10870
10871 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10872 Deal with GCC's names for types now that GDB uses the compiler's names.
10873
10874 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10875 setup_xfail's for sunos4. If we #defined the signed keyword away,
10876 don't expect GDB to know that char it is signed.
10877
10878 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10879
10880Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10881
10882 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10883 should work on any system, regardless of debugging format.
10884 * gdb.t21/demangle.exp: Move to gdb.t24.
10885 * gdb.t24/demangle.exp: Move from gdb.t21.
10886 * gdb.t24/{Makefile.in, configure.in}: New files.
10887
10888Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10889
10890 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10891 * gdb.stabs: New directory.
10892
10893Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10894
10895 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10896 not just "Quit anyway?".
10897
10898Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10899
10900 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10901 that all setup_xfails are immediately followed by clear_xfails.
10902
10903Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10904
10905 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10906 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10907 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10908 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10909 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10910 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10911 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10912 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10913 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10914 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10915 gdb.t31/chillvars.exp, lib/gdb.exp:
10916 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10917 bug-gdb@prep.ai.mit.edu.
10918
10919Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10920
10921 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10922 with 0.0, not integer 0.
10923
10924Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10925
10926 * gdb.t06/break.exp: Update for "Kill the program" message change.
10927
10928Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10929
10930 * Makefile.in (GDBFLAGS): Set to -nx.
10931 * Makefile.in (site.exp): Use GDBFLAGS.
10932
10933Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10934
10935 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10936 Makefiles.
10937 (check): depend on just-check.
10938 (just-check): added so that tests can be run without a noop
10939 build pass.
10940
10941Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10942
10943 Switch to using configure's configdirs.
10944 * Makefile.in (Makefile): add configure.in dependency.
10945 (SUBDIRS): removed redundant assignment.
10946 * configure.in: switch subdirs assignment to configdirs.
10947 * gdb.t*/configure.in: new files.
10948
10949Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10950
10951 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10952 works.
10953
10954Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10955
10956 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10957 in explicit rules. Apparently this is not supported by some makes.
10958
10959Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10960
10961 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10962
10963Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10964
10965 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10966 disappeared.
10967
10968Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10969
10970 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10971
10972Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10973
10974 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10975 watchpoint problem that is now fixed.
10976 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10977 uninitialized convenience variables.
10978 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10979 structures.
10980
10981Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10982
10983 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10984 which causes expect to get out of sync with gdb on long output
10985 from help set.
10986 * gdb.t09/corefile.exp: Make expected pattern for core file
10987 failing signal and frame output format less sun specific.
10988
10989Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10990
10991 * gdb.t31/chillvars.exp: Add and remove initial dummy
10992 breakpoint, so that symbol table is forced in.
10993 (Needed at least on Sunos4, though it seems not SVR4.)
10994 * gdb.t31/chillvars.exp: Update for changed output format.
10995
10996Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10997
10998 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10999
11000Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11001
11002 * Makefile.in: Added --srcdir when invoking runtest, removed the
11003 need for a local config file. (optional now)
11004
11005Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11006
11007 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11008 failure count used to force early termination. Add some more
11009 expected failures for gnu style demangling.
11010
11011Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11012
11013 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11014 pmi variable from gdb.t20/gdbme to get optimized away.
11015 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11016 Check for written corefile upon timeout _and_ eof.
11017
11018Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11019
11020 * config/unix-gdb.exp: Add missing return 0.
11021
11022Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11023
11024 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11025 test termination.
11026
11027Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11028
11029 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11030 disappeared.
11031
11032Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11033
11034 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11035 time as i860 support works.
11036
beb998c6 11037 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11038 "backtrace 100\r" rather than just "backtrace\r", to match last
11039 change.
11040
11041Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11042
11043 * config/udi-gdb.exp (gdb_exit): Remove close command.
11044 (gdb_target_udi): New procedure to set the UDI target.
11045 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11046 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11047 Added waits for prompts after several question responses. Added
11048 some more responses used by a29k-amd-udi-gdb.
11049 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11050 pass different arguments, restart UDI connection after program
11051 completion.
11052 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11053 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11054 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11055 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11056 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11057 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11058 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11059 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11060 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11061 after program completion.
11062 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11063 compiled with a SELECT_VECS setting.
11064 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11065 infinite recursion.
11066
11067 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11068 Added checks for COFF results, and made them expected failures for
11069 all targets. It would be better to make them expected failures
11070 for COFF targets only.
11071
11072Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11073
11074 * Makefile.in: add null dvi target, don't bother to recurse
11075 through test directories for info and install-info; rename
11076 $(datadir) to be dejagnu instead of deja-gnu
11077
11078Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11079
11080 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11081 compiler to coredump.
11082 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11083 code.
11084
11085Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11086
11087 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11088 coredump.
11089 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11090 code.
11091
11092Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11093
11094 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11095 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11096 which in a shell. Deletes xgdb when done.
11097 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11098 Tests the return from the "set height" or "set width" commands.
11099 Added a few return codes where needed.
11100
11101Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11102
11103 * Makefile.in (SUBDIRS): Add gdb.t17.
11104 * configure.in (subdirs): Add gdb.t17.
11105 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11106 files to test gdb's calling of functions in the inferior with
11107 the correct arguments and gdb's ability to retrieve any
11108 result returned.
11109
11110Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11111
11112 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11113 may be called after gdb goes away. Previous versions of expect
11114 needed these to avoid file descriptor leaks, but they cause
11115 errors with the current revision of expect.
11116 * gdb.t00/gdbvars.exp: Use -re on expected output after
11117 setting sevenbit-strings.
11118 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11119 to set sevenbit-strings consistent across tests.
11120 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11121 set sevenbit-strings consistent across tests.
11122
11123Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11124
11125 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11126 expected output to match current "expect" expectations.
11127
11128Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11129
11130 * gdb.t00/default.exp: Change expected output for default "source"
11131 command, to match new gdb behavior which requires a filename to
11132 source.
11133
11134Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11135
11136 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11137 expected fail for i486-*-* that misses the marker2 function.
11138 * gdb.t10/crossload.exp (bfddefault): Allow successful
11139 recognition of a format to pass even if no symbols are found.
11140 Explicitly catch failures where the format is not recognized
11141 or is ambiguous, and add the reason to the fail message.
11142 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11143 the cause is and invalid target and add reason to failure message.
11144 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11145 elf32-i386, elf32-sparc, and elf32-i860.
11146 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11147 Set up expected failure for 'filename'::variable scope resolution,
11148 which is now apparently broken on all targets.
11149 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11150 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11151 gdb.t23/templates.exp: Change failure for missing binfile into
11152 just a warning.
11153 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11154 references.
11155
11156Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11157
11158 * gdb.t00/default.exp: Add expected output for default "source"
11159 command, to match new gdb behavior.
11160 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11161
11162Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11163
11164 * config/*-gdb.exp: returns an error, rather than exiting on
11165 internal errors.
11166
11167Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11168
11169 * gdb.t03/gdbme.c: Add pointer to struct variable.
11170 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11171 referencing struct members.
11172
11173Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11174
11175 * configure.in (mips-idt-ecoff): New target.
11176 * config/mips-gdb.exp: New file for remote board using MIPS remote
11177 debugging protocol.
11178
11179 * Redid configuration scheme. Removed gdb.t*/configure.in.
11180 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11181 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11182 distclean targets. Built executables via .o files. Adjusted
11183 tests to account for source files in $(srcdir) rather than
11184 $(objdir).
11185 * lib/gdb.exp (runto): Don't expect () after the function name,
11186 because it may have arguments.
11187
11188Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11189
11190 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11191 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11192 expected failures for mips-idt-* and mips-sgi-*.
11193 * gdb.t00/default.exp (attach): Kill process if requested.
11194 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11195 that does not read core files.
11196 * gdb.t01/run.exp: Removed checks for exit status code.
11197 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11198 it is linked in.
11199 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11200 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11201 appropriate, rather than doing it by hand.
11202 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11203 execution.
11204 * gdb.t10/crossload.exp: Kill existing program if needed.
11205 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11206 appropriate, rather than doing it by hand. Always increase
11207 timeout for this test, not just for VxWorks.
11208
11209Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11210
11211 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11212 of Chill STRUCT types and STRUCT values.
11213 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11214 than "char".
11215 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11216 struct2): New struct definitions and initializations to test
c906108c
SS
11217 simple Chill STRUCT types.
11218
11219Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11220
11221 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11222 the null byte at the end of strings.
11223 * gdb.t00/default.exp: Make show version insensitive to copyright
11224 date.
11225 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11226 to avoid dependencies on target char signedness.
11227 * gdb.t16/printcmds.exp: Update expected results for explicitly
11228 unsigned char.
11229 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11230 now work.
11231 * gdb.t21/demangle.exp: Add many more patterns for template
11232 demangling, most of them being expected failures.
11233 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11234 string we are matching for, to match on the whole string.
11235 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11236 and fix a whole bunch that had incorrect expected output but were
11237 passing anyway because of the bug in "proc demangle".
11238 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11239 type.
11240 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11241
11242Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11243
11244 * gdb/testsuite: made modifications to testcases, etc., to allow
11245 them to work properly given the reorganization of deja-gnu and the
11246 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11247
11248Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11249
11250 * gdb/testsuite: Initial creation of gdb/testsuite.
11251 Migrated dejagnu testcases and support files for testing nm to
11252 gdb/testsuite from deja-gnu. These files were moved "as is"
11253 with no modifications. This migration is part of a major overhaul
11254 of dejagnu. The modifications to these testcases, etc., which
11255 will allow them to work with the new version of dejagnu will be
11256 made in a future update.
11257\f
11258Local Variables:
ef043731 11259mode: change-log
c906108c
SS
11260left-margin: 8
11261fill-column: 74
11262version-control: never
11263End: