* elf64-mips.c (mips_elf64_slurp_one_reloc_table): Call
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
19ac3974
EZ
12004-01-13 Elena Zannoni <ezannoni@redhat.com>
2
3 * gdb.threads/gcore-thread.exp: Prefix name of binary with
4 test specific name.
5 * gdb.mi/gdb669.exp: Ditto.
6 * gdb.mi/mi-pthreads.exp: Ditto.
7 * gdb.mi/mi1-pthreads.exp: Ditto.
8 * gdb.mi/mi2-pthreads.exp: Ditto.
9
56c97c6e
MC
102004-01-12 Michael Chastain <mec.gnu@mindspring.com>
11
12 * gdb.cp/member-ptr.cc: Add copyright notice.
13
a0644324
MC
142004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15
16 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
17 some patterns for recent versions of gcc and hpacc. Delete
18 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
19 Delete tests that access a NULL pointer-to-member-data. This
20 script is still disabled for gcc.
21
32fabe09
EZ
222004-01-12 Elena Zannoni <ezannoni@redhat.com>
23
24 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
25 escaped correctly.
26
1f8a6abb
EZ
272004-01-12 Elena Zannoni <ezannoni@redhat.com>
28
29 * gdb.base/sepdebug.exp: New file.
30 * gdb.base/sepdebug.c: New file.
31 * lib/gdb.exp (separate_debug_filename): New procedure.
32 (gdb_gnu_strip_debug): New procedure.
33
48efe704
AC
342004-01-12 Andrew Cagney <cagney@redhat.com>
35
36 * gdb.mi/ChangeLog: Delete file. Renamed to ...
37 * gdb.mi/ChangeLog-1999-2003: New file.
38
a9415475
AC
392004-01-12 Andrew Cagney <cagney@redhat.com>
40
41 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
42 "Renaming a directory to a non-empty directory returns ENOTEMPTY
43 or EEXIST", treat EBUSY as an XFAIL.
44
83b8cf9d
MC
452004-01-11 Michael Chastain <mec.gnu@mindspring.com>
46
47 * gdb.base/scope.exp: Remove obsolete setup_xfail for
48 hp_cc_compiler.
49
9939d2a8
MC
502004-01-10 Michael Chastain <mec.gnu@mindspring.com>
51
52 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
53 decorations.
54
1ff8cadf
MC
552004-01-10 Michael Chastain <mec.gnu@mindspring.com>
56
57 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
58 and "(aCC)" decorations. Remove obsolete doco about old
59 test results.
60
6fa9022e
MC
612004-01-09 Michael Chastain <mec.gnu@mindspring.com>
62
63 * gdb.cp/exception.exp: Fix typo in doco.
64
209721fe
MK
652004-01-09 Mark Kettenis <kettenis@gnu.org>
66
67 * gdb.base/gdb1476.exp: Fix typo.
68
ef11303e
MC
692004-01-09 Michael Chastain <mec.gnu@mindspring.com>
70
71 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
72 file.
73
041ab88c
MC
742004-01-09 Michael Chastain <mec.gnu@mindspring.com>
75
76 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
77 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
78 Use gdb_compile. Remove restriction on gcc. Add some patterns
79 for recent version of gdb. Delete second half, which was a copy
80 of the first half with different build flags. This test is
81 still disabled because it is still not ready for production.
82
e36d075a
MC
832004-01-08 Michael Chastain <mec.gnu@mindspring.com>
84
85 * gdb.cp/exception.cc: Add copyright notice.
86 * gdb.cp/exception.exp: Add a notice that this file is broken
87 because of line number changes caused by addition of copyright
88 notice.
89
42b190ad
MC
902004-01-08 Michael Chastain <mec.gnu@mindspring.com>
91
92 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
93 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
94
8f25f06b
MC
952004-01-08 Michael Chastain <mec.gnu@mindspring.com>
96
97 * gdb.cp/classes.exp: Accept gnu abi 2.
98 * gdb.cp/derivation.exp: Likewise.
99 * gdb.cp/overload.exp: Likewise.
100 * gdb.cp/virtfunc.exp: Likewise.
101
06ded8b8
MC
1022004-01-08 Michael Chastain <mec.gnu@mindspring.com>
103
104 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
105 semicolon after end of function.
106
77c26ae3
MC
1072004-01-07 Michael Chastain <mec.gnu@mindspring.com>
108
109 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
110 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
111 boilerplate code for compiling and running the program under
112 test. Add some string method tests.
113
20757486
MC
1142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
115
116 * gdb.cp/bs15503.cc: Add copyright notice.
117 * gdb.cp/bs15503.exp: Adjust line number.
118
0fd3b503
MC
1192004-01-07 Michael Chastain <mec.gnu@mindspring.com>
120
121 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
122 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
123
10d1bea8
MC
1242004-01-07 Michael Chastain <mec.gnu@mindspring.com>
125
126 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
127 hp_cc_compiler.
128
2789202a
MC
1292004-01-07 Michael Chastain <mec.gnu@mindspring.com>
130
131 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
132 * gdb.cp/ctti.exp: Use the marker instead of "next".
133 With gcc, run further before bailing.
134
b862f14c
MC
1352004-01-07 Michael Chastain <mec.gnu@mindspring.com>
136
137 * gdb.cp/cttiadd.cc: Add copyright notice.
138 * gdb.cp/cttiadd1.cc: Likewise.
139 * gdb.cp/cttiadd2.cc: Likewise.
140 * gdb.cp/cttiadd3.cc: Likewise.
141
96da2469
MC
1422004-01-07 Michael Chastain <mec.gnu@mindspring.com>
143
144 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
145 Use gdb_test, gdb_test_multiple. Use floating-point values that
146 have exact representations in IEEE-ish formats.
147
053248ff
MC
1482004-01-07 Michael Chastain <mec.gnu@mindspring.com>
149
150 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
151 compilers. Delete duplicate call to get_compiler_info.
152 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
153 * gdb.base/volatile.exp: Likewise.
154
84acecdd
MK
1552004-01-07 Mark Kettenis <kettenis@gnu.org>
156
157 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
158 memory at address 0.
159
fe11a27f
MC
1602004-01-07 Michael Chastain <mec.gnu@mindspring.com>
161
162 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
163 to test for hp-ux assembler. Fix copyright years.
164
60ad077b
AC
1652004-01-07 Andrew Cagney <cagney@redhat.com>
166
167 * gdb.base/fileio.c (strerrno): Add "EBUSY".
168
1c9b8f33
AC
1692004-01-07 Andrew Cagney <cagney@redhat.com>
170
171 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
172 when creating the read-only file. From analysis by Roland McGrath
173 and Elena Zannoni.
174
753ccc7a
MC
1752004-01-06 Michael Chastain <mec.gnu@mindspring.com>
176
177 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
178
eca3e36b
MC
1792004-01-06 Michael Chastain <mec.gnu@mindspring.com>
180
181 * gdb.base/cvexpr.c: Be type-safe with function pointers and
182 data pointers.
183
f8d4bac4
MC
1842004-01-06 Michael Chastain <mec.gnu@mindspring.com>
185
186 * gdb.cp/m-static.exp: Compile one source file at a time.
187 Delete unused call to get_compiler_info.
188
9b4e0f94
MC
1892004-01-06 Michael Chastain <mec.gnu@mindspring.com>
190
191 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
192 * gdb.base/call-rt-st.exp: Likewise.
193 * gdb.base/nodebug.exp: Likewise.
194 * gdb.base/volatile.exp: Likewise.
195 * gdb.cp/ref-types.exp: Likewise.
196 * gdb.cp/templates.exp: Likewise.
197
023c1024
MK
1982004-01-05 Mark Kettenis <kettenis@gnu.org>
199
200 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
201
19703c4a
MC
2022004-01-05 Michael Chastain <mec.gnu@mindspring.com>
203
204 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
205 hppa*-hp-hpux*.
206
18b67037
MK
2072004-01-04 Mark Kettenis <kettenis@gnu.org>
208
ba6219c8
MK
209 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
210 x86_64-*-*.
211
18b67037
MK
212 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
213 sparc64-*-* and sparc*-solaris2*.
214
1bfbbb9d
MK
2152004-01-04 Mark Kettenis <kettenis@gnu.org>
216
217 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
218 return ${tests}" test. The ${tests} already mentions the
219 filename.
220
06846494
MC
2212004-01-02 Michael Chastain <mec.gnu@mindspring.com>
222
223 * gdb.cp/local.exp: Accept gcc abi 2.
224
3b0cb202
MC
2252004-01-02 Michael Chastain <mec.gnu@mindspring.com>
226
227 * gdb.cp/templates.exp: Accept gcc abi 2.
228
0643ec3f
MC
2292004-01-02 Michael Chastain <mec.gnu@mindspring.com>
230
231 * lib/compiler.cc: Remove supports_template_debugging.
232 * gdb.cp/templates.exp: Do not test supports_template_debugging.
233
d231d0b1
MC
2342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
235
236 * gdb.cp/namespace.exp: Accept gcc abi 2.
237
44ffb27c
MC
2382004-01-01 Michael Chastain <mec.gnu@mindspring.com>
239
240 * gdb.cp/method.exp: Accept gcc abi 2.
241
184ad485
MC
2422004-01-01 Michael Chastain <mec.gnu@mindspring.com>
243
244 * gdb.cp/classes.exp: Generate identical results as old version.
245 * gdb.cp/derivation.exp: Likewise.
246 * gdb.cp/overload.exp: Likewise.
247 * gdb.cp/virtfunc.exp: Likewise.
248
116f09e7
MC
2492004-01-01 Michael Chastain <mec.gnu@mindspring.com>
250
251 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
252 mysterious bug with sourceware version of expect.
253
b1379776
MC
2542004-01-01 Michael Chastain <mec.gnu@mindspring.com>
255
256 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
257 current versions of gcc, including gcc abi 2. Remove gratuitous
258 restart of test program. Use gdb_test_multiple and gdb_test for
259 all tests. Add patterns to xfail missing "const" in "const char *"
260 and kfail PR gdb/1155.
261
6b7a4c0e
MC
2622004-01-01 Michael Chastain <mec.gnu@mindspring.com>
263
264 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
265 current versions of gcc, including gcc abi 2. Remove gratuitous
266 restart of test program. Use gdb_test_multiple and gdb_test for
267 all tests. Add patterns to kfail PR gdb/1498.
268
51615d72
MC
2692003-12-31 Michael Chastain <mec.gnu@mindspring.com>
270
271 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
272 current versions of gcc, including gcc abi 2. Use "breakpoint"
273 and "continue" instead of restarting the target program. Use
274 gdb_test_multiple and gdb_test for all tests.
275
7b79a9d7
MK
2762004-01-01 Mark Kettenis <kettenis@gnu.org>
277
278 * gdb.asm/asm-source.exp: Update copyright year. Link statically
279 for *-*-solaris2*.
280
1cd3489f
MC
2812003-12-31 Michael Chastain <mec.gnu@mindspring.com>
282
283 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
284 current versions of gcc, including gcc abi 2. Use "breakpoint"
285 and "continue" instead of restarting the target program several
286 times. Use gdb_test_multiple and gdb_test for all tests.
287
850742db
MC
2882003-12-18 Michael Chastain <mec.gnu@mindspring.com>
289
290 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
291 source files.
292
eb4bbda8
MC
2932003-12-16 Michael Chastain <mec.gnu@mindspring.com>
294
295 * gdb.base/environ.exp: Handle compiling test case from multiple
296 source files.
297
e42c7771
MC
2982003-12-16 Michael Chastain <mec.gnu@mindspring.com>
299
300 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
301
80e4b428
JB
3022003-12-17 Jim Blandy <jimb@redhat.com>
303
5f06973a
JB
304 * gdb.base/freebpcmd.c: Add copyright notice.
305
80e4b428
JB
306 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
307
0ab84fb7
MC
3082003-12-16 Michael Chastain <mec.gnu@mindspring.com>
309
310 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
311
1b3bb3d0
JB
3122003-12-13 Jim Blandy <jimb@redhat.com>
313
314 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
315
3a4c9371
KB
3162003-12-12 Kevin Buettner <kevinb@redhat.com>
317
318 * gdb.asm/frv.inc: New file.
319 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
320
a1dea79a
FF
3212003-12-09 Fred Fish <fnf@redhat.com>
322
323 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
324 functions to break1.c and leave prototypes behind. Add more
325 "set breakpoint NN here" comments.
326 * gdb.base/break1.c: New file.
327
328 * gdb.base/break.exp: Handle compiling test case from multiple
329 source files and change source file references as needed.
330 * gdb.base/completion.exp: Ditto.
331 * gdb.base/condbreak.exp: Ditto.
332 * gdb.base/define.exp: Ditto.
333 * gdb.base/ena-dis-br.exp: Ditto.
334 * gdb.base/info-proc.exp: Ditto.
335 * gdb.base/maint.exp: Ditto.
336 * gdb.base/until.exp: Ditto.
337
338 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
339 hardcoded line numbers.
340 * gdb.base/define.exp: Ditto.
341 * gdb.base/ena-dis-br.exp: Ditto.
342 * gdb.base/maint.exp: Ditto.
343 * gdb.base/until.exp: Ditto.
344
345 * gdb.base/completion.exp: Use "break1" for completion tests since
346 "break" is no longer a unique prefix.
347
5266b69c
AC
3482003-12-06 Andrew Cagney <cagney@redhat.com>
349
350 * gdb.base/structs.exp (test_struct_returns): When applicable, set
351 "return_value_unimplemented". When an unimplemented struct return
352 architecture, report incorrect values as a KFAIL
353
374451f0
MC
3542003-12-05 Michael Chastain <mec.gnu@mindspring.com>
355
356 * gdb.cp/rtti.exp: Accept new wording of warning from
357 cp_lookup_rtti_type.
358
ba9b20a7
MC
3592003-12-05 Michael Chastain <mec.gnu@mindspring.com>
360
361 Partial fix for PR testsuite/1456.
362 * gdb.base/scope.exp (test_at_main): Replace references to
363 gcc_compiled with calls to test_compiler_info.
364 (test_at_foo): Likewise.
365 (test_at_bar): Likewise.
366
b74b6d0b
MC
3672003-12-04 Michael Chastain <mec.gnu@mindspring.com>
368
369 Partial fix for PR testsuite/1456.
370 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
371 to test_compiler_info.
372
ccfa3402
MC
3732003-12-03 Michael Chastain <mec.gnu@mindspring.com>
374
375 * gdb.base/so-impl-ld.exp: Update copyright notice.
376
f6246aba
MC
3772003-12-02 Michael Chastain <mec.gnu@mindspring.com>
378
379 Partial fix for PR testsuite/1456.
380 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
381 to test_compiler_info.
382
13ae734a
MC
3832003-11-28 Michael Chastain <mec.gnu@mindspring.com>
384
385 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
386 from current versions of gdb. Clean up regular expressions.
387 Delete redundant timeout case.
388
d8e1cdee
MC
3892003-11-28 Michael Chastain <mec.gnu@mindspring.com>
390
391 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
392 from current versions of gdb. Clean up regular expressions.
393 Delete redundant timeout case.
394
96457b64
MC
3952003-12-01 Michael Chastain <mec.gnu@mindspring.com>
396
397 Partial fix for PR testsuite/1456.
398 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
399 gcc_compiled with call to test_compiler_info.
400
f35309fc
MC
4012003-11-30 Michael Chastain <mec.gnu@mindspring.com>
402
403 Partial fix for PR testsuite/1456.
404 * gdb.base/list.exp (test_list_function): Delete unused declaration
405 of gcc_compiled.
406
d7afdf9b
MC
4072003-11-29 Michael Chastain <mec.gnu@mindspring.com>
408
409 Partial fix for PR testsuite/1456.
410 * gdb.base/complex.exp: Replace reference to gcc_compiled with
411 call to test_compiler_info.
412
71507b56
MK
4132003-11-29 Mark Kettenis <kettenis@gnu.org>
414
415 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
416 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
417 it to create the appropriate note.inc.
418 * gdb.asm/asmsrc1.s: Include "note.inc".
419 * gdb.asm/netbsd.inc: New file.
420 * gdb.asm/empty.inc: New file.
421
f81f93f7
MC
4222003-11-28 Michael Chastain <mec.gnu@mindspring.com>
423
424 Partial fix for PR testsuite/1456.
425 * gdb.base/constvars.exp: Replace references to gcc_compiled with
426 calls to test_compiler_info.
427
9a77938e
MC
4282003-11-27 Michael Chastain <mec.gnu@mindspring.com>
429
430 Partial fix for PR testsuite/1456.
431 * gdb.base/volatile.exp: Replace references to gcc_compiled with
432 calls to test_compiler_info.
433
e8367dc7
MK
4342003-11-27 Mark Kettenis <kettenis@gnu.org>
435
436 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
437 pattern for the KFAILs.
438
526c61ee
AF
4392003-11-25 Adam Fedor <fedor@gnu.org>
440
441 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
442 * gdb.objc/objcdecode.m: New file.
443
28f2d600
AF
4442003-11-25 Adam Fedor <fedor@gnu.org>
445
446 * gdb.objc/nondebug.exp: Test for PR objc/1236.
447 * gdb.objc/nondebug.m: New file.
448
a3895cee
BE
4492003-11-26 Ben Elliston <bje@wasabisystems.com>
450
451 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
452 NetBSD as it does on FreeBSD. Modelled on a similar change by
453 Mark Kettenis on 2003-05-30.
454 (link-flags): Set to "--entry _start" regardless of target.
455 Special linker flags are to be appended to $link-flags.
456 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
457
c9f2c8a3
MC
4582003-11-25 Michael Chastain <mec.gnu@mindspring.com>
459
460 * gdb.cp/method.exp: Accept output of new demangler.
461
15a0587a 4622003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
463
464 * gdb/class2.exp: New file.
465 * gdb/class2.cc: New file.
466
3c00b570
MC
4672003-11-25 Michael Chastain <mec.gnu@mindspring.com>
468
469 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
470 of new demangler.
471
7027acc7
MK
4722003-11-23 Mark Kettenis <kettenis@gnu.org>
473
474 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
475 of gdb_test "run".
476
b0e1598a
MK
4772003-11-23 Mark Kettenis <kettenis@gnu.org>
478
479 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
480 "continue" into "run".
481
4d9eda44
MC
4822003-11-23 Michael Chastain <mec.gnu@mindspring.com>
483
484 Partial fix for PR testsuite/1456.
485 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
486 call to test_compiler_info.
487 * gdb.cp/ctti.exp: Likewise.
488 * gdb.cp/derivation.exp: Likewise.
489 * gdb.cp/member-ptr.exp: Likewise.
490 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
491 reference to gcc_compiled.
492
4932003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
494
495 Fix PR testsuite/1463.
496 * gdb.base/structs.exp (start_structs_test): Call
497 get_debug_format before using the debug format.
498
d422fe19
AC
4992003-11-22 Andrew Cagney <cagney@redhat.com>
500
501 * lib/gdb.exp (gdb_test_multiple): Add simple example.
502 * gdb.base/structs.exp: Use gdb_test_multiple.
503
039cf96d
AC
5042003-11-20 Andrew Cagney <cagney@redhat.com>
505
6882279b
AC
506 * gdb.base/structs.exp: Handle and recover from internal errors.
507 Replace "foo${n}" with "foo<n>" in test messages.
508
e53890ae
AC
509 * gdb.base/structs.exp: Update copyright. Rewrite.
510 * gdb.base/structs.c: Update copyright. Rewrite.
511
2b211c59
AC
512 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
513 resync count exceeded.
514
039cf96d
AC
515 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
516 from the internal error.
517 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
518 Original from Jim Blandy.
519 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 520
eac98b22
AC
5212003-11-19 Andrew Cagney <cagney@redhat.com>
522
523 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
524 KFAIL.
525
67455b2a
MK
5262003-11-17 Mark Kettenis <kettenis@gnu.org>
527
528 New testcase for PR backtrace/1435.
529 * gdb.arch/i386-unwind.exp: New file.
530 * gdb.arch/i386-unwind.c: New file.
531
853d6e5b
AC
5322003-11-17 Andrew Cagney <cagney@redhat.com>
533
534 * lib/gdb.exp (compiler_info): New global.
535 (test_compiler_info): New function.
536 (get_compiler_info): Set compiler_info.
537 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
538 "compiler_info" to gcc-<major>-<minor>.
539
38cf6e11
MC
5402003-11-15 Michael Chastain <mec.gnu@mindspring.com>
541
542 * gdb.trace/configure: Remove.
543
a50d3602
EZ
5442003-11-13 Elena Zannoni <ezannoni@redhat.com>
545
546 * gdb.base/break.c: Add comments to aid finding line numbers for
547 breakpoints.
548 * gdb.base/break.exp: Remove all references to explicit line
549 numbers.
550
d9407aaa
NC
5512003-11-11 Nick Clifton <nickc@redhat.com>
552
553 * gdb.base/shreloc.exp: Do not run for targets which do not
554 support shared objects.
555
db488fc1
CV
5562003-11-10 Corinna Vinschen <vinschen@redhat.com>
557
558 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
559 Don't run tests if nofileio flag is given.
560
6a90a18e
EZ
5612003-11-07 Elena Zannoni <ezannoni@redhat.com>
562
563 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
564 as well as 'Watchpoint'.
565
0b915e9c
EZ
5662003-11-06 Elena Zannoni <ezannoni@redhat.com>
567
568 Reported by Jim Ingham <jingham@apple.com>:
569 * gdb.base/annota1.exp: Match at least one occurrence of the
570 signal handler annotation.
571
d7e4b55f
EZ
5722003-11-06 Elena Zannoni <ezannoni@redhat.com>
573
574 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
575 as well as 'Watchpoint'.
576
2fe4e8d0
MC
5772003-11-05 Michael Chastain <mec@shout.net>
578
579 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
580
6ef88553
KW
5812003-11-03 Kris Warkentin <kewarken@qnx.com>
582
583 * gdb.arch/gdb1291.c: New test file.
584 * gdb.arch/gdb1291.exp: New test script.
585 * gdb.arch/gdb1431.c: New test file.
586 * gdb.arch/gdb1431.exp: New test script.
587
ae7dc4d8
MC
5882003-10-22 Michael Chastain <mec@shout.net>
589
590 * gdb.mi/pthreads.c: Add copyright notice.
591
c39d7427
MC
5922003-10-22 Michael Chastain <mec@shout.net>
593
594 * gdb.threads/pthreads.c: Add copyright notice.
595
8b7d96c1
MC
5962003-10-20 Michael Chastain <mec@shout.net>
597
598 * gdb.base/gdb1056.exp: New test script.
599
d1d69fdd
DJ
6002003-10-13 Daniel Jacobowitz <drow@mvista.com>
601
602 * gdb.threads/killed.exp: Use gdb_run_cmd.
603
7d605576
DJ
6042003-10-13 Daniel Jacobowitz <drow@mvista.com>
605
606 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
607 create a core file.
608 * gdb.threads/gcore-thread.exp: Likewise.
609
618ec112
CV
6102003-10-13 Corinna Vinschen <vinschen@redhat.com>
611
612 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
613 type, based on char type.
614 (struct bit_flags_short_t): New bitfield type, based on short type.
615 (init_bit_flags_char): New fuction.
616 (init_bit_flags_short): Ditto.
617 (print_bit_flags_char): Ditto.
618 (print_bit_flags_short): Ditto.
619 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
620
9367a73c
MC
6212003-10-11 Michael Chastain <mec@shout.net>
622
623 * gdb.base/call-rt-st.exp: Update copyright year.
624
1decf120
KI
6252003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
626
627 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
628 * gdb.disasm/sh3.s: Ditto.
629
5445b2ae
DJ
6302003-10-07 Daniel Jacobowitz <drow@mvista.com>
631
632 * gdb.threads/switch-threads.exp: New test.
633 * gdb.threads/switch-threads.c: New source file.
634
aec24853
CV
6352003-10-07 Corinna Vinschen <vinschen@redhat.com>
636
637 * gdb.base/ending-run.exp: Add sh specific case.
638
adc7428d
AC
6392003-10-06 Andrew Cagney <cagney@redhat.com>
640
641 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
642 * gdb.disasm/mn10200.exp: Delete obsolete file.
643
c9d37158
DJ
6442003-09-29 Daniel Jacobowitz <drow@mvista.com>
645
646 * ChangeLog: Correct an entry command.exp -> commands.exp.
647 * gdb.base/commands.exp (bp_deleted_in_command_test)
648 (temporary_breakpoint_commands): Check noargs.
649
79c2c32d
DC
6502003-09-25 David Carlton <carlton@kealia.com>
651
652 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
653 of some print tests, where appropriate. Add tests for C::D::cd,
654 E::ce, F::cXfX, G::XgX.
655 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
656
594e6d67
RE
6572003-09-25 Richard Earnshaw <rearnsha@arm.com>
658
659 * lib/java.exp (java_init): Import target_alias before using it.
660
10f0d451
DC
6612003-09-25 David Carlton <carlton@kealia.com>
662
663 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
664
274bcba0
EZ
6652003-09-23 Elena Zannoni <ezannoni@redhat.com>
666
667 * gdb.base/selftest.exp: Accomodate more instruction reordering
668 weirdness.
669
cdbf20f7
MC
6702003-09-17 Michael Chastain <mec@shout.net>
671
672 * gdb.cp/gdb1355.exp: New file.
673 * gdb.cp/gdb1355.c: New file.
674
71e06f80
CV
6752003-09-15 Corinna Vinschen <vinschen@redhat.com>
676
677 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
678 * gdb.asm/sh.inc: New file.
679
5c4e30ca
DC
6802003-09-11 David Carlton <carlton@kealia.com>
681
bd45b7af
DC
682 * gdb.cp/namespace.exp: Add tests for namespace types.
683 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
684 (test_namespace): New.
685
1c199746
EZ
6862003-09-11 Elena Zannoni <ezannoni@redhat.com>
687
688 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 689 * gdb.stabs/weird.exp: Ditto.
1c199746 690
04ed252f
MC
6912003-09-08 Michael Chastain <mec@shout.net>
692
693 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
694
d8a2d9e7
MC
6952003-09-07 Michael Chastain <mec@shout.net>
696
697 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
698 'parse error'.
699
161afb24
MK
7002003-09-07 Mark Kettenis <m.kettenis@osp.nl>
701
702 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
703
49f2741a
MC
7042003-08-30 Michael Chastain <mec@shout.net>
705
706 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
707 * gdb.gdb/observer.exp: Ditto.
708 * gdb.gdb/xfullpath.exp: Ditto.
709
8afa723e
MK
7102003-08-29 Mark Kettenis <kettenis@gnu.org>
711
712 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
713 *-*-*bsd*.
714
f31dfe3b
JJ
7152003-08-28 Jeff Johnston <jjohnstn@redhat.com>
716
717 * gdb.base/dump.exp: Skip for ia64.
718
4630e498
JJ
7192003-08-25 Jeff Johnston <jjohnstn@redhat.com>
720
721 * gdb.asm/asm-source.exp: Add ia64 support.
722 * gdb.asm/ia64.inc: New file.
723
1105b7ef
MC
7242003-08-22 Michael Chastain <mec@shout.net>
725
726 * gdb.cp: New directory.
727 * gdb.cp/*: Copy from gdb.c++/*.
728 * gdb.c++/*: Remove.
729 * Makefile.in: Change gdb.c++ to gdb.cp.
730 * configure.in: Ditto.
731 * configure: Regnerate.
732
c945b932
MK
7332003-08-18 Mark Kettenis <kettenis@gnu.org>
734
735 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
736 * gdb.arch/i386-prologue.c (gdb1338): Add function.
737
2b66634b
DJ
7382003-08-17 Daniel Jacobowitz <drow@mvista.com>
739
740 * mi-var-display.exp (-var-list-children weird): Accept function
741 pointers with argument types.
742 * mi1-var-display.exp (-var-list-children weird): Likewise.
743 * mi2-var-display.exp (-var-list-children weird): Likewise.
744
a356f73b
DJ
7452003-08-17 Daniel Jacobowitz <drow@mvista.com>
746
747 * gdb.base/annota3.exp: Add missing newline.
748
483417b8
MC
7492003-08-06 Michael Chastain <mec@shout.net>
750
751 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
752
c99c59c3
MS
7532003-08-12 Michael Snyder <msnyder@redhat.com>
754
755 * gdb.base/float.exp: Add test for SH.
756
55ed7501
MK
7572003-08-10 Mark Kettenis <kettenis@gnu.org>
758
759 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
760
1a371f2e
EZ
7612003-08-07 Elena Zannoni <ezannoni@redhat.com>
762
763 * gdb.base/completion.exp: Remove reduntant completion test
764 on filename.
765
e0f353ce
EZ
7662003-08-07 Elena Zannoni <ezannoni@redhat.com>
767
768 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
769 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
770 gdb.trace/save-trace.exp: Make sure that full pathnames are
771 escaped correctly.
772
5710a1af
EZ
7732003-08-07 Elena Zannoni <ezannoni@redhat.com>
774
775 * configure.in: Don't generate config.h from config.hin.
776 * configure: Regenerate.
777 * config.hin: Remove file.
778 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
779 * gdb.threads/pthreads.c: Ditto.
780
dcd81ce9
DJ
7812003-08-07 Daniel Jacobowitz <drow@mvista.com>
782
783 From Kei Sakamoto <sakamoto.kei@renesas.com>:
784 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
785 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
786 Replace ld24 with seth/add3.
787
6009d884
AC
7882003-08-02 Andrew Cagney <cagney@redhat.com>
789
790 * gdb.base/annota3.exp: New file.
791 * gdb.base/annota3.c: New file.
792 * gdb.c++/annota3.exp: New file.
793 * gdb.c++/annota3.cc: New file.
794
51514e06
MC
7952003-07-29 Michael Chastain <mec@shout.net>
796
797 * gdb.threads/tls.c (spin): Check errno only if sem_wait
798 actually failed.
799 (do_pass): Likewise.
800 * gdb.threads/tls.exp: Always initialize no_of_threads.
801
4ee6625b
DJ
8022003-07-27 Daniel Jacobowitz <drow@mvista.com>
803
804 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
805 pattern.
806 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
807 * gdb.threads/tls.exp: Recognize one case of the host library not
808 supporting TLS.
809
225f2bf6
AC
8102003-07-27 Andrew Cagney <cagney@redhat.com>
811
812 * gdb.base/fileio.exp: Use SH when running commands using
813 remote_exec.
814
bcb27c9f
DJ
8152003-07-24 Daniel Jacobowitz <drow@mvista.com>
816
817 From Kei Sakamoto <sakamoto.kei@renesas.com>:
818 * gdb.base/relocate.c (dummy): New padding array.
819
3d67be83
MS
8202003-07-22 Michael Snyder <msnyder@redhat.com>
821
822 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
823
824 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
825 patterns to be more general, accepting old and new output.
826 Some output chars (such as '+') also must be quoted.
827 Some addresses are displayed numerically instead of
828 symbolically.
829
57ba3b85
MS
8302003-07-23 Michael Snyder <msnyder@redhat.com>
831
686d097c
MS
832 * gdb.base/return2.exp: Don't test long-long return.
833
57ba3b85
MS
834 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
835 * gdb.disasm/t01_mov.exp: Ditto.
836 * gdb.disasm/t02_mova.s: Ditto.
837 * gdb.disasm/t02_mova.exp: Ditto.
838 * gdb.disasm/t03_add.s: Ditto.
839 * gdb.disasm/t03_add.exp: Ditto.
840 * gdb.disasm/t04_sub.s: Ditto.
841 * gdb.disasm/t04_sub.exp: Ditto.
842 * gdb.disasm/t05_cmp.s: Ditto.
843 * gdb.disasm/t05_cmp.exp: Ditto.
844 * gdb.disasm/t06_ari2.s: Ditto.
845 * gdb.disasm/t06_ari2.exp: Ditto.
846 * gdb.disasm/t07_ari3.s: Ditto.
847 * gdb.disasm/t07_ari3.exp: Ditto.
848 * gdb.disasm/t08_or.s: Ditto.
849 * gdb.disasm/t08_or.exp: Ditto.
850 * gdb.disasm/t09_xor.s: Ditto.
851 * gdb.disasm/t09_xor.exp: Ditto.
852 * gdb.disasm/t10_and.s: Ditto.
853 * gdb.disasm/t10_and.exp: Ditto.
854 * gdb.disasm/t11_logs.s: Ditto.
855 * gdb.disasm/t11_logs.exp: Ditto.
856 * gdb.disasm/t12_bit.s: Ditto.
857 * gdb.disasm/t12_bit.exp: Ditto.
858 * gdb.disasm/t13_otr.s: Ditto.
859 * gdb.disasm/t13_otr.exp: Ditto.
860
e00759ef
EZ
8612003-07-22 Elena Zannoni <ezannoni@redhat.com>
862
863 * gdb.threads/tls.exp :Add kfail for 'info address' case.
864
8bc2021f
EZ
8652003-07-22 Elena Zannoni <ezannoni@redhat.com>
866
867 * gdb.threads/tls.c : New file.
868 * gdb.threads/tls.exp : New file.
869 * gdb.threads/tls-main.c : New file.
870 * gdb.threads/tls-shared.c : New file.
871 * gdb.threads/tls-shared.exp : New file.
872
89320c4c
AS
8732003-07-22 Andreas Schwab <schwab@suse.de>
874
875 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
876
180dea7c
AS
8772003-07-20 Andreas Schwab <schwab@suse.de>
878
879 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
880 due to insn reordering.
881
0714963c
AC
8822003-07-15 Andrew Cagney <cagney@redhat.com>
883
884 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
885
98a23b3f
MC
8862003-07-15 Michael Chastain <mec@shout.net>
887
888 * gdb.base/gdb1250.exp: New file.
889 * gdb.base/gdb1250.c: New file.
890
27e417a2
ML
8912003-07-09 Michal Ludvig <mludvig@suse.cz>
892
893 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
894 expansion of size_t to 'unsigned long', not only to 'unsigned'.
895
8bc2021f
EZ
8962003-07-09 Elena Zannoni <ezannoni@redhat.com>
897
898 * gdb.threads/tls.c: New file.
899 * gdb.threads/tls.exp: New file.
900 * gdb.threads/tls-main.c: New file.
901 * gdb.threads/tls-shared.c: New file.
902 * gdb.threads/tls-shared.exp: New file.
903
d99968dc
EZ
9042003-07-09 Elena Zannoni <ezannoni@redhat.com>
905
906 * gdb.base/annota1.exp: Make sure that we properly escape the
907 full path of the source file. Xfail more permissive patterns,
908 due to a compiler debug info problem.
909
83876b3b
AS
9102003-07-07 Andreas Schwab <schwab@suse.de>
911
2705e972
AS
912 * gdb.asm/m68k.inc: New file.
913 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
914
83876b3b
AS
915 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
916 arguments"): Also match negative number.
917
918 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
919
3a871b37
DJ
9202003-07-03 Daniel Jacobowitz <drow@mvista.com>
921
922 * gdb.base/store.c (charest): New typedef.
923 (add_char): Rename to add_charest, update.
924 (wack_char): Rename to wack_charest, update types. Return l + r
925 to keep r live across the call.
926 (wack_short, wack_int, wack_long, wack_longest, wack_float)
927 (wack_double, wack_doublest): Return l + r to keep r live across
928 the call.
929 * gdb.base/store.exp: Accomodate store.c changes.
930
b2a7f303
DC
9312003-06-30 David Carlton <carlton@kealia.com>
932
933 * gdb.c++/maint.exp (test_invalid_name): New.
934 (test_first_component): Add tests for invalid names.
935
3c6cb4a1
MC
9362003-06-29 Michael Chastain <mec@shout.net>
937
938 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
939 output of '<VTT for class>' for virtual base classes.
940
f1c2644b
DJ
9412003-06-29 Daniel Jacobowitz <drow@mvista.com>
942
943 * gdb.base/completion.exp: Tab-complete "complet" instead of
944 "compl".
945 * gdb.base/complex.exp, gdb.base/complex.c: New files.
946
18080350
DJ
9472003-06-29 Daniel Jacobowitz <drow@mvista.com>
948
949 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
950 * gdb.base/volatile.exp: Likewise.
951
f56973f8
DJ
9522003-06-29 Daniel Jacobowitz <drow@mvista.com>
953
954 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
955 gdb/1265.
956
9572003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
958 Daniel Jacobowitz <drow@mvista.com>
959
960 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
961 initial line count of 'captured_main' from 26 to 32.
962 (test_with_self): Allow xmalloc call to be interleaved with the
963 preceding two lines.
964
e766d4d6
JB
9652003-06-24 Joel Brobecker <brobecker@gnat.com>
966
967 * gdb.base/bang.exp: New testcase.
968
f125c9a4
JB
9692003-06-23 Joel Brobecker <brobecker@gnat.com>
970
971 * gdb.base/langs.exp: Add some tests for the "minimal" language
972 support.
973
6e25beaf
EZ
9742003-06-23 Elena Zannoni <ezannoni@redhat.com>
975
976 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
977 the testcase.
978
2f816dda
DJ
9792003-06-22 Daniel Jacobowitz <drow@mvista.com>
980
981 * gdb.base/relocate.exp: Test add-symbol-file with a variable
982 offset.
983
db5a5748
DJ
9842003-06-22 Daniel Jacobowitz <drow@mvista.com>
985
986 * gdb.c++/pr-1210.cc: New file.
987 * gdb.c++/pr-1210.exp: New file.
988
1df0c130
DJ
9892003-06-21 Daniel Jacobowitz <drow@mvista.com>
990
991 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
992 000-exec-continue.
993
a92feac0
MK
9942003-06-15 Mark Kettenis <kettenis@gnu.org>
995
996 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
997 on *-*-*bsd* instead of *-*-freebsd*.
998
81a58f5b
AC
9992003-06-14 Andrew Cagney <cagney@redhat.com>
1000
1001 * gdb.base/store.exp: Test longest and doublest. Test all
1002 parameters. Weaken return statement match.
1003 * gdb.base/store.c: Add longest and doublest - aka long long and
1004 long double functions. Put all parameters into local register
1005 variables. Use negative values.
1006
b257a0d3
AC
10072003-06-14 Andrew Cagney <cagney@redhat.com>
1008
1009 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1010 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1011 exit status.
1012 * gdb.base/fileio.exp: Disable target when nointerrupts and
1013 noinferiorio, instead of limiting it to remote. Use remote_exec
1014 instead of system.
1015
21c38304
JJ
10162003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1017
1018 * gdb.base/float.exp: Add ia64 support.
1019
1bcdb424
CV
10202003-06-12 Corinna Vinschen <vinschen@redhat.com>
1021
1022 * gdb.base/fileio.exp: Run only on remote targets.
1023
6aeb981f
CV
10242003-06-10 Corinna Vinschen <vinschen@redhat.com>
1025
1026 * gdb.base/fileio.c: New file, testing File-I/O.
1027 * gdb.base/fileio.exp: Ditto.
1028
53df362e
RG
10292003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1030
1031 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1032 shared objects after relocation at load time (gdb PR/1132).
1033 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1034 as above, part of the shared object relocation test.
1035
ffee1b46
MK
10362003-06-08 Mark Kettenis <kettenis@gnu.org>
1037
b5ca3722
MK
1038 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1039 fully filled history list.
1040 * gdb.base/gdb_history: New file.
1041
03ed860d
MK
1042 * gdb.base/signals.exp: XFAIL "continue to func1" on
1043 i*86-*-freebsd*.
1044
ffee1b46
MK
1045 * gdb.base/attach.exp: When trying to attach to a nonexistent
1046 process, make it possible to specify the PID based on the target,
1047 and do so for *-*-freebsd*.
1048
d80dbb52
RH
10492003-06-02 Richard Henderson <rth@redhat.com>
1050
1051 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1052
6dd77b81
RH
10532003-06-02 Richard Henderson <rth@redhat.com>
1054
1055 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1056
f6347e16
RH
10572003-06-02 Richard Henderson <rth@redhat.com>
1058
1059 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1060
2c161407
DJ
10612003-06-01 Daniel Jacobowitz <drow@mvista.com>
1062
1063 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1064 of globalvar.
1065
572eb746
MK
10662003-06-01 Mark Kettenis <kettenis@gnu.org>
1067
1068 * gdb.asm/asm-source.exp: Check for memory read errors in
1069 disassembler test on *BSD too.
1070
9e9617a5
RH
10712003-06-01 Richard Henderson <rth@redhat.com>
1072
1073 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1074 for .frame.
1075 (gdbasm_call): Lose ldgp.
1076 (gdbasm_startup): Add frame information.
1077 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1078
7b34ad4e
MK
10792003-05-31 Mark Kettenis <kettenis@gnu.org>
1080
1081 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1082 i?86-*-*.
1083
10059fdf
MK
10842003-05-30 Mark Kettenis <kettenis@gnu.org>
1085
1086 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1087 FreeBSD.
1088
acf4b816
RH
10892003-05-29 Richard Henderson <rth@redhat.com>
1090
1091 * gdb.asm/alpha.inc: New file.
1092 * gdb.asm/asm-source.exp: Use it.
1093
e9ecd949
JB
10942003-05-29 Jim Blandy <jimb@redhat.com>
1095
1096 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1097 'core.PID'.
1098
e3e5a4f3
JB
10992003-05-22 Jim Blandy <jimb@redhat.com>
1100
1101 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1102 backtrace.
1103
72fe3d25
DC
11042003-05-20 David Carlton <carlton@math.stanford.edu>
1105
1106 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1107 this time.
1108
58da2eb2
DC
11092003-05-19 David Carlton <carlton@bactrian.org>
1110
1111 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1112 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1113
1fcb5155
DC
11142003-05-19 David Carlton <carlton@bactrian.org>
1115
1116 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1117 namespace tests.
1118 Bump copyright date.
1119 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1120 (main): Call C::D::marker2.
1121 * gdb.c++/namespace1.cc: New file.
1122
85e85163
JJ
11232003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1124
1125 Roland McGrath <roland@redhat.com>
1126 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1127 there is no manager thread.
1128
a25fbfec
JJ
11292003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1130
1131 * gdb.threads/schedlock.exp: Remove assumption that all threads
1132 will run in a particular small time slice. Also ensure we break
1133 in one of the child threads rather than the main thread.
1134
be375bae
JB
11352003-05-07 Jim Blandy <jimb@redhat.com>
1136
09bf6082
JB
1137 Add support for assembly source testing on the s390x.
1138 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1139 architecture.
1140 * gdb.asm/s390x.inc: New file.
1141
be375bae
JB
1142 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1143 succession of 'if' statements.
1144
00905d52
AC
11452003-05-05 Andrew Cagney <cagney@redhat.com>
1146
1147 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1148
b1e29e33
AC
11492003-05-05 Andrew Cagney <cagney@redhat.com>
1150
1151 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1152 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1153
e33d66ec
EZ
11542003-05-02 Elena Zannoni <ezannoni@redhat.com>
1155
1156 * gdb.base/charset.exp: Update based on new behavior of set/show
1157 charset commands.
1158
2b6fd0d8
AC
11592003-05-01 Andrew Cagney <cagney@redhat.com>
1160
1161 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1162 variable do not give memory errors.
1163
130cacce
AF
11642003-04-30 Adam Fedor <fedor@gnu.org>
1165
1166 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1167 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1168 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1169 gdb.objc/basicclass.m: : New files
1170
1171 * lib/gdb.exp (gdb_compile_objc): New procedure.
1172
bea71854
DJ
11732003-04-27 Daniel Jacobowitz <drow@mvista.com>
1174
1175 * gdb.base/signals.exp: Make backtrace tests more specific.
1176
0f20eeea
DC
11772003-04-23 David Carlton <carlton@bactrian.org>
1178
1179 * gdb.c++/maint.exp (test_first_component): Add tests for
1180 'operator' in more locations.
1181
c8c4d8dc
KB
11822003-04-16 Kevin Buettner <kevinb@redhat.com>
1183
1184 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1185
3fe60e3c
EZ
11862003-04-16 Elena Zannoni <ezannoni@redhat.com>
1187
1188 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1189 func marke' instead. Update test name.
1190
9219021c
DC
11912003-04-15 David Carlton <carlton@math.stanford.edu>
1192
1193 * gdb.c++/maint.exp: New file.
1194
5dd55bdd
EZ
11952003-04-14 Elena Zannoni <ezannoni@redhat.com>
1196
1197 * gdb.threads/schedlock.c: Change type of thread function argument
1198 to long, to avoid warnings on 64-bit platforms.
1199
00890572
EZ
12002003-04-14 Elena Zannoni <ezannoni@redhat.com>
1201
1202 * gdb.base/attach.exp: Add new message from ptrace in case of
1203 attaching to nonexistent process.
1204
93201743
JB
12052003-04-11 Jim Blandy <jimb@redhat.com>
1206
1207 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1208 gdb.c++/userdef.cc: Place comments on the lines to which the
1209 marker function might return.
1210 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1211 gdb.c++/userdef.exp: Look for those comments to check that we've
1212 returned to the right place, instead of checking line numbers.
1213
2a11c64d
EZ
12142003-04-11 Elena Zannoni <ezannoni@redhat.com>
1215
1216 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1217 match on sourcefile name, instead of directory name.
1218
68ab8fc5
EZ
12192003-04-10 Elena Zannoni <ezannoni@redhat.com>
1220
1221 * gdb.base/completion.exp: Use string_to_regexp to match the
1222 working directory name.
1223
5624293a
JB
12242003-04-09 Jim Blandy <jimb@redhat.com>
1225
1226 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1227 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1228 after an inferior function call, report the failure, but allow the
1229 test to continue.
1230
f1f02ee4
SC
12312003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1232
1233 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1234 with -DPROTOTYPES.
1235
6eb79af0
SC
12362003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1237
1238 * gdb.base/break.exp: Revert last patch.
1239
8dfb4cf0
SC
12402003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1241
1242 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1243 with -DPROTOTYPES.
1244
ed4c619a
AC
12452003-04-02 Andrew Cagney <cagney@redhat.com>
1246
1247 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1248 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1249 matching directories by the name breakpoint.
1250 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1251 Make "continue to marker1" consistent.
1252 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1253 message consistent.
1254 * lib/gdb.exp: Put "the program is no longer running", and "the
1255 program exited" in parenthesis.
1256 * lib/mi-support.exp: Ditto.
1257
4e35d5f0
BR
12582003-04-02 Bob Rossi <bob_rossi@cox.net>
1259
1260 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1261
71900fe8
AC
12622003-03-29 Andrew Cagney <cagney@redhat.com>
1263
1264 * gdb.base/sizeof.c (main): Print the value of '\377'.
1265 * gdb.base/sizeof.exp: Check the sign of '\377'.
1266
c0655a16
MC
12672003-03-27 Michael Chastain <mec@shout.net>
1268
1269 * gdb.base/gdb1090.exp: New file.
1270 * gdb.base/gdb1090.cc: New file.
1271
5b2a3989
JB
12722003-03-27 J. Brobecker <brobecker@gnat.com>
1273
1274 * gdb.gdb/observer.exp: New regression test.
1275
79876890
MC
12762003-03-27 Michael Chastain <mec@shout.net>
1277
1278 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1279 * gdb.base/ptype.exp: Likewise.
1280
6eac95e3
CV
12812003-03-27 Corinna Vinschen <vinschen@redhat.com>
1282
1283 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1284
e8c71839
MC
12852003-03-26 Michael Chastain <mec@shout.net>
1286
1287 * gdb.base/ptype.exp: Actually use some typedef'd types.
1288
71b10041
SC
12892003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1290
1291 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1292 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1293
2512cf80
CV
12942003-03-20 Corinna Vinschen <vinschen@redhat.com>
1295
1296 * gdb.base/default.exp: Fix regular expression.
1297
0d195a4f
CV
12982003-03-20 Corinna Vinschen <vinschen@redhat.com>
1299
1300 * gdb.base/args.exp: Fix regular expression.
1301
8a2dbca8
CV
13022003-03-20 Corinna Vinschen <vinschen@redhat.com>
1303
1304 * gdb.base/help.exp: Allow Win32 child process.
1305
bf028682
CV
13062003-03-20 Corinna Vinschen <vinschen@redhat.com>
1307
1308 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1309 when stepping out of main().
1310
182dbe85
CV
13112003-03-20 Corinna Vinschen <vinschen@redhat.com>
1312
1313 * gdb.base/default.exp: Check for win32 specific message when calling
1314 "run" without executable.
1315
d67a6ba5
CV
13162003-03-20 Corinna Vinschen <vinschen@redhat.com>
1317
1318 * gdb.base/args.exp: Expect .exe in output.
1319
a955b5bb
CV
13202003-03-20 Corinna Vinschen <vinschen@redhat.com>
1321
1322 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1323 Cygwin native.
1324
bf6bad4b
AC
13252003-03-17 Andrew Cagney <cagney@redhat.com>
1326
1327 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1328 vector registes.
1329 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1330 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1331
293e9a31
DC
13322003-03-17 David Carlton <carlton@math.stanford.edu>
1333
1334 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1335 test, for PR breakpoints/38.
1336 Call test_watchpoint_and_breakpoint.
1337 * gdb.base/watchpoint.c (func3): New function.
1338 (main): Call func3.
1339
5330f2db
DC
13402003-03-04 David Carlton <carlton@math.stanford.edu>
1341
1342 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1343 Garply<Garply<char> >:: garply".
1344 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1345 with respect to PR c++/1111; note also PR c++/1113.
1346 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1347 respect to PR c++/1062.
1348 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1349
6ece72da
DC
13502003-03-03 David Carlton <carlton@math.stanford.edu>
1351
1352 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1353 with respect to PR c++/57.
1354 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1355 c++/826.
1356 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1357 respect to PR c++/57.
1358
85ca1584
DC
13592003-03-03 David Carlton <carlton@math.stanford.edu>
1360
1361 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1362 respect to PR c++/33 into FAILs.
1363
98e9c5b8
MC
13642003-03-03 Michael Chastain <mec@shout.net>
1365
7bedbf27
MC
1366 * configure.in: Update copyright years.
1367
13682003-03-03 Michael Chastain <mec@shout.net>
1369
1370 * Makefile.in: Update copyright years.
98e9c5b8 1371
f683e100
DC
13722003-02-28 David Carlton <carlton@math.stanford.edu>
1373
1374 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1375 print class instead of struct and/or superfluous protection
1376 specifiers, as long as the resulting output is equivalent to the
1377 source code.
1378 Delete FIXME from end of messages on tests that don't need
1379 fixing.
1380
a9e0cf2c
DC
13812003-02-28 David Carlton <carlton@math.stanford.edu>
1382
1383 * gdb.c++/templates.exp (do_tests): Allow const in the two
1384 Foo<volatile char *>::foo tests.
1385
e8d359df
MS
13862003-02-27 Michael Snyder <msnyder@redhat.com>
1387
1388 * gdb.base/restore.c (main): Return zero, so exit code
1389 will be consistant.
1390
0b71dc91
DC
13912003-02-26 David Carlton <carlton@math.stanford.edu>
1392
1393 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1394 char *>::foo" test with respect to PR c++/33. Create a new test
1395 which is identical to that one except that it doesn't put the
1396 space between the "char" and the "*"; KFAIL it, too.
1397
dd14ab43
DC
13982003-02-26 David Carlton <carlton@math.stanford.edu>
1399
1400 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1401 template types into either PASSes or KFAILs (corresponding to PR
1402 c++/57). Tweak indentation. Update copyright.
1403
1146c7f1
SC
14042003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1405
1406 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1407
74641dfb
MC
14082003-02-13 Michael Chastain <mec@shout.net>
1409
1410 * gdb.base/exprs.exp: Remove i960 remnants.
1411 * gdb.base/funcargs.exp: Likewise.
1412 * gdb.base/list.exp: Likewise.
1413 * gdb.base/ptype.exp: Likewise.
1414
559cd2d0
DC
14152003-02-14 David Carlton <carlton@math.stanford.edu>
1416
1417 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1418 pEe->D::vg()" from XFAIL to KFAIL.
1419
c4f90d87
JM
14202003-02-13 Jason Molenda (jmolenda@apple.com)
1421
1422 * gdb.base/maint.exp: Update maint print statistics regexp to include
1423 new entries.
1424
cbc4d97c
MC
14252003-02-13 Michael Chastain <mec@shout.net>
1426
1427 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1428
40f235b7
MC
14292003-02-12 Michael Chastain <mec@shout.net>
1430
1431 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1432 * gdb.c++/inherit.exp: Likewise.
1433 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1434 * gdb.c++/templates.exp: Likewise.
1435 * gdb.c++/virtfunc.exp: Likewise.
1436
c56716b0
JM
14372003-02-06 Jason Molenda (jason-cl@molenda.com)
1438
1439 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1440 why the code is written that way.
1441
070afcf8
MC
14422003-02-05 Michael Chastain <mec@shout.net>
1443
1444 * gdb.base/dump.exp: Add missing copyright line.
1445
5d0331e5
JM
14462003-02-05 Jason Molenda (jason-cl@molenda.com)
1447
f7ae6d3e 1448 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1449 at the beginning so the breakpoint doesn't get set on the loop.
1450
92851186
MC
14512003-02-05 Michael Chastain <mec@shout.net>
1452
1453 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1454 output for configurations with gcc 2.95.3.
1455
cbf1e085
AC
14562003-02-05 Keith Seitz <keiths@redhat.com>
1457 Andrew Cagney <ac131313@redhat.com>
1458
1459 * gdb.mi/mi-cli.exp: New file.
1460
29518e1e
MC
14612003-02-04 Michael Chastain <mec@shout.net>
1462
1463 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1464 Call perror and then continue.
1465
5af1d5f3
MC
14662003-02-03 Michael Chastain <mec@shout.net>
1467
1468 * gdb.c++/pr-1023.cc: New file.
1469 * gdb.c++/pr-1023.exp: New file.
1470
6b549786
JB
14712003-02-05 Jim Blandy <jimb@redhat.com>
1472
1473 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1474 it's local to foobar. Check for it there, and check that it's not
1475 present in main.
1476 * gdb.c++/local.cc (marker2): New function.
1477 (foobar): Call marker1.
1478 (main): Call marker2 instead of marker1.
1479
67f16606
AC
14802003-02-04 Andrew Cagney <ac131313@redhat.com>
1481
1482 * gdb.disasm/mn10200.exp: Obsolete file.
1483 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1484 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1485 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1486
1c5cb38e
DC
14872003-02-04 David Carlton <carlton@math.stanford.edu>
1488
1489 * gdb.c++/overload.exp: Test intToChar(1).
1490 * gdb.c++/overload.cc (intToChar): New.
1491 (main): Call intToChar.
1492
d1fe6965
DC
14932003-02-03 David Carlton <carlton@math.stanford.edu>
1494
1495 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1496 'might_kfail' arg.
1497 KFAIL some of the continue_to_bp_overloaded calls, according to
1498 PR c++/1025.
1499
9ba61c5d
MC
15002003-02-01 Michael Chastain <mec@shout.net>
1501
1502 * gdb.base/advance.c (marker1): New marker function.
1503 * gdb.base/advance.exp: When the 'advance' command lands on the
1504 return breakpoint, it can legitimately stop on either the
1505 current line or the next line. Accommodate both outcomes.
1506 * gdb.base/until.exp: Likewise.
1507
e7494ffb
AC
15082003-02-02 Andrew Cagney <ac131313@redhat.com>
1509
1510 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1511 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1512 now a list, not a tuple.
1513 * gdb.mi/mi-var-display.exp: Ditto.
1514 * gdb.mi/gdb792.exp: Ditto.
1515
075559bc
AC
15162003-02-01 Andrew Cagney <ac131313@redhat.com>
1517
1518 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1519 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1520 stack backtraces.
1521 * gdb.mi/mi-syn-frame.c: Part of same.
1522
2bd4c7b1
MK
15232003-02-01 Mark Kettenis <kettenis@gnu.org>
1524
1525 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1526 gdb.mi/mi1-pthreads.exp: Return instead of calling
1527 gdb_suppress_entire_file.
1528
eabd8992
MS
15292003-02-01 Mark Salter <msalter@redhat.com>
1530
1531 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1532
71469e2f
MS
15332003-01-31 Mark Salter <msalter@redhat.com>
1534
1535 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1536 Support empty arg.
1537
38a94d44
MC
15382003-01-30 Michael Chastain <mec@shout.net>
1539
1540 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1541 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1542 has been fixed in gdb/readline on 2003-01-09.
1543
19ea9e73
MS
15442003-01-29 Michael Snyder <msnyder@redhat.com>
1545
e8d359df
MS
1546 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1547 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1548 * gdb.base/args.exp: Skip if target does not support args passing.
1549
2307bd6a
DJ
15502003-01-22 Daniel Jacobowitz <drow@mvista.com>
1551
19ea9e73 1552 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1553 gdb_test. Accept a list of expect arguments as the third
1554 parameter.
1555 (gdb_test): Use it.
1556
f2dd3617
EZ
15572003-01-20 Elena Zannoni <ezannoni@redhat.com>
1558
1559 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1560 allow for different test tree configurations. Update some
1561 tescases accordingly.
1562 * gdb.arch/altivec-regs.exp: Ditto.
1563 * gdb.asm/asm-source.exp: Ditto.
1564 * gdb.base/advance.exp: Ditto.
1565 * gdb.base/display.exp: Ditto.
1566 * gdb.base/long_long.exp: Ditto.
1567 * gdb.base/mips_pro.exp: Ditto.
1568 * gdb.base/overlays.exp: Ditto.
1569 * gdb.base/relocate.exp: Ditto.
1570 * gdb.base/setshow.exp: Ditto.
1571 * gdb.base/step-line.exp: Ditto.
1572 * gdb.base/step-test.exp: Ditto.
1573 * gdb.base/until.exp: Ditto.
1574 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1575
c71cdefd
DC
15762003-01-17 David Carlton <carlton@math.stanford.edu>
1577
1578 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1579 corresponding to PR c++/945.
1580 Update copyright.
1581
fdba05d7
DC
15822003-01-17 David Carlton <carlton@math.stanford.edu>
1583
1584 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1585 corresponding to PR c++/68.
1586
15872003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1588
1589 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1590 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1591 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1592
c362c33a
EZ
15932003-01-15 Elena Zannoni <ezannoni@redhat.com>
1594
0fbc361c
EZ
1595 * gdb.base/break.exp: Fix change of default location, because of
1596 removal of until tests.
1597 * gdb.base/help.exp: Update test for new 'until' help message.
1598 Add test for help on 'advance'.
c362c33a
EZ
1599 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1600
dabf8a35
MK
16012003-01-15 Mark Kettenis <kettenis@gnu.org>
1602
1603 * gdb.base/default.exp: Adapt "info float" test for recent changes
1604 to that command. Add test for "info vector".
1605 * gdb.base/float.exp: New file. Add test for "info float" that
1606 resembles the old test in gdb.base/default.exp.
1607
a1769aca
DC
16082003-01-15 David Carlton <carlton@math.stanford.edu>
1609
1610 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1611
82025e13
EZ
16122003-01-15 Elena Zannoni <ezannoni@redhat.com>
1613
1614 * gdb.base/break.exp: Move the tests of until command from here...
1615 * gdb.base/until.exp: ... to here. New file. Add other tests.
1616 * gdb.base/advance.c: New file.
1617 * gdb.base/advance.exp: New file.
1618
8f9ab801
EZ
16192003-01-14 Elena Zannoni <ezannoni@redhat.com>
1620
1621 * gdb.base/args.c: New file.
1622 * gdb.base/args.exp: New file.
1623
9ae66589
DJ
16242003-01-14 Daniel Jacobowitz <drow@mvista.com>
1625
1626 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1627
8d77e5c3
DJ
16282003-01-14 Daniel Jacobowitz <drow@mvista.com>
1629
1630 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1631
12d2f0a1
DJ
16322003-01-14 Daniel Jacobowitz <drow@mvista.com>
1633
1634 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1635 dates.
1636
6ca37014
DJ
16372003-01-13 Daniel Jacobowitz <drow@mvista.com>
1638
1639 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1640
b0023472
DJ
16412003-01-13 Daniel Jacobowitz <drow@mvista.com>
1642
1643 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1644 (ptype &*"foo").
1645 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1646
d6abaea5
DJ
16472002-01-13 Daniel Jacobowitz <drow@mvista.com>
1648
1649 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1650 * gdb.mi/mi1-console.exp: Likewise.
1651
dfd536a7
DJ
16522002-01-13 Daniel Jacobowitz <drow@mvista.com>
1653
1654 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1655 * gdb.mi/mi1-console.exp: Likewise.
1656
a1fb14a2
DJ
16572003-01-13 Daniel Jacobowitz <drow@mvista.com>
1658
1659 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1660
c4cf40b7
DJ
16612003-01-09 Daniel Jacobowitz <drow@mvista.com>
1662
1663 * gdb.base/detach.exp: New test.
1664
696d5a5b
DJ
16652003-01-09 Daniel Jacobowitz <drow@mvista.com>
1666
1667 * Makefile.in (ALL_SUBDIRS): New variable.
1668 (subdirs, clean, distclean): Use it.
1669 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1670 regenerating Makefile, since it is generated from the top level.
1671 * gdb.asm/Makefile.in: Likewise.
1672 * gdb.base/Makefile.in: Likewise.
1673 * gdb.c++/Makefile.in: Likewise.
1674 * gdb.disasm/Makefile.in: Likewise.
1675 * gdb.java/Makefile.in: Likewise.
1676 * gdb.mi/Makefile.in: Likewise.
1677 * gdb.threads/Makefile.in: Likewise.
1678 * gdb.trace/Makefile.in: Likewise.
1679
754533e4
DC
16802003-01-09 David Carlton <carlton@math.stanford.edu>
1681
1682 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1683 Add copyright year 2003.
1684
d8b3e9ee
MC
16852003-01-06 Michael Chastain <mec@shout.net>
1686
1687 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1688 When selecting a thread, 'line' and 'file' are optional.
1689 * gdb.mi/mi1-pthreads.exp: Likewise.
1690
8e9e0fe6
AS
16912003-01-06 Andreas Schwab <schwab@suse.de>
1692
1693 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1694 failures.
1695
b5ab8ff3
DJ
16962003-01-04 Daniel Jacobowitz <drow@mvista.com>
1697
1698 Fix PR gdb/844
1699 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1700 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1701
1702 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1703 instead of calling gdb_suppress_entire_file.
1704 * gdb.threads/print-threads.exp: Likewise.
1705 * gdb.threads/schedlock.exp: Likewise.
1706
1707 * gdb.threads/killed.exp: Return instead of calling
1708 gdb_suppress_entire_file.
1709 * gdb.threads/linux-dp.exp: Likewise.
1710 * gdb.threads/pthreads.exp: Likewise.
1711
1e698235
DJ
17122003-01-04 Daniel Jacobowitz <drow@mvista.com>
1713
1714 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1715 stabs.
1716 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1717 * gdb.base/whatis.exp: Always allow (void) after function names.
1718
147ff08c
DJ
17192003-01-04 Daniel Jacobowitz <drow@mvista.com>
1720
1721 * gdb.c++/casts.exp: Correct regexp.
1722
dc62bfc2
MK
17232003-01-04 Mark Kettenis <kettenis@gnu.org>
1724
1725 * configure.in: Call AC_CONFIG_HEADER. Don't call
1726 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1727 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1728 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1729 aforementioned directories in the AC_OUPUT call.
1730 * config.hin: New file.
1731 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1732 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1733 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1734 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1735 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1736 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1737 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1738 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1739 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1740 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1741 gdb.threads/configure.in, gdb.threads/configure,
1742 gdb.threads/config.in, gdb.trace/configure.in,
1743 gdb.trace/configure: Removed.
1744
77afa639
MC
17452003-01-03 Michael Chastain <mec@shout.net>
1746
1747 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1748 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1749
7634bb6e
DJ
17502003-01-03 Daniel Jacobowitz <drow@mvista.com>
1751
1752 * gdb.base/store.exp: Fix regular expressions.
1753
b39c905e
MK
17542002-12-28 Mark Kettenis <kettenis@gnu.org>
1755
1756 * configure.in: Rewrite.
1757 * configure: Regenerated.
1758
0a8551dd
DC
17592003-01-03 David Carlton <carlton@math.stanford.edu>
1760
1761 * gdb.base/psymtab.exp: New file.
1762 * gdb.base/psymtab1.c: Ditto.
1763 * gdb.base/psymtab2.c: Ditto.
1764
c60b7188
AF
17652002-12-23 Adam Fedor <fedor@gnu.org>
1766
1767 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1768
ee73db83
DC
17692002-12-23 David Carlton <carlton@math.stanford.edu>
1770
1771 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1772 and current_directory initialization.
1773
d6c1774e
JB
17742002-12-22 Jim Blandy <jimb@redhat.com>
1775
f0a847b8
JB
1776 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1777 rather than as part of the output file name.
1778
d6c1774e
JB
1779 * gdb.base/attach.exp: There's no need to copy the test program to
1780 /tmp; that was only ever necessary on HP/UX, and this test is
1781 entirely disabled there anyway.
1782
f0708dbb
JB
17832002-12-21 Jim Blandy <jimb@redhat.com>
1784
4c2acfea
JB
1785 * gdb.c++/psmang.exp: Doc fix.
1786
f0708dbb
JB
1787 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1788 test.
1789
9579e000
DC
17902002-12-20 David Carlton <carlton@math.stanford.edu>
1791
1792 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1793
d1810171
MC
17942002-12-18 Michael Chastain <mec@shout.net>
1795
1796 * gdb.c++/annota2.exp: Add copyright year 2002.
1797
76565097
DC
17982002-12-17 David Carlton <carlton@math.stanford.edu>
1799
1800 * gdb.c++/try_catch.cc: Add marker comments.
1801 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1802 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1803 * gdb.c++/m-static.cc: Ditto.
1804 * gdb.c++/m-static1.cc: Ditto.
1805 * gdb.c++/try_catch.cc: Ditto.
1806
da81390b
JJ
18072002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1808
1809 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1810 to see whether we are using the new -environment-directory
1811 command which resets via -r or the old version of the command
1812 which may prompt the user. Part of fix for gdb/741.
1813
b304d130
AC
18142002-12-13 Andrew Cagney <ac131313@redhat.com>
1815
1816 * gdb.fortran/types.exp: Update obsolete comment.
1817 * gdb.fortran/exprs.exp: Ditto.
1818 * lib/gdb.exp: Delete obsolete code.
1819 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1820 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1821 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1822 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1823 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1824 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1825 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1826 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1827 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1828 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1829 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1830 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1831 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1832 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1833 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1834 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1835 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1836 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1837 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1838 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1839 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1840 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1841 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1842 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1843 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1844 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1845 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1846 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1847 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1848 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1849 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1850 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1851 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1852 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1853 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1854 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1855 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1856
a23b6e6a
DC
18572002-12-11 David Carlton <carlton@math.stanford.edu>
1858
1859 * gdb.c++/m-data.exp: Add test for members that shadow global
1860 variables: see PR gdb/804.
1861 * gdb.c++/m-data.cc: Ditto.
1862
6604731b
DJ
18632002-12-10 Daniel Jacobowitz <drow@mvista.com>
1864
1865 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1866
de46ecd7
DC
18672002-12-06 David Carlton <carlton@math.stanford.edu>
1868
1869 * gdb.base/store.c: Don't declare functions static.
1870
27e829d0
AC
18712002-12-04 Andrew Cagney <ac131313@redhat.com>
1872
1873 * gdb.base/store.exp, gdb.base/store.c: New files.
1874
92806416
DJ
18752002-12-03 Daniel Jacobowitz <drow@mvista.com>
1876
1877 * gdb.base/selftest.exp: Update for current gdb.
1878
3bcbaac5
DJ
18792002-12-03 Daniel Jacobowitz <drow@mvista.com>
1880
1881 * gdb.base/maint.exp: Only dump symbols from one source file
1882 or objfile.
1883
f4f00b1f
DJ
18842002-12-03 Daniel Jacobowitz <drow@mvista.com>
1885
1886 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1887 function call.
1888
f1c8a949
JB
18892002-11-25 Jim Blandy <jimb@redhat.com>
1890
1891 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1892 function appearing in error message.
1893
9e297a97
DJ
18942002-11-21 Daniel Jacobowitz <drow@mvista.com>
1895
1896 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1897
1f312e79
JJ
18982002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1899
1900 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1901 for mi1 and current mi is in correct format. New mi startup message
1902 should be in mi console format. This is part of fix for PR gdb/604.
1903
83c31e7d
FN
19042002-09-18 Fernando Nasser <fnasser@redhat.com>
1905
1906 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1907 which explicitly prints the zero offset as "+0".
1908
322b3f65
DJ
19092002-10-22 Daniel Jacobowitz <drow@mvista.com>
1910
1911 * gdb.threads/schedlock.c (args): Make unsigned.
1912
19132002-10-21 Daniel Jacobowitz <drow@mvista.com>
1914
1915 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1916 numbers. Allow "foo2|selected stack frame".
1917 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1918 * gdb.asm/asmsrc2.s: Likewise.
1919 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1920 comments.
1921 * gdb.asm/mips.inc: New file.
1922
5e2fe5b8
AF
19232002-10-18 Adam Fedor <fedor@gnu.org>
1924
1925 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1926 * gdb.base/help.exp: Likewise.
1927
abe1a5d0
KB
19282002-10-17 Kevin Buettner <kevinb@redhat.com>
1929
1930 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1931 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1932
10abb1d4
JB
19332002-10-02 Jim Blandy <jimb@redhat.com>
1934
1935 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1936
1f609b42
AC
19372002-10-01 Andrew Cagney <ac131313@redhat.com>
1938
1939 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1940 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1941 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1942 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1943 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1944 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1945 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1946
0aee02e4
AC
19472002-09-29 Andrew Cagney <ac131313@redhat.com>
1948
1949 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1950 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1951 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1952 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1953 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1954 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1955 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1956
6fde09ad
KB
19572002-09-27 Kevin Buettner <kevinb@redhat.com>
1958
1959 * gdb.base/annota1.exp (info break): Make directory components of
1960 path optional since not all compilers emit this debug information.
1961
1962 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1963 step ends up stepping out of the function instead of stopping on
1964 the epilogue.
1965
9e8aab75
KS
19662002-09-26 Keith Seitz <keiths@redhat.com>
1967
1968 * lib/insight-support.exp (gdbtk_start): Figure out where
1969 the insight executable is based on where gdb is. Use this
1970 executable to start insight instead of gdb.
1971
e36180d7
AC
19722002-09-25 Andrew Cagney <cagney@redhat.com>
1973
1974 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1975
9dd34b2b
AC
19762002-09-24 Andrew Cagney <ac131313@redhat.com>
1977
1978 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1979 test_isolated_complaints.
1980 (test_empty_complaint): New function.
1981 (test_empty_complaints): New function. Check no output when no
1982 complaints.
1983
dea97812
KB
19842002-09-19 Jim Blandy <jimb@redhat.com>
1985
1986 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1987
54951bd7
AC
19882002-09-19 Andrew Cagney <ac131313@redhat.com>
1989
1990 * gdb.gdb/complaints.exp: New file.
1991
dec43320
AC
19922002-09-18 Andrew Cagney <ac131313@redhat.com>
1993
1994 * gdb.base/maint.exp: Check `help maint internal-warning'.
1995
e70d6e3f
DC
19962002-09-18 David Carlton <carlton@math.stanford.edu>
1997
1998 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1999 numbers, and replace them by a single breakpoint after the
2000 constructors are all finished.
2001 Add test 4.
2002 * gdb.c++/m-static.cc: Add test 4.
2003 * gdb.c++/m-static.h: New file.
2004 * gdb.c++/m-static1.cc: New file.
2005
2006 * gdb.c++/printmethod.exp: New file.
2007 * gdb.c++/printmethod.cc: New file.
2008
2009 * gdb.c++/pr-574.exp: New file.
2010 * gdb.c++/pr-574.cc: New file.
2011
afb5c968
CV
20122002-09-18 Corinna Vinschen <vinschen@redhat.com>
2013
2014 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2015 embedded targets which never actually exit.
2016
31e45dee
FN
20172002-09-18 Fernando Nasser <fnasser@redhat.com>
2018
2019 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2020 "don't step after run" as unresolved or unsupported, instead of xfail.
2021
a283c5a1
CV
20222002-09-18 Corinna Vinschen <vinschen@redhat.com>
2023
2024 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2025 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2026 Add newline to expected string in "step out of main (status wrapper)"
2027 case.
2028
11350d2a
CV
20292002-09-18 Corinna Vinschen <vinschen@redhat.com>
2030
2031 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2032 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2033
0deec7d6
TT
20342002-09-17 Tom Tromey <tromey@redhat.com>
2035
2036 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2037 \000, not \0, in double-quoted string.
2038
b2b4a1b5
CV
20392002-09-14 Corinna Vinschen <vinschen@redhat.com>
2040
c9d37158 2041 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2042 string after running the commands execution on breakpoint tests.
2043
1c56143a
CV
20442002-09-13 Corinna Vinschen <vinschen@redhat.com>
2045
2046 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2047
37f8da45
JB
20482002-09-12 Joel Brobecker <brobecker@gnat.com>
2049
2050 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2051
08b468e0
KS
20522002-09-10 Keith Seitz <keiths@redhat.com>
2053
2054 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2055 runto proc.
2056 (mi_run_to_main): Use mi_runto.
2057 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2058
dc360f58
KS
20592002-09-10 Keith Seitz <keiths@redhat.com>
2060
2061 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2062 regexp for stopping at main. Could have multiple event notifications.
2063 Don't assume that main was declared with no parameters.
2064 (mi_next): Use mi_step_to.
2065 (mi_step): Use mi_next_to.
2066
ce3abcfb
CV
20672002-09-09 Corinna Vinschen <vinschen@redhat.com>
2068
2069 * gdb.base/default.exp: Fix expected string in `info float' test.
2070
d1f5b980
BE
20712002-09-09 Ben Elliston <bje@redhat.com>
2072
2073 * config/mips.exp: Update comments.
2074 * config/mips-idt.exp: Likewise.
2075 * config/nind.exp: Likewise.
2076 * config/slite.exp: Likewise.
2077 * config/sparclet.exp: Likewise.
2078 * config/udi.exp: Likewise.
2079 * config/vx.exp: Likewise.
2080 * config/vxworks29k.exp: Likewise.
2081
2f71430b
JB
20822002-09-05 Jim Blandy <jimb@redhat.com>
2083
2084 * gdb.threads/killed.exp: Fix test failure message.
2085
7ddebc7e
KS
20862002-09-04 Keith Seitz <keiths@redhat.com>
2087
2088 * lib/mi-support.exp: Update copyright.
2089 (mi_gdb_test): Increase the priority of the expected pattern
2090 so that it matches gdb_test.
2091
0ae67eb3
KS
20922002-09-03 Keith Seitz <keiths@redhat.com>
2093
2094 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2095 Use integer comparison instead of string comparison for testing
2096 whether binary was built.
2097
38fc42c8
JB
20982002-09-03 Jim Blandy <jimb@redhat.com>
2099
2100 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2101
b6ff0e81
JB
21022002-08-29 Jim Blandy <jimb@redhat.com>
2103
2104 * gdb.threads/pthreads.exp: Move the portable thread compilation
2105 code into a function in lib/gdb.exp, and call that from here.
2106 * lib/gdb.exp (gdb_compile_pthreads): New function.
2107
07c98896
KS
21082002-08-29 Keith Seitz <keiths@redhat.com>
2109
2110 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2111 expect_out so that callers can get at it.
2112
0312286c
DJ
21132002-08-23 Daniel Jacobowitz <drow@mvista.com>
2114
2115 * gdb.threads/print-threads.c: New file.
2116 * gdb.threads/print-threads.exp: New file.
2117 * gdb.threads/schedlock.c: New file.
2118 * gdb.threads/schedlock.exp: New file.
2119
dd039bc4
EZ
21202002-08-22 Elena Zannoni <ezannoni@redhat.com>
2121
2122 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2123 not altivec.c.
2124
1f36144c
MK
21252002-08-17 Mark Kettenis <kettenis@gnu.org>
2126
2127 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2128 targets. The problem should be fixed now.
2129
16057ec7 21302002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2131
2132 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2133 2002-07-24 change that removes final dots from error messages.
2134
3c1499ad
TT
21352002-08-13 Tom Tromey <tromey@redhat.com>
2136
2137 * gdb.base/readline.exp: New file.
2138
a20ce2c3
AC
21392002-08-01 Andrew Cagney <ac131313@redhat.com>
2140
2141 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2142 supress message.
2143
db034ac5
AC
21442002-08-01 Andrew Cagney <cagney@redhat.com>
2145
2146 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2147 CHILL_FOR_TARGET and CHILL_LIB.
2148 * configure.in (configdirs): Remove gdb.chill.
2149 * configure: Regenerate.
2150 * lib/gdb.exp: Obsolete references to chill.
2151 * gdb.fortran/types.exp: Ditto.
2152 * gdb.fortran/exprs.exp: Ditto.
2153
3e000b18
KB
21542002-07-30 Kevin Buettner <kevinb@redhat.com>
2155
2156 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2157 set Irix-specific compile and link flags.
2158
28f4966b
KB
21592002-07-29 Kevin Buettner <kevinb@redhat.com>
2160
2161 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2162 source files. The ``-o'' option doesn't work with the ``-E'' option
2163 when using the Irix compiler.
2164
46c0d5a6
DJ
21652002-07-19 Daniel Jacobowitz <drow@mvista.com>
2166
2167 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2168 Improve support for reusing an exec file. Copy exec file
2169 to target, and run gdbserver on the target instead of on the host.
2170
eecf4bed
JB
21712002-07-18 Jim Blandy <jimb@redhat.com>
2172
0f815cdf
JB
2173 * gdb.base/ending-run.exp: Don't expect to see the program end in
2174 some orderly fashion when we're running on a real stand-alone
2175 board.
2176
eecf4bed
JB
2177 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2178 targets that don't support interrupts.
2179
52d309e4
JB
21802002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2181
2182 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2183 systems.
2184 Move comments in expect statements to inside the actions, so that they
2185 don't get matched against.
2186
ff683d9e
MK
21872002-07-10 Mark Kettenis <kettenis@gnu.org>
2188
2189 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2190 function when asleep" test.
2191
b5356753
AC
21922002-07-10 Andrew Cagney <ac131313@redhat.com>
2193
2194 * gdb.base/page.exp: Rewrite to handle problems with very long
2195 `info set' output. Update copyright.
2196
6aa4d13a
AC
21972002-06-26 Andrew Cagney <ac131313@redhat.com>
2198
2199 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2200 gdb.threads-hp.
2201 * gdb.hp/configure: Regenerate.
2202 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2203 * gdb.hp/gdb.threads-hp/configure: Delete file.
2204 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2205
8cf8c2b8
AC
22062002-06-22 Andrew Cagney <ac131313@redhat.com>
2207
2208 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2209 setlocale, bindtextdomain and textdomain.
2210
6827a8f8
JB
22112002-06-11 Jim Blandy <jimb@redhat.com>
2212
919d772c
JB
2213 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2214 preprocessor macro information is present.
2215
6827a8f8
JB
2216 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2217 tests.
2218
c15b0d21
MS
22192002-06-06 Michael Snyder <msnyder@redhat.com>
2220
c5984d70
MS
2221 * gdb.base/overlays.exp: Record addresses of overlay
2222 functions in TCL variables rather than in GDB variables,
2223 to avoid having GDB convert them to pointers (with loss
2224 of information).
2225
99a8512b
MS
2226 * gdb.base/d10v.ld: Merge in several years worth of
2227 default linker script changes.
c15b0d21
MS
2228 * gdb.base/long_long.exp: Add check for sizeof (long double).
2229
be26fe0d
ML
22302002-06-06 Michal Ludvig <mludvig@suse.cz>
2231
2232 * gdb.asm/asm-source.exp: Add x86-64 target.
2233 * gdb.asm/x86_64.inc: New.
2234
258093ca 22352002-05-30 Michael Chastain <mec@shout.net>
258093ca 2236
4b3153f1 2237 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2238 * gdb.c++/m-static.cc: New file.
2239 * gdb.c++/m-static.exp: New file.
2240
241264c6
MS
22412002-05-28 Michael Snyder <msnyder@redhat.com>
2242
2243 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2244 precision.
2245
9bba8c8f 22462002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2247
4b3153f1 2248 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2249 * gdb.c++/m-data.cc: New file.
2250 * gdb.c++/m-data.exp: New file.
2251
22522002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2253
4b3153f1 2254 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2255 * gdb.c++/try_catch.cc: New file.
2256 * gdb.c++/try_catch.exp: New file.
2257
def1b996
MC
22582002-05-27 Michael Chastain <mec@shout.net>
2259
2260 * gdb.c++/local.exp: Accept more nested types in output.
2261
522ba268
MC
22622002-05-26 Michael Chastain <mec@shout.net>
2263
2264 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2265
277254ba
MS
22662002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2267
2268 * lib/gdb.exp (gdb_wrapper_init): Just because
2269 gdb_wrapper_file exists, this does not mean that the file
2270 should not be rebuilt. That is what gdb_wrapper_initialized
2271 is for.
2272 (default_gdb_init): Reset gdb_wrapper_initialized.
2273
b61a8733
MS
22742002-05-23 Michael Snyder <msnyder@redhat.com>
2275
5bdb6d01
MS
2276 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2277 the precision of the floating point test results.
2278 * gdb.base/call-rt-st.exp: Ditto.
2279
b61a8733
MS
2280 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2281 * gdb.base/call-rt-st.exp: Ditto.
2282
56f6e910
MC
22832002-05-19 Michael Chastain <mec@shout.net>
2284
2285 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2286
ad0b0016
EZ
22872002-05-19 Elena Zannoni <ezannoni@redhat.com>
2288
2289 * configure.in (configdirs): Add gdb.arch.
2290 * configure: Regenerate.
2291
f617d2b6
JB
22922002-05-17 Jim Blandy <jimb@redhat.com>
2293
2294 * gdb.base/completion.exp: Recognize the more detailed error
2295 messages produced by the macro expander's lexical analyzer.
2296
eac2a696
EZ
22972002-05-14 Elena Zannoni <ezannoni@redhat.com>
2298
2299 * gdb.arch/altivec-abi.c: New file.
2300 * gdb.arch/altivec-abi.exp: New file.
2301 * gdb.arch/altivec-regs.c: New file.
2302 * gdb.arch/altivec-regs.exp: New file.
2303
2fdde8f8
DJ
23042002-05-14 Daniel Jacobowitz <drow@mvista.com>
2305
2306 * gdb.base/maint.exp (maint print type): Update for new type
2307 structure.
eac2a696 2308
e31f1a7c
EZ
23092002-05-14 Elena Zannoni <ezannoni@redhat.com>
2310
2311 * gdb.arch: New directory.
2312 * gdb.arch/configure.in: New file.
2313 * gdb.arch/configure: New file.
2314 * gdb.arch/Makefile.in: New file.
2315
db589741
CV
23162002-05-13 Corinna Vinschen <vinschen@redhat.com>
2317
2318 * gdb.asm/asm-source.exp: Add v850 as supported target.
2319 * gdb.asm/v850.inc: New file.
2320
8ce2a7dc
DJ
23212002-05-13 Daniel Jacobowitz <drow@mvista.com>
2322
2323 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2324
df763c7f
DJ
23252002-05-12 Daniel Jacobowitz <drow@mvista.com>
2326
2327 * gdb.base/break.exp: Check 'break "marker2"'.
2328
377daeed
MS
23292002-05-10 Michael Snyder <msnyder@redhat.com>
2330
2331 * gdb.base/long_long.exp: Fix typo.
2332
c4b7bc2b
JB
23332002-05-10 Jim Blandy <jimb@redhat.com>
2334
ecac9a4e
JB
2335 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2336 a bug.
2337
c4b7bc2b
JB
2338 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2339 Recognize more detailed error message produced by the macro
2340 expander's lexical analyzer.
2341 * lib/gdb.exp (test_print_reject): Same.
2342
e71019a1
MK
23432002-05-09 Mark Kettenis <kettenis@gnu.org>
2344
2345 * gdb.c++/method.exp: Fix typo.
2346
fedfc8e6
MS
23472002-05-08 Michael Snyder <msnyder@redhat.com>
2348
166a1957
MS
2349 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2350 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2351 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2352 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2353 Add iftarget clause for strongarm.
2354
f1c47eb2
MS
23552002-05-06 Michael Snyder <msnyder@redhat.com>
2356
cb9a9d3e
MS
2357 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2358 (gdb_continue_to_end): Accept output from status wrapper.
2359 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2360 Clean up fail messages to match pass messages.
2361
f1c47eb2
MS
2362 Enable the "needs_status_wrapper" testsuite feature.
2363 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2364 (gdb_compile): Conditionally call gdb_wrapper_init.
2365 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2366 * gdb.c++/method.exp: Recognize output from status wrapper.
2367
6079c749
BE
23682002-05-06 Ben Elliston <bje@redhat.com>
2369From Graydon Hoare <graydon@redhat.com>
2370
2371 * config/sid.exp: Include support for "rawsid" protocol.
2372
188baff3
JB
23732002-05-03 Jim Blandy <jimb@redhat.com>
2374
2375 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2376 * gdb.c++/hang3.C: New file.
2377
b9c07f0f
AC
23782002-05-04 Andrew Cagney <ac131313@redhat.com>
2379
2380 * gdb.base/default.exp: Remove obsolete code.
2381 * gdb.c++/misc.exp: Ditto. Update copyright.
2382 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2383 * gdb.base/whatis.exp: Ditto. Update copyright.
2384 * gdb.base/scope.exp: Ditto. Update copyright.
2385 * gdb.base/ptype.exp: Ditto. Update copyright.
2386 * gdb.base/printcmds.exp: Ditto. Update copyright.
2387 * gdb.base/opaque.exp: Ditto. Update copyright.
2388 * gdb.base/list.exp: Ditto.
2389 * gdb.base/funcargs.exp: Ditto. Update copyright.
2390 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2391 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2392 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2393 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2394 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2395 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2396
5c7a0397
MS
23972002-05-02 Michael Snyder <msnyder@redhat.com>
2398
d6dcc264 2399 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2400 * gdb.base/long_long.exp: Add xscale target.
2401 * gdb.base/default.exp: Add xscale target.
2402
eb7f1c48
JB
24032002-05-01 Jim Blandy <jimb@redhat.com>
2404
2405 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2406 gdb.c++/hang.exp: New test.
2407
a6befae8
FF
24082002-05-01 Fred Fish <fnf@redhat.com>
2409
2410 * gdb.base/completion.exp: Handle completions of "./Make" for
2411 more than one completion possibility, as is the case when we
2412 build and test in the source tree.
2413
0a310277
AG
24142002-04-29 Anthony Green <green@redhat.com>
2415
2416 * gdb.java/jmisc1.exp: New file.
2417 * gdb.java/jmisc2.exp: New file.
2418
6ff9af88
DJ
24192002-04-24 Daniel Jacobowitz <drow@mvista.com>
2420
2421 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2422
96b3d632
EZ
24232002-04-23 Elena Zannoni <ezannoni@redhat.com>
2424
2425 * gdb.base/help.exp: Change 'help status' to allow for target
2426 dependent output differences.
2427
5019bb54
MC
24282002-04-22 Michael Chastain <mec@shout.net>
2429
2430 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2431
a805a116
MC
24322002-04-22 Michael Chastain <mec@shout.net>
2433
2434 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2435
a1706bfd
DM
24362002-04-17 David S. Miller <davem@redhat.com>
2437
2438 * gdb.asm/sparc64.inc: New file.
2439 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2440
a73a20a2
EZ
24412002-04-19 Elena Zannoni <ezannoni@redhat.com>
2442
2443 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2444 instruction file directly into the build tree. Clean up at end of
2445 test.
2446
ba678339
DM
24472002-04-18 David S. Miller <davem@redhat.com>
2448
2449 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2450 handle 64-bit platforms correctly.
2451 * gdb.base/maint.exp: Likewise.
2452
b03399da
KB
24532002-04-18 Kevin Buettner <kevinb@redhat.com>
2454
2455 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2456 ``-fpic'' when compiling files comprising a shared library, but
2457 it does need additional linker flags in order to find shared
2458 libraries at run time.
2459
e2004992
KB
24602002-04-18 Kevin Buettner <kevinb@redhat.com>
2461
2462 * gdb.base/cvexpr.c (use): New function.
2463 (main): Invoke use() on all global variables to prevent
2464 some linkers from deleting these otherwise unused symbols.
2465
d8937120
MC
24662002-04-17 Michael Chastain <mec@shout.net>
2467From David S. Miller <davem@redhat.com>
2468
2469 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2470 handle 64-bit platforms correctly.
2471
ffd61a58
MS
24722002-04-12 Michael Snyder <msnyder@redhat.com>
2473From Jim Blandy <jimb@redhat.com>
2474 * gdb.base/foo.c (foox): Remove section attribute; the linker
2475 script can handle this instead.
2476 * gdb.base/bar.c (barx): Same.
2477 * gdb.base/baz.c (bazx): Same.
2478 * gdb.base/grbx.c (grbxx): Same.
2479
2480 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2481 manager doesn't automatically unmap overlays unnecessarily.
2482
6b8426a6
MH
24832002-04-10 Martin M. Hunt <hunt@redhat.com>
2484
2485 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2486 stepping out of main.
2487
34af4875
MC
24882002-04-09 Michael Chastain <mec@shout.net>
2489
2490 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2491 scope so that the nested scope tests will make sense.
2492 * gdb.c++/local.exp: Write patterns that actually work with gcc
2493 (the HP patterns "were never known to work with gcc").
2494 Keep the old aCC patterns too.
2495
2d1676a0
DJ
24962002-04-09 Daniel Jacobowitz <drow@mvista.com>
2497
2498 * gdb.base/attach.exp: Correct target board test.
2499
3a63e3f9
MC
25002002-04-08 Michael Chastain <mec@shout.net>
2501
2502 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2503 in a const method. Add some xfail and fail cases for configurations
2504 that do not emit the "const ...".
2505
f18dabd2
MC
25062002-04-07 Michael Chastain <mec@shout.net>
2507
2508 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2509 Accept "A * const" and "const A * const" as type of "this".
2510 Fix spelling of getFunky throughout. Make messages uniform.
2511
0fcddd82
EZ
25122002-04-07 Elena Zannoni <ezannoni@redhat.com>
2513
2514 Work around for PR gdb/285:
2515 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2516
16a8534a
EZ
25172002-04-07 Elena Zannoni <ezannoni@redhat.com>
2518
2519 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2520 instructions file at run time instead of configure time.
2521 Sometimes we run the test in a directory that is not the one we
2522 configured in.
2523 * gdb.asm/configure.in: Delete creation of symlink.
2524 * gdb.asm/configure: Regenerate.
2525
24181d81
JB
25262002-04-05 J. Brobecker <brobecker@gnat.com>
2527
2528 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2529 xfullpath () function.
2530
7cdb7107
DJ
25312002-04-04 Daniel Jacobowitz <drow@mvista.com>
2532
2533 * gdb.asm/Makefile.in: Correct dependencies.
2534
2535 * gdb.asm/powerpc.inc: New file.
2536 * gdb.asm/asm-source.exp: Add PowerPC.
2537 * gdb.asm/configure.in: Likewise.
2538 * gdb.asm/configure: Regenerated.
2539
a7d17088
DJ
25402002-04-04 Daniel Jacobowitz <drow@mvista.com>
2541
2542 * gdb.base/relocate.exp: New file.
2543 * gdb.base/relocate.c: New file.
2544
cd721503
FF
25452002-04-04 Fred Fish <fnf@redhat.com>
2546
2547 * gdb.base/step-test.exp: Update comment regarding stopping in
2548 memcpy/bcopy calls inserted as part of the compiler runtime.
2549
b22ad7a7
MS
25502002-04-04 Michael Snyder <msnyder@redhat.com>
2551
2552 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2553
5f279fa6
DJ
25542002-04-03 Daniel Jacobowitz <drow@mvista.com>
2555
2556 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2557 (gdb_expect): Remove $notransfer hack.
2558
dd0fd3ce
DJ
25592002-04-02 Daniel Jacobowitz <drow@mvista.com>
2560
2561 * gdb.c++/classes.exp ("calling method for small class"): Match
2562 updated register output.
2563
1e50cda1
DJ
25642002-03-30 Daniel Jacobowitz <drow@mvista.com>
2565
2566 Fix PR gdb/452
2567 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2568 when finished. Make gdb_file_cmd send "exec-file" when
2569 appropriate.
2570
24015922
DJ
25712002-03-30 Daniel Jacobowitz <drow@mvista.com>
2572
2573 * gdb.base/attach.exp: Remove extra setup_xfail.
2574
dd7dfd64
MS
25752002-03-26 Michael Snyder <msnyder@redhat.com>
2576
2577 * gdb.base/default.exp: Add tests for dump, append, and restore.
2578 * gdb.base/help.exp: Add tests for dump, append, and restore.
2579 * gdb.base/dump.exp: New file, test dump, append and restore.
2580 * gdb.base/dump.c: New file.
2581
48b2f8d7
MS
25822002-03-27 Michael Snyder <msnyder@redhat.com>
2583
2584 * gdb.base/help.exp: Modify expect strings to reflect
2585 clean-ups in help messages.
2586
05b4d525
FF
25872002-03-26 Fred Fish <fnf@redhat.com>
2588
2589 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2590 have debugging info for those functions and the compiler uses them
2591 internally to copy structs around.
2592
d7679631
FF
25932002-03-26 Fred Fish <fnf@redhat.com>
2594
2595 * gdb.base/list.exp: Revert the change made yesterday and add note
2596 about why we don't list the default lines for remote targets.
2597
523ac3f9
MS
25982002-03-25 Michael Snyder <msnyder@redhat.com>
2599
2600 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2601
754b2b8d
FF
26022002-03-25 Fred Fish <fnf@redhat.com>
2603
2604 * gdb.base/list.exp: This test works on remote targets so remove
2605 the short circuit for remote targets. Update copyright.
2606
33c3e192
FF
26072002-03-25 Fred Fish <fnf@redhat.com>
2608
2609 * gdb.base/attach.exp: Fix logic error that was suppressing this
2610 test for all non hppa*-*-hpux* targets, instead of the hp target.
2611 Move comments closer to the suppression point. Also now need to
2612 check that we are running natively.
2613
d43e73ee
MS
26142002-03-22 Michael Snyder <msnyder@redhat.com>
2615
882c8f02
MS
2616 * gdb.base/default.exp: Add test for gcore. Update copyright.
2617 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2618
04c12f60
FF
26192002-03-06 Fred Fish <fnf@redhat.com>
2620
2621 * gdb.base/funcargs.c: Remove extraneous ';' character.
2622 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2623
b43df995
MC
26242002-03-04 Michael Chastain <mec@shout.net>
2625
2626 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2627 accommodate gcc v3 function signature.
2628 * gdb.mi/mi0-var-cmd-exp: Ditto.
2629
92362027
AC
26302002-02-24 Andrew Cagney <ac131313@redhat.com>
2631
2632 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2633 ``GNU/Linux'' or ``Linux kernel''
2634 * testsuite/gdb.threads/pthreads.c: Ditto.
2635
258ad32d
MC
26362002-02-24 Michael Chastain <mec@shout.net>
2637
2638 * gdb.threads/pthreads.c (thread1): Add a return statement.
2639 (thread2): Likewise.
2640 (foo): Likewise.
2641
04c3b3d4
MC
26422002-02-23 Michael Chastain <mec@shout.net>
2643
2644 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2645 to placate gcc.
2646
5a2a0a20
MC
26472002-02-23 Michael Chastain <mec@shout.net>
2648
2649 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2650 test "ptype bint". The test passes on all my stabs configurations.
2651
a640f7fc
JB
26522002-02-21 Jim Blandy <jimb@redhat.com>
2653
27924826
JB
2654 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2655 filename at a time, and watch for the ones we want to see.
2656
a640f7fc
JB
2657 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2658 types of pointers to prototyped functions.
2659
edcc8c75
AC
26602002-02-20 Andrew Cagney <ac131313@redhat.com>
2661
2662 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2663 signed, unsigned and straight char.
2664 (padding_char, padding_short, padding_int, padding_long,
2665 padding_long_long, padding_float, padding_double,
2666 padding_long_double): New global variables.
2667 (fill, fill_structs): New functions.
2668
2669 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2670 for correctly sized writes. Update copyright.
2671 (get_valueof): New procedure.
2672 (get_sizeof): Call get_valueof.
2673 (check_valueof): New procedure.
2674 (check_padding): New procedure.
2675
ac57ea44
MC
26762002-02-20 Michael Chastain <mec@shout.net>
2677
2678 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2679 to setup_xfail. Document some of the remaining calls.
2680
7a10c941
MC
26812002-02-18 Michael Chastain <mec@shout.net>
2682
2683 * gdb.c++/userdef.exp: Update copyright year.
2684
fb8acdcc
DJ
26852002-02-18 Daniel Jacobowitz <drow@mvista.com>
2686
2687 * gdb.c++/userdef.exp: Test overloaded operators properly.
2688 Remove xfails.
2689
fda6ae12
MS
26902002-02-14 Michael Snyder <msnyder@redhat.com>
2691
2692 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2693
676a0442
DJ
26942002-02-14 Daniel Jacobowitz <drow@mvista.com>
2695
2696 * gdb.base/a2-run.exp: Check for a remote target properly.
2697 * gdb.base/annota1.exp: Likewise.
2698 * gdb.base/list.exp: Likewise.
2699 * gdb.base/reread.exp: Likewise.
2700 * gdb.base/scope.exp: Likewise.
2701 * gdb.base/shlib-call.exp: Likewise.
2702 * gdb.base/term.exp: Likewise.
2703 * gdb.c++/annota2.exp: Likewise.
2704
78b4f468
RE
27052002-02-13 Richard Earnshaw <rearnsha@arm.com>
2706
2707 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2708
9a81ba51
MC
27092002-02-10 Michael Chastain <mec@shout.net>
2710
2711 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2712 (call_after_alloca): Ditto.
2713
004af6c7
DJ
27142002-02-10 Daniel Jacobowitz <drow@mvista.com>
2715
2716 * gdb.base/ending-run.exp: Guard "cont" test with
2717 gdb_skip_stdio_test.
2718
37225f62
JB
27192002-02-06 Jim Blandy <jimb@redhat.com>
2720
2721 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2722 from here...
2723 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2724 To here. Disable this test on non-HP platforms. Add big comment.
2725
fe6fdd96
MS
27262002-02-04 Michael Snyder <msnyder@redhat.com>
2727
2728 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2729 other than d10v and m32r.
2730
036fad3f
RE
27312002-02-02 Richard Earnshaw <rearnsha@arm.com>
2732
2733 * gdb.base/default.exp: Rewrite test patterns to reduce time
2734 taken to match them.
2735
7148ab62
DJ
27362002-01-30 Daniel Jacobowitz <drow@mvista.com>
2737
2738 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2739 Allow a start function above main.
2740 * gdb.threads/linux-dp.exp: Fix copyright date.
2741
396cc255
DJ
27422002-01-30 Daniel Jacobowitz <drow@mvista.com>
2743
2744 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2745 (check_philosopher_stack): Check for manager thread before checking
2746 for a just-starting thread.
2747
f038d31b
DJ
27482002-01-30 Daniel Jacobowitz <drow@mvista.com>
2749
2750 From Neil Booth <neil@daikokuya.demon.co.uk>:
2751 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2752 warnings.
2753
b3ff9d9a
FF
27542002-01-21 Fred Fish <fnf@redhat.com>
2755
2756 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2757 not caller.
2758
39ad761d
JB
27592002-01-21 Jim Blandy <jimb@redhat.com>
2760
2761 * gdb.base/reread.exp: Check that GDB properly re-reads the
2762 executable file when it changes while no inferior is running.
2763
aaf320fa
FF
27642002-01-21 Fred Fish <fnf@redhat.com>
2765
2766 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2767 optionally accept the "shlib events" variation.
2768
808a31f5
JB
27692002-01-21 Jim Blandy <jimb@redhat.com>
2770
2771 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2772 call `fflush' after every `printf', so that the output is produced
2773 at predictable points, regardless of whatever buffering does (or
2774 doesn't) take place.
2775 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2776 at different points.
2777
4420d5e2
DJ
27782002-01-20 Daniel Jacobowitz <drow@mvista.com>
2779
2780 * gdb.c++/inherit.exp: Update copyright years.
2781 * gdb.c++/method.exp: Likewise.
2782
3e36a0f4
DJ
27832002-01-20 Daniel Jacobowitz <drow@mvista.com>
2784
2785 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2786 artificial methods/arguments.
2787 * gdb.c++/derivation.exp: Likewise.
2788 * gdb.c++/inherit.exp: Likewise.
2789 * gdb.c++/method.exp: Likewise.
2790 * gdb.c++/virtfunc.exp: Likewise.
2791
b4ceaee6
AC
27922002-01-18 Andrew Cagney <ac131313@redhat.com>
2793
2794 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2795 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2796 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2797 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2798 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2799 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2800
ecace851
JB
28012002-01-17 Jim Blandy <jimb@redhat.com>
2802
2803 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2804 anchoring the pattern matching the entry point symbol's name.
2805
375fc983
AC
28062002-01-17 Andrew Cagney <ac131313@redhat.com>
2807
2808 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2809 continue/quit query. Update copyright.
2810
fe6fdd96
MS
28112002-01-14 Michael Snyder <msnyder@redhat.com>
2812
2813 * gdb.base/gcore.exp: Remove extra debugging output.
2814
e017c81f
DJ
28152002-01-13 Daniel Jacobowitz <drow@mvista.com>
2816
2817 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2818 for slightly dubious v2 mangled string.
2819
37ab3bf8
DJ
28202002-01-13 Daniel Jacobowitz <drow@mvista.com>
2821
2822 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2823
1bc05c3a 28242002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2825
1bc05c3a 2826 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2827
1bc05c3a
JM
2828 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2829 constructors.
2830 * gdb.c++/derivation.exp: Likewise.
2831 * gdb.c++/templates.exp: Likewise.
2832 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2833
1bc05c3a
JM
28342002-01-10 Michael Snyder <msnyder@redhat.com>
2835
2836 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2837
a911c360
MS
28382002-01-08 Michael Snyder <msnyder@redhat.com>
2839
2840 * gdb.base/gcore.exp: New test for generate-core-file command.
2841 * gdb.base/gcore.c: Testcase for above.
2842 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2843
ea2119ec
JM
28442002-01-08 Jason Merrill <jason@redhat.com>
2845
2846 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2847
68203136
FF
28482002-01-07 Fred Fish <fnf@redhat.com>
2849
2850 * gdb.c++/overload.exp: Remove unconditional xfails for:
2851 print foo_instance1.overloadargs(1)
2852 print foo_instance1.overloadargs(1, 2)
2853 print foo_instance1.overloadargs(1, 2, 3)
2854 print foo_instance1.overloadargs(1, 2, 3, 4)
2855 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2856 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2857 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2858 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2859 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2860 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2861 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2862 print foo_instance1.overload1arg()
2863 print foo_instance1.overload1arg((char)arg2)
2864 print foo_instance1.overload1arg((signed char)arg3)
2865 print foo_instance1.overload1arg((unsigned char)arg4)
2866 print foo_instance1.overload1arg((int)arg7)
2867 print foo_instance1.overload1arg((unsigned int)arg8)
2868 print foo_instance1.overload1arg((float)arg11)
2869 print foo_instance1.overload1arg((double)arg12)
2870
21b9b5b1
MS
28712002-01-07 Michael Snyder <msnyder@redhat.com>
2872
2873 * gdb.base/huge.exp: New test. Print a very large target data object.
2874 (skip_huge_test): New test variable. Define if you want to skip this
2875 test. The test reads an 8 megabyte data object from the target, so it
2876 might be very time consuming on remote targets with a slow connection.
2877 * gdb.base/huge.c: New file. Test case for above.
2878
725f922e
FF
28792002-01-07 Fred Fish <fnf@redhat.com>
2880
2881 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2882 g_instance.bfoo, and g_instance.cfoo.
2883
634d57ec
JL
2884Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2885
f286b2c3
JL
2886 * gdb.base/break.c (multi_line_if_conditional): New function.
2887 (multi_ilne_while_conditional): Likewise.
2888 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2889 IF or WHILE condition puts the breakpoint at the start of
2890 the condition.
2891
634d57ec
JL
2892 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2893 hppa*-*-hpux* expected failure.
2894 * gdb.base/structs.exp (do_function_calls): Similarly.
2895
2896 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2897 watchpoints.
2898
9fbfe2dc
AC
28992002-01-06 Andrew Cagney <ac131313@redhat.com>
2900
2901 Fix PR gdb/66.
2902 * gdb.base/structs.exp: Replace skip for a29k with skip for
2903 gdb,cannot_call_functions.
2904 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2905 * gdb.base/callfuncs.exp: Ditto.
2906 * gdb.base/call-rt-st.exp: Ditto.
2907 * gdb.base/call-strs.exp: Ditto.
2908 * gdb.base/callfwmall.exp: Ditto.
2909 * gdb.base/scope.exp: Obsolete xfail a29k.
2910 * gdb.c++/misc.exp: Ditto.
2911 * gdb.c++/cplusfuncs.exp: Ditto.
2912 * gdb.base/ptype.exp: Ditto.
2913 * gdb.base/printcmds.exp: Ditto.
2914 * gdb.base/opaque.exp: Ditto.
2915 * gdb.base/list.exp: Ditto.
2916 * gdb.base/funcargs.exp: Ditto.
2917 * gdb.base/default.exp: Ditto.
2918
8ddad156
MS
29192002-01-04 Michael Snyder <msnyder@redhat.com>
2920
ca4976a6 2921 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2922 * gdb.base/maint.exp: Add tests for maint info sections options.
2923
1b074332
JL
2924Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2925
2926 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2927
7d159115
CV
29282001-12-20 Corinna Vinschen <vinschen@redhat.com>
2929
2930 * gdb.asm/arm.inc: New file.
2931 * gdb.asm/asm-source.exp: Add arm targets.
2932 * gdb.asm/configure.in: Ditto.
2933 * gdb.asm/configure: Recreated from configure.in.
2934
8fb87725
JL
2935Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2936
afabe08c
JL
2937 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2938 with HP's compiler.
2939 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2940 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2941 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2942 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2943
2944 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2945 either HP's compilers or GCC.
2946
db521deb
JL
2947 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2948 a SIGBUS or SIGSEGV.
2949
2950 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2951
2952 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2953 can be compiled with either HP's compiler or GCC.
2954
cfa88ab7
JL
2955 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2956 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2957 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2958
ca344dff
JL
2959 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2960 to match current gdb output. Update due to using auto-solib-limit
2961 for limiting instead of overloading auto-solib-add.
2962 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2963 test program.
2964
3f3c6e55 2965 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2966 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2967 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2968 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2969 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2970 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2971 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2972 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2973 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2974 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2975 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2976 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2977 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2978
8fb87725
JL
2979 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2980 a SIGTRAP to the inferior.
2981
cf599fa7
CV
29822001-12-19 Corinna Vinschen <vinschen@redhat.com>
2983
2984 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2985 Substitute call to target_link by call to gdb_compile.
2986
2cd045cd
JL
2987Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2988
2989 * gdb.base/break.exp: Fix HP specific search string when testing
2990 backtracing in a called function.
2991
2992 * gdb.base/constvars.exp: Only set lang to C++ if we're
2993 compiling the test with HP's compilers.
2994 * gdb.base/volatile.exp: Similarly.
2995
99ebe9ac
JB
29962001-12-19 Jim Blandy <jimb@redhat.com>
2997
2998 * gdb.base/printcmds.exp: Expect the null character to be printed
2999 as '\0', and the '\013' to be printed as '\v'.
3000 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3001 * gdb.base/setvar.exp: Same.
3002
b9891b29
JB
30032001-12-17 Jim Blandy <jimb@redhat.com>
3004
0eba65ab
JB
3005 * gdb.base/completion.exp: Rather than completing very long
3006 filenames, which can make the readline library produce output we
3007 don't recognize, cd to the directory first, and then complete
3008 using nice, short relative paths.
3009
6970b5b1
JB
3010 * gdb.base/completion.exp: On some systems, there is, in fact, a
3011 variable named `b' in scope, since GDB treats all static
3012 variables as being in scope. So use `no_var_named_this'
3013 instead of `b'.
3014
b9891b29
JB
3015 * gdb.base/corefile.exp: Recognize the message saying that GDB
3016 can't find the core file's registers as a failure.
3017
e6ccd35f
JSC
30182001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3019
3020 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3021 test expect string more specific.
3022
105ba819
CV
30232001-12-13 Corinna Vinschen <vinschen@redhat.com>
3024
3025 * gdb.asm/asm-source.exp: Add support for xstormy16.
3026 * gdb.asm/configure.in: Ditto.
3027 * gdb.asm/configure: Rebuild.
3028 * gdb.asm/xstormy16.inc: New file.
3029
e9e79dd9
FF
30302001-12-10 Fred Fish <fnf@redhat.com>
3031
3032 * gdb.base/maint.exp: Update to match changes in type dumping code.
3033
347dc97d
JB
30342001-12-10 Jim Blandy <jimb@redhat.com>
3035
3036 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3037 matching the entry point symbol's name at the beginning of the
3038 line.
3039
5178b9d6
DJ
30402001-12-07 Daniel Jacobowitz <drow@mvista.com>
3041
3042 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3043 gdb.c++/inherit.exp, gdb.c++/method.exp,
3044 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3045 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3046 and class layout support.
3047
af890c52
DJ
30482001-12-07 Daniel Jacobowitz <drow@mvista.com>
3049
3050 * gdb.c++/classes.exp: Add test for static member function.
3051 * gdb.c++/misc.cc: Add class with static member function.
3052
7a345fb3
JB
30532001-12-07 Jim Blandy <jimb@redhat.com>
3054
f2e54a80 3055 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3056 those tests as `unsupported'.
3057 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3058 Rewrite subsequent tests to use it.
3059
3060 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3061 those tests as `unsupported'.
3062 * gdb.base/structs.exp (call_struct_func): New function.
3063 (do_function_calls): Use call_struct_func to call the functions
3064 returning structs.
3065
0bc69509
JB
3066 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3067 whether functions are prototyped or not, so we can't possibly pass
3068 arguments to t_float_values2 properly.
3069
7a345fb3
JB
3070 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3071 value of `timeout' for targets other than the mips*tx39-*.
3072
edb6ede1
MS
30732001-12-06 Michael Snyder <msnyder@redhat.com>
3074
3075 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3076 and detect whether the start symbol has a leading underscore.
3077
2d842f13
JB
30782001-12-04 Jim Blandy <jimb@redhat.com>
3079
3080 * gdb.base/completion.exp: Clarify indentation.
3081
68550daf
JB
30822001-12-03 Jim Blandy <jimb@redhat.com>
3083
3084 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3085 variables on the S/390, not `.word'.
3086
cd5195a8
JB
30872001-11-30 Jim Blandy <jimb@redhat.com>
3088
3089 Add assembly-source tests for s390-ibm-linux.
3090 * gdb.asm/s390.inc: New file.
3091 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3092 the S/390 architecture.
3093 * gdb.asm/configure: Regenerated.
3094
ca9efc90
MS
30952001-11-30 Michael Snyder <msnyder@redhat.com>
3096
3097 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3098 next, info source, info sources, info line, global and static
3099 variables, and static functions.
3100 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3101 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3102 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3103 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3104 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3105 (gdbasm_leave): Restore frame pointer.
3106 (gdbasm_startup): Copy stack set-up from crt0.S.
3107
d0e66976
FN
31082001-11-26 Fernando Nasser <fnasser@redhat.com>
3109
3110 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3111 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3112 to a local (non-static) variable. Copy tstruct.a to a static buffer
3113 and return a pointer to that buffer.
3114 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3115
e2334072
MK
31162001-11-24 Mark Kettenis <kettenis@gnu.org>
3117
3118 * gdb.asm/configure.in: Fix recognition of ix86 target.
3119 * gdb.asm/configure: Regenerate.
3120
756caa3d
MS
31212001-11-21 Michael Snyder <msnyder@redhat.com>
3122
3123 * gdb.asm/sparc.inc: New file.
3124 * gdb.asm/asm-source.exp: Recognize sparc target.
3125 * gdb.asm/configure.in: Recognize sparc target.
3126 * gdb.asm/configure: Regenerate.
3127
9a4d72d5
MS
31282001-11-21 Michael Snyder <msnyder@redhat.com>
3129
3130 * gdb.asm/m32r.inc: New file.
3131 * gdb.asm/asm-source.exp: Recognize m32r target.
3132 * gdb.asm/configure.in: Recognize m32r target.
3133 * gdb.asm/configure: Regenerate.
3134
a773d1cd
MS
31352001-11-20 Michael Snyder <msnyder@redhat.com>
3136
017ac23d
MS
3137 * gdb.asm/i386.inc: New file.
3138 * gdb.asm/asm-source.exp: Recognize ix86 target.
3139 * gdb.asm/configure.in: Recognize ix86 target.
3140 * gdb.asm/configure: Regenerate.
3141
a773d1cd
MS
3142 * gdb.c++/namespace.exp: Fix quotes in output messages.
3143
bb632afb
MS
31442001-11-14 Michael Snyder <msnyder@redhat.com>
3145
25d559ca 3146 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3147 qualifier in a type cast expression, to designate an address
3148 in the instruction space (Harvard architecture).
3149
4749e309
MS
31502001-11-13 Michael Snyder <msnyder@redhat.com>
3151
3152 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3153 Tests for expressions using 'const' and 'volatile'.
3154
25050984
CV
31552001-11-13 Corinna Vinschen <vinschen@redhat.com>
3156
3157 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3158
1902c51f
DJ
31592001-11-12 Daniel Jacobowitz <drow@mvista.com>
3160
3161 * lib/mi-support.exp (mi_run_to_helper): Move comments
3162 outside of gdb_expect.
3163
dcf95b47
DJ
31642001-11-11 Daniel Jacobowitz <drow@mvista.com>
3165
3166 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3167 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3168 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3169 mi0_run_to): New functions.
3170 * gdb.mi/mi-simplerun.exp: Use them.
3171 * gdb.mi/mi0-simplerun.exp: Likewise.
3172 * gdb.mi/mi-var-cmd.exp: Likewise.
3173 * gdb.mi/mi0-var-cmd.exp: Likewise.
3174
45b074e1
AC
31752001-11-10 Andrew Cagney <ac131313@redhat.com>
3176
3177 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3178 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3179
bf50d346
AC
31802001-11-09 Andrew Cagney <ac131313@redhat.com>
3181
3182 * gdb.base/restore.exp: Include $expected value in restored test
3183 message.
3184
9383332c
AC
31852001-11-09 Andrew Cagney <ac131313@redhat.com>
3186
3187 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3188 implemented.
3189
db62520a
MS
31902001-11-08 Michael Snyder <msnyder@redhat.com>
3191
3192 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3193 Add pass/fail message for stop at breakpoint in call dummy function.
3194
b5703437
MS
31952001-11-07 Michael Snyder <msnyder@redhat.com>
3196
760f6330
MS
3197 * gdb.c++/templates.exp (test_template_breakpoints):
3198 If we get an overload menu, but it does not match what
3199 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3200 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3201 making the whitespace optional. Argument for "new" may be
3202 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3203 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3204 making the whitespace optional. Also replace "(void) with
3205 "((void|)), making the keyword "void" optional.
63f50499
MS
3206 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3207 making the whitespace optional. Also replace "(void) with
3208 "((void|)), making the keyword "void" optional.
3bf40917
MS
3209 * gdb.base/callfuncs.c (t_float_values): This function must
3210 _not_ be prototyped, and the following function (t_float_values2)
3211 must be prototyped (if the compiler supports it), so that GDB
3212 can be tested against both cases. Usually one case involves
3213 promotion of float to double, while the other does not.
3214 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3215 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3216 includes a stack frame for "start".
3217
c8ab4e6d
JB
32182001-11-05 Jim Blandy <jimb@redhat.com>
3219
3220 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3221 pointers are 32 bits long, and that offsets of relocs are always
3222 stored in the data (REL-style), and not in the reloc entry itself
3223 (RELA-style).
3224 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3225 stabs.
3226
3f08ced9
MS
32272001-11-01 Michael Snyder <msnyder@redhat.com>
3228
3229 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3230 and regular expression operators by using quoting.
3231
cbfa24cd
MS
32322001-10-31 Michael Snyder <msnyder@redhat.com>
3233
3234 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3235 depending on what the symbol table contains.
3236 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3237 the output of the ptype command. Similarly, accept both "const &"
3238 and "const&".
3239
aaa68313
CV
32402001-10-31 Corinna Vinschen <vinschen@redhat.com>
3241
3242 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3243 symbol `STORAGE' to allow to choose the storage class of
3244 the local datastructures.
3245 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3246 compiler directive.
3247
91740388
MS
32482001-10-30 Michael Snyder <msnyder@redhat.com>
3249
3250 * gdb.base/jump.exp: Allow it to run for all targets.
3251
1b7c05e7
CV
32522001-10-29 Corinna Vinschen <vinschen@redhat.com>
3253
3254 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3255 with new double_array size.
3256 (main): Change storage class of all local variables to static.
3257 Reduce size of double_array to 9.
3258 * gdb.base/call-ar-st.exp: Increase timeout value.
3259 Change expected output for double array to match new size in
3260 call-ar-st.c.
3261
36a22261
CV
32622001-10-29 Corinna Vinschen <vinschen@redhat.com>
3263
3264 * gdb.base/ending-run.exp: Create identical output when passing
3265 `step to end of run' case. Add regular expression branch satisfying
3266 Stormy16 target.
3267
92b8ae91
MK
32682001-10-28 Mark Kettenis <kettenis@gnu.org>
3269
3270 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3271 that we catch the expected failure under Linux/x86.
3272
cb135b83
OF
32732001-10-29 Orjan Friberg <orjanf@axis.com>
3274
3275 * gdb.base/setvar.exp: Escape curly braces.
3276 * gdb.stabs/weird.exp: Ditto.
3277
6884aa54
DJ
32782001-10-27 Daniel Jacobowitz <drow@mvista.com>
3279
3280 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3281 * gdm.mi/mi0-hack-cli.exp: Likewise.
3282
0398c9aa
AC
32832001-10-25 Andrew Cagney <ac131313@redhat.com>
3284
3285 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3286 messages.
3287
d20bf2e8
AC
32882001-10-21 Andrew Cagney <ac131313@redhat.com>
3289
3290 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3291 checking MI enabled.
3292
03dd63aa
CV
32932001-10-09 Corinna Vinschen <vinschen@redhat.com>
3294
3295 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3296
1d9d99f3
FCE
32972001-10-04 Frank Ch. Eigler <fche@redhat.com>
3298
3299 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3300 if gdb child process crashes, just signal an error.
3301
838ae6c4
JB
33022001-10-02 Jim Blandy <jimb@redhat.com>
3303
3304 * lib/gdb.exp (test_xfail_format): Simplify.
3305
3306 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3307 front of the variable name `format'. Simplify `if'.
3308
8f0cbc1c
DJ
33092001-10-01 Daniel Jacobowitz <drow@mvista.com>
3310
3311 * gdb.threads/pthreads.exp: Wait for output and delay
3312 before sending ^C.
3313
1f08dafd
DJ
33142001-10-01 Daniel Jacobowitz <drow@mvista.com>
3315
3316 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3317 some incorrect output instead of timing out.
3318 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3319
674f90ff
CV
33202001-09-28 Corinna Vinschen <vinschen@redhat.com>
3321
3322 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3323 check to allow additional `int'.
3324
9b284272
DJ
33252001-09-27 Daniel Jacobowitz <drow@mvista.com>
3326
3327 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3328 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3329
b55a4771
MS
33302001-09-27 Michael Snyder <msnyder@redhat.com>
3331
3332 * lib/gdb.exp (test_debug_format): New proc.
3333 (setup_xfail_format): Use new proc test_debug_format.
3334 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3335 proc; use new service proc test_debug_format.
3336 Replace all other "gcc_compiled" tests with this test.
3337 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3338 proc; use new service proc test_debug_format.
3339 Replace all other "gcc_compiled" tests with this test.
3340
33412001-09-27 Michael Snyder <msnyder@redhat.com>
3342
3343 * gdb.base/cvexpr.exp: New file.
3344 * gdb.base/cvexpr.c: New file
3345 Test for expressions using const and volatile keywords.
3346
4e6667ac
CV
33472001-09-26 Corinna Vinschen <vinschen@redhat.com>
3348
3349 * gdb.base/constvars.exp: Check for different orders of keywords
3350 and additional "int" strings in output.
3351
4f337972
AC
33522001-09-22 Andrew Cagney <ac131313@redhat.com>
3353
3354 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3355 responses from "help maint".
3356
2015650d
FCE
33572001-09-19 Frank Ch. Eigler <fche@redhat.com>
3358
3359 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3360 to localhost:NNN instead of :NNN, in case Xvfb is listening
3361 only on TCP.
3362
f3bcedc1
CV
33632001-09-19 Corinna Vinschen <vinschen@redhat.com>
3364
3365 * gdb.base/recurse.exp: When checking leaving the watchpoint
3366 scope, recognize when gdb is in function's epilogue and pass.
3367
6b819c92
KS
33682001-09-18 Keith Seitz <keiths@redhat.com>
3369
3370 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3371 support for running tests against sid targets.
3372 (gdbtk_done): Ditto.
3373
a10c9419
CV
33742001-09-18 Corinna Vinschen <vinschen@redhat.com>
3375
3376 * gdb.base/ending-run.c (main): Set stdout buffersize
3377 to the same reasonable value for any target.
3378 * gdb.base/ending-run.exp: Add a regular expression
3379 to make testsuite happy on Sanyo Stormy16 target.
3380
739d0d99
CV
33812001-09-17 Corinna Vinschen <vinschen@redhat.com>
3382
3383 * gdb.base/display.c (do_loops): Add float variable `f'.
3384 Increment f in loop.
3385 * gdb.base/display.exp: Increment timeout by 60 seconds.
3386 Change float display test to use variable `f'.
3387
1b8947f0
JB
33882001-09-17 Jim Blandy <jimb@redhat.com>
3389
3390 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3391 overflowing the limited breakpoint tables on some ROM monitors
3392 (like the ROM68K).
3393
9890ac81
FCE
33942001-09-15 Frank Ch. Eigler <fche@redhat.com>
3395
3396 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3397 the "-ac" (disable access control) flag.
3398
6db765ea
JH
33992001-08-30 Jeff Holcomb <jeffh@redhat.com>
3400
3401 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3402 ints.
3403
4c32cc04
KS
34042001-08-30 Keith Seitz <keiths@redhat.com>
3405
3406 * lib/gdb.exp: Move all insight-related functionality into
3407 separate file.
3408 * lib/insight-support.exp: New file.
3409
8d6e6f81
FCE
34102001-08-29 Frank Ch. Eigler <fche@redhat.com>
3411
3412 * config/sid.exp (sid_start): Never set sid verbosity; disable
3413 expect_background {} that consumed its stdout; tolerate </dev/null.
3414 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3415
6a90e1d0
AC
34162001-08-18 Andrew Cagney <ac131313@redhat.com>
3417
3418 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3419 CLI jump command to start it.
3420 (mi_run_to_main): Fail immediatly when unexpected output.
3421
1759b3c3
AC
34222001-08-18 Andrew Cagney <ac131313@redhat.com>
3423
3424 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3425 beginning of function. Fix PR gdb/191.
3426
61d11d80
FCE
34272001-08-16 Frank Ch. Eigler <fche@redhat.com>
3428
3429 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3430 what to force sid endianness to.
3431
942a4df2
KS
34322001-08-15 Keith Seitz <keiths@redhat.com>
3433
3434 * lib/gdb.exp (gdbtk_start): Don't set environment
3435 variables for TCL_LIBRARY and friends. Insight will
3436 now figure these out for itself.
3437
0521c418
MS
34382001-08-02 Michael Snyder <msnyder@redhat.com>
3439
3440 * gdb.base/completion.exp: Remove the symbol "a64l" from
3441 the expect string; this is target-specific, and not related
3442 to what is being tested.
3443
74a9a58a
DB
34442001-08-02 Dave Brolley <brolley@redhat.com>
3445
3446 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3447
c70819fa
MS
34482001-07-25 Michael Snyder <msnyder@redhat.com>
3449
c2b8fa57
MS
3450 * gdb.base/consecutive.exp: New file. Test stepping over
3451 breakpoints on consecutive instructions.
3452 * gdb.base/consecutive.c: New file.
3453
c70819fa
MS
3454 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3455 curly braces in regular expressions.
3456
2b1a1355
MS
34572001-07-25 Michael Snyder <msnyder@redhat.com>
3458
3459 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3460 legitimate output from stepping out of main.
3461
413eca6f
KS
34622001-07-22 Keith Seitz <keiths@redhat.com>
3463
3464 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3465 the empty string, do not run the tests.
3466
7e5a9322
SC
34672001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3468
3469 * gdb.base/long_long.exp: Detect size of pointer. Take into
3470 account 2-byte pointers when testing for p/a results.
3471
de58f10f
SC
34722001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3473
3474 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3475 and defined to 1K for m68hc11.
3476 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3477 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3478 (sizeof_random_data): New variable to tell the size of the data table;
3479 don't test past this size; always run to main.
3480
d6f5fea1
SC
34812001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3482
3483 * gdb.base/return2.exp: return of long long and double fails for
3484 68HC11; don't execute these tests on that platform.
3485 * gdb.base/return.exp: Return of a double fails for 68hc11.
3486
c477543d
SC
34872001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3488
3489 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3490 tests that print a float.
3491 * call-rt-st.exp: Likewise.
3492
63cf1c79
MK
34932001-07-12 Mark Kettenis <kettenis@gnu.org>
3494
3495 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3496 running this test on Linux.
3497
112f9ab5
MC
34982001-06-24 Michael Chastain <chastain@redhat.com>
3499
3500 * gdb.base/arithmet.exp: Remove some tests to make all test names
3501 unique.
3502
4970cb0f
MS
35032001-07-03 Michael Snyder <msnyder@redhat.com>
3504
3505 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3506 the output of the ptype command.
3507
d85da69f
MS
35082001-07-02 Michael Snyder <msnyder@redhat.com>
3509
4c8a82de
MS
3510 * gdb.base/completion.exp: Don't assume that break.c is the only
3511 source file that may contain functions named "marker".
d85da69f
MS
3512 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3513
8afc772b
AC
35142001-06-28 Andrew Cagney <ac131313@redhat.com>
3515
3516 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3517 of files to delete.
3518
3519 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3520 * gdb.disasm/h8300s.exp: New file.
3521 gdb.disasm/h8300s.s: Likewise.
3522
cff22675
AC
35232001-06-27 Andrew Cagney <ac131313@redhat.com>
3524
3525 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3526 empty breakpoint tables.
3527
68c81b54
AC
35282001-06-25 Andrew Cagney <ac131313@redhat.com>
3529
3530 * lib/mi-support.exp: Update args=... part of stop-reason
3531 patterns. Accept either a list or a tuple.
3532
2dd62704
AC
35332001-06-23 Andrew Cagney <ac131313@redhat.com>
3534
3535 * lib/mi-support.exp: Remove local emacs variable defining
3536 change-log-default-name.
3537
b4127474
MC
35382001-06-22 Michael Chastain <chastain@redhat.com>
3539
3540 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3541 This is operationally compatible with the previous version.
3542
8dbfb380
JB
35432001-06-13 Jim Blandy <jimb@redhat.com>
3544
3545 * lib/gdb.exp (gdb_test): Doc fix.
3546
f2d8c86d
MC
35472001-06-10 Michael Chastain <chastain@redhat.com>
3548
3549 * gdb.base/exprs.exp: Remove a duplicate test.
3550
81564d34
JB
35512001-06-06 Jim Blandy <jimb@redhat.com>
3552
3553 * gdb.base/return2.exp (main): Use values to test float and double
3554 returns that are not NaN's, to avoid being confused by IEEE
3555 comparison rules.
3556
da55addb
MS
35572001-06-04 Michael Snyder <msnyder@redhat.com>
3558
3559 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3560 non-zero if control_c fails. Terminate the test on failure,
3561 rather than wait for 12 more tests to time out.
3562
42c65987
JB
35632001-06-06 Jim Blandy <jimb@redhat.com>
3564
b18bced9
JB
3565 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3566 Don't forget to match the GDB prompt.
3567
42c65987
JB
3568 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3569
5b41e5f0
JB
35702001-06-04 Jim Blandy <jimb@redhat.com>
3571
3572 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3573 command.
3574
015e046f
KB
35752001-05-31 Kevin Buettner <kevinb@redhat.com>
3576
3577 * gdb.base/annota1.exp (info break): Match four or more spaces
3578 after "Address".
3579
fb1ffbbe
MC
35802001-05-31 Michael Chastain <chastain@redhat.com>
3581
3582 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3583 (dm_type_int_star): Likewise.
3584 (dm_type_long_star): Likewise.
3585 (dm_type_void_star): Likewise.
3586
5ea2a32c
KB
35872001-05-29 Kevin Buettner <kevinb@redhat.com>
3588
3589 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3590 to a known value in order to get consistent results regardless
3591 of the setting of INPUTRC or the presence or contents of .inputrc.
3592
ae23c492
MS
35932001-05-24 Michael Snyder <msnyder@redhat.com>
3594
ac55707e
MS
3595 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3596 Don't require that the main thread and the manager thread are the
3597 first in the list.
3598
ae23c492
MS
3599 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3600 debugging. If test fails, issue an "unsupported" not a "fail".
3601
400071f1
JB
36022001-05-24 Jim Blandy <jimb@redhat.com>
3603
3604 Don't assume that short is shorter than int.
3605 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3606 assume that shorts are smaller than ints. On a 16-bit machine,
3607 this isn't true.
3608 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3609 an int, is not equal to ~0 stored in an unsigned char. This tests
3610 the same thing that the previous test meant to, but works on
3611 16-bit machines, too.
3612 ("print unsigned char != (~0)"): Same test, complemented.
3613
0816a3e5
MS
36142001-05-24 Michael Snyder <msnyder@redhat.com>
3615
3616 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3617 test for (full_coverage == 0). This makes the test run faster,
3618 and prevents dejagnu getting out of step.
3619
f6dc23a9
KB
36202001-05-23 Kevin Buettner <kevinb@redhat.com>
3621
3622 * gdb.base/finish.exp (finish_void): Revise pattern for
3623 stopping on the call statement to not permit stopping at
3624 the start of the instructions comprising the call sequence.
3625
7dbd117d
MC
36262001-05-19 Michael Chastain <chastain@redhat.com>
3627
3628 * gdb.base/callfuncs.exp: Make all test names unique.
3629 * gdb.base/commands.exp: Make all test names unique.
3630 * gdb.base/condbreak.exp: Make all test names unique.
3631 * gdb.base/dbx.exp: Make all test names unique.
3632 * gdb.base/default.exp: Make all test names unique.
3633 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3634 and TIMEOUT messages to their corresponding PASS message.
3635 * gdb.base/ending-run.exp: Make all test names unique.
3636 * gdb.base/long_long.exp: Remove duplicate test.
3637
6b0b0a9e
KB
36382001-05-21 Kevin Buettner <kevinb@redhat.com>
3639
3640 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3641 stop on the call statement as well as the statement after the
3642 call.
3643
2caa35cb
MS
36442001-05-21 Michael Snyder <msnyder@redhat.com>
3645
3646 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3647
40713331
EZ
36482001-05-10 Elena Zannoni <ezannoni@redhat.com>
3649
3650 * gdb.base/completion.exp: Revamp test. Make it execute on all
3651 platforms.
3652
c2c1be8d
EZ
36532001-05-10 Elena Zannoni <ezannoni@redhat.com>
3654
2c9cd303
EZ
3655 * config/gdbserver.exp (gdb_load): Handle the case
3656 in which the arguments to gdbserver are given in the
3657 baseboard configuration file.
3658 Also handle the case in which the server needs to do a
3659 load.
3660
9671de48
KS
36612001-05-07 Keith Seitz <keiths@cygnus.com>
3662
3663 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3664 set up the display for testing.
3665 (gdbtk_start): Convert all paths to paths that tcl will like.
3666 Export target information to environment.
3667 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3668 necessary.
3669 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3670 (to_tcl_path): New proc to convert a given pathname into
3671 a path acceptible as an argument to a tcl command.
3672 (_gdbtk_export_target_info): New proc to export target info
3673 into the environment for gdbtk testing.
3674 (gdbtk_done): New proc to signal end-of-test.
3675
5a360f47
JB
36762001-05-06 Jim Blandy <jimb@redhat.com>
3677
3678 * restore.c: Make the code of caller0 correspond to its comment.
3679
66c756c6
MS
36802001-05-03 Michael Snyder <msnyder@redhat.com>
3681
3682 * config/sid.exp (gdb_target_sid): Check for error messages.
3683 On error or timeout, don't make expect exit (which will terminate
3684 all subsequent tests); instead just make gdb exit.
3685 (gdb_load): Check for error messages. On error or timeout,
3686 return a negative value.
3687
a966fde5
JB
36882001-04-24 Jim Blandy <jimb@redhat.com>
3689
851c18e0
JB
3690 * gdb.c++/templates.exp: If we see the prompt for the overload
3691 list, but we haven't recognized any of the longer patterns,
3692 arrange for this test to fail, not hang.
3693
a966fde5
JB
3694 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3695 variations.
3696
db144853
MC
36972001-04-22 Michael Chastain <chastain@redhat.com>
3698
3699 * gdb.c++/local.exp: Use the 'runto' library function.
3700 * gdb.c++/namespace.exp: Likewise.
3701 * gdb.c++/overload.exp: Likewise.
3702
3207ec21
KB
37032001-03-26 Kevin Buettner <kevinb@redhat.com>
3704
3705 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3706 * gdb.base/step-line.exp: New file. Test step/next in presence of
3707 #line directives.
3708 * gdb.base/step-line.c: New file. Test program for the above.
3709 * gdb.base/step-line.inp: New file. We pretend that this file has
3710 been transformed by some other tool into step-line.c.
3711
13b57657
JB
37122001-03-21 Jim Blandy <jimb@redhat.com>
3713
3714 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3715 unmangled operator names.
3716
754cbe1c
JB
37172001-03-20 Jim Blandy <jimb@redhat.com>
3718
3719 * gdb.threads/linux-dp.exp: Recognize an additional message
3720 generated by GDB when it doesn't understand how to debug threads
3721 on the target system.
3722
177495c9
AC
37232001-03-19 Andrew Cagney <ac131313@redhat.com>
3724
3725 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3726
f266096b
MC
37272001-03-12 Michael Chastain <chastain@redhat.com>
3728
3729 * gdb.c++/derivation.exp: Use the 'runto' library function.
3730
cac3c2ff
MC
37312001-03-12 Michael Chastain <chastain@redhat.com>
3732
3733 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3734
b6c11a24
MC
37352001-02-24 Michael Chastain <chastain@redhat.com>
3736
3737 * gdb.c++/ref-types.exp: Change handwritten code to library
3738 function 'runto'.
3739
6bae5bce
OF
37402001-03-16 Orjan Friberg <orjanf@axis.com>
3741
3742 * gdb.base/signals.exp: Set count to 0 explicitly.
3743
0015fd9a
MS
37442001-03-15 Mark Salter <msalter@redhat.com>
3745
3746 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3747 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3748 (gdb_load): Add support for additional target_info: gdb_download_size
3749 and gdb_load_timeout.
0015fd9a 3750
fc33412a
DT
3751Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3752
3753 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3754 file -- to prevent failing when the compile fails but we have no
3755 intention of running the tests anyway.
3756
3757 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3758 tests if set.
3759
3760 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3761 integers.
3762
3763 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3764 * gdb.c++/namespace.exp: Ditto.
3765
115f06de
OF
37662001-03-07 Orjan Friberg <orjanf@axis.com>
3767
3768 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3769 * gdb.base/pointers.exp: Relax pattern match of decimals.
3770
b6ba6518
KB
37712001-03-06 Kevin Buettner <kevinb@redhat.com>
3772
3773 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3774 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3775 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3776 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3777 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3778 config/sh.exp, config/sid.exp, config/slite.exp,
3779 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3780 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3781 config/vxworks.exp, config/vxworks29k.exp,
3782 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3783 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3784 gdb.base/arithmet.exp, gdb.base/assign.exp,
3785 gdb.base/async.exp, gdb.base/attach.exp,
3786 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3787 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3788 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3789 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3790 gdb.base/commands.exp, gdb.base/completion.exp,
3791 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3792 gdb.base/constvars.exp, gdb.base/corefile.exp,
3793 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3794 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3795 gdb.base/ending-run.exp, gdb.base/environ.exp,
3796 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3797 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3798 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3799 gdb.base/funcargs.exp, gdb.base/help.exp,
3800 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3801 gdb.base/logical.exp, gdb.base/long_long.exp,
3802 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3803 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3804 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3805 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3806 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3807 gdb.base/regs.exp, gdb.base/relational.exp,
3808 gdb.base/remote.exp, gdb.base/reread.exp,
3809 gdb.base/restore.exp, gdb.base/return2.exp,
3810 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3811 gdb.base/selftest.exp, gdb.base/setshow.exp,
3812 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3813 gdb.base/sigall.exp, gdb.base/signals.exp,
3814 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3815 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3816 gdb.base/step-test.exp, gdb.base/structs.c,
3817 gdb.base/structs.exp, gdb.base/structs2.exp,
3818 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3819 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3820 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3821 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3822 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3823 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3824 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3825 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3826 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3827 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3828 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3829 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3830 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3831 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3832 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3833 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3834 gdb.trace/circ.exp, gdb.trace/collection.exp,
3835 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3836 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3837 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3838 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3839 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3840 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3841 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3842 notices.
3843
dc96c6c7 38442001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3845
3846 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3847 first arg is int not float.
3848
dc96c6c7 38492001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3850
3851 * gdb.base/reread.exp: Unsupported for non-native targets;
3852 doesn't work for remote debugging.
3853
9b0c4aeb
FN
38542001-02-19 Fernando Nasser <fnasser@redhat.com>
3855
3856 From Drew Moseley <dmoseley@redhat.com>
3857 * gdb.base/ending-run.exp: Properly handle the BSP state when
3858 stepping past the end of main.
3859
02aa71d5
MC
38602001-02-19 John Moore <jmoore@redhat.com>
3861
3862 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3863 Converted HPUX fix for non-expected items following multiple
3864 step commands into general solution for all platforms.
3865
1fa449a4
MC
38662001-02-18 Michael Chastain <chastain@redhat.com>
3867
3868 * gdb.c++/classes.exp (do_tests): Change runto statements
3869 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3870 statements demangler agnostic.
3871 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3872 (gdb_virtfunc_restart): Likewise.
3873
b2f9ec70
MC
38742001-02-14 Michael Chastain <chastain@redhat.com>
3875
3876 * gdb.c++/inherit.exp (do_tests): Change runto statements
3877 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3878 statements demangler agnostic.
3879
cf74b8ca
AC
3880Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3881
3882 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3883 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3884 before calling common_routine 15 times'' tests.
3885
99f78f56
MC
38862001-02-11 Michael Chastain <chastain@redhat.com>
3887
3888 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3889 Helps the test script figure out which demangler is in use.
3890 (dm_type_foo_ref): Ditto.
3891 (dm_type_int_star): Ditto.
3892 (dm_type_long_star): Ditto.
3893 (dm_type_unsigned_int): Ditto.
3894 (dm_type_void): Ditto.
3895 (dm_type_void_star): Ditto.
99707966 3896 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3897 Probe the gdb demangler and set variables to accommodate
3898 formatting differences.
3899 (info_func_regexp): New function. Same as info_func, but
3900 matches against a regexp.
3901 (info_func): Match against a literal string.
3902 (print_addr_2): New function. Match against a literal string,
3903 which can be different from the input to gdb.
3904 (print_addr): Simply call print_addr_2 with the same argument twice.
3905 (test_lookup_operator_functions): Use demangler formatting variables.
3906 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3907 the tests in the same order as the C++ class declaration.
3908 (test_paddr_operator_functions): Ditto.
3909 (test_paddr_overloaded_functions): Ditto.
3910 (test_paddr_hairy_functions): Use demangler formatting variables.
3911 Add reference to gdb/19 for related tests.
3912 (do_tests): Call probe_demangler.
3913
1de8f023
KB
39142001-01-30 Kevin Buettner <kevinb@redhat.com>
3915
3916 * gdb.c++/templates.cc (printf): Remove unused function definition.
3917
ca3f91ed
MS
39182001-01-26 Felix Lee <flee@redhat.com>
3919
3920 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3921
39222001-01-25 matthew green <mrg@redhat.com>
3923
3924 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3925 up sid.
3926 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3927
39282001-01-25 matthew green <mrg@redhat.com>
3929
3930 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3931 Deprecate $sid_spawn_id.
3932 (sid_exit): Remove code necessary only for `spawn.'
3933
39342001-01-25 matthew green <mrg@redhat.com>
3935
3936 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3937
fb18ec4a
MC
39382001-01-28 Michael Chastain <chastain@redhat.com>
3939
3940 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3941 to call when tests fail. It takes gdb out of the overloaded
3942 function choice menu back to the main prompt, so that the test
3943 program stays synchronized.
3944 (set_bp_overloaded): New proc to collect all the common
3945 code for setting a breakpoint on an overloaded name. Calls
3946 take_gdb_out_of_choice_menu when needed.
3947 (menu_overload1arg): New variable to collect the repeated
3948 instances of the expected menu for an overloaded name. Change
3949 the regular expression to handle changes in g++ type encoding:
3950 "void" can be either "void" or "", and "unsigned int" can be
3951 either "unsigned int" or "unsigned".
3952 (continue_to_bp_overloaded): Change regular expressions to handle
3953 changes in g++ type encoding.
3954 (no proc): Call take_gdb_out_of_choice_menu when needed.
3955 Remove redundant calls to "info break". Accept either "canceled"
3956 or "cancelled". Change regular expressions in "info break"
3957 calls to handle changes in g++ type encoding. Give all tests
3958 unique strings.
3959
9c646a6e
BE
39602001-01-17 Ben Elliston <bje@redhat.com>
3961
3962 * config/sid.exp: New file.
3963
9549d9c1
AC
3964Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3965
3966 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3967
dc96c6c7 39682000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3969
3970 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3971 Add a RE to accept a non-ascii char if one is ever presented.
3972
b4df4f68
FN
39732000-12-20 Fernando Nasser <fnasser@redhat.com>
3974
297dd0fd 3975 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3976
dc96c6c7 39772000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3978
3979 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3980 in regexp. One '\' does not suffice on Linux.
3981
4a7bddb6
MC
39822000-12-09 Michael Chastain <chastain@redhat.com>
3983
3984 * gdb.base/break.exp (test_clear_command): Use a marker function
3985 rather than 'main' for the test function. Also move this
3986 test to an execution point where the marker function names are
3987 guaranteed to be bound to functions. (Executing tests after a
3988 'finish' from main runs into name conflicts with local names
3989 in __libc_start_main).
3990
dc96c6c7 39912000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3992
3993 * gdb.base/finish.exp: New test for gdb's "finish" command.
3994 * gdb.base/return2.exp: New test for gdb's "return" command.
3995 * gdb.base/return2.c: New source file for above.
3996
dc96c6c7 39972000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3998
3999 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4000 * gdb.base/miscexprs.exp: Ditto.
4001 * gdb.base/pointers.exp: Ditto.
4002 * gdb.c++/derivation.exp: Ditto.
4003 * gdb.c++/local.exp: Ditto.
4004 * gdb.c++/namespace.exp: Ditto.
4005 * gdb.c++/overload.exp: Ditto.
4006 * gdb.c++/ref-types.exp: Ditto.
4007
dc96c6c7 40082000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4009
4010 * gdb.base/constvars.exp: Test result of "up" command.
4011 * gdb.base/miscexprs.exp: Ditto.
4012 * gdb.base/pointers.exp: Ditto.
4013 * gdb.base/scope.exp: Ditto.
4014 * gdb.c++/derivation.exp: Ditto.
4015 * gdb.c++/local.exp: Ditto.
4016 * gdb.c++/namespace.exp: Ditto.
4017 * gdb.c++/overload.exp: Ditto.
4018 * gdb.c++/ref-types.exp: Ditto.
4019
44097287
FN
40202000-11-22 Michael Chastain <chastain@redhat.com>
4021
4022 * mips_pro.exp: Accept either "middle -> top -> main" or
4023 "middle -> main" in the backtrace, because gcc can optimize
4024 tail calls to jumps. Remove setup_xfail for the hppa case.
4025 Add a comment with the original warning messages from PR 3016,
4026 which was filed in 1993, to preserve them for posterity.
4027
9d2e1bab
ND
40282000-11-17 Nick Duffek <nsd@redhat.com>
4029
4030 * lib/gdb.exp (gdb_test): Override timeout with board info.
4031
1aca8eb7
ND
40322000-11-17 Nick Duffek <nsd@redhat.com>
4033
4034 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4035 the second kill and detach messages.
4036
93076499
ND
40372000-11-17 Nick Duffek <nsd@redhat.com>
4038
4039 * configure.in: Add AC_EXEEXT.
4040 * configure: Regenerate.
4041 * Makefile.in (just-check): Export EXEEXT.
4042 * lib/gdb.exp ($EXEEXT): Import from environment.
4043 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4044 expect "maint dump-me" on Cygwin.
4045 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4046 $EXEEXT.
4047
30e87cd3
ND
40482000-11-17 Nick Duffek <nsd@redhat.com>
4049
4050 * gdb.base/break.exp: Test backtrace and finish from called
4051 function on all platforms, not just HP-UX.
4052
dc96c6c7 40532000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4054
4055 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4056 code from gdb_target_monitor, so it can be used independantly
4057 for gdbserver. Also comment out an unnecessary PUTS.
4058
dc96c6c7 40592000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4060
4061 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4062 * gdb.base/corefile.exp: Expect the message "Program is being
4063 debugged already" when we send the "corefile" command, since
4064 the preceeding gdb_load may have connected gdb to a remote target.
4065 * gdb.base/display.exp: Disable hardware watchpoints if new
4066 board info variable "no_hardware_watchpoints" is true.
4067 Replace single-letter commands with more readable ones.
4068 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4069 if new board info variable "no_hardware_watchpoints" is true.
4070 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4071 to see if stdio (printf) testing is possible.
4072 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4073 board info variable "no_hardware_watchpoints" is true. Use new
4074 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4075
39124dea
FN
40762000-11-13 Fernando Nasser <fnasser@redhat.com>
4077
4078 From Orjan Friberg <orjanf@axis.com>:
4079 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4080 in array print pattern match.
4081
a9e2e984
FN
40822000-11-09 Fernando Nasser <fnasser@redhat.com>
4083
4084 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4085 spelling "cancelled" to U.S. spelling "canceled" to match changes
4086 made to gdb.
4087 * gdb.c++/ovldbreak.exp: Ditto.
4088
c7db355b
PS
40892000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4090
4091 * gdb.base/callfuncs.c (main): Moved to end of file, call
4092 t_double_values to initialize the FPU before inferior calls are made.
4093 * gdb.base/callfuncs.exp: Test for register preservation after calling
4094 inferior functions. Add tests for continuining, finishing and
4095 returning from a stop in a call dummy.
4096
dc96c6c7 40972000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4098
4099 * gdb.base/commands.exp: Break up long lines, and re-indent.
4100
dc96c6c7 41012000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4102
4103 * config/gdbserver.exp: Rewritten from the ground up, to make it
4104 compatible with the current dejagnu tree, and to make it work with
4105 the new "gdbserver" in libremote.
4106
dc96c6c7 41072000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4108
4109 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4110 * gdb.base/varargs.exp: Skip entire test if no printf support.
4111 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4112 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4113
dc96c6c7 41142000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4115
4116 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4117 no floating point support.
4118 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4119 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4120 * gdb.base/call-rt-st.exp: Ditto.
4121 * gdb.base/call-strs.exp: Ditto.
4122
bac5fc66
JG
41232000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4124
4125 * gdb.base/sizeof.c: include <stdio.h>.
4126
4127 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4128 'finish', otherwise uncaptured gdb_prompt would potentially
4129 throw remaining test points out of sync.
4130
b22a6027
SB
41312000-07-26 Scott Bambrough <scottb@netwinder.org>
4132
4133 * gdb.base/recurse.exp: Run tests for all targets.
4134 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4135 gnu-oldld case on ARM.
4136 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4137 for ARM targets.
4138
d8231941
AG
4139Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4140
4141 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4142 * gdb.java/configure: Rebuild.
4143
8caabe69
AG
4144Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4145
4146 * gdb.java/jv-exp.exp: New file.
4147
9d273ca3
AG
4148Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4149
4150 * configure: Rebuilt.
4151 * configure.in (configdirs): Add gdb.java.
4152 * gdb.java/jmisc.java: New file.
4153 * gdb.java/jmisc.exp: New file.
4154 * gdb.java/Makefile.in: New file.
4155 * gdb.java/configure: Rebuilt.
4156 * gdb.java/configure.in: New file.
4157 * lib/java.exp: New file.
4158
4f823a66
AC
4159Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4160
4161 * gdb.base/exprs.exp: Test casts to a pointer including over and
4162 underflow.
4163
2391e11d
AC
4164Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4165
4166 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4167 and the compilers sizes.
4168
54602222
ND
41692000-07-09 Nick Duffek <nsd@redhat.com>
4170
4171 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4172 (use_methods): New function.
4173 (main): Call use_methods().
4174 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4175 (do_tests): Call test_method_param_class.
4176
2bec0572
ND
41772000-07-09 Nick Duffek <nsd@redhat.com>
4178
4179 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4180 spelling.
4181 (test_enums): New procedure. Move enum tests from end of script
4182 to here. Set breakpoint on function name instead of line number.
4183 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4184 (enums2): New marker function.
4185 (enums1): New function.
4186 (main): Call enums1(). Move enum tests to enums1().
4187
78492fde
AC
4188Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4189
4190 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4191 compile/link program. Update line numbers.
4192 * gdb.asm/d10v.inc: Define ``startup''.
4193 * gdb.asm/asmsrc1.s: Add definition of _start.
4194
49a2cef8
AC
4195Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4196
4197 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4198
3e6c8688
EZ
41992000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4200
4201 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4202 of 'help maint print' command.
4203
9ff5cbe9
AC
4204Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4205
4206 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4207 they use gdb_expect_list.
4208
17c579bd
AC
4209Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4210
4211 * gdb.base/commands.exp: Use ``set remote
4212 memory-read-packet-size'' instead of ``set endian big'' to test
4213 long commands.
4214
e6d71bf3
DB
42152000-06-03 Daniel Berlin <dan@cgsoftware.com>
4216
4217 * gdb.c++/templates.exp (do_tests): Make all of these work under
4218 g++, and stop skipping them.
4219
4220 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4221 work under g++.
4222
e5f9ba7b
MS
4223 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4224 initialization.
4225
dc96c6c7 42262000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4227
4228 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4229 the regular expression: accept an (almost) arbitrary sequence of
4230 "frames-invalid" and "breakpoints-invalid" messages both before
4231 and after the "starting" message.
4232
dc96c6c7 42332000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4234
4235 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4236
dc96c6c7 42372000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4238
4239 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4240 Relax the regular expression a little, make it pass on Solaris 8.
4241
8216cda9
KB
42422000-05-12 Kevin Buettner <kevinb@redhat.com>
4243
4244 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4245 a call, do not require that gdb stop on the line after the call.
4246 Instead, it is permissible for gdb to stop on the line of the
4247 call itself.
4248
1a570b2f
MS
42492000-05-12 Michael Snyder <msnyder@.cygnus.com>
4250
4251 * gdb.base/break.exp (bp on small function, optimized file):
4252 Add a second pass pattern. The behavior differs here between stabs
4253 and dwarf for one-line functions. Stabs preserves two line symbols
4254 (one before the prologue and one after) with the same line number,
4255 but dwarf regards these as duplicates and discards one of them.
4256 Therefore the address after the prologue (where the breakpoint is)
4257 has no exactly matching line symbol, and GDB reports the breakpoint
4258 as if it were in the middle of a line rather than at the beginning.
4259
dc96c6c7 42602000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4261
4262 * gdb.base/interrupt.exp: Make "pass" message say "send"
4263 rather than "send_gdb" (for consistancy).
4264
7d418785
AC
4265Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4266
4267 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4268 * gdb.c++/templates.cc: Properly check for GCC version number.
4269 * lib/compiler.cc: Likewise
4270
dc96c6c7 42712000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4272
4273 * gdb.base/break.exp: When compiled with -O2 optimization,
4274 gdb may not stop at the first line of main, due to code motion.
4275
dc96c6c7 42762000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4277
4278 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4279 This test depends on parsing the printf output from the target.
4280 Since the sparclet stub doesn't do stdio, this will never work.
4281 * gdb.base/call-rt-st.exp: ditto.
4282 * gdb.base/call-strs: ditto.
4283
dc96c6c7 42842000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4285
4286 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4287
4288 * gdb.base/ending-run.exp: After connecting to a remote target,
4289 but before running, the target will appear to be in a random
4290 location. Specify both a file and a line for breakpoints.
4291 Also, the function that calls main may be called 'init'
4292 rather than 'start'.
4293
a5a51225
EZ
42942000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4295
4296 * gdb.base/help.exp: Update output for add-symbol-file command.
4297
7930cc7c
FN
42982000-04-10 Fernando Nasser <fnasser@cygnus.com>
4299
4300 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4301 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4302
23e37ab1
C
43032000-04-07 J.T. Conklin <jtc@redback.com>
4304
e93c542c
C
4305 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4306
23e37ab1
C
4307 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4308
591b8fa3
PDM
4309Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4310
4311 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4312 values that can be represented exactly.
4313 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4314 above change, and to not check against the directory part of the source
4315 file name.
4316 (step into print_long_arg_list): Likewise.
4317 (print print_small_structs from print_long_arg_list): Likewise.
4318 (print print_long_arg_list): Likewise.
4319
7a495180
EZ
43202000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4321
30b53638 4322 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4323
beb998c6
AC
4324Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4325
4326 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4327
1c689132
DB
43282000-03-25 Daniel Berlin <dan@cgsoftware.com>
4329
4330 * gdb.base/commands.exp (deprecated_command_test): Add test for
4331 deprecate with no arguments.
4332
c1790a9d
JL
43332000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4334
4335 * gdb.base/break.exp: Add new test for setting breakpoints on
4336 optimized code so we can test breakpoints work even when function
4337 prologues may be optimized away
4338
003ba290
FN
43392000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4340
4341 From David Whedon <dwhedon@gordian.com>
4342 * gdb.base/commands.exp : Added command deprecator tests.
4343
6837a0a2
DB
43442000-03-22 Daniel Berlin <dan@cgsoftware.com>
4345
4346 * gdb.base/help.exp: Added test for new apropos command.
4347
b9593231
KB
43482000-03-21 Kevin Buettner <kevinb@redhat.com>
4349
4350 * gdb.base/pointers.c (usevar): New function.
4351 (main): Make sure that global variables v_int_pointer2, rptr,
4352 and y are all referenced someplace in the program by calling
4353 usevar() on them. [Some linkers delete symbols which are
4354 never referenced. The space remains, but there's no way to
4355 get a (symbolic) handle on the variable from the debugger.]
4356
751a959b
EZ
43572000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4358
4359 * gdb.base/printcmds.c: Add typedeffed arrays.
4360
4361 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4362 procedure to test arrays that are typedef'd.
4363
73a93a32
JI
43642000-03-13 James Ingham <jingham@leda.cygnus.com>
4365
4366 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4367 the library directories.
73a93a32 4368
fb40c209
AC
4369Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4370
4371 * configure.in (configdirs): Add sub directory gdb.mi.
4372 * configure: Re-generate.
4373
4374 * gdb.mi: New directory.
beb998c6 4375
ee4dd2c9
AC
43762000-02-25 Scott Bambrough <scottb@netwinder.org>
4377
4378 * gdb.base/long_long.exp: Correct test suite failure when printing
4379 a long long value as a double on ARM platforms.
4380
70f0cc22
JB
43812000-02-16 Jim Blandy <jimb@redhat.com>
4382
4383 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4384 default source file is set properly before running this test.
4385
853819b8
EZ
43862000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4387
4388 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4389 gdbtk/library directory, not in gdbtcl2.
4390
dfcd3bfb
JM
43912000-02-04 Jim Blandy <jimb@redhat.com>
4392
4393 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4394 backslash from regexp pattern.
4395
4396 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4397 procedure. Use it to run all the "continue to bp overloaded"
4398 tests. Note that this changes the names of the tests slightly.
4399 If the breakpoint hit message includes a hex PC value, because
4400 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4401 from the real source code, still consider that a pass.
4402
4403 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4404 XFAIL here if the breakpoint message contains a hex address. Note
4405 similar change on 1999-11-02.
4406
4407 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4408
4409 * gdb.base/ptype.exp: Establish a default source file before
4410 calling get_debug_format.
4411
44122000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4413
4414 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4415
8b93c638
JM
44162000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4417
4418 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4419 of successive stepi commands -- while in the prologue we should see
4420 the function entry bracket.
4421
44222000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4423
4424 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4425 reach __change_mode() when stepping through the end of main().
4426
c5394b80
JM
44272000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4428
4429 * gdb.base/default.exp: Fix expected pattern.
4430 * gdb.base/help.exp: Same.
4431
0d06e24b
JM
44322000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4433
4434 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4435 Don't use xfail's because that affects only the following test.
beb998c6 4436
0d06e24b
JM
4437 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4438 solaris or linux.
4439
4440 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4441
dc96c6c7 44422000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4443
beb998c6 4444 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4445 "A syntax error" rather than "A parse error". Accept both.
4446
44472000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4448
4449 * gdb.base/default.exp: Remove OS dependent string from "target
4450 remote" test.
4451 * gdb.base/help.exp: Same for "help target remote" test.
4452
c3f6f71d
JM
44532000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4454
4455 From Jim Kingdon <kingdon@redhat.com>:
4456
4457 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4458 prompt (cleanup rather than necessity, but still might keep output
4459 from spilling to next test).
4460
44612000-01-02 Fred Fish <fnf@cygnus.com>
4462
4463 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4464 AIX, which defines them in <sys/types.h>.
4465
ed9a39eb 44661999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4467
ed9a39eb
JM
4468 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4469 float" test.
4470
44711999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4472
ed9a39eb 4473 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4474
4475 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4476 outermost frame disallowed".
4477
44781999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4479
4480 * gdb.base/setvar.exp: New tests for setting the value of a struct
4481 with a constant list.
4482
44831999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4484
4485 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4486 require the user to type a cast before setting the value of a struct.
4487
de57eccd
JM
44881999-12-06 Jim Blandy <jimb@cygnus.com>
4489
4490 * gdb.base/default.exp: Expect the new 'info float' command on
4491 all i386 platforms.
4492
4493 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4494 LinuxThreads libraries that don't support debugging.
4495
c2d11a7d
JM
4496Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4497
4498 * gdb.base/remote.c: Fill the buffer with truely random data.
4499 Change the buffer type to ``unsigned char'' to simplify size
4500 arithmetic.
4501
4502 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4503 stub only handles 400-1 byte packets. Verify that the download
4504 worked.
4505
45061999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4507
4508 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4509 tests, using UNRESOLVED for the untested cases. Also, does not wait
4510 for a timeout if the prompt was received before a recognizable pattern.
4511
45121999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4513
4514 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4515
45161999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4517
4518 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4519 watchpoints.
4520
45211999-11-24 Jason Merrill <jason@casey.cygnus.com>
4522
4523 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4524
4525 * gdb.c++/local.exp: Be more flexible in recognizing local class
4526 name mangling. Don't allow horribly truncated method names.
4527 * gdb.c++/derivation.exp: Expect protected inheritance.
4528 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4529 * gdb.c++/virtfunc.exp: Likewise.
4530 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4531 when printing a nested enum.
4532
45331999-11-22 Jim Blandy <jimb@cygnus.com>
4534
4535 * gdb.base/step-test.exp: Properly await GDB's response to setting
4536 a breakpoint on the call to large_struct_by_value.
4537
4538 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4539 just because we have debug info for the `start' function.
4540
45411999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4542
4543 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4544 "Unknown signal" messages, which indicate (on LinuxThreads) that
4545 GDB doesn't know how to debug threads on this system. This is
4546 better than hanging while philosopher 0 dumps chatter into gdb.log.
4547
45481999-11-18 Tom Tromey <tromey@cygnus.com>
4549
4550 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4551
45521999-11-18 Fred Fish <fnf@cygnus.com>
4553
4554 * gdb.base/coremaker2.c: Add sample program for generating
4555 cores that is more self contained than coremaker.c. Eventually
4556 I'll add more code to this and tie it into the testsuite.
4557
4ce44c66
JM
45581999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4559
4560 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4561
45621999-11-10 Jimmy Guo <guo@cup.hp.com>
4563
4564 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4565 from $srcdir/lib/.
4566 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4567 and gdb.c++/.
4568
4569 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4570
beb998c6 4571 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4572 'continue with watch' test point.
4573
45741999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4575
4576 Merged from p2linux-990323-branch:
beb998c6 4577
4ce44c66
JM
4578 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4579
11cf8741
JM
4580Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4581
4582 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4583 {limit,fixed}''. Test ``set download-write-size''.
4584
4585Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4586
4587 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4588 gdb_expect_list.
4589
4590Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4591
4592 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4593
45941999-11-03 Mark Salter <msalter@cygnus.com>
4595
4596 * gdb.base/break.exp: Fix "stub continue" pattern.
4597
45981999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4599
4600 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4601
46021999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4603
4604 * gdb.base/display.exp ("finish"): Add timeout clause.
4605
4606 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4607 plain prompt clause, so this doesn't have to time out in order to
4608 fail.
4609
4610 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4611 breakpoint hit messages include an address.
4612
4613 * gdb.base/display.exp: Don't forget to escape parens in regular
4614 expressions. Unix regexp notatation sucks.
4615
46161999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4617
4618 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4619 order for 'signalled' message.
4620
5c44784c
JM
46211999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4622
4623 From Jimmy Guo <guo@cup.hp.com>:
4624 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4625 * gdb.base/annota1.c: Add code for tests to work with.
4626
46271999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4628
4629 * gdb.base/remote.exp: New test for remote downloading settings.
4630 * gdb.base/remote.c: New file with large .data.
4631
917317f4
JM
46321999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4633
4634 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4635 for LinuxThreads support, merged from the Code Fusion branch.
4636
4637Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4638
4639 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4640 containing exp_continue into a while within an expect. Don't
4641 attempt a start more than three times. Check return value from
4642 gdb_load.
beb998c6 4643
2df3850c
JM
4644Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4645
4646 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4647 a pass case.
4648
2acceee2
JM
46491999-10-01 Kevin Buettner <kevinb@cygnus.com>
4650
4651 * gdb.base/break.c (main): Added a statement that we can step
4652 off of.
4653 * gdb.base/break.exp: Added tests for setting a breakpoint
4654 at an offset and stepping onto a breakpoint.
4655
46561999-10-01 Fred Fish <fnf@cygnus.com>
4657
beb998c6 4658 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4659 gdb output.
4660
c2c6d25f
JM
46611999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4662
4663 * gdb.base/break.exp: Code locations are in hex, don't forget!
4664 (For HP-UX.)
4665
46661999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4667
4668 * condbreak.exp: Use break.c as test program.
4669 * condbreak.c: Remove, redundant with break.c.
4670
46711999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4672
4673 * config/monitor.exp (gdb_target_monitor): Disable X- and
4674 Z-packets if the target needs it.
4675
46761999-09-13 James Ingham <jingham@leda.cygnus.com>
4677
4678 * gdb.c++/overload.exp: Added tests for listing overloaded
4679 functions with function pointers in the arg, explicitly calling
4680 out the version you want.
4681
cff3e48b
JM
46821999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4683
4684 * long_long.exp: Add variations of test cases that work for
4685 targets with 16-bit ints and 32-bit doubles.
4686
d4f3574e
SS
46871999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4688
4689 * break.c (main): Compare a possibly-uninitialized argc with an
4690 unlikely value that fits in 16 bits.
4691
46921999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4693
4694 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4695 0xfeeb, don't want negative numbers if ints are 16 bits.
4696
4697 * lib/gdb.exp (skip_cplus_tests): New proc.
4698 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4699 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4700 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4701 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4702 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4703 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4704 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4705 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4706
4707 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4708
4709Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4710
4711 * gdb.base/corefile.exp (up): Allow a parameter to appear
4712 in the frame that we're going up to.
4713
4714 From Jim Blandy <jimb@cygnus.com>:
4715
4716 * gdb.base/default.exp (info float): Expect some output now.
4717
4718 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4719 returning floating-point values to fail on the x86.
4720 * gdb.base/callfwmall.exp (do_function_calls): Same.
4721
4722 * gdb.base/list.exp (test_listsize): Correct expectations for
4723 listing line 1 with listsize 2. Also, listing a single line
4724 works now, as does listing three lines. [Kevin's note: There
4725 were a number of other cases fixed too where the expectations
4726 differed...]
4727
47281999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4729
4730 * gdb.base/selftest.exp: Add case for when version prints as
4731 constant string instead of char pointer.
4732
104c1213
JM
47331999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4734
4735 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4736 stepping out of main.
4737
4738 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4739 G++ used.
4740
4741 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4742 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4743
4744 * gdb.c++/ovldbreak.exp: Update match string in test that
4745 includes a warning of multiple breakpoints.
4746
47471999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4748
4749 * gdb.base/display.exp: Improve precision of step-after-finish
4750 added yesterday.
4751
4752 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4753 test.
4754
4755 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4756 configs when using G++, not just hppa*.
4757
47581999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4759
4760 * gdb.base/async.c: New file.
4761 * gdb.base/async.exp: New file.
4762
4763Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4764
4765 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4766 PA64.
4767
53a5351d
JM
4768Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4769
104c1213
JM
4770 * gdb.base/display.exp: "finish" can leave us mid-line on many
4771 targets, deal with it. Add a small constant to main, instead of
4772 1000 since main+1000 may not be a valid address in the target.
4773
53a5351d
JM
4774 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4775 on hpux11.
4776
4777 * gdb.base/attach.exp: Handle another hpux11 error message variant
4778 when attaching to a process that does not exist.
4779
47801999-08-19 J.T. Conklin <jtc@redback.com>
4781
4782 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4783 characters in 'continue to 1241' test.
4784
47851999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4786
4787 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4788 stop in print_long_arg_list, define and use a whitespace
4789 variable in print_small_structs test, add an XFAIL for Solaris.
4790 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4791 interested enough to fix.
4792
7be570e7
JM
47931999-08-13 Keith Seitz <keiths@cygnus.com>
4794
4795 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4796 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4797 proc knows about targets other than the natives.
4798 (test_assign): Use "gdb_run_cmd" to "run" the target.
4799 Check that we've actually hit the breakpoint at main.
4800 When we attempt to assign a value to a local variable, check
4801 that the variable is in the current scope, i.e., don't use
4802 a test with an empty result.
4803
4804Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4805
4806 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4807 command.
4808
48091999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4810
4811 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4812 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4813 gdb.compat, gdb.threads-hp.
4814 gdb.hp/configure, gdb.hp/configure.in: New files.
4815 gdb.hp/Makefile.in: Recurse into new subdirs.
4816 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4817 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4818 in object files.
4819 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4820
96baa820
JM
48211999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4822
4823 * gdb.base/display.exp: Help expect by putting a newline in the
4824 funky printf, remove a bogus p/a test.
4825
48261999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4827
4828 * gdb.base/display.exp: Make sure that when we say 'run', we are
4829 connected to the target. This is necessary when running not
4830 natively.
4831
48321999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4833
4834 * gdb.base/step-test.exp: Removed some extraneous messages.
4835
4836 * gdb.base/long_long.exp: Don't run memory examination tests
4837 on little-endian targets (they will need a different set of
4838 results to match).
4839
48401999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4841
4842 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4843 until somebody decides to fix GDB.
4844
4845 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4846 constant as "ULL".
4847 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4848 matches for a couple x/2 commands.
4849
a0b3c4fd
JM
48501999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4851
4852 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4853 by merging in ref-types2 tests.
4854 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4855
4856 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4857 * gdb.c++/Makefile.in: Add standard actions.
4858 (EXECUTABLES): Rename from PROGS, update list.
4859 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4860 from gdb.hp.
4861 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4862 foo and bar locals.
4863 * gdb.c++/anon-union.exp: Fix tests to match.
4864 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4865 expect matches to handle output variations.
4866 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4867 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4868 output, add HP alternatives for new and delete prints.
4869 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4870 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4871 * gdb.c++/demangle.exp: Use $style when reporting failure.
4872 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4873 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4874 match alternatives.
4875 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4876 compilers.
4877 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4878 * gdb.c++/method.exp: Add match alternatives.
4879 * gdb.c++/misc.cc: Add bool types.
4880 * gdb.c++/misc.exp: Add tests for bool types.
4881 * gdb.c++/overload.exp: Add xfails.
4882 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4883 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4884 add some more template parameter tests (only for HP currently).
4885 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4886 * gdb.c++/virtfunc.cc: Add return type and value for main.
4887 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4888 match alternatives.
beb998c6 4889
a0b3c4fd
JM
48901999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4891
4892 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4893
48941999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4895
4896 * gdb.base/signals.exp: Don't expect getting a backtrace from
4897 within a signal handler to fail on Linux.
4898
48991999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4900
4901 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4902 * lib/gdb.exp: Remove some gratuitious semicolons.
4903 (delete_breakpoints): Increase timeout.
4904 (gdb_expect): Add -notransfer option.
4905 (gdb_test): Use -notransfer option.
4906 (get_compiler_info): Add f77 case.
4907 (get_compiler): New proc, split out from gdb_preprocess, add f77
4908 case.
4909 (gdb_preprocess): Call get_compiler.
4910
4911 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4912 * gdb.base/attach.exp, gdb.base/display.exp,
4913 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4914 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4915 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4916 third arg to gdb_test.
4917 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4918 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4919 HP-UX xfails, add others.
4920 * gdb.base/completion.exp: Reflect name change of self-test.
4921 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4922 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4923 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4924 HP failure number.
4925 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4926 useless HP-UX 10.30 references.
4927 * gdb.base/maint.exp: Loosen matches.
4928 * gdb.base/pointers.c (main): Declare more_code.
4929 * gdb.base/pointers.exp: Match on output of a `next'.
4930 * gdb.base/structs.c: Add prototypes.
4931 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4932 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4933
49341999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4935
4936 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4937 command.
4938
49391999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4940
4941 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4942 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4943
4944 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4945 debug info. Deal with lack of signal hanlder info in stack.
4946
4947 From Jim Kingdon <kingdon@redhat.com>:
4948 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4949
5a2468f5
JM
49501999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4951
4952 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4953 gdb.base/foll-vfork.exp: Don't run for crosses.
4954
adf40b2e
JM
4955Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4956
4957 * gdb.base/configure.in: Check for gdbvars.exp instead of
4958 a1-selftest.exp.
4959 * gdb.base/configure: Re-generate.
4960
49611999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4962
4963 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4964 in trying to run first and name is too long.
4965
4966 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4967 pointers2.c and pointers2.exp, respectively.
4968 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4969 doschk happier.
4970
43e526b9
JM
49711999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4972
4973 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4974 callfuncs2.c and callfuncs2.exp.
4975
4976 * gdb.base/list.exp: Remove mistaken xfails.
4977 * gdb.base/list0.h: Add optional prototypes.
4978
9846de1b
JM
4979Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4980
4981 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4982 calling malloc.
4983 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4984 * ptype.exp: Move test for get_debug_format to before its first
4985 use.
4986
49871999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4988
4989 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4990 * gdb.base/annota2.cc, annota2.exp: Move from here.
4991 * gdb.c++/annota2.cc, annota2.exp: To here.
4992 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4993
43ff13b4
JM
4994Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4995
4996 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4997 a consistent format.
4998
085dd6e6
JM
49991999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5000
5001 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5002 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5003 HP compilers, also set the globals $true and $false.
5004
5005 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5006 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5007 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5008 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5009 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5010 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5011 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5012 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5013 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5014 whatis.c} Add C++ compatible function definitions and return
5015 types, add includes for library functions.
5016 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5017 * gdb.base/step-test.c (myglob): Rename from glob.
5018 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5019 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5020 files, move here from gdb.hp.
5021 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5022 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5023 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5024 Adjust line numbers in regexps.
5025
5026 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5027 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5028 instead of 0/1.
5029
5030 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5031 foll-vfork.exp: New files, move here from gdb.hp.
5032 * gdb.base/page.exp: New file, test of pagination command.
5033
5034 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5035 recursion test.
5036 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5037
5038 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5039 gdb.base/solib.exp: Fix compiler invocation process.
5040
5041 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5042 HP-UX 11, turn off overload resolution explicitly.
5043 * gdb.base/commands.exp: Set argument list explicitly, add
5044 watchpoint test.
5045 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5046 them work.
5047 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5048 expressions properly.
5049 * gdb.base/corefile.exp: Loosen the match slightly.
5050 * gdb.base/default.exp: Allow "Error accessing memory" message
5051 also.
5052 * gdb.base/display.exp: Skip over x/0 j if PA64.
5053 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5054 * gdb.base/interrupt.exp: Ditto.
5055 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5056 in use.
5057 * gdb.base/list.exp: Add xfails for HP-UX.
5058 * gdb.base/long_long.exp: Refine some of the numeric matches.
5059 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5060 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5061 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5062 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5063 * gdb.base/ptype.exp: Succeed on more varieties of output.
5064 * gdb.base/scope.exp: Add xfails for HP-UX.
5065 * gdb.base/sect-cmd.exp: Add more cases.
5066 * gdb.base/setvar.exp: Add xfails for HP-UX.
5067 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5068 * gdb.base/signals.exp: Match on void symbolically.
5069 * gdb.base/step-test.exp: Add case for PA64.
5070 * gdb.base/term.exp: Add exit and restart.
5071 * gdb.base/twice.exp: Clean up after self.
5072 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5073 * gdb.base/whatis.exp: Allow more ways to pass tests.
5074
5075 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5076 no longer useful.
5077
5078Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5079
5080 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5081 list of patterns.
5082 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5083 print_double_array(double_array)", "continuing to breakpoint
5084 1018", "print print_double_array(array_d)" and "continuing to
5085 1034" tests.
beb998c6 5086
085dd6e6
JM
50871999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5088
5089 * Makefile.in: Add empty html and install-html targets.
5090
50911999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5092
5093 * config/mt-*: Remove, these haven't been used since 1996.
5094
50951999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5096
5097 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5098 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5099 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5100
9e0b60a8
JM
51011999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5102
5103 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5104 simpler match case for the ptype of the big class.
5105
51061999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5107
5108 * gdb.exp: Fix test for gdb_prompt existence.
5109
51101999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5111
5112 * gdb.exp (gdb_test): Add fail after calls to perror.
5113
51141999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5115
5116 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5117
51181999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5119
5120 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5121
0f71a2f6
JM
5122Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5123
5124 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5125 malloc() is linked in.
5126
51271999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5128
5129 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5130 step at end.
5131
5132 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5133
51341999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5135
5136 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5137
cce74817
JM
5138Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5139
5140 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5141 * gdb.base/mips_pro.exp: Likewise.
5142
51431999-06-02 Keith Seitz <keiths@cygnus.com>
5144
5145 * gdb.c++/templates.cc: Change all "new" operators to throw
5146 an exception.
5147 * gdb.c++/cplusfuncs.cc: Likewise.
5148
5149 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5150
5151Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5152
5153 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5154 * gdb.base/ending-run.exp: When stepping out of main, accept a
5155 step into an arbitrary assembler file.
5156
392a587b
JM
51571999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5158
beb998c6 5159 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5160 "breakpoint-invalid" to be printed.
beb998c6 5161 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5162 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5163 * gdb.base/annota2.cc: Initialize a.x to 0.
5164
9e086581
JM
51651999-05-17 Keith Seitz <keiths@cygnus.com>
5166
5167 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5168 when "skip_float_tests" set.
5169 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5170 "print print_ten_doubles", and "step into print_long_arg_list".
5171 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5172 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5173 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5174 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5175 "skip_float_tests" is set.
5176 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5177 when "skip_float_tests" set.
beb998c6 5178
cd0fc7c3
SS
51791999-05-06 Keith Seitz <keiths@cygnus.com>
5180
5181 * gdb.base/annota2.cc: Include stdio.h.
5182
5183Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5184
5185 * gdb.base/crossload.exp: Remove, this has been disabled ever
5186 since BFD stopped including all targets, and cross-GDB gets
5187 plenty of testing anyway.
5188 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5189 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5190 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5191 * gdb.base/README: Remove, was doc for this.
5192 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5193 needed.
5194
b83266a0
SS
51951999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5196
5197 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5198 output.
5199
5200 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5201 * gdb.base/annota2.exp: New file. More annotation tests.
5202 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5203 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5204
52051999-04-23 Angela Marie Thomas <angela@cygnus.com>
5206
5207 * config/cfdbug.exp: New file.
5208
7a292a7a
SS
52091999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5210
5211 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5212 Marcus Daniel's and Dale Hawkins's demangler crashes.
5213
5214 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5215 test_lucid_style_demangling, test_arm_style_demangling,
5216 test_hp_style_demangling): Try Tom Tromey's core-dumping
5217 identifier under each demangling style.
5218
52191999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5220
5221 * gdb.c++/demangle.exp: Include the current demangling style
5222 in all test names.
5223 (current_demangling_style): New global variable.
5224 (set_demangling_style, test_demangling_core, test_demangling,
5225 test_demangling_exact): New functions.
5226 (test_gnu_style_demangling, test_lucid_style_demangling,
5227 test_arm_style_demangling, test_hp_style_demangling): Use those,
5228 instead of calling gdb_test and gdb_test_exact directly.
5229 (catch_demangling_errors): New function, which reports errors
5230 signalled by the demangling test functions in an orderly way.
5231 (do_tests): Use catch_demangling_errors.
5232
52331999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5234
5235 * gdb.base/signals.exp (test_handle_all_print): Use () for
5236 grouping in expressions, not {}.
5237
5238 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5239 initialized yet.
5240
52411999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5242
5243 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5244 are listed.
5245
52461999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5247
5248 * gdb.stabs/weird.exp: Test for CC being defined before
5249 looking at its value.
5250
52511999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5252
5253 * gdb.base/call-ar-st.exp: Remove stray '#'.
5254 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5255 "short int" and "long int".
5256 * gdb.c++/overload.cc: Cast the string added in the previous
5257 change, to mollify finicky HP compiler.
5258 * gdb.hp/reg-test.exp (testfile): Fix file name.
5259 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5260
7a292a7a
SS
5261 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5262 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5263 alternate form of enum ptype.
5264
c906108c
SS
52651999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5266
7a292a7a
SS
5267 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5268 * gdb.hp/*.exp: Change all to run compiler probe only after
5269 passing skip_hp_tests, so as not to waste time on guaranteed
5270 failure.
5271
c906108c
SS
5272 * gdb.c++/overload.cc: Pass string instead of char addr, always
5273 init ccpfoo.
5274 * gdb.c++/templates.cc: Fix syntax error.
5275
7a292a7a
SS
5276Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5277
5278 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5279 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5280 command.
5281
52821999-03-18 James Ingham <jingham@cygnus.com>
5283
5284 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5285
5286 * gdb.c++/method.exp: It was testing an uninitialized int on the
5287 stack and assuming it was positive.
5288
5289 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5290
5291 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5292 keep it from killing the rest of the tests.
7a292a7a
SS
5293 Use gdb_continue_to_end.
5294
5295 * gdb.base/sigall.exp: use gdb_continue_to_end.
5296
5297 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5298
5299 * gdb.base/display.exp: use runto_main, not run.
5300
beb998c6
AC
5301 * gdb.base/default.exp: Check for the current error message in the
5302 r abbreviation test.
7a292a7a
SS
5303 Add strongarm to the targets that know info float.
5304
beb998c6 5305 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5306 run which doesn't work with monitors.
5307
5308 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5309
5310 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5311
5312 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5313 program. Traps the case (in Cygmon) when the program never really
5314 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5315 more places, so I used my name. Sorry Mark...
5316
5317 * config/monitor.exp (gdb_target_monitor): added another
5318 target_info parameter: remotebinarydownload. This will set the
5319 remotebinarydownload flag if this is causing some boards trouble.
5320
53211999-03-18 Mark Salter <msalter@cygnus.com>
5322
5323 * lib/gdb.exp (continue_to_exit): New function.
5324
5325 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5326 * gdb.base/ending-run.exp: Ditto.
5327 * gdb.base/step-test.exp: Ditto.
5328
53291999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5330
5331 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5332 (suggested by Art Haas <ahaas@neosoft.com>).
5333
53341999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5335
5336 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5337
5338Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5339
5340 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5341 descriptions of types (short unsigned int vs unsigned short, etc).
5342
53431999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5344
5345 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5346 a call to strlen; sometimes we do have sources.
5347
53481999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5349
5350 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5351 character, so GDB won't print garbage after its end.
beb998c6 5352
c906108c
SS
5353 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5354 breakpoint there instead. Sometimes GCC emits memcpy to handle
5355 the large structures being passed by value, so we step into that
5356 instead of sum_array_print, which obscures what we're really testing.
5357 * gdb.base/step-test.exp: However, we do want a test that notices
5358 the bizarre steps into memcpy, so do that here. Add check for
5359 stepping into function calls that pass large structures by value.
5360 ("Is that a noun clause, or are you just happy to see me?")
5361 Remove all references to specific line numbers.
5362 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5363 New type and function.
5364 (main): Call large_struct_by_value, passing it a large struct by value.
5365 * lib/gdb.exp (gdb_get_line_number): New function.
5366
5367 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5368 more portable.
5369
7a292a7a
SS
53701999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5371
c906108c
SS
5372 * lib/gdb.exp: Doc fixes.
5373
7a292a7a
SS
53741999-03-05 Nick Clifton <nickc@cygnus.com>
5375
beb998c6 5376 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5377
53781999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5379
c906108c
SS
5380 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5381 commands. They're not germane to this test, and they don't work
5382 that way on remote targets.
5383
3fc11d3e
JM
53841999-03-01 James Ingham <jingham@cygnus.com>
5385
5386 * Changelog entries merged over from gdb development branch.
5387
3fc11d3e
JM
5388 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5389
5390 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5391 for outputting results of test run.
5392
2d4a1622 5393 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5394
5395 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5396
7a292a7a
SS
53971999-02-25 Felix Lee <flee@cygnus.com>
5398
5399 * lib/gdb.exp (debug_format): initialize
5400
c906108c
SS
54011999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5402
5403 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5404 * gdb.base/call-rt-st.c: Ditto.
5405
c906108c
SS
54061999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5407
5408 * gdb.threads/pthreads.exp (horiz): New variable.
5409 (test_startup): Fix regexps that capture thread numbers.
5410
54111999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5412
5413 * gdb.base/smoke.exp: Disambiguate two test case names (both
5414 called ``print'').
5415
5416Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5417
5418 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5419 compilation.
5420
54211999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5422
5423 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5424 actual output formatting.
5425 * gdb.base/smoke.exp: GDB removes leading 0's.
5426 * gdb.base/volatile.exp: Don't check type of remuneration;
5427 that variable is no longer defined in constvars.c.
5428 * gdb.base/step-test.c (main): Exit with explicit exit code.
5429 * gdb.base/step-test.exp: Remove two nexti checks--they are
5430 not portable.
5431
54321999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5433
5434 * gdb.base/help.exp ("help delete display"): Fix test to match
5435 gdb's output.
5436
5437 * gdb.base/long_long.c (known_types): Initialize values to zero.
5438 * gdb.base/long_long.exp: Step one more line
5439 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5440 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5441 unique test case names.
5442
5443Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5444
beb998c6 5445 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5446
5447 * gdb.c++/method.exp: Add missing close brace.
5448
54491999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5450
5451 * gdb.base/maint.exp: Use 'set height 0' to disable page
5452 prompting, not 'set height 400'.
5453
5454 Fix a bunch of timeouts.
5455 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5456 four separate tests, so expect doesn't take forever to match a ton
5457 of text against a regexp with lots of .* forms.
5458 ("maint print psymbols", "maint print symbols"): Make some of
5459 these greps more selective, so that expect doesn't try to wade
5460 through huge piles of output and time out.
5461
5462 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5463
5464 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5465 tests: one which doesn't expect shlib events to be reported, and
5466 another which does, but is XFAIL for all platforms other than
5467 HP/UX.
5468
5469 * gdb.base/break.exp: Teach the test suite that the `catch
5470 fork', `catch vfork', and `catch exec' commands produce error
5471 messages on platforms that don't provide these features.
5472
5473Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5474
5475 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5476 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5477 (shortening names from solib_threshold.exp etc), won't run on
5478 anything but HP-UX for the foreseeable future.
5479 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5480 reflect move.
5481
5482Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5483
5484 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5485 gdb.trace/Makefile.in (clean): Remove all test executables.
5486
5487Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5488
5489 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5490 successfully re-sets breakpoints in shared libraries.
5491 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5492
5493Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5494
beb998c6
AC
5495 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5496 and compiled w/o GCC.
c906108c
SS
5497
5498 * gdb.hp/watch-cmd.exp: ditto.
5499
5500 * gdb.hp/watch-hp.exp: ditto.
5501
5502 * gdb.hp/xdb1.exp: ditto.
5503
5504 * gdb.hp/xdb2.exp: ditto.
5505
5506 * gdb.hp/dbx.exp: ditto.
5507
5508Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5509
5510 * constvars.c: Remove C++-isms.
5511 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5512 with GCC.
5513
5514Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5515
5516 The following changes are part of the HP merge.
5517
5518 * gdb.base/break.exp: new tests to verify that catchpoints for
5519 fork, vfork, and exec don't trigger inappropriately.
5520
5521 * gdb.base/opaque.exp: compile one file at a time, then link.
5522
5523 * gdb.base/signals.exp: be more restrictive about which hppa
5524 systems receive a setup_xfail. new tests.
5525
5526 * gdb.base/solib_threshold.build: new file.
5527 * gdb.base/solib_threshold.exp: new file.
5528 * gdb.base/solib_threshold.link_opts: new file.
5529 * gdb.base/solib_threshold.mk: new file.
5530 * gdb.base/gen_solib_threshold.c: new file.
5531
5532 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5533 tests. New tests for enums inside classes.
5534
5535 * gdb.c++/compiler.cc: indicate support of template debugging.
5536
5537 * gdb.c++/demangle.exp: run hp style demangling tests.
5538
5539 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5540 tests.
5541
5542 * gdb.c++/misc.cc: changes to support new tests.
5543
5544 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5545 to support new tests.
5546
5547 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5548 gcc, then skip these tests.
5549
5550Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5551
5552 The following files are part of the HP merge; some had longer
5553 names at HP, but have been renamed to be no more than 14
5554 characters in length.
5555
5556 * gdb.hp/ambiguous.cc: new file.
5557 * gdb.hp/ambiguous.exp: new file.
5558 * gdb.hp/attach.exp: new file.
5559 * gdb.hp/attach2.exp: new file.
5560 * gdb.hp/classes-hp.exp: new file.
5561 * gdb.hp/ctti.exp: new file.
5562 * gdb.hp/ctti-add.cc: new file.
5563 * gdb.hp/ctti-add1.cc: new file.
5564 * gdb.hp/ctti-add2.cc: new file.
5565 * gdb.hp/ctti-add3.cc: new file.
5566 * gdb.hp/dbx.exp: new file.
5567 * gdb.hp/exception.cc: new file.
5568 * gdb.hp/exception.exp: new file.
5569 * gdb.hp/foll-exec.c: new file.
5570 * gdb.hp/foll-exec.exp: new file.
5571 * gdb.hp/foll-fork.c: new file.
5572 * gdb.hp/foll-fork.exp: new file.
5573 * gdb.hp/foll-vfork.c: new file.
5574 * gdb.hp/foll-vfork.exp: new file.
5575 * gdb.hp/inherit-hp.exp: new file.
5576 * gdb.hp/more-steps.exp: new file.
5577 * gdb.hp/namespace.cc: new file.
5578 * gdb.hp/namespace.exp: new file.
5579 * gdb.hp/optimize.exp: new file.
5580 * gdb.hp/pxdb.c: new file.
5581 * gdb.hp/pxdb.exp: new file.
5582 * gdb.hp/quicksort.exp: new file.
5583 * gdb.hp/reg-test.exp: new file.
5584 * gdb.hp/reg-test.s: new file.
5585 * gdb.hp/sized-enum.c: new file.
5586 * gdb.hp/sized-enum.exp: new file.
5587 * gdb.hp/start-stop.exp: new file.
5588 * gdb.hp/templ-hp.cc: new file.
5589 * gdb.hp/templ-hp.exp: new file.
5590 * gdb.hp/thr-lib.c: new file.
5591 * gdb.hp/thr-lib.exp: new file.
5592 * gdb.hp/thr-lib.h: new file.
5593 * gdb.hp/thr-liblib.c: new file.
5594 * gdb.hp/virtfun-hp.c: new file.
5595 * gdb.hp/virtfun-hp.exp: new file.
5596 * gdb.hp/watch-cmd.exp: new file.
5597 * gdb.hp/watch-hp.exp: new file.
5598 * gdb.hp/xdb1.exp: new file.
5599 * gdb.hp/xdb2.exp: new file.
5600 * gdb.hp/xdb3.exp: new file.
5601
5602Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5603
5604 The following files are part of the HP merge; some had longer
5605 names at HP, but have been renamed to be no more than 14
5606 characters in length.
5607
5608 * gdb.base/ss.h: new file.
5609 * gdb.base/call-ar-st.c: new file.
5610 * gdb.base/call-ar-st.exp: new file.
5611 * gdb.base/call-rt-st.c: new file.
5612 * gdb.base/call-rt-st-exp: new file.
5613 * gdb.base/call-strs.exp: new file.
5614 * gdb.base/ena-dis-br.exp: new file.
5615 * gdb.base/environ.exp: new file.
5616 * gdb.base/long_long.exp: new file.
5617 * gdb.base/sect-cmd.exp: new file.
5618 * gdb.base/shlib-cl2.exp: new file.
5619 * gdb.base/smoke.exp: new file.
5620 * gdb.base/so-impl-ld.c: new file.
5621 * gdb.base/so-impl-ld.exp: new file.
5622 * gdb.base/so-indr-cl.c: new file.
5623 * gdb.base/so-indr-cl.exp: new file.
5624 * gdb.base/varargs.exp: new file.
5625 * gdb.base/volatile.exp: new file.
5626 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5627 * gdb.base/display.exp: new file.
c906108c
SS
5628 * gdb.c++/derivation.exp: new file.
5629 * gdb.c++/local.exp: new file.
5630 * gdb.c++/member-ptr.exp: new file.
5631 * gdb.c++/overload.exp: new file.
5632 * gdb.c++/ovldbreak.exp: new file.
5633 * gdb.c++/ref-types.exp: new file.
5634 * gdb.c++/ref-types2.exp: new file.
5635 * gdb.c++/userdef.exp: new file.
beb998c6 5636
c906108c
SS
5637Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5638
5639 * gdb.base/default.exp: Reflect wording change in remote.c.
5640
dc96c6c7 5641Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5642
5643 * gdb.base/help.exp: Update to reflect current text.
5644
5645Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5646
5647 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5648 they're stack variables and contain garbage.
5649 * gdb.c++/anon-union.exp: new file.
5650
5651 The following changes were made by David Taylor
5652 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5653 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5654 in changes by HP.
5655
5656 * gdb.base/bitops.exp: new file.
5657 * gdb.base/default.exp: change expected messages for catch and
5658 info catch tests to reflect HP merge changes.
5659 * gdb.base/enable-disable-break.exp
5660 * gdb.base/ending-run.c: new file.
5661 * gdb.base/long_long.c: new file.
5662 * gdb.base/maint.exp: new file.
5663 * gdb.base/pointers2.exp: new file.
5664 * gdb.base/shlib-call2.exp: new file.
5665 * gdb.base/solib.exp: new file.
5666 * gdb.base/step-test.c: new file.
5667 * gdb.c++/anon-union.cc: new file.
5668 * gdb.c++/local.cc: new file.
5669 * gdb.c++/member-pointer.cc: new file.
5670 * gdb.c++/method.cc: new file.
5671 * gdb.c++/ref-types.cc: new file.
5672 * gdb.c++/ref-types2.cc: new file.
5673 * gdb.c++/userdef.cc: new file.
beb998c6 5674
c906108c
SS
5675 * gdb.base/scope.exp: compile one file at a time, then link.
5676 * gdb.base/langs.exp: ditto.
5677 * gdb.base/list.exp: ditto.
beb998c6 5678
c906108c
SS
5679Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5680
5681 The following changes were made by David Taylor
5682 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5683 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5684 in changes by HP.
beb998c6 5685
c906108c
SS
5686 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5687 skip tests. When compiling pass c++ flag to gdb_compile.
5688 * gdb.c++/
beb998c6 5689
c906108c
SS
5690 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5691 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5692 (skip_hp_tests): new function.
5693 (gdb_preprocess): new function.
5694
5695 * configure.in (hpdir): decide whether to configure gdb.hp.
5696 * configure: regenerated.
5697
5698 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5699 to delete on clean.
5700 (EXECUTABLES): update to reflect new additions.
5701 * gdb.base/commands.exp: update message expected.
5702 * gdb.base/default.exp: add copyright notice.
5703 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5704 * gdb.base/help.exp: update messages to reflect current text.
5705 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5706 targets for recurse tests.
5707 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5708 skip this file.
5709
5710 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5711 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5712 compilation.
5713 * gdb.c++/misc.exp: ditto.
5714 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5715 run the tests. tell gdb_compile that it's a c++ compilation.
5716
5717 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5718
c906108c
SS
5719 * gdb.base/all-bin.exp: new file.
5720 * gdb.base/arithmet.exp: new file.
5721 * gdb.base/assign.exp: new file.
5722 * gdb.base/completion.exp: new file.
5723 * gdb.base/cond-expr.exp: new file.
5724 * gdb.base/condbreak.exp: new file.
5725 * gdb.base/define.exp: new file.
5726 * gdb.base/dollar.exp: new file.
5727 * gdb.base/environment.exp: new file.
5728 * gdb.base/eval-skip.exp: new file.
5729 * gdb.base/jump.exp: new file.
5730 * gdb.base/logical.exp: new file.
5731 * gdb.base/pointers.exp: new file.
5732 * gdb.base/relational.exp: new file.
5733 * gdb.base/section_command.exp: new file.
5734 * gdb.base/whatis-expr.exp: new file.
5735
5736 * gdb.base/all-types.c: new file.
5737 * gdb.base/call-array-struct.c: new file.
5738 * gdb.base/call-return-struct.c: new file.
5739 * gdb.base/call-strings.c: new file.
5740 * gdb.base/callfuncs2.c: new file.
5741 * gdb.base/condbreak.c: new file.
5742 * gdb.base/constvars.c: new file.
5743 * gdb.base/display.c: new file.
5744 * gdb.base/int-type.c: new file.
5745 * gdb.base/jump.c: new file.
5746 * gdb.base/miscexprs.c: new file.
5747 * gdb.base/pointers.c: new file.
5748 * gdb.base/pointers2.c: new file.
5749 * gdb.base/shmain.c: new file.
5750 * gdb.base/shr1.c: new file.
5751 * gdb.base/shr2.c: new file.
5752 * gdb.base/solib.c: new file.
5753 * gdb.base/solib1.c: new file.
5754 * gdb.base/solib2.c: new file.
5755 * gdb.base/varargs.c: new file.
5756 * gdb.c++/derivation.cc: new file.
5757 * gdb.c++/overload.cc: new file.
5758 * gdb.c++/ovldbreak.cc: new file.
5759 * gdb.hp/attach.c: new file.
5760 * gdb.hp/attach2.c: new file.
5761 * gdb.hp/average.c: new file.
5762 * gdb.hp/compiler.c: new file.
5763 * gdb.hp/compiler.cc: new file.
5764 * gdb.hp/execd-program.c: new file.
5765 * gdb.hp/follow-exec.c: new file.
5766 * gdb.hp/follow-fork.c: new file.
5767 * gdb.hp/follow-vfork-and-exec.c: new file.
5768 * gdb.hp/misc-hp.cc: new file.
5769 * gdb.hp/more-steps.c: new file.
5770 * gdb.hp/optimize.c: new file.
5771 * gdb.hp/quicksort.c: new file.
5772 * gdb.hp/run-hp.c: new file.
5773 * gdb.hp/start-stop.c: new file.
5774 * gdb.hp/sum.c: new file.
5775 * gdb.hp/templates-hp.cc: new file.
5776 * gdb.hp/thread-local-in-lib.c: new file.
5777 * gdb.hp/thread-local-in-lib.h: new file.
5778 * gdb.hp/thread-local-in-lib.lib.c: new file.
5779 * gdb.hp/vforked-program.c: new file.
5780 * gdb.hp/virtfunc-hp.cc: new file.
5781 * gdb.hp/watchpoint-hp.c: new file.
5782 * gdb.hp/xdb.c: new file.
5783 * gdb.hp/xdb0.c: new file.
5784 * gdb.hp/xdb0.h: new file.
5785 * gdb.hp/xdb1.c: new file.
5786
5787Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5788
5789 The following change was made by Edith Epstein
5790 <eepstein@cygnus.com> as part of a project to merge in changes
5791 originally made by HP; HP did not create ChangeLog entries.
5792
5793 * gdb.c++/demangle.exp: changed the expected output for some
5794 ARM-style mangling -- removed second reference to datatype.
5795 For example, maint demangle __dt__11T1__pt__2_cFv
5796 T1<char>::~T1<char>(void)
5797 becomes,
5798 maint demangle __dt__11T1__pt__2_cFv
5799 T1<char>::~T1(void)
5800
5801 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5802
c906108c
SS
5803Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5804
5805 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5806 * gdb.trace/backtrace.exp: Likewise.
5807 * gdb.trace/circ.exp: Likewise.
5808 * gdb.trace/collection.exp: Likewise.
5809 * gdb.trace/deltrace.exp: Likewise.
5810 * gdb.trace/infotrace.exp: Likewise.
5811 * gdb.trace/limits.exp: Likewise.
5812 * gdb.trace/packetlen.exp: Likewise.
5813 * gdb.trace/passc-dyn.exp: Likewise.
5814 * gdb.trace/passcount.exp: Likewise.
5815 * gdb.trace/report.exp: Likewise.
5816 * gdb.trace/save-trace.exp: Likewise.
5817 * gdb.trace/tfind.exp: Likewise.
5818 * gdb.trace/tracecmd.exp: Likewise.
5819 * gdb.trace/while-dyn.exp: Likewise.
5820 * gdb.trace/while-stepping.exp: Likewise.
5821
58221998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5823
5824 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5825
5826Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5827
5828 From Brendan Kehoe:
5829 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5830 int return types.
5831
5832Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5833
5834 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5835 remote dos host testing right.
5836
5837Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5838
5839 * gdb.base/corefile.exp: remove some xfails.
5840
5841Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5842
5843 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5844 have different timestamps.
5845
5846Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5847
5848 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5849 gdb.base/default.exp: Replace "exec" with "executable".
5850
5851Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5852
5853 * gdb.base/default.exp: Change else if to elseif from previous
5854 delta.
5855
5856Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5857
5858 * gdb.base/default.exp: Add brace missing from previous delta.
5859
5860Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5861
5862 * gdb.base/default.exp: Support test for info float for all
5863 varieties of arm toolchain.
5864
dc96c6c7 5865Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5866
5867 * gdb.trace/*.exp: remove "remote_download" command.
5868
dc96c6c7 5869Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5870
5871 * gdb.trace/*.exp: remove -gdwarf from compile.
5872
5873Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5874
5875 * gdb.trace/configure.in(AC_INIT): typo
5876 * gdb.trace/configure: regenerated
5877
dc96c6c7 5878Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5879
5880 * config/m68k-emc.exp: New file.
5881 * lib/<emc-support.exp trace-support.exp}: New files.
5882 * configure.in: add new test directory gdb.trace.
5883 * gdb.trace/{configure configure.in Makefile.in}: New files.
5884 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5885 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5886 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5887 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5888 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5889 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5890 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5891
dc96c6c7 5892Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5893
5894 * gdb.c++/classes.exp: Change all regular expressions to match
5895 arbitrary combinations of newline/carriage-return, so that they
5896 will work equally well on Unix and Windows.
5897 * gdb.c++/inherit.exp: ditto.
5898 * gdb.c++/virtfunc.exp: ditto.
5899
59001998-08-11 Dawn Perchik <dawn@cygnus.com>
5901
5902 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5903
c2d11a7d
JM
5904Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5905
5906 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5907 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5908 to use a0-a3/d0-d3 as needed.
5909
5910Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5911
5912 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5913 * gdb.disasm/am33.exp: Corresponding changes.
5914
c906108c
SS
59151998-07-11 Felix Lee <flee@cygnus.com>
5916
5917 * gdb.base/callfuncs.exp: add cmp10 test.
5918 * gdb.base/callfuncs.c (cmp10): new function.
5919
5920Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5921
beb998c6 5922 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5923 into two parts to get around a synchronization problem in expect.
5924
3fc11d3e
JM
5925Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5926
5927 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5928
5929 * configure.in: Add options for gdbtk testsuite.
5930
5931 * configure: Regenerate.
5932
5933 * gdb.gdbtk: New directory to hold gdbtk tests.
5934
c906108c
SS
5935Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5936
5937 * gdb.fortran/types.exp: Escape brackets in expect patterns
5938 for test_float_literal_types_accepted tests.
5939 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5940 before run test.
5941
c2d11a7d
JM
5942Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5943
5944 * am33.exp: Just compile, do not link the testcase.
5945 * am33.s: Add ".am33" pseudoop to force am33 mode.
5946
c906108c
SS
59471998-06-25 Felix Lee <flee@cygnus.com>
5948
5949 * gdb.base/setshow.exp: make sure $pc is sane.
5950
5951 * gdb.stabs/weird.exp: split expect patterns properly.
5952
c2d11a7d
JM
5953Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5954
5955 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5956 * gdb.disasm/am33.exp: Run it.
5957
dc96c6c7 5958Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5959
5960 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5961 match processing (and eliminate spurious timeouts when running).
5962
dc96c6c7 5963Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5964
5965 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5966 exception test, but conditionalize it on target [mach | gnu].
5967
dc96c6c7 5968Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5969
5970 * gdb.base/overlays.exp: fixup compile line for linker script.
5971
5972Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5973
5974 * gdb.fortran/types.exp: don't guess at float size.
5975
5976Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5977
5978 * gdb.base/exprs.exp: delete test that depends on int size.
5979
5980Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5981
5982 * config/sim.exp: Removed checks for target triplets.
5983 (gdb_target_sim): Use gdb,target_sim_options.
5984
5985Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5986
5987 * gdb.base/reread.exp: New file.
5988 * gdb.base/reread1.c: New file.
5989 * gdb.base/reread2.c: New file.
5990
5991Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5992
5993 * config/sim.exp: Use 'target sim -sparclite' when running
5994 SPARClite programs.
5995
5996Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5997
5998 * gdb.base/structs2.exp: New file.
5999 * gdb.base/structs2.c: New file.
6000
6001Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6002
6003 * gdb.asm/common.inc: New file.
6004 * gdb.asm/d10v.inc: New file.
6005 * asm-source.exp: Pass -I's to gas to find .inc files.
6006 Update line numbers in expected output.
6007 * asmsrc1.s: Rewrite.
6008 * asmsrc2.s: Rewrite.
6009 * configure.in: Create arch.inc symlink.
6010 * configure: Regenerate.
6011 * Makefile.in (distclean): Delete arch.inc.
6012
6013Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6014
6015 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6016 (t_enum_value2): ditto
6017 (t_enum_value3): ditto
6018 (main): ditto
6019Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6020
6021 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6022 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6023 change.
6024 Use gdb_test instead of send_gdb/gdb_expect sequences.
6025
6026Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6027
6028 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6029 not void.
6030
6031Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6032
6033 * gdb.base/branches.c: Code with lots of loops and
6034 subroutines. Used to test gdbs ability to single step through PC
6035 changes, especially to test mips-tdep.c:mips_next_pc
6036
6037Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6038
6039 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6040 more rigorous EGCS C++ error checking.
6041
6042Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6043
6044 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6045 tests.
c906108c 6046 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6047 function when asleep.
c906108c 6048 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6049 for i*86 Linux and SVR4 signal handling problems.
6050 Remove linux xfail for `next to handler in signals_tests_1', fixed
6051 by recent infrun.c change.
c906108c 6052 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6053 stack backtraces.
c906108c
SS
6054 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6055 target.[ch] change.
6056
6057Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6058
6059 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6060 for a newline from gdb before continuing.
6061 (default_gdb_exit): Just look for y or n.
6062 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6063 it does, fail the rests of the tests in the file.
6064
6065Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6066
6067 * config/cygmon.exp: New file.
6068
6069Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6070
6071 * gdb.base/list.exp: Fix problem with "list default lines around
6072 main" test on remote targets.
6073
6074 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6075 run test on remote targets.
6076
6077Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6078
6079 * gdb.asm: New directory.
6080 * configure.in: Configure it.
6081 * configure: Regenerate.
6082 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6083 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6084
6085Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6086
6087 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6088
dc96c6c7 6089Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6090
c906108c
SS
6091 * gdb.base/overlays (several files): Merge the two overlay
6092 managers into one. Change variables (foox, barx, bazx, grbxx)
6093 back into ints but force them to load in their proper sections.
6094
6095Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6096
6097 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6098 on-chip insn memory and IMAP1 to upper 128k.
6099 (D10VCopy): Handle memory regions crossing 16k boundaries.
6100 (D10VCopy): Transfer data in 32 bit chunks.
6101
6102Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6103
6104 * gdb.base/overlays.c (main): Exit normally when result is
6105 correct.
6106
6107 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6108 map. Include space for printf in .text segment.
6109
6110 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6111 updated d10v memory VMA/LMA map.
6112 (D10VCopy): Call D10VTranslate.
beb998c6 6113
c906108c
SS
6114Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6115
6116 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6117
6118 * gdb.base/bar.c (barx, bar): Change variable to small array so
6119 that it won't be put into the .sdata - small data -
6120 section. Update reference.
6121 * gdb.base/baz.c (bazx, baz): Ditto.
6122 * gdb.base/foo.c (foox, foo): Ditto.
6123 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6124
6125 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6126 to be arrays.
beb998c6 6127
dc96c6c7 6128Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6129
c906108c
SS
6130 * gdb.base/overlays.exp: fix up and get working again.
6131 Add tests for backtraces from an overlay function.
beb998c6 6132
c906108c
SS
6133Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6134
6135 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6136 "calling function with watchpoint enabled".
6137
6138Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6139
6140 * gdb.base/break.exp (test_next_with_recursion): Remove
6141 gdb_suppress_tests for d10v-*-*.
6142 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6143 pending review of whether it is useful or not.
6144
6145Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6146
6147 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6148
6149Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6150
6151 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6152 * config/dve.exp: New file to support Densan boards.
6153
6154Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6155
6156 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6157 reads and BSD.
6158
6159Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6160
6161 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6162 response.
6163
6164 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6165
6166Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6167
6168 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6169 test.
6170
6171 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6172 target_sizeof_long and target_bigendian_p.
6173 (structs_by_value, structs_by_reference): Check values according
6174 to targets word size and endianess.
beb998c6 6175
c906108c
SS
6176Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6177
6178 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6179 output.
6180
6181Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6182
6183 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6184 Update test of set args help to match source change.
6185
6186Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6187
6188 * gdb.base/default.exp: Expect help system output to be in
6189 alphabetical order.
6190 * gdb.base/help.exp: Ditto.
6191
6192Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6193
6194 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6195 "i*86-pc-linux-gnu*".
6196 * gdb.base/interrupt.exp: Ditto.
6197 * gdb.base/corefile.exp: Ditto.
6198
6199 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6200 define vxworks when building the testcase.
6201
6202 * gdb.base/ptype.exp: Fix testnames to be unique.
6203 * gdb.base/radix.exp: Ditto.
6204 * gdb.base/term.exp: Ditto.
6205 * gdb.base/whatis.exp: Ditto.
6206 * gdb.c++/classes.exp: Ditto.
6207
6208Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6209
6210 * gdb.base/callfuncs.exp: Fix indentation.
6211
6212 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6213 suppress_flag has been set.
6214 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6215 target feature.
6216
6217Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6218
6219 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6220 the testcase.
6221
6222 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6223 set_debug_traps() and breakpoint().
6224 * gdb.c++/misc.cc (main): Ditto.
6225 * gdb.c++/templates.cc (main): Ditto.
6226 * gdb.c++/virtfunc.cc (main): Ditto.
6227
6228Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6229
6230 * lib/gdb.exp(gdb_step_for_stub): New function.
6231 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6232 exists, reload the executable and do a "continue" instead of
6233 doing a jump.
6234 (runto_main): Use gdb_step_for_stub.
beb998c6 6235
c906108c
SS
6236 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6237 tests to have unique names.
6238 * gdb.base/callfuncs.exp: Ditto.
6239 * gdb.base/commands.exp: Ditto.
6240 * gdb.base/default.exp: Ditto.
6241 * gdb.base/help.exp: Ditto.
6242 * gdb.base/list.exp: Ditto.
6243 * gdb.base/opaque.exp: Ditto.
6244 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6245 similar tests.
beb998c6 6246
c906108c
SS
6247 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6248 * gdb.c++/cplusfuncs.cc: Ditto.
6249 * gdb.c++/virtfunc.cc: Ditto.
6250
6251 * config/monitor.exp: Keep track of the last file we saw, rather
6252 than trying to get the info from gdb.
6253
6254 * gdb.fortran/types.exp: Move comment to previous line.
6255
6256Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6257
6258 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6259 target mode.
6260
6261Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6262
6263 From Bob Manson:
6264 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6265 string from GDB when it connects.
6266
6267 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6268
6269Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6270
6271 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6272 if we can't get a debug format from GDB (we may be testing an
6273 older GDB). Use a 10 second timeout when checking for the format.
6274
6275 * gdb.stabs/weird.exp: Fix quoting.
6276
6277 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6278
6279Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6280
6281 * config/arm-ice.exp: New file.
6282
6283Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6284
6285 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6286 until it has been modified to work with the new testsuite.
6287
99707966 6288 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6289 testcase won't compile, cause all of the testcases in the file to
6290 fail instead.
6291
6292 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6293 (gdb_clear_suppressed): New procedure.
6294 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6295 it contains a positive value.
6296
6297Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6298
6299 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6300
6301 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6302
6303Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6304
6305 * lib/gdb.exp (setup_xfail_format): New function.
6306 (get_debug_format): New function to get debug format.
6307 (debug_format): New global variable to hold last value set
6308 by get_debug_format.
6309 * gdb.base/list.exp: Call get_debug_format and expect some
6310 tests to fail for DWARF 1 and COFF formats.
6311 * gdb.c++/ptype.exp: Ditto.
6312 * gdb.c++/classes.exp: Ditto.
6313 * gdb.c++/cplusfuncs.exp: Ditto.
6314 * gdb.c++/inherit.exp: Ditto.
6315 * gdb.c++/templates.exp: Ditto.
6316 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6317
c906108c
SS
6318Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6319
6320 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6321 host doesn't have a currently-open connection.
6322
6323 * config/sparclet.exp: Cleanups and fixes to make it generic for
6324 any gdb stub target. Handle cases where gdb doesn't respond when
6325 interrupted in a sane fashion.
6326
6327 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6328 same thing in a totally different way.
6329
6330 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6331 setting "timeout".
6332 (gdb_start): We set the global gdb_prompt variable in
6333 default_gdb_init now.
6334
6335Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6336
6337 * gdb.base/printcmds.exp: Fix "check for floating addition"
6338 regexp to accept results within approx +/- .01 of exact value.
6339 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6340
6341Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6342
6343 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6344 properly.
6345 (gdb_expect): Add optional timeout parameter, and add timeout
6346 value to various calls.
6347 (gdb_suppress_tests): Only give one warning message per group.
6348
6349Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6350
6351 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6352 global variables. Handle getting a value for $timeout more
6353 gracefully.
6354
6355Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6356
6357 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6358 initialize.
6359 (default_gdb_init): New procedure; allow gdb_init to be overridden
6360 by a target configuration file.
6361 (gdb_expect): Pass the timeout to remote_expect.
6362
6363 * config/monitor.exp(gdb_load): Fix typo in regexp.
6364
6365Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6366
6367 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6368
6369Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6370
6371 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6372 here. Call gdb_target_exec before rebooting the target, to make
6373 sure the connection to the target is closed.
6374 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6375 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6376 Also detect "Timeout reading from remote" error.
6377
6378 * config/gdbserver.exp: Pass the executable being loaded to
6379 gdb_target_monitor. Don't call gdb_file_cmd here; let
6380 gdb_target_monitor do it.
6381
6382 * gdb.disasm/hppa.exp: Don't use exec_output.
6383
6384Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6385
6386 * gdb.base/list.exp: If we're debugging a non-native target,
6387 try to set the pc register to point to the start of the
6388 program before doing the first list command.
6389
6390 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6391 test_calls after restarting.
6392
6393 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6394 reloading.
6395
6396 * gdb.base/watchpoint.exp: Fix typo.
6397
6398 * gdb.base/setshow.exp: Check for use_gdb_stub.
6399
6400 * gdb.base/break.exp: Fix continue until exit test for the gdb
6401 stub case.
6402 * gdb.base/langs.exp: Ditto.
6403
6404 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6405 gdb_load_offset. If we weren't given a file to load, figure out
6406 what the current file is and use it.
6407
6408 * config/i386-bozo.exp: New file.
6409
6410Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6411
6412 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6413 feature.
6414
6415 * config/proelf.exp: New entry.
6416
6417Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6418
6419 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6420 of regexps.
6421
6422 * gdb.base/watchpoint.exp: Don't run the test_stepping
6423 tests if gdb can't call functions on the target.
6424
6425 * gdb.base/setshow.exp: Don't run the set prompt tests if
6426 the board has gdb_prompt set.
6427
6428Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6429
6430 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6431 * gdb.base/commands.exp: Likewise.
6432 * gdb.base/setshow.exp: Likewise.
6433
6434Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6435
6436 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6437 feature.
6438
6439 * config/i960.exp: New file.
6440
6441Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6442
6443 * gdb.base/funcargs.exp: Check for gdb,short_int target
6444 feature instead of looking for explicit target triplets.
6445
dc96c6c7 6446Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6447
beb998c6 6448 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6449 "p 123DEADBEEF", to check parse_number.
6450 * top.c: change "to enable to enable" to "to enable" in a couple
6451 of help strings.
6452
6453Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6454
6455 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6456 on the mn10300.
beb998c6 6457
c906108c
SS
6458Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6459
6460 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6461 where the test executable is run with explicit args.
6462 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6463
6464Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6465
6466 * gdb.base/run.c: Use FAKEARGV to build test executable that
6467 does not require a command line arg, since most simulators
6468 don't currently support passing such an arg into the simulated
6469 program.
6470 * gdb.base/commands.exp: Change tests to insert the proper
6471 value as the arg to the first recursive factorial call. Change
6472 compilation line to define FAKEARGV at compile time.
6473
6474Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6475
6476 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6477 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6478 function with watchpoint enabled" test.
6479
6480Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6481
6482 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6483 Don't call gdb_test when the command doesn't return to a gdb prompt.
6484
6485 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6486 "Tests restarted" messages.
6487
6488Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6489
6490 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6491
dc96c6c7 6492Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6493
6494 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6495 for INFO SYMBOL; add help tests for OVERLAY commands.
6496 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6497 add tests for OVERLAY commands
6498 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6499 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6500 * gdb.base/sigall.c: add usestubs code frag
6501 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6502
c906108c
SS
6503Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6504
6505 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6506 failures.
6507 (gdb_stop_suppressing_tests): Note that tests have restarted.
6508
6509Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6510
6511 * config/h8300.exp: New file.
6512
6513Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6514
6515 * gdb.base/setshow.exp: Check for the existence of a
6516 feature, not its value.
6517
6518Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6519
6520 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6521
6522 * gdb.base/scope.exp: It's now init0(), not init().
6523
6524 * gdb.base/scope0.c: For now, change init() to be init0().
6525
6526 * config/monitor.exp: Use gdb_serial in preference to serial
6527 or netport.
6528
6529 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6530 and it's not already set.
6531
6532Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6533
6534 * gdb.base/setshow.exp: Only test the run command if the target
6535 isn't using a stub and if it supports argument passing.
6536
6537Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6538
6539 * config/udi.exp(gdb_start): Make sure UDICONF is set
6540 properly before starting gdb.
6541
6542Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6543
6544 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6545 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6546 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6547
6548Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6549
6550 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6551 specialized code to reboot the board, use remote_reboot instead.
6552
6553 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6554
6555 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6556
6557 * config/monitor.exp: Make sure we disconnect from the target.
6558 Also, try a reboot/reload cycle instead of failing if the
6559 load fails.
6560
6561Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6562
6563 * gdb.base/default.exp: Don't set match_max.
6564 * gdb.base/help.exp: Ditto.
6565 * gdb.base/list.exp: Ditto.
6566 * gdb.base/signals.exp: Ditto.
6567
6568 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6569 set, use remote_ld to download the testcase instead of
6570 the GDB loader.
6571
6572Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6573
6574 * config/vr5000.exp: New file.
6575
6576 * config/monitor.exp(gdb_target_monitor): Add pattern for
6577 "Ending remote" to detect errors in connecting.
6578
6579 * gdb.base/setshow.exp: Add .* within auto language test.
6580
6581 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6582 target feature.
6583
6584 * config/monitor.exp(gdb_load): Check for a failure when loading,
6585 and reboot the board if necessary.
6586
6587 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6588 a set of tests. Remove print.* from the patterns being checked.
6589
6590Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6591
6592 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6593 refer to gdb_spawn_id.
6594
6595 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6596 longer used.
6597 * config/sparclet.exp: Ditto.
6598 * config/sparclet-old.exp: Ditto.
6599 * config/slite.exp: Ditto.
6600 * config/sim.exp: Ditto.
6601 * gdb.base/funcargs.exp: Ditto.
6602
6603 * lib/gdb.exp:Remove references to gdb_spawn_id.
6604 (gdb_expect): Move to remote.exp.
6605
6606Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6607
6608 * config/monitor.exp: Detect the "Couldn't establish connection"
6609 message from GDB.
6610
6611Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6612
6613 * gdb.base/bitfields.exp: Use runto instead of explicit
6614 gdb_run_cmd/gdb_expect sequences.
6615
6616 * gdb.base/break.exp(text_next_with_recursion): Add match for
6617 gdb_expect call.
6618
6619 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6620 We also need to handle the "A program is being debugged already"
6621 prompt from gdb. Use gdb_test to set the baud rate.
6622
6623 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6624 to 20000. Really. I mean it.
6625
6626Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6627
6628 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6629 fails. If suppress_flag is set, skip perror message about not
6630 being able to send to GDB.
6631 (send_gdb): If suppress_flag is set, don't try to send commands to
6632 GDB.
6633 (gdb_expect): If suppress_flag is set, always fail immediately.
6634 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6635 (gdb_init): Call gdb_stop_suppressing_tests.
6636 (default_gdb_exit): Ditto.
6637 (default_gdb_start): Ditto.
6638
6639 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6640 gdb_stop_suppressing_tests as appropriate.
6641 * gdb.base/break.exp: Ditto.
6642 * gdb.base/callfuncs.exp: Ditto.
6643 * gdb.base/commands.exp: Ditto.
6644 * gdb.base/exprs.exp: Ditto.
6645 * gdb.base/funcargs.exp: Ditto.
6646 * gdb.base/list.exp: Ditto.
6647 * gdb.base/recurse.exp: Ditto.
6648 * gdb.base/scope.exp: Ditto.
6649 * gdb.base/structs.exp: Ditto.
6650 * gdb.c++/inherit.exp: Ditto.
6651
6652Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6653
6654 * config/vr4300.exp: New file.
6655
99707966
MC
6656 * gdb.*/*.exp: Call gdb_expect instead of expect.
6657
6658 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6659
6660Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6661
6662 * lib/gdb.exp(gdb_init): New function.
6663
6664 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6665 for each individual variable set.
6666
6667 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6668 name.
6669
6670 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6671
6672 * gdb.base/scope.exp: Use gdb_test.
6673
6674 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6675 aborting; the testsuite driver will do that for us (see
6676 gdb_finish). Also, use gdb_test in a few more places.
6677
6678Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6679
6680 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6681
6682Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6683
6684 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6685 and "add_tests" are not at the same address.
6686
6687Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6688
6689 * gdb.base/ptype.exp: Use gdb_test.
6690
6691Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6692
6693 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6694 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6695 left in. No longer expect them to fail.
6696
6697 * gdb.stabs/*.mt; Deleted, no longer used.
6698 * gdb.stabs/configure.in: Remove references to target makefile
6699 frags.
6700 * gdb.stabs/configure: Rebuilt.
6701
6702 * gdb.disasm/*.mt: Deleted, no longer used.
6703 * gdb.disasm/configure.in: Remove references to target makefile
6704 frags. Use "sh3.s" as the unique filename for this directory.
6705 * gdb.disasm/configure: Rebuilt.
6706
6707 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6708 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6709 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6710
6711Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6712
6713 * config/udi.exp: Use mondfe,name instead of remote_host.
6714
6715Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6716
6717 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6718 a function with a watchpoint enabled on the mn10200.
6719
6720 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6721 before trying to create it!
6722
6723Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6724
6725 * config/vx.exp: Use hostname instead of netport.
6726
6727 * config/vxworks.exp: New file.
6728
6729 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6730
6731 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6732 gdb before assuming everything worked. Send a ^C if a timeout
6733 occurs.
6734
6735 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6736 $gdb_spawn_id directly.
6737 (gdb_run_cmd): Try _start as well as start. Use the target feature
6738 gdb,start_symbol as the symbol to start from when jumping.
6739
6740Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6741
6742 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6743 redundant) test.
6744
6745 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6746 it doesn't lose for 16bit integer systems.
6747
6748Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6749
6750 * gdb.fortran/types.exp: If the target doesn't support "double"
6751 data types, then expect "real" types to only be 4 bytes.
6752
6753 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6754 call tests if the target doesn't support inferior function calls.
6755
6756 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6757 in printf tests.
6758
6759Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6760
6761 * gdb.base/help.exp: Disable "help set", "help show", and
6762 "help support". Simplify regexp for "help stack".
6763
6764 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6765 to 60 seconds. Temporarily set match_max to 15000 around the
6766 "info copying" test.
6767
6768 * gdb.base/nodebug.exp: Don't try to do an inferior function
6769 call if the target doesn't support them.
6770 * gdb.base/printcmds.exp: Likewise.
6771 * gdb.base/setvar.exp: Likewise.
6772 * gdb.base/structs.exp: Likewise.
6773 * gdb.c++/templates.exp: Likewise.
6774 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6775
6776 * gdb.base/recurse.exp: Enable for the mn10200.
6777
6778 * configure.in: Do configure gdb.stabs directory for *-*-elf
6779 targets.
6780 * configure: Rebuilt.
6781
6782 * gdb.base/break.exp: Check for gdb,noresults before testing
6783 exit status and/or results from the target.
6784 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6785 * lib/gdb.exp: Remove old (now bogus) initialization of
6786 noinferior, noargs, noresults and nosignals.
6787
6788Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6789
6790 * config/sh.exp: New file.
6791
6792 * config/slite.exp: Try to connect multiple times to the board
6793 before rebooting. Only send a "monitor run" if need_monitor_run
6794 is set.
6795
6796 * gdb.base/break.exp: Don't do the "stub continue" test if
6797 the target has gdb_stub set.
6798
6799 * gdb.base/callfuncs.exp: Increase the timeout.
6800
6801 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6802 if the target has gdb,noinferiorio set.
6803
6804 * gdb.base/list.exp: Increase match_max to 10000 characters.
6805
6806 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6807
6808 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6809 target.
6810
6811 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6812
6813Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6814
6815 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6816 trying to delete the copy of gdb. Catch the file delete so we
6817 don't die if the delete fails; also, the file should be copied to
6818 the host, not to the build.
6819
6820Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6821
6822 * lib/gdb.exp(gdb_test): Surround the result pattern with
6823 parenthesis in case it contains multiple regexps separated
6824 with |.
6825
6826 * gdb.base/watchpoint.exp: Use gdb_test.
6827 * gdb.base/default.exp: Ditto.
6828
6829Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6830
99707966 6831 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6832
c906108c
SS
6833 * gdb.base/scope.exp: Use gdb_test.
6834 * gdb.c++/classes.exp: Ditto.
6835 * gdb.c++/inherit.exp: Ditto.
6836
6837Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6838
6839 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6840 remote_exec instead.
6841 * gdb.base/corefile.exp: Don't be ridiculous.
6842 * gdb.base/*.c: Add missing stub invocations.
6843
6844Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6845
6846 * config/slite.exp: Miscellaneous fixes.
6847
6848 * lib/gdb.exp: Fix runto.
6849
6850 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6851 the target.
6852
6853 * gdb.base/watchpoint.exp: Fix regexp.
6854
6855 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6856 close and wait commands, as the descriptor may now be
6857 invalid. Always call "remote_close host".
6858
6859Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6860
6861 Major rewrite for testsuite revision.
beb998c6 6862
c906108c
SS
6863 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6864 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6865 instead of relying on spawn_id to always contain a valid
6866 spawn id.
6867 (get_compiler_info): New procedure to build the ${binfile}.ci
6868 file, instead of replicating this in N different places.
6869 (gdb_compile): New procedure.
beb998c6 6870
c906108c
SS
6871 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6872 appropriate arguments) instead of compile. Use gdb_test in a lot
6873 more places. Use send_gdb instead of send. Always run gdb_start
6874 at the start of a testcase, as this is no longer done magically.
6875
6876 config/*-gdb.exp: Rename without the -gdb suffix.
6877
6878 config/mips.exp: Use remote_close instead of exit_remote_shell.
6879 config/monitor.exp: Use target_info instead of looking at
6880 baud, timeout, etc.
6881 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6882
6883Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6884
6885 * gdb.c++/templates.exp (test_ptype_of_templates),
6886 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6887 Update expect patterns for destructors and assignment operators
6888 to match corresponding c-typeprint.c changes.
6889 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6890 to destructor breakpoint test, GDB should be able to set the
6891 destructor breakpoint without specifying arguments.
6892
6893Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6894
6895 * gdb.threads/pthreads.exp: Change result for failure to compile due
6896 to lack of pthreads runtime support from an error to simply an
6897 unsupported test, per dejagnu standards.
6898
6899Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6900
6901 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6902 where GDB exits to reduce pattern match time.
6903 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6904
6905 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6906
dc96c6c7 6907Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6908
6909 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6910 * gdb.base/default.exp: ditto.
6911 * gdb.base/nodebug.exp: ditto.
6912 * gdb.base/printcmds.exp: ditto.
6913 * gdb.base/ptype.exp: ditto.
6914 * gdb.base/setvar.exp: ditto.
6915 * gdb.base/structs.exp: ditto.
6916 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6917
6918Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6919
6920 * configure, */configure: Rebuild with autoconf 2.12.
6921
6922Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6923
6924 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6925 use new i*86-pc-linux*-gnu quads.
6926 * gdb.base/corefile.exp: Ditto.
6927 * gdb.base/signals.exp: Ditto.
6928 * gdb.base/sigall.exp: Ditto.
6929 * gdb.base/interrupt.exp: Ditto.
6930
6931 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6932 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6933 RedHat 4.0.
beb998c6 6934
c906108c
SS
6935 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6936 linux. This allows the test case to at least compile on latest
6937 linux, but still not run due to missing the threads runtime library.
6938
6939Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6940
6941 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6942 directory to search gdb directory. Accept and step over conditional
6943 stack alignment code. Consume $prompt in failure cases.
6944 Reset timeout to $oldtimeout instead of some arbitrary value.
6945 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6946 timeout problems with infinite stack backtraces.
6947 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6948 Accept function parameters for linkfunc member.
6949
6950Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6951
6952 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6953 (CXXFLAGS): Remove, unreferenced.
6954 (B_OPTIONS): Add for -B options and add code to initialize with
6955 previous -B options and also add -B option to pick up cross compiled
6956 runtime.
6957 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6958 doing cross compiles.
6959 (target_alias): Declare global.
6960 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6961 to verify that gcc exists in build tree, and if so set CC to that
6962 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6963
c906108c
SS
6964Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6965
6966 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6967 ptype test for anonymous union. Fixup testcase to match
6968 current gcc debug output.
6969
6970Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6971
6972 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6973 force argument to an unsigned long type.
6974
6975Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6976
6977 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6978 tests and anonymous union print/ptype tests.
6979 * gdb.base/list.exp (test_forward-search): Increase timeout by
6980 5 minutes for the "search extremely long line" case.
6981 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6982 completely optional and that the pass/fail messages use the command as
6983 the message if that third arg is a null string.
6984 (gdb_test_exact): Arrange that a null string pattern means match a
6985 null string output rather than any output, which might include random
6986 errors.
6987 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6988 backtrace test.
6989 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6990 always failing and failure is now exposed by gdb.exp changes.
6991
6992Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6993
6994 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6995 weren't being noted.
6996
6997Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6998
6999 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7000 * gdb.stabs/weird.exp: Remove v_comb xfails.
7001
dc96c6c7 7002Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7003
7004 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7005 list.exp scope.exp watchpoint.exp]
7006 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7007
dc96c6c7 7008Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7009
7010 * config/monitor.exp: Increase download timeout to 1000 seconds.
7011
dc96c6c7 7012Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7013
7014 * config/m32r.exp: Increase timeout to 120 seconds.
7015
7016Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7017
7018 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7019 and accept older ordering as obsolescent gcc or gdb.
7020 * gdb.c++/templates.exp: Ditto.
7021 * gdb.c++/virtfunc.exp: Ditto.
7022
7023Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7024
7025 * gdb.base/coremaker.c: Add code to mmap some data so we
7026 can check that it ends up in the core file.
7027 * gdb.base/corefile.exp: Add test to read mmapped data
7028 from core file.
7029
dc96c6c7 7030Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7031
7032 * config/m32r.exp: New file.
7033
7034Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7035
7036 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7037 that cflags can contains -gstabs, and work correctly for other tests.
7038
dc96c6c7 7039Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7040
7041 * gdb.base/setshow.exp: New file, tests show and set.
7042 * gdb.base/setshow.c: New file, tests show and set.
7043 * gdb.base/help.exp: Add test for help set|show annotate.
7044 * gdb.base/default.exp: Add test for set|show annotate.
7045
7046Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7047
7048 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7049 errors unique.
7050 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7051 explicitly.
7052
7053Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7054
7055 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7056 and width commands. This is done elsewhere.
7057 * (gdb_start): Don't call gdb_start_sim here. That's already
7058 done in gdb_load. This fixes lots of failures in default.exp.
7059
7060Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7061
7062 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7063 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7064 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7065 in the same we we treat other failures (since it may be an expected
7066 condition), rather than as an error.
7067 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7068 old test format.
7069
7070Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7071
7072 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7073 (distclean maintainer-clean realclean): No need to remove files
7074 twice. Nuke the duplicates.
7075 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7076 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7077 Remove config.h along with other config files.
7078
7079Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7080
7081 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7082 "p func1 ()" and note that rests of tests are skipped.
7083 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7084 setup_xfails for "print func2::coremaker_local".
7085 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7086 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7087 affected by the previous run test.
7088 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7089 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7090 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7091 "pass int powerset tuple" and "pass modeless int powerset tuple".
7092 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7093 "real write 4" and "real write 8".
7094 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7095 setup_xfails for "print vs1 after tuple assign 2",
7096 "print \$i after tuple assign 2", and
7097 "print vs2 after tuple assign 2".
7098 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7099 meaningful error message and return -1 so the caller can
7100 suppress further tests and avoid a cascade of errors.
beb998c6 7101
c906108c
SS
7102Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7103
7104 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7105 format for printing version.
7106 * gdb.base/default.exp: Ditto.
7107 * gdb.base/interrupt.exp: Fix problem with cascade of
7108 errors if child process dies while calling a function.
beb998c6 7109
c906108c
SS
7110Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7111
7112 * Makefile.in (VPATH): Add
7113 * Makefile.in (Makefile, config.status): Fix rules so things get
7114 remade when necessary.
7115
7116Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7117
7118 * Makefile.in (just-check): Add path to sibling expect dir
7119 to environment variable specified by RPATH_ENVVAR.
7120
7121Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7122
7123 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7124 (just-check): Add shared library paths for libstdc++, tk,
7125 tcl, bfd, and opcodes to the environment variable specified
7126 in RPATH_ENVVAR.
7127 * configure.in: Add support to recognize --enable-shared flag
7128 and generate correct value for RPATH_ENVVAR.
7129 * configure: Regenerated with autoconf.
7130
7131Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7132
7133 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7134 include all osf versions.
7135 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7136 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7137 when target is linux. When failing to build pthreads test
7138 executable, give more meaningful message.
7139 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7140 arg for pthread_create.
beb998c6 7141
c906108c
SS
7142Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7143
7144 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7145 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7146 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7147 and -lpthreads (everybody else).
7148 (test_startup): Fail gracefully if threads are not supported.
7149 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7150 "p/c array_index("abcdef",2)" when not gcc compiled.
7151 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7152 "print func2::coremaker_local" when not gcc compiled.
7153 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7154 "ptype on opaque struct tagname (statically)",
7155 "ptype on opaque struct tagname (dynamically) 1", and
7156 "ptype on opaque struct tagname (dynamically) 2"
7157 for not compiled with gcc.
7158 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7159 backtrace when compiled with gcc.
beb998c6 7160 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7161 than always return success.
7162
7163Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7164
7165 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7166
7167Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7168
7169 * gdb.base/structs.exp: Undo last change.
7170
7171Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7172
7173 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7174 encapsulate all the steps/nexts done during self test, starting
7175 at main, and makes them less sensitive to optimization issues.
7176 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7177 signal handler" test.
7178 * gdb.threads/pthreads.exp: Only run this for native configs.
7179 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7180 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7181 tests.
7182 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7183 for "runto test_calls(void)" test.
beb998c6 7184
c906108c
SS
7185Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7186
7187 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7188 and don't expect address info in breakpoint confirmations.
7189
7190Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7191
7192 * gdb.base/list.exp (test_forward_search): Increase timeout
7193 temporarily by 60 seconds for searching extremely long line,
7194 and then reset to old value when done. Increase expect input
7195 buffer to 10000.
7196
7197Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7198
7199 * gdb.base/list.exp (test_forward_search): Fix to handle very
7200 long source line without overflowing expect's input buffer.
7201
7202Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7203
7204 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7205 "buffer_full".
7206
7207 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7208 "buffer_full".
7209
7210 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7211 "buffer_full".
7212
7213 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7214 "buffer_full".
7215
7216Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7217
7218 * configure.in (configdirs): Add gdb.threads.
7219 * configure: Regenerated with autoconf.
7220 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7221 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7222 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7223
c906108c
SS
7224Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7225
7226 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7227
7228Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7229
7230 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7231 each signal's status in the output of "handle all print".
7232 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7233 the \r\n sequence that immediately precedes the gdb prompt.
7234 * gdb.base/a1-selftest.exp: Save original timeout and restore
7235 after test.
7236
7237Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7238
7239 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7240 symbol.
7241
7242Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7243
7244 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7245
7246Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7247
7248 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7249 timeout by 60 seconds.
7250
7251Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7252
7253 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7254 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7255 error return.
7256
7257Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7258
7259 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7260 gdb initialization, also report how long dejagnu waited. Restore
7261 old timeout before doing error return. Temporarily increase timeout
7262 by 3 minutes to allow for slow startups over heavy NFS use.
7263
7264Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7265
7266 * lib/gdb.exp: Report timeout value for verbosity level 2.
7267 * config/gdbserver.exp: Ditto.
7268 * config/hppro.exp: Ditto.
7269 * config/mips-gdb.exp: Ditto.
7270 * config/monitor.exp: Ditto.
7271 * config/netware.exp: Ditto.
7272 * config/sim-gdb.exp: Ditto.
7273 * config/slite-gdb.exp: Ditto.
7274 * config/udi-gdb.exp: Ditto.
7275 * config/unix-gdb.exp: Ditto.
7276 * config/vx-gdb.exp: Ditto.
7277 * gdb.base/a1-selftest.exp: Ditto.
7278 * gdb.base/a2-run.exp: Ditto.
7279 * gdb.base/break.exp: Ditto.
7280 * gdb.base/corefile.exp: Ditto.
7281 * gdb.base/list.exp: Ditto.
7282 * gdb.base/recurse.exp: Ditto.
7283 * gdb.base/scope.exp: Ditto.
7284 * gdb.base/signals.exp: Ditto.
7285
7286Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7287
7288 * gdb.threads/Makefile.in (docdir): Removed.
7289
7290Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7291
7292 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7293 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7294 @srcdir@.
beb998c6 7295 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7296 autoconf 2.5 or higher.
7297 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7298
7299Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7300
7301 * configure: Regenerated.
7302 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7303 avoid name clashes with SunOS headers.
7304
7305Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7306
7307 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7308
7309Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7310
7311 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7312 prototype information ends up in the compiler info file.
7313
7314Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7315
7316 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7317 attempting to regenerate it. Eliminate use of a temporary file
7318 and just generate the info file directly. Source it immediately,
7319 for consistency of use.
7320 * gdb.base/corefile.exp: Ditto
7321 * gdb.base/exprs.exp: Ditto.
7322 * gdb.base/funcargs.exp: Ditto.
7323 * gdb.base/langs.exp: Ditto.
7324 * gdb.base/list.exp: Ditto.
7325 * gdb.base/mips_pro.exp: Ditto.
7326 * gdb.base/nodebug.exp: Ditto.
7327 * gdb.base/opaque.exp: Ditto.
7328 * gdb.base/ptype.exp: Ditto.
7329 * gdb.base/scope.exp: Ditto.
7330 * gdb.base/setvar.exp: Ditto.
7331 * gdb.base/signals.exp: Ditto.
7332 * gdb.base/whatis.exp: Ditto.
7333 * gdb.c++/templates.exp: Ditto.
7334 * gdb.c++/virtfunc.exp: Ditto.
7335 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7336 whether or not to add -lstdc++ to the compile command line args.
7337
7338Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7339
7340 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7341 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7342 Increase timeout, a lot of single stepping might be needed if the
7343 target has no hardware watchpoints.
7344
7345Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7346
7347 * gdb.base/break.exp: Ignore compiler warnings when compiling
7348 break.c.
7349 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7350 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7351 from remote-sim.
7352 * gdb.base/exprs.exp: Add h8300 xfails.
7353 * gdb.base/funcargs.exp: Likewise.
7354 * gdb.base/nodebug.exp: Likewise.
7355 * gdb.base/printcmds.exp: Likewise.
7356 * gdb.base/ptype.exp: Likewise.
7357 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7358 h8300 xfails.
beb998c6 7359 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7360 on the h8300.
7361 * gdb.base/funcargs.c: Explicitly make last constant argument to
7362 call_after_alloca_subr an unsigned long type.
7363 * gdb.base/return.c: Include stdio.h.
7364
7365Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7366
7367 * config/abug.exp: New file for the older Motorola Bug monitor
7368 that runs on the mvme13x series VME boards.
7369 * config/monitor.exp: Use the new config array for target settings
7370 if they exist.
7371
7372Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7373
7374 * sim-gdb.exp: Make the SH simulator allocate less space when
7375 it is targeted.
7376
7377Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7378
7379 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7380 test.
7381
7382Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7383
7384 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7385 "rs6000-*-*" for "list function in include file" when gcc compiled.
7386 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7387 for "p ctable1[120]".
7388 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7389 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7390 Remove setup_xfail for "rs6000-*-*" for
7391 "print 'scope0.c'::filelocal before run".
7392 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7393 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7394 since some compilers don't allow both options to be given
7395 on the same command line. Create object file and move it.
beb998c6 7396
c906108c
SS
7397Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7398
7399 * gdb.base/corefile.exp: Always regenerate the core file, since
7400 we always regenerate the coremaker program. Detect special case
7401 where registers cannot be read from core file.
beb998c6 7402
c906108c
SS
7403Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7404
7405 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7406 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7407 * gdb.c++/templates.exp: Only match on basename of file since
7408 some formats like xcoff don't encode directory information.
7409 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7410 and rs6000 AIX xcoff targets.
7411 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7412 * configure: Regenerate.
7413 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7414 here, rather than in distclean.
beb998c6 7415
c906108c
SS
7416Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7417
7418 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7419 defined, and use it to compile the test case with -O2. The
7420 native compilation still uses no optimization.
7421 * gdb.base/mips_pro.c: Remove inline assembly code since
7422 it is compiled PIC by default, which results in assembler
7423 warnings that make the testsuite think the compilation
7424 was unsuccessful.
7425
7426Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7427
7428 * gdb.c++/misc.exp: Add note to message for
7429 "print s.a for foo struct" that this is a known gcc 2.7.2
7430 and earlier bug.
7431
7432Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7433
7434 * gdb.base/break.exp: Fix pattern for matching "Delete all
7435 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7436 setup_xfail for deleting all breakpoints test. Fix various
7437 timeout messages to include "(timeout)".
7438 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7439 for "p t_float_values2(3.14159,float_val2)".
7440 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7441 for "continue to call2g" when gcc compiled.
7442 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7443 "up to foo in langs.exp", "show language at foo in langs.exp",
7444 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7445 and "show language at fsub in langs.exp".
7446 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7447 "list line 1 in include file", "list message for lines past EOF",
7448 "list function in include file", "list list0.h:foo", and
7449 "list filename:function; nonexistant function".
7450 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7451 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7452 and "ptype t_char_array" to be for native cc only.
beb998c6 7453
c906108c
SS
7454Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7455
beb998c6 7456 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7457 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7458 "print func2::coremaker_local", and "backtrace in corefile.exp".
7459
7460Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7461
7462 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7463 "bt in signals.exp". This problem only appears when running
7464 the testsuite, and then only intermittently.
7465
7466Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7467
7468 * gdb.base/return.exp (return_tests): Differentiate between
7469 two tests of continuing.
7470
7471Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7472
7473 * */Makefile.in (maintainer-clean): Remove config.log.
7474 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7475 * gdb.c++/Makefile.in (PROGS): Add inherit.
7476 (clean): Remove *.ci.
7477
7478Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7479
7480 * gdb.c++/misc.cc: Add test code from Mike Stump.
7481 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7482
7483Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7484
7485 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7486 to "alpha-*-osf2*" and add comment.
7487 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7488 setup_xfail for "step over execarg initialization" and
7489 "step over corearg initialization".
7490 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7491 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7492 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7493 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7494 "print func2::coremaker_local", and "backtrace in corefile.exp".
7495 * gdb.base/signals.exp: Build and source signals.ci.
7496 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7497 to be for gcc only.
7498 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7499
c906108c
SS
7500Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7501
7502 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7503 Feb 3 procfs.c change.
7504
7505Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7506
7507 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7508
7509Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7510
7511 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7512 from dejagnu's apparent default of 10 seconds, which gives random
7513 results when running the tests over NFS on moderately loaded systems.
7514 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7515
7516Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7517
7518 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7519 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7520 result reports.
7521
7522Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7523
7524 * configure.in (CY_AC_PATH_TCLH): Remove.
7525 * configure: Regenerate.
7526
7527Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7528
7529 * gdb.c++/Makefile.in (clean): Add missing '{'.
7530
7531Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7532
7533 * lib/gdb.exp: Provide a default value for noinferior.
7534
7535 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7536 Load libgloss.exp.
7537
7538Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7539
7540 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7541 the executable, not the .o to run the tests from.
7542
7543Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7544
7545 * gdb.base/break.exp: Don't test for program exit or exit status
7546 if $noresults if nonzero.
7547 * gdb.base/langs.exp: Likewise.
7548 * gdb.base/watchpoint.exp: Likewise.
7549
7550 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7551 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7552 trying to compile the testcase.
7553
7554Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7555
7556 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7557 * gdb.base/signals.exp (continue to handler): Likewise.
7558
7559Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7560
7561 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7562
7563 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7564
7565Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7566
7567 * gdb.base/corefile.exp: Recognize "not found" as failure
7568 when trying to determine if a core file was generated.
7569 If no core file was generate the first time, try again without
7570 the ulimit -c to work around braindamaged shells.
7571
7572Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7573
7574 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7575 [] tests with "test" and enclose string in quotes.
7576 * gdb.stabs/configure: Rebuild
beb998c6 7577
c906108c
SS
7578Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7579
7580 Changes in sync with expect:
7581 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7582 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7583 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7584 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7585 argument to AC_REQUIRE.
7586 * configure: Regenerated.
7587
7588Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7589
7590 * gdb.base/corefile.exp: When generating a core, discard any
7591 error messages about ulimit not found and the "core dumped"
7592 message from the shell that runs the coredumper.
7593
7594Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7595
7596 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7597
7598 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7599 which sed script to run. Expect failure for v_comb test
7600 on PA targets too.
beb998c6 7601
c906108c
SS
7602Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7603
7604 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7605 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7606
7607Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7608
7609 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7610 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7611 "sparc-sun-solaris*" xfails for "p v_comb".
7612 * lib/gdb.exp (default_gdb_start): Fix typo.
7613 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7614 messages to not include the full program name that caused
7615 the core dump since some systems (such as solaris) apparently
7616 truncate this path to about 80 characters.
7617 When generating a core file first try increasing the core file
7618 size limit to unlimited since some systems may default it to
7619 zero, and it is harmless to try it. Move the test for failing
7620 to generate a core file to where it will actually get executed.
7621 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7622 new gdb result from g++ debug info improvements and make old
7623 pattern obsolescent. Also account for size_t differences
7624 (may be int or long).
7625 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7626 initialization before function call is placed in the delay slot
7627 and thus appears to be skipped over by commands such as "next".
7628
7629Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7630
7631 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7632
7633Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7634
7635 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7636 input source file; fix code to compile test to deal with this
7637 convention.
7638 * gdb.c++/*.exp: Likewise.
7639
7640Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7641
7642 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7643 "bt in signals.exp".
7644
7645Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7646
7647 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7648 "step over execarg initialization" and
7649 "step over corearg initialization".
7650
7651Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7652
7653 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7654 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7655
7656Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7657
7658 From Rob Savoye (rob@poseidon.cygnus.com)
7659 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7660 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7661 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7662 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7663 configure.in}: Major reworking for autoconfig.
7664 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7665 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7666 New files.
7667 * config/unix-gdb.exp: Make GDB global.
7668 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7669 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7670 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7671 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7672 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7673 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7674 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7675 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7676 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7677 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7678 pr-8136.exp, result.exp, string.exp, tuples.exp},
7679 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7680 to returns as necessary, arrange for test to compile own testcase
7681 executable.
7682 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7683
c906108c
SS
7684Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7685
7686 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7687 clear_xfail at end of test which might not call either pass or fail.
7688 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7689 "backtrace through signal handler".
7690
7691Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7692
7693 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7694 continuing from a job control stop signal.
7695 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7696
7697Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7698
7699 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7700 * gdb.base/corefile.exp: Likewise.
7701 * gdb.base/funcargs.exp: Likewise.
7702
7703Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7704
7705 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7706 * config/monitor.exp: Add support for setting baud rate.
7707
7708Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7709
7710 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7711 i*86-*-linux* xfails for "backtrace through signal handler".
7712 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7713 "print func2::coremaker_local".
7714 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7715 alpha-dec-osf2* xfail for
7716 "delete all breakpoints when none".
7717
7718Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7719
7720 * gdb.base/break.exp: Change test that deletes all breakpoints
7721 when no user breakpoints are installed. A post 4.15 change
7722 causes gdb to no longer prompt in this case.
7723
7724Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7725
7726 * gdb.base/return.exp (return_tests): Change xfail for test
7727 "correct value returned double test" to stop xfailing at
7728 Solaris 2.5. Apparently the bug has been fixed.
7729
7730Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7731
7732 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7733 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7734
7735Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7736
7737 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7738 * gdb.disasm/hppa.s: Corresponding changes.
7739
7740Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7741
7742 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7743 makefile fragment.
7744 * config/mt-hpux: Deleted.
7745
7746Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7747
beb998c6 7748 * Many files: When warning about suppressed tests due to a
c906108c
SS
7749 nonexistant test binary, avoid incrementing the warning count.
7750
7751Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7752
7753 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7754
c906108c
SS
7755Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7756
7757 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7758 "sparc-*-solaris2*".
7759
7760Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7761
7762 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7763 Add global and local variables and initialize them.
7764 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7765 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7766 extracts the file name and terminating signal from the core file.
7767 * TODO: Remove note about tests for correct mapping of corefile.
7768 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7769 from optimizing it away.
7770 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7771 handles common blocks.
7772
7773Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7774
7775 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7776 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7777
7778Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7779
7780 * Makefile.in (maintainer-clean): New target, synonym for
7781 realclean.
7782 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7783 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7784 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7785 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7786 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7787 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7788
7789Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7790
7791 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7792 xfails when not gcc compiled for "print foo::funclocal".
7793 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7794 "print foo::funclocal at foo",
7795 "print 'scope1.c'::foo::funclocal at foo",
7796 "print foo::funclocal_bss at foo",
7797 "print 'scope1.c'::foo::funclocal_bss at foo",
7798 "print foo::funclocal_ro at foo",
7799 "print 'scope1.c'::foo::funclocal_ro at foo",
7800 "print bar::funclocal at foo" and
7801 "print 'scope1.c'::bar::funclocal at foo".
7802 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7803 gcc compiled for "print foo::funclocal at bar".
7804 Expand all messages to ensure that they identify that
7805 the test is at bar().
7806 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7807 gcc compiled for:
7808 "ptype on opaque struct pointer (statically)",
7809 "ptype on opaque struct tagname (statically)",
7810 "ptype on opaque struct pointer (dynamically) 1",
7811 "ptype on opaque struct tagname (dynamically) 1",
7812 "ptype on opaque struct pointer (dynamically) 2" and
7813 "ptype on opaque struct tagname (dynamically) 2
7814 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7815 gcc compiled for:
7816 "p datalocal"
7817 "whatis datalocal",
7818 "ptype datalocal",
7819 "p bsslocal",
7820 "whatis bsslocal", and
7821 "ptype bsslocal".
7822 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7823 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7824 when not gcc compiled.
7825 * gdb.base/funcargs.exp (float_and_integral_args): Add
7826 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7827 compiled.
7828 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7829 "backtrace from call6a" when not gcc compiled.
7830 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7831 "backtrace from call7a" when not gcc compiled.
7832 * gdb.base/callfuncs.exp (do_function_calls):
7833 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7834 "p t_char_array_values(char_array_val2,char_array_val1)",
7835 "p t_char_array_values(char_array_val1,char_array_val2)",
7836 "p t_char_array_values("carray 1","carray 2")",
7837 "p t_char_array_values("carray 1",char_array_val2)",
7838 "p t_char_array_values(char_array_val1,"carray 2")",
7839 "p sum_args(1,{2})",
7840 "p sum_args(2,{2,3})",
7841 "p sum_args(3,{2,3,4})",
7842 "p sum_args(4,{2,3,4,5})"
7843 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7844 "backtrace in corefile.exp" when not gcc compiled.
7845
7846Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7847
7848 * gdb.base/signals.exp: Rewrite `handle all print' test as
7849 a procedure. Accept blanks or TABs as whitespace, increase
7850 timeout and expect input buffer size for the large output
7851 from the command. Remove "i*86-*-bsdi2.0" xfail.
7852
7853Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7854
7855 * gdb.base/setvar.exp: Add new testcases for truncation when
7856 assigning invalid values to bitfields.
7857
7858Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7859
beb998c6 7860 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7861 mips-sgi-irix* xfail for
7862 "call inferior func with struct - returns char *"
7863 and fix test so that an optional (unsigned char *) cast is
7864 accepted in the result.
7865
7866Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7867
7868 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7869 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7870 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7871 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7872 that accidentally got checked in.
7873
7874Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7875
beb998c6 7876 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7877 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7878 compiled test.
7879 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7880 Add mips-sgi-irix5* xfail for not gcc compiled.
7881 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7882 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7883 "p top", "whatis top", "p middle", and "whatis middle".
7884 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7885 "whatis signed char" for not gcc compiled.
7886 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7887 "set variable signed char=-1 (-1)" and
7888 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7889 * gdb.base/funcargs.exp (float_and_integral_args):
7890 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7891 Add mips-sgi-irix* xfail when not gcc compiled for
7892 "continue to call2b".
7893 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7894 "continue to call2g".
7895 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7896 "backtrace from call6a"
7897 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7898 "backtrace from call7k".
7899 Add mips-sgi-irix5* xfail when not gcc compiled for
7900 "backtrace from call7a".
7901 (localvars_after_alloca): Fix gdb_test cmds for
7902 "print * after runto ...".
7903 Remove rs6000-*-* xfails for
7904 "print i after runto localvars_after_alloca" and
7905 "print l after runto localvars_after_alloca"
7906 for all compilers.
7907 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7908 when not compiled with gcc, for:
7909 "print signed char == (minus)",
7910 "print signed char != (minus)",
7911 "print signed char < (minus)",
7912 "print signed char > (minus)".
7913 * gdb.base/callfuncs.exp (do_function_calls):
7914 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7915 "call inferior func with struct - returns char *".
beb998c6 7916 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7917 "correct value returned double test" to include Solaris 2.4.
7918 * gdb.base/funcargs.exp (float_and_integral_args):
7919 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7920
c906108c
SS
7921Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7922
7923 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7924 enumeration bitfields if compiling with GNU C.
7925 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7926 to empty' prompt.
7927
7928Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7929
7930 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7931 test for PRO targets.
7932
7933 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7934 breakpoints in the inferior at any given time by making
7935 two groups of breakpoints for call2*, call6* and call7*
7936 tests.
7937
7938Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7939
7940 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7941 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7942 from optimizing it away.
7943 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7944 "call inferior func with struct".
7945
7946Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7947
7948 * configure.in: Only configure gdb.chill for particular targets.
7949
7950Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7951
7952 * gdb.base/Makefile.in: Add action to .c.o transformation
7953 rule that generates a .ci file for each .o file and remove
7954 explicit .c.o rules except for callfuncs.o.
7955 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7956 generates a .ci file for each .o file and remove explicit
7957 .cc.o rules.
7958 (clean): Remove *.tmp *.ci files.
7959 (EXECUTABLES): Remove templ-info.exp.
7960 * gdb.base/compiler.c: New file.
7961 * gdb.c++/compiler.cc: New file
7962 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7963 Change rs6000-*-* xfail for
7964 "print 'scope0.c'::filelocal_ro" and
7965 "print 'scope1.c'::filelocal" and
7966 "print 'scope1.c'::filelocal_bss" and
7967 "print 'scope1.c'::filelocal_ro" and
7968 "print 'scope1.c'::foo::funclocal" and
7969 "print 'scope1.c'::foo::funclocal_ro" and
7970 "print 'scope1.c'::bar::funclocal" and
7971 "print 'scope0.c'::filelocal_ro" and
7972 "print 'scope1.c'::filelocal at foo" and
7973 "print 'scope1.c'::filelocal_bss at foo" and
7974 "print 'scope1.c'::filelocal_ro at foo" and
7975 "print 'scope1.c'::foo::funclocal at foo" and
7976 "print 'scope1.c'::foo::funclocal_bss at foo" and
7977 "print 'scope1.c'::foo::funclocal_ro at foo" and
7978 "print 'scope1.c'::bar::funclocal at foo" and
7979 "print 'scope0.c'::filelocal_ro" and
7980 "print 'scope1.c'::filelocal" and
7981 "print 'scope1.c'::filelocal_bss" and
7982 "print 'scope1.c'::filelocal_ro" and
7983 "print 'scope1.c'::foo::funclocal" and
7984 "print 'scope1.c'::foo::funclocal_bss" and
7985 "print 'scope1.c'::foo::funclocal_ro" and
7986 "print 'scope1.c'::bar::funclocal" and
7987 "print 'scope1.c'::bar::funclocal_bss"
7988 to only be xfail'd when not compiled with gcc.
beb998c6 7989 Add rs6000-*-* xfail for
c906108c
SS
7990 "print 'scope0.c'::filelocal_bss before run"
7991 when compiled with gcc.
7992 (test_at_main): Add rs6000-*-* xfail for
7993 "print filelocal_ro in test_at_main"
7994 when compiled with gcc.
7995 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7996 Add rs6000-*-aix* xfail for
c906108c
SS
7997 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7998 "ptype t_char_array", not compiled with gcc.
7999 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8000 xfail for "list foo (in include file)" when gcc compiled.
8001 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8002 (integral_args): Add rs6000-*-* xfail for
8003 "run to call0a" if not compiled with gcc.
8004 (unsigned_integral_args): Add rs6000-*-* xfail for
8005 "run to call1a" if not compiled with gcc.
8006 (float_and_integral_args): Add rs6000-*-* xfail for
8007 "run to call2a" if not compiled with gcc and for
8008 "continue to call2b" for any compiler.
8009 Add rs6000-*-* xfail to
8010 "print f1 after run to call2a" for gcc compiled.
8011 (discard_and_shuffle): Add rs6000-*-* xfail for
8012 "run to call6a".
8013 (shuffle_round_robin): Add rs6000-*-* xfail for
8014 "backtrace from call7a" if not compiled with gcc.
8015 Add rs6000-*-* xfail for
8016 "backtrace from call7b" if compiled with gcc.
8017 (call_after_alloca): Add rs6000-*-* xfail for
8018 "print c in call_after_alloca" and
8019 "print s in call_after_alloca" and
8020 "backtrace from call_after_alloca_subr"
8021 if not compiled with gcc.
8022 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8023 "print c in localvars_in_indirect_call" and
8024 "print c in localvars_in_indirect_call" and
8025 "backtrace in indirectly called function" and
8026 "stepping into indirectly called function"
8027 if not compiled with gcc.
8028 (localvars_after_alloca): Add rs6000-*-* xfail for
8029 "print c after runto localvars_after_alloca" and
8030 "print s after runto localvars_after_alloca" and
8031 "print i after runto localvars_after_alloca" and
8032 "print l after runto localvars_after_alloca"
8033 for all compilers.
8034 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8035 than whatis-info.exp.
8036 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8037 than opaque-info.exp.
8038 Setup rs6000-*-* xfail for
beb998c6 8039 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8040 "ptype on opaque struct pointer (dynamically)" when
8041 not compiled with gcc.
8042 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8043 rather than callf-info.exp.
8044 (do_function_calls): Add clear_xfail for rs6000-*-* for
8045 "p t_float_values2(3.14159,float_val2)". Seems to work
8046 fine there, both with xlc and gcc. Need to find out what
8047 it is doing right and fix other platforms.
8048 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8049 "call inferior func with struct - returns int",
8050 "call inferior func with struct - returns long",
8051 "call inferior func with struct - returns float",
8052 "call inferior func with struct - returns double",
8053 "call inferior func with struct - returns char *",
8054 but only if not gcc compiled (presumes xlc compiled).
8055 Change rs6000-*-* xfails for
8056 "call inferior func with struct - returns char" and
8057 " call inferior func with struct - returns short" to only
8058 xfail if not using gcc.
8059 (clean mostlyclean): Remove *.ci and *.tmp files.
8060 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8061 than templ-info.exp.
8062 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8063 Add rs6000-*-* xfail for "up to foo in langs.exp"
8064 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8065 when not gcc compiled.
beb998c6 8066
c906108c
SS
8067Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8068
8069 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8070 * gdb.base/corefile.exp: Likewise.
8071 * gdb.base/list.exp: Likewise.
8072 * gdb.base/scope.exp: Likewise.
8073 * gdb.base/siganls.exp: Likewise.
8074
8075 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8076 compiler output.
8077 * gdb.base/whatis.exp: Likewise.
8078
8079Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8080
8081 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8082 failure (opcode table has been fixed to match reality).
8083
8084Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8085
8086 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8087 "call inferior func with struct - returns char",
8088 "call inferior func with struct - returns short"
8089
8090 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8091 "print 'scope0.c'::filelocal at main",
8092 "print 'scope0.c'::filelocal_bss in test_at_main",
8093 "print 'scope0.c'::filelocal at foo",
8094 "print 'scope0.c'::filelocal_bss in test_at_foo",
8095 "print 'scope0.c'::filelocal at bar",
8096 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8097
c906108c
SS
8098 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8099 in source file 1". This bug seems to have been fixed with both
8100 gcc and native cc (was native assembler bug?).
8101
8102Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8103
8104 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8105 "backtrace through signal handler" to "i*86-*-sysv4*".
8106 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8107 continue" case. Add "known SVR4 bug" to fail message.
8108 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8109 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8110 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8111 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8112 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8113 "up to foo in langs.exp", "show language at foo in
8114 langs.exp", "up to cppsub_ in langs.exp", "show
8115 language at cppsub_ in langs.exp", "up to fsub in
8116 langs.exp", and "show language at fsub in langs.exp".
8117 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8118 "bactrace in corefile.exp".
8119 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8120 "call inferior function with struct - returns float" and
8121 "call inferior function with struct - returns double".
beb998c6 8122
c906108c
SS
8123Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8124
8125 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8126 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8127 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8128 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8129
8130Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8131
8132 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8133 (or overriden) "CHILL" macro rather then bare "gcc".
8134 Also look for ../../gcc/xgcc since that is what we will
8135 actually need, not "Makefile". Remove following assignment
8136 of CHILL to CHILL_FOR_TARGET because that results in
8137 recursive definition.
8138
8139Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8140
8141 * gdb.base/corefile.exp: Change xfail for backtrace in
8142 corefile.exp from linuxaout to all linux.
8143 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8144 cases where we miss the breakpoint at the signal handler
8145 for some reason. Setup xfail for linuxoldld/linuxaout and
8146 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8147 hitting SIGURG breakpoint.
8148 * gdb.base/signals.exp: Setup xfail for "next" acting like
8149 continue to add linuxoldld. Setup xfail for all linux for
8150 "next to handler in signals_tests_1", "backtrace in
8151 signals_tests_1", "continue to func1", "pass SIGUSR1",
8152 and continue to handler".
8153
8154Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8155
8156 * Update all FSF addresses except those in COPYING* files.
8157
8158Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8159
8160 * gdb.base/a2-run.exp: Change messages to be more explicit about
8161 the status of args, and quote binfile in results.
8162
8163Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8164
8165 * gdb.base/callfuncs.exp: Add tests for passing structs to
8166 inferior functions and return various types.
8167 * gdb.base/callfuncs.c: Add functions to receive a struct
8168 and return a member of the struct, in various types.
8169
8170Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8171
8172 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8173
8174Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8175
8176 * config/vxworks29k.exp: New file, sources vxworks.exp.
8177
8178Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8179
8180 * config/gdbremote.exp: New file. Testing framework using
8181 gdbserver.
8182
8183Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8184
8185 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8186 "call function when asleep" and "send end of file".
8187 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8188 for "backtrace in corefile.exp".
8189 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8190 for "backtrace through signal handler".
8191 * gdb.base/corefile.exp: Make sure we actually generate a core file
8192 before trying the core tests. Some systems allow the user to suppress
8193 generation of core files and default to that (linux for example).
8194 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8195 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8196
8197Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8198
8199 * gdb.threads: New directory with some crude multi-threaded
8200 gdb tests (step.exp and step2.exp).
8201 * config/mt-lynx (STEP_EXECUTABLE): Define.
8202 (THREADFLAGS): Define.
8203
8204Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8205
8206 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8207
8208 * gdb.base/signals.exp: Disable whole file for lynx until
8209 further notice.
8210
8211 * gdb.base/signals.exp: xfail test where "next" acts like
8212 "continue" for lynx.
8213
8214 * gdb.base/interrupt.exp: xfail test for calling function while
8215 inferior is asleep for lynx.
8216
8217 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8218 than one cr-lf after each command.
8219
8220Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8221
8222 * configure.in: Reinstate setting of stabsdirs variable, fix
8223 typo in setting up configdirs for native builds.
8224
8225 * gdb.base/return.exp: Fix typo in return double test.
8226 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8227 compiler from optimizing them away.
8228
8229Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8230
8231 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8232 sequences to be echo'd by gdb when using gdb_test.
8233 * gdb.chill/chexp.exp: Likewise.
8234 * gdb.fortran/exprs.exp: Likewise
8235
8236Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8237
8238 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8239 after the inferior gdb has started.
8240
8241 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8242 after each command.
8243 * gdb.base/funcargs.exp: Likewise.
8244 * gdb.base/gdbvars.exp: Likewise.
8245 * gdb.base/interrupt.exp: Likewise.
8246 * gdb.base/list.exp: Likewise.
8247 * gdb.base/watchpoint.exp: Likewise.
8248 * gdb.c++/demangle.exp: Likewise.
8249 * gdb.c++/inherit.exp: Likewise.
8250 * gdb.chill/chexp.exp: Likewise.
8251 * gdb.fortran/exprs.exp: Likewise.
8252
8253 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8254 test if we can't handle IO to/from the inferior.
8255
8256 * gdb.c++/misc.exp: Always check for a program already being
8257 started after sending a "run" command to gdb.
8258
8259 * gdb.base/twice.exp: Start with a fresh gdb.
8260
8261 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8262 only depend on gdb's expression code, not the chill runtime.
8263
8264 * gdb.base/return.c: Put return values into variables so we
8265 can have gdb print them rather than depending on the program
8266 to print them.
8267 * gdb.base/return.exp: Corresponding changes.
8268
8269 * lib/gdb.exp: Provide default value for noinferiorio.
8270 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8271 the inferior.
8272
8273 * gdb.base/break.exp: Always check for a program already being
8274 started after sending a "run" command to gdb.
8275 (text_next_with_recursion): Don't check the output from the
8276 program's printf statement. Instead just make sure the program
8277 exited.
8278
8279 * gdb.base/commands.exp: Protect tests which need arguments with
8280 $noargs conditionals.
8281
8282Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8283
8284 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8285 of structure member arrays to match gdb/valops.c:value_addr change.
8286
8287Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8288
8289 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8290 cases.
8291
8292Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8293
8294 * configure.in (configdirs): Remove gdb.chill from default list
8295 of subdirs and then add it back in only if doing a native build.
8296 The current chill compiler does not yet work in any cross build.
8297 * Revert all signal changes from Jul 6.
8298 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8299 for sh-hms targets, allowing these tests to link, with no other
8300 changes. Testing is suppressed by setting "nosignals" in site.exp.
8301
8302Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8303
8304 * configure.in (signaldirs): Define and add to configdirs for all
8305 targets except some specific ones that are known to not support signals.
8306 Also clean up formatting.
8307 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8308 (signals, sigall): Remove rules to build.
8309 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8310 Moved to new gdb.signals directory.
8311 * gdb.signals: New test directory.
8312 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8313 signals.c signals.exp}: New or moved files.
8314
8315Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8316
8317 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8318
8319Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8320
8321 * gdb.base/return.exp: Xfail `return double' test failure
8322 on at least Solaris 2.3 and handle future/past versions on
8323 a case by case basis as appropriate. Also update message
8324 to include i*86 failures.
8325
8326Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8327
8328 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8329
8330 * lib/gdb.exp: Fix comment which erroneously identified
8331 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8332 gdb_file_cmd not gdb_load).
8333 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8334
8335 * gdb.base/setvar.exp: Make test names consistent between pass and
8336 fail cases. Use gdb_test more.
8337
8338Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8339
8340 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8341
8342Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8343
8344 * gdb.base/help.exp: Fix expected help string for `show commands'.
8345
8346Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8347
8348 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8349
8350 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8351 of a text section.
8352
8353Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8354
8355 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8356 that loop eventually terminates. Fix Connection refused logic so
8357 that testsuite will expire nicely.
8358
8359Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8360
8361 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8362 config/rom68k.exp: New tcl glue for the appropriate monitors.
8363 These all just end up calling monitor.exp.
8364 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8365 refused' by retrying. Cleanup some timeout issues.
8366 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8367 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8368 callers don't have to set/restore global timeout variable.
8369
8370 * The following set of changes centralizes management of the global
8371 timeout variable. This way, it can be set in one target dependent
8372 place instead of dozens of places scattered throughout the test suite.
8373 If you need to lengthen a timeout, then you should either set timeout
8374 in one of the config/{target}.exp files, or multiply it by a factor.
8375 Setting it to an absolute value is always going to lose for some
8376 targets.
8377 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8378 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8379 * gdb.base/funcargs.exp: Don't set timeout.
8380 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8381 * gdb.base/printcmds.exp (test_print_string_constants
8382 test_print_array_constants): Don't set timeout.
8383 * gdb.base/ptype.exp: Don't set timeout.
8384 * gdb.base/recurse.exp: Don't set timeout.
8385 * gdb.base/return.exp: Don't set timeout.
8386 * gdb.base/watchpoint.exp: Don't set timeout.
8387 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8388 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8389
8390Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8391
8392 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8393
8394Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8395
8396 * lib/gdb.exp: Disable chill tests for irix5.
8397
8398Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8399
8400 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8401 each test pass or fail.
8402
8403Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8404
8405 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8406 xlc not gcc.
8407
8408Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8409
8410 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8411
8412Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8413
8414 * config/est.exp: Fix copyright and comments. Remove dead code.
8415 Use targetname, serialport and baud variables instead of fixed
8416 constants.
8417 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8418 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8419
8420Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8421
8422 * gdb.base/watchpoint.exp: Don't run
8423 test_watchpoint_triggered_in_syscall for sunos.
8424
8425Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8426
8427 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8428 they don't seem to exist. Do include stdio.h.
8429
8430Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8431
8432 * gdb.base/a1-selftest.exp: Add alpha xfail.
8433
8434Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8435
8436 * gdb.base/watchpoint.c (main): Prompt before calling read().
8437 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8438 Revise accordingly. Remove cruft about sending "123" several
8439 times, until it gets noticed. Clean up the "print buf[0]" stuff
8440 so that it passes or fails, and waits for prompts in the usual way.
8441
8442Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8443
8444 * gdb.base/recurse.exp: Fix comment.
8445
8446 * TODO: Remove item about printing variables in nodebug.exp. Add
8447 item about enabling tests which are only run on some targets.
8448
8449 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8450 fail, make test names unique, use new gdb_test convention
8451 regarding pattern, use gdb_test more, etc.).
8452
8453 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8454 fail, make test names unique, etc.).
8455
8456Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8457
8458 * gdb.base/nodebug.c: Change return type of top and middle to
8459 short.
8460 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8461 are fixed by the recent mdebugread.c changes. Allow `short ()'
8462 as type for top and middle.
8463
8464Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8465
8466 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8467 nearly as I can tell, the whole thing was an accident in Stu's
8468 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8469 to replace a send/expect pair with gdb_test, but ended up only
8470 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8471 of 30 Mar 1995 took care of it, but left this vestigial comment
8472 which I am now nuking.
8473
8474Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8475
8476 * gdb.base/break.exp: Look for different line number for
8477 breakpoint at main depending on usestubs.
8478
8479Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8480
8481 * gdb.base/list.exp: Adjust some alternate expect patterns to
8482 match recent list0.c change. Add alternate expect pattern for
8483 output from `list default lines around main' for optimizing
8484 compilers.
8485
8486Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8487
8488 * lib/gdb.exp: If nosignals is not set, set it to 0.
8489
8490Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8491
8492 * config/slite-gdb.exp: Responds to load symbol table prompt.
8493 * gdb.base/break.exp: Adjust line number, fix rerun.
8494 * gdb.base/langs0.c: Add #ifdef usestubs.
8495
8496Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8497
8498 * gdb.base/list.exp: Adjust line contents after adding new lines in
8499 list0.c. Also fix a syntax error.
8500
8501 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8502 * gdb.base/break.exp: ditto.
8503 * gdb.base/list.exp: ditto.
8504 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8505 * gdb.base/run.c: ditto.
8506 * gdb.base/list0.c: ditto.
8507 * gdb.base/funcargs.c: ditto.
8508
8509Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8510
8511 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8512 $targetname, $serialport and $baud instead of hardwired variables.
8513 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8514 target doesn't support signals.
8515
8516Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8517
8518 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8519
8520Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8521
8522 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8523 Don't rely on the value of an auto variable before it has been
8524 initialized. Use gdb_test more.
8525
8526Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8527
8528 * lib/gdb.exp (default_gdb_version): A version number must start
8529 with a digit, but other than that contains all characters up to
8530 the first whitespace character.
8531
8532Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8533
8534 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8535
8536Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8537
8538 * gdb.c++/*.exp: Warn if executable does not exist. The original
8539 reason for skipping the warning was that configure.in sometimes
8540 intentionally skipped building the executables but the tcl code
8541 had no way of knowing. That (a) was always bogus with respect to
8542 error handling, (b) is no longer true (right now there is no way
8543 to skip C++ tests).
8544
8545 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8546
8547Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8548
8549 * gdb.base/list.exp: Add expect patterns for output from
8550 SunPRO compiled executables.
8551 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8552 types.
8553
8554Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8555
8556 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8557 number (we are already testing that the correct source line text
8558 gets printed).
8559
8560 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8561 that is what is intended, but something needed to be done to get
8562 sunos4 native working again.
8563
8564 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8565
8566 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8567 apparently went with a (very) old xfail.
8568
8569Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8570
8571 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8572 runto_main is a proc in gdb.exp that will do 'step' for target use
8573 stubs.
8574 * gdb.base/exprs.exp: ditto.
8575 * gdb.base/interrupt.exp: ditto.
8576 * gdb.base/opaque.exp: ditto.
8577 * gdb.base/printcmds.exp: ditto.
8578 * gdb.base/ptype.exp: ditto.
8579 * gdb.base/scope.exp: ditto.
8580 * gdb.base/setvar.exp: ditto.
8581 * gdb.base/signals.exp: ditto.
8582 * gdb.base/twice.exp: ditto.
8583 * gdb.c++/classes.exp: ditto.
8584 * gdb.c++/inherit.exp: ditto.
8585 * gdb.c++/templates.exp: ditto.
8586 * gdb.base/break.exp: no run and hit main for stubs. Change line
8587 numbers for breakpoints and info breakpoint.
8588 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8589 breakpoint().
8590 * gdb.base/callfuncs.c: ditto.
8591 * gdb.base/exprs: ditto.
8592 * gdb.base/interrupt.c: ditto.
8593 * gdb.base/opaque0.c: ditto.
8594 * gdb.base/printcmds.c: ditto.
8595 * gdb.base/ptype.c: ditto.
8596 * gdb.base/scope0.c: ditto.
8597 * gdb.base/setvar.c: ditto.
8598 * gdb.base/signals.c: ditto.
8599 * gdb.base/twice.c: ditto.
8600 * gdb.c++/misc.cc: ditto.
8601 * gdb.c++/templates.cc: ditto.
8602
8603Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8604
8605 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8606
8607 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8608 somewhere between `read' and `main.c'. I'm pretty sure the
8609 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8610 and it isn't particularly useful.
8611
8612 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8613
8614Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8615
8616 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8617
8618Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8619
8620 * config/mt-slite: add LIBS and -nostdlib.
8621 * config/slite-gdb.exp: add this new file to support sparclite target.
8622
8623Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8624
8625 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8626
8627 * gdb.base/a2-run.exp: Change argument to istarget from
8628 "*-*-vxworks" to "*-*-vxworks*".
8629 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8630
8631Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8632
8633 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8634 will not runto main but do a 'step' to step out of breakpoint().
8635 * config/mt-slite: add -Dusestubs.
8636
8637Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8638
8639 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8640 instead of just @.
8641
8642 * gdb.base/signals.exp: Add test for "handle all print".
8643 * TODO: Remove "handle all print". Also remove item about
8644 checking copyright date (I don't like the idea of a spurious FAIL
8645 based on when we run the tests).
8646
8647 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8648 for SunOS4 (reason for failure not investigated). Remove
8649 redundant test for $binfile.
8650
8651 * gdb.base/nodebug.c (array_index): Call malloc.
8652
8653 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8654
8655Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8656
8657 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8658 conventions and slightly simplify the matching regexp.
8659
8660Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8661
8662 * gdb.base/break.exp: Update gdb_test invocation to use new
8663 convention.
8664
8665 * lib/gdb.exp: If noargs is not set, set it to 0.
8666
8667 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8668 tests unique.
8669
8670 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8671
8672Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8673
8674 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8675 one argument of type "<non-float parameter>".
8676
8677Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8678
8679 * config/rom68k.exp: New file to support Motorola IDP board.
8680 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8681 * gdb.base/break.c: Change things around so that this program
8682 doesn't depend upon args. This is necessary to make remote
8683 targets work (in general, they can't take args).
8684 * gdb.base/break.exp: Don't try to send args to program. Don't
8685 expect output. Also, replace lots of code with gdb_test.
8686
8687Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8688
8689 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8690 printing of '\'' (which is what the comment says we are testing,
8691 even though we were not), not '''.
8692 (test_integer_literals_rejected): Test that printing ''' is an error.
8693
8694 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8695 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8696 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8697 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8698 Use gdb_test not test_print_accept.
8699 * lib/gdb.exp: Remove test_print_accept.
8700
8701 * gdb.base/signals.exp (signal_tests_1): Make pass message
8702 consistent with fail message.
8703
8704 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8705 unsigned char; the bug (PR 1821) is fixed.
8706
8707 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8708
8709 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8710 successful tests--makes xfailing them work right.
8711
8712Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8713
8714 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8715 only \r\n, not .*. The test can pass .* as the last thing in
8716 $pattern if that is what it wants. In addition to providing this
8717 flexibility, this change should speed up pattern matching in cases
8718 where the pattern already ended with .* (there were a number of
8719 them). This change also helps catch bad patterns--in the old
8720 scheme the typo "char \*" instead of "char \\*" would pass. Now
8721 it is caught.
8722 * Many .exp files: Update callers.
8723
8724 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8725 clearer and does not spuriously match multiple ('s. Likewise for
8726 ) and *.
8727
8728 * gdb.base/nodebug.exp: Test ability to call a function and pass
8729 it a string (even with no debugging info).
8730
8731 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8732 "p '\'", which is the same as "p ''" once tcl gets done with
8733 quoting, to "p '\\'", which I suspect is what is intended (one
8734 backslash gets sent to GDB).
8735
8736 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8737
8738Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8739
8740 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8741 1817) was fixed literally years ago.
8742
8743Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8744
8745 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8746 test, it causes stepping out of call_after_alloca_subr with
8747 optimizing compilers.
8748 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8749 fails.
8750
8751 * gdb.c++/templates.exp: Source templ-info.exp only if
8752 the templates executable exists.
8753
8754 * gdb.c++/misc.cc (class Contains_static_instance,
8755 class Contains_nested_static_instance),
8756 gdb.c++/classes.exp (test_static_members): Test printing of
8757 a class that contains a static instance of the class.
8758
8759Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8760
8761 * gdb.base/langs2.c (cppsub_): Don't prototype.
8762 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8763 only, I believe).
8764
8765Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8766
8767 * lib/gdb.exp (skip_chill_tests): New procedure.
8768
8769 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8770
8771Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8772
8773 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8774 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8775
8776Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8777
8778 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8779
8780 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8781 disassemble 8, not 16, instructions for part 4.
8782
8783 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8784 support the latter anymore.
8785
8786 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8787 -DNO_PROTOTYPES.
8788 * gdb.base/callfuncs.c: Control use of prototypes based on
8789 NO_PROTOTYPES, not __STDC__.
8790 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8791 t_float_values2 tests if prototypes in use.
8792
8793 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8794 t_double_values): When checking differences against DELTA, check
8795 that difference is within the range (-DELTA,DELTA), not just
8796 (-infinity,DELTA).
8797
8798Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8799
8800 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8801 'file' command firts, then 'target', then 'load', this is due to gdb
8802 target set up.
8803 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8804
8805Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8806
8807 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8808 FP load/store variants.
8809 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8810
8811Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8812
8813 * gdb.base/term.exp: Do not give a warning if not native, it is
8814 not an abnormal condition.
8815
8816Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8817
8818 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8819 t_char_array".
8820
8821Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8822
8823 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8824 are getting the version number.
8825
8826 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8827 if not native, it is not an abnormal condition.
8828
8829Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8830
8831 * lib/gdb.exp: Just use "file exists", rather than undocumented
8832 dejagnu procedure "findfile".
8833
8834Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8835
8836 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8837 (LDFLAGS): Set to -Xlinker -Ur.
8838
8839 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8840 Removed, these values are set by lib/gdb.exp.
8841
8842 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8843
8844Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8845
8846 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8847 of replicating gdb startup code.
8848
8849 * config/mt-vxworks (LDFLAGS): Set to -r.
8850 (CFLAGS_FOR_TARGET): Removed.
8851
8852 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8853 (gdb) and gdb for vxworks uses (vxgdb).
8854
8855 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8856 executable is not in the tree and host != target, use sed and
8857 program_transform_name to determine the gdb name used by the
8858 target.
8859
8860 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8861 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8862
8863Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8864
8865 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8866 floats, chars, and shorts where there are ANSI-style function
8867 definitions.
8868
8869 * gdb.base/langs.exp, gdb.base/langs*: New test.
8870 * gdb.base/Makefile.in: Build it.
8871 * TODO: Remove item about checking that C names don't get C++
8872 demangling applied; this test tests it.
8873
8874Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8875
8876 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8877 went with the const70 xfail. The xfail went away a year ago.
8878
8879 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8880
8881 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8882 for hp300.
8883
8884 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8885
8886 * gdb.base/a1-selftest.exp: Don't run on hp300.
8887
8888Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8889
8890 * Makefile.in (site.exp): Set host_alias and target_alias as well
8891 as host_triplet and target_triplet.
8892
8893Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8894
8895 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8896
8897 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8898 places as other ecoff systems).
8899
8900 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8901 ultrix.
8902
8903Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8904
8905 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8906 remove them.
8907 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8908 variable and "variable" in addition to "data variable".
8909 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8910
8911 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8912 2.
8913 * gdb.base/list1.c (long_line): Add additional statement at start
8914 of function.
8915 * gdb.base/list.exp (test_forward_search): Update line number to
8916 reflect new statement.
8917
8918Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8919
8920 * gdb.base/signals.exp: Reinitialize searched source directories
8921 after gdb_start call.
8922
8923Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8924
8925 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8926 * gdb.stabs/Makefile.in: Likewise.
8927
8928 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8929 change. Instead split the tests into smaller pieces.
8930 * gdb.disasm/hppa.s: Corresponding changes.
8931
8932Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8933
8934 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8935 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8936
8937 * gdb.base/funcargs.exp: Modify many tests so that every test
8938 either passes or fails. Make some test names unique.
8939
8940Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8941
8942 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8943 Call stty to set interrupt character.
8944
8945 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8946 for HP assembler versus GNU assembler based on actual behavior of
8947 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8948
8949 * TODO: Suggest a few more stepping tests.
8950
8951Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8952
8953 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8954 restart GDB for h8300 after a continue.
8955 (return): Add pattern to match a29k-udi behavior.
8956 * gdb.base/nodebug.exp: Remove obsolete comment.
8957 * gdb.base/regs.exp: New file, testing of register displays.
8958 * gdb.base/return.exp: Fix typo in reference to $objdir.
8959 * gdb.base/whatis.exp: Always start with a fresh GDB.
8960
8961Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8962
8963 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8964 higher, these tests generate a lot of output.
8965
8966Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8967
8968 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8969 code following the catch silently ignored some errors; without the
8970 catch they should be thrown like any other tcl error. Also, the
8971 catch used "" instead of {} which meant all the callers who wanted
8972 to include one of the characters "[]$ had to quote it an extra time.
8973 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8974 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8975 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8976 Remove extra quoting.
8977
8978Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8979
8980 * gdb.base/commands.exp: Make test names unique; every test either
8981 passes or fails. Update some comments.
8982
8983 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8984
8985Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8986
8987 The following fixes a FAIL caused by the fact that the alpha stabs
8988 configuration didn't use the ".if alpha" code in weird.def.
8989 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8990 bit pointer, so the 32 bit version works even on the alpha.
8991 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8992 Remove the stuff which allowed us to have separate versions for
8993 alpha and everything else.
8994
8995 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8996 regexp which "info func operator\[\](" is supposed to match. Fix
8997 string to send to GDB. Note that GDB still doesn't work right. Add a
8998 new test for "info func .perator\[\](" which GDB does handle correctly.
8999
9000 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9001
9002Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9003
9004 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9005 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9006 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9007 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9008 it makes the tests harder to understand and confuses test-o-matic.
9009 The preferred style is that each test provides a PASS or a FAIL,
9010 and has a unique message (e.g. "continue #54" not just "continue")
9011 which is the same for the pass and the fail.
9012 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9013 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9014 to lib/gdb.exp.
9015 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9016 prt_accept which was basically the same thing. Likewise for
9017 test_print_reject and prt_reject.
9018 * lib/gdb.exp (test_print_reject): Add some more error message
9019 patterns to match from the former printcmds.exp (prt_reject).
9020 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9021 One defect of the passcount stuff is that some of it failed to
9022 report XPASS where appropriate.
9023 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9024 stuff before and after arg in expected pattern.
9025 (test_paddr_operator_functions): Re-do test without print_addr_of;
9026 this is the only test which seems to want extra stuff there.
9027
9028Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9029
9030 * gdb.base/nodebug.exp: Update new tests to reflect improved
9031 wording of gdb output.
9032
9033 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9034 and "ptype" work on variables in files compiled without -g.
9035 Replaces commented out "maint print msymbol" tests.
9036
9037Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9038
9039 * gdb.base/setvar.c (dummy): Call malloc.
9040
9041 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9042 losing with the irix4 sed.
9043
9044 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9045 ALRM" on irix4.
9046
9047Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9048
9049 * TODO: Remove items about corefile.exp testing new exec-file and
9050 backtrace; both are now done. Add items about printing enums.
9051
9052Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9053
9054 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9055 "get signal $thissig" test fails.
9056
9057 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9058
9059Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9060
9061 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9062 compiler warning with dec alpha compiler.
9063
9064 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9065 extra \n from gdb_test call (this explains why the prompt test
9066 that I removed yesterday was there).
9067 (user_defined_command_test): Remove extra \n and prompt test.
9068
9069 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9070 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9071 doesn't exist.
9072 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9073 Also remove alpha workaround, which turns out to be because
9074 SIGABRT == SIGLOST.
9075
9076 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9077
9078 * gdb.base/help.exp: Don't test "help show".
9079
9080Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9081
9082 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9083 "set print address" is on.
9084 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9085 pass prompt to gdb_test; gdb_test already looks for the prompt.
9086
9087 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9088
9089 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9090 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9091 was to make sure that gdb can read a core file. But (a) the "read
9092 the corefile" part didn't make it to a1-selftest.exp, we just
9093 delete the corefile after creating it, and (b) we test reading
9094 corefiles in corefile.exp anyway. Also, this test left around a
9095 xgdb process on Solaris.
9096
9097 * gdb.base/corefile.exp: Also test backtrace.
9098
9099Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9100
9101 * gdb.base/commands.exp: Test a simple user defined command with
9102 arguments and if/while statements; verify the full user command is
9103 printed by "show user".
9104
9105 * gdb.base/commands.exp: Test if/while commands as part of a
9106 breakpoint command list; verify they appear in breakpoint
9107 information.
9108
9109Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9110
9111 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9112 than by dividing by zero.
9113
9114Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9115
9116 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9117 performing an inferior call with watchpoints enabled.
9118 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9119 call.
9120
9121Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9122
9123 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9124 of "file" command.
9125
9126 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9127 Add additional pattern for when "int operator int(void);" appears
9128 in a different order.
9129
9130Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9131
9132 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9133
9134 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9135 and "signal" with ".*".
9136
9137Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9138
9139 * TODO: Add note about "handle all nostop".
9140
9141 * gdb.base/{sigall.c, sigall.exp}: New test.
9142 * gdb.base/Makefile.in: Add it.
9143
9144Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9145
9146 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9147 when invoking GDB, suppresses any windowing interface.
9148
9149Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9150
9151 * config/sim-gdb: New file, simulator testing support.
9152
9153Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9154
9155 * gdb.base/interrupt.exp: Test calling func1 twice.
9156
9157Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9158
9159 * gdb.base/list.exp (test_forward_search): Set timeout higher
9160 when we'll be getting lots of output from gdb.
9161
9162 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9163 "init_malloc" to after the expect statement. Run it if that
9164 regexp is taken, but also for two others which happen if source
9165 cannot be found.
9166
9167Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9168
9169 * gdb.base/printcmds.exp: New test, for printing register before
9170 program is running.
9171
9172Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9173
9174 * gdb.base/list.exp: Correct some alternate expect patterns
9175 to reflect changes in list1.c.
9176
9177Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9178
9179 * TODO: Add item regarding large frames.
9180
9181 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9182
9183 * TODO: Remove item about enabling return.exp; it
9184 is enabled. Suggest a few more "return" tests.
9185
9186Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9187
9188 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9189 anonymous unions.
9190
9191Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9192
9193 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9194 and pr-5646.o, so "make" is the same as "make all", not "make
9195 pr-4975.o".
9196
9197Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9198
9199 * gdb.base/list.exp: Adjust expectations to reflect changes in
9200 list1.c.
9201 (test_forward_search): New test proc.
9202 * gdb.base/list1.c (long_line): New function, has long source line.
9203
9204Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9205
9206 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9207 additional line of code that was added.
9208
9209Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9210
9211 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9212 tests so as not to overflow expect's input buffers.
9213 * gdb.disasm/hppa.exp: Corresponding changes.
9214
9215Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9216
9217 Beginnings of template debugging tests.
9218 * gdb.c++/templ-info.cc: New file to test for template
9219 debugging capability of the compiler.
9220 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9221 templ-info.cc.
9222 * gdb.c++/templates.cc: Add explicit template instantiations
9223 to enable compiling with -fno-implicit-templates. Add destructor
9224 and 'value' method to T5 class for template tests.
9225 * gdb.c++/templates.exp: Add testcases for printing of template
9226 types, setting breakpoints on template methods and calling a
beb998c6 9227 template method.
c906108c
SS
9228
9229Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9230
9231 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9232 branch target since some assemblers (gas-2.5) may emit a
9233 relocation for the branch instead of resolving it in the
9234 assembler.
9235
9236Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9237
9238 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9239 through signal handler.
9240
9241Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9242
9243 * configure.in (*-*-netware): Use config/mt-netware.
9244
9245 * config/mt-netware: New file.
9246 * config/mt-i386-netware: Removed, separate configs for different
9247 netware architectures are no longer needed now that we have
9248 --with-headers.
9249
9250Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9251
9252 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9253 by the recent changes to use ANSI C arithmetic conversions.
9254
9255Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9256
9257 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9258 bug involving using inferior_pid to figure out whether to select a
9259 frame.
9260
9261Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9262
9263 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9264 match the current disassembler output.
9265
9266Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9267
9268 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9269 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9270 types, expect "int" as type of integer values (for now).
9271
9272Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9273
9274 * gdb.base/commands.exp: New tests for if/while commands.
9275
9276Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9277
9278 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9279 by .*, since hex values have different syntax in Chill mode.
9280
9281Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9282
9283 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9284 linefeed from expect pattern for repeated types with indices > 9.
9285
9286Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9287
9288 First part of Fortran test suite.
9289 * gdb.fortran: New directory.
9290 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9291
9292Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9293
9294 * gdb.base/default.exp: Update expect pattern for load command
9295 without arguments.
9296
9297Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9298
9299 * configure.in: Change i386 to i[345]86.
9300 * gdb.base/configure.in: Likewise.
9301 * gdb.c++/configure.in: Likewise.
9302 * gdb.chill/configure.in: Likewise.
9303
9304Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9305
9306 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9307 patterns, since that is not a valid context for comments.
9308
9309Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9310
9311 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9312 repeated types and repeated types with indices > 9.
9313
9314Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9315
9316 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9317 2417; old bug has been fixed.
9318
9319Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9320
9321 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9322 send the newline ourselves instead of assuming gdb_test will do
9323 so when passed an empty input string.
9324
9325 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9326 stabs testcode.
9327
9328Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9329
9330 * lib/gdb.exp (gdb_test): Don't send anything if the first
9331 argument is an empty string. This makes cases where we want to
9332 match output that is already in expect's buffers (for example,
9333 matching a breakpoint after gdb_run_cmd has been called) work
9334 reliably.
9335
9336Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9337
9338 * config/netware.exp: New file.
9339
9340Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9341
9342 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9343 the -B and -L prefixes so we can find the debugging stub.
9344
9345 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9346 there and we are using the gcc from the tree.
9347
9348 * gdb.base/types.c: Removed.
9349
9350 * gdb.base/configure.in: Look for makefile fragments in ../config.
9351 Recognize i386-*-netware.
9352 * gdb.c++/configure.in: Likewise.
9353
9354Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9355
9356 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9357 the correct TCL syntax.
9358
9359Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9360
9361 * gdb.base/opaque.exp: use runto instead of messing around with
9362 breakpoints. Simplify by using gdb_test.
9363
9364 * gdb.base/bitfields.exp: restart between tests on netware targets
9365 because breakpoints aren't relocated after target death. Run
9366 processes to completion.
9367
9368 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9369
9370Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9371
9372 * Makefile.in: Remove extra tabs that confuse some versions
9373 of "make". Use the newly built gdb to test with by default,
9374 rather than the first one in the tester's search path.
9375
9376Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9377
9378 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9379
9380 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9381 condition help.
9382
9383Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9384
9385 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9386
9387 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9388 running.
9389 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9390 * gdb.base/funcargs.exp: Likewise.
9391
9392 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9393 * gdb.base/funcargs.exp: Likewise.
9394
9395 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9396 message is "".
9397
9398Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9399
9400 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9401 return,signals,twice}.exp: Handle non-existant binaries
9402 consistantly.
9403
9404 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9405 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9406 might testing a cross development system.
9407
9408Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9409
9410 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9411 runtest script is relative to ${srcdir}, not ${rootdir}.
9412
9413Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9414
9415 * gdb.base/signals.exp: Allow for optionality of breakpoint
9416 address.
9417
9418Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9419
9420 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9421
9422Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9423
9424 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9425 for size_t definition.
9426 * gdb.c++/templates.cc: Likewise
9427
9428 * config/mt-i386-netware: New file.
9429
9430 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9431 defined.
9432
9433 * gdb.base/Makefile.in: Added support for systems that name core
9434 files by appending "core" to the program name.
9435 * gdb.base/a1-selftest.exp: Likewise.
9436
9437Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9438
9439 * gdb.base/return.exp: Add comment and message for `return double'
9440 test failure on Sparc Solaris.
9441
9442Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9443
9444 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9445
9446Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9447
9448 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9449 from optimizing them away.
9450 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9451 patterns to include default constructors and assignment operators,
9452 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9453 character in the output of the virtual base pointer.
9454
9455Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9456
9457 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9458 expression match in print_addr_of to avoid unintented matches.
9459 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9460 versions up to 2.5.8.
9461
9462Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9463
9464 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9465 included file to run under newer versions of expect.
9466 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9467 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9468 Remove xfail for the virtual table of BDDHookV.
9469
9470Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9471
9472 * lib/gdb.exp (string_to_regexp): Set a default result.
9473 (default_gdb_start): Fix misleading message.
9474
9475Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9476
9477 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9478 Remove all CC, etc definitions.
9479 * config/mt-hpux: New file.
9480 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9481 (CFLAGS, LDFLAGS): Define.
9482 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9483
9484 * Makefile.in (site.exp): Don't insert host_os, etc.
9485 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9486 (distclean): Check existence of subdir.
9487 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9488 * gdb.base/Makefile.in: General cleanup and simplification.
9489 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9490 to build executables. Use default rule to build .o files.
9491 (EXPECT, RUNTEST, CC): Fix relative pathname.
9492 (site.exp): Don't insert host_os, etc.
9493 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9494 and/or SIGUSR1 defined.
9495 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9496 * gdb.c++/Makefile.in: General cleanup and simplification.
9497 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9498 (CFLAGS): Remove.
9499 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9500
9501Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9502
9503 * gdb.base/recurse.exp: Misc changes to get tests running again
9504 after Kung's changes to the watchpoint code.
9505 * gdb.base/watchpoint.exp: Likewise.
9506
9507Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9508
9509 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9510
9511Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9512
9513 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9514 * lib/gdb.exp (default_gdb_start): Define.
9515 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9516 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9517 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9518 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9519 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9520 Don't call gdb_target_udi in between tests.
9521
9522Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9523
9524 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9525 (which was basically just a local version of the same thing). In
9526 addition to avoiding duplication, gdb_test_exact is faster.
9527 * lib/gdb.exp (gdb_test_exact): Fix typo.
9528
9529 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9530 don't give an error.
9531
9532 * gdb.base/term.exp: Call delete_breakpoints before starting.
9533
9534 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9535 (t10): Add comment.
9536
9537Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9538
9539 Reorganization of the GDB Test Suite.
9540
9541 * gdb.base: New directory, contains all the basic tests.
9542 * gdb.c++: New directory, tests specific to C++.
9543 * gdb.chill: New directory, tests specific to Chill.
9544 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9545 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9546 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9547 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9548 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9549 t30-31 to chill).
9550 * */gdbme.*: Rename to match appropriate expect scripts.
9551 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9552 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9553 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9554 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9555 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9556 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9557 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9558 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9559 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9560 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9561 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9562 gdb.c++/virtfunc.cc: New names of C++ files.
9563 * gdb.chill/chillvars.ch: New name of Chill file.
9564 * gdb.base/configure.in, gdb.c++/configure.in,
9565 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9566 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9567 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9568 * configure.in (configdirs): Update to reflect directory changes.
9569 (target_abbrev): No longer define for any configuration.
9570 * Makefile.in: Cosmetic improvements to header comments.
9571
9572Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9573
9574 Various changes to gdb.t31:
9575
9576 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9577 * gdbme.ch: Make all key-words and predefineds be upper-case.
9578 * chillvars.exp: Expect key-words and predefinds in upper-case.
9579
9580 * chillvars.exp: Use gdb_test_exact many places.
9581 Change expected output for arrays (which now includes index labels).
9582
9583 * pr-5020.exp, gdme.ch (module PR_5020):
9584 New test, for PR-5020.
9585
9586Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9587
9588 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9589 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9590
9591Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9592
9593 * Makefile.in: Fix bit-rot in definitions of CHILL,
9594 CHILL_FOR_TARGET and Chill_LIB.
9595 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9596 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9597 CHILL, and CHILL_LIB.
9598
9599Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9600
9601 * Revert the previous changes. Please see Rob's directory
9602 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9603
9604Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9605
9606 * Makefile.in, configure.in, config/mips-gdb.exp,
9607 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9608 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9609 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9610 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9611 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9612 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9613 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9614 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9615 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9616 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9617 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9618 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9619 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9620 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9621 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9622 changes from 94Q1.
9623
9624Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9625
9626 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9627 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9628 Rob's new testing fragments.
9629
9630Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9631
9632 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9633 lib/gdb.exp: Replace error proc calls with perror.
9634
9635Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9636
9637 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9638 version also, match on casted version strings, and match on
9639 gdb startup case where the line numbers might be messed up.
9640
9641Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9642
9643 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9644 (CFLAGS): Delete it from here.
9645
9646Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9647
9648 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9649
9650Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9651
9652 * Makefile.in (RUNTEST): Default to just "runtest".
9653
9654Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9655
9656 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9657 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9658 the code has been restructured.
9659
9660Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9661
9662 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9663 \n, not just one of each.
9664
9665 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9666 /bin/cc gives a warning if you do.
9667
9668Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9669
beb998c6 9670 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9671 __t10ListS_link1ZUiRCUiPT0
9672
9673Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9674
9675 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9676 on local variables in recursive functions.
9677
9678 * gdb.t07/Makefile.in: Build the new test.
9679
9680Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9681
9682 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9683 directly. Instead compare the return values from actual calls.
9684
9685Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9686
9687 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9688
9689Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9690
9691 * From Peter Schauer with minor modifications.
9692 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9693 stops in mid-line in the caller. Add xfail for returning a float
9694 value on X86 targets.
9695
9696Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9697
9698 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9699 to avoid expect lossage.
9700 (fmem_LRbug_tests): Likewise.
9701 * gdb.disasm/hppa.s: Corresponding changes.
9702
9703 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9704 conditions to work with latest dejagnu/expect.
9705
9706 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9707 expected to fail on the PA.
9708 (backtrace in call with trampolines): Explicitly require main
9709 to be frame #1 (no trampolines should show up in backtrace).
9710
9711 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9712 "continue -expect".
9713 * gdb.t06/break.exp: Likewise.
9714 * gdb.t07/watchpoint.exp: Likewise.
9715 * gdb.t13/bitfields.exp: Likewise.
9716 * gdb.t15/{funcargs,return}.exp: Likewise.
9717 * gdb.stabs/weird.exp: Likewise.
9718 * config/{mips,udi}-gdb.exp: Likewise.
9719
9720 * hppa.sed: Enclose comments within a sed command to avoid
9721 losing with the old OSF1 sed.
9722
9723Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9724
9725 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9726 sequent dynix.
9727 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9728 * gdb.t15/funcargs.exp: Conditionally step again to really
9729 finish from marker_call_with_trampolines. Handle the case where
9730 the first step from within call_with_trampolines already steps
9731 us back to main.
9732 * gdb.t15/gdbme.c: Add comment to closing brace of
9733 call_with_trampolines for funcargs.exp.
9734
9735Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9736
beb998c6 9737 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9738 Fix typo(s).
9739
9740Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9741
9742 * gdb.t07/gdbme.c: More code for watchpoint testing.
9743
9744 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9745 "Hardware watchpoint" throughout file.
9746 (test_watchpoint_triggered_in_syscall): New test.
9747 (test_complex_watchpoint): New test.
9748
9749Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9750
9751 * gdbme.c (call_with_trampolines): New function to try and step
9752 into. Tests trampoline problems on the PA.
9753
9754 * funcargs.exp (localvars_in_indirect_call): No longer expect
9755 stepping into indirect call to fail on PAs.
9756 (test_stepping_over_trampolines): New test.
9757
9758Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9759
9760 * TODO: Add suggestions for static member function tests, and
9761 completion tests.
9762
9763Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9764
9765 * TODO: Add suggestions for "p/a" tests.
9766
9767 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9768 (default_gdb_exit): Replace all the hair with sending "quit" to
9769 the process with a simple close.
9770
9771Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9772
9773 * TODO: Add suggestions for shared library tests.
9774
9775Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9776
9777 * TODO: Add suggestions for x/s tests.
9778
9779Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9780
9781 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9782 "enable once", and "enable breakpoints once" with ".*".
9783
9784Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9785
9786 * TODO: Add suggestions about structure passing tests.
9787
9788Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9789
9790 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9791 the primary1 test, use work around if __GNUC__ < 2.
9792 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9793 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9794 Test for bad output rather than waiting for timeout. Issue
9795 second continue only if first continue failed.
9796
9797Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9798
9799 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9800 operator[] test with gdb_test because the old code didn't seem to
9801 be getting the quoting right with the new dejagnu.
9802
9803Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9804
9805 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9806 one from the path.
9807 * Makefile.in: Use a fresh expect if there is one, use runtest
9808 from the src tree if there is one.
beb998c6 9809
c906108c
SS
9810Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9811
9812 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9813 next over recursive call. Revise the tests from that point on
9814 (which had been skipped) to match GDB's actual (correct) output.
9815
9816 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9817 with next over a breakpoint whose condition is false.
9818
9819 * gdb.t00/help.exp: Comment out "help set print" tests just like
9820 (and for same reason as) "help set" test.
9821
9822Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9823
9824 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9825 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9826
9827Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9828
9829 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9830 necessary gdb_target_udi.
9831
9832 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9833
9834 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9835 1838 and 2417; they are fixed.
9836
9837 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9838 gdb.t03/ptype.exp (ptype structure, ptype union):
9839 Remove xfails; the test is looser than when the xfails were added.
9840
9841 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9842 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9843
9844 * gdb.t01/run.exp: Only run shell test if isnative.
9845
9846 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9847 since "run" automatically loads if necessary. Call gdb_target_udi
9848 after the "file" since "file" kills any execution target.
9849
9850 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9851 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9852 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9853 argument for UDI.
9854
9855Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9856
9857 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9858
9859 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9860
9861Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9862
9863 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9864 properly quoting regexps. This makes the second argument to
9865 demangle a fixed string, which matches the callers, instead of a
9866 shell-style pattern which is what the previous implementation
9867 used. Update some of the callers.
9868
9869Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9870
9871 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9872 (comib_nullified_tests): Fix typo.
9873 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9874 strings. No longer expected to fail.
9875
9876 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9877 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9878 strings. No longer expected to fail.
9879
9880 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9881 string. No longer expected to fail.
9882
9883Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9884
9885 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9886 No longer expected to fail.
9887
9888 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9889 string. No longer expected to fail.
9890
9891Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9892
9893 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9894 only in the names (I probably got most of them). I was even
9895 generous with some which differed in underscores in names, and
9896 probably missed a few, and I *still* was able to remove almost a
9897 third of the file with almost no impact on testsuite coverage.
9898
9899Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9900
9901 * gdb.t00/default.exp: Match udi_attach error message as well as
9902 the one from child_attach.
9903
9904 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9905
9906 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9907
9908 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9909 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9910
9911 * Move test with enums and partial symbols back to
9912 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9913 Reverts the change of 26 May 93. Per today's change to
9914 stabs.texinfo, the behavior that weird.exp was expecting was
9915 unreasonable; what is important is that the compiler+gdb get
9916 things right, which happens with a recent gcc. Also fix the test
9917 to deal with native compilers which put out the stab gdb can't
9918 deal with.
9919
9920Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9921
9922 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9923 in the names. The main thing these accomplish is to slow things down.
9924 Many more such duplicates surely remain.
9925
9926 * gdb.t00/help.exp: Comment out "help support" test just like
9927 (and for same reason as) "help set" test.
9928
9929Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9930
9931 * gdb.t06/break.exp: Remove setup_xfails for
9932 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9933 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9934 about known bug in gcc to include up through 2.5.8.
9935 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9936 well as "_vb$".
9937 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9938 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9939 with latest gcc and gdb.
9940 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9941 well as "_vb$".
9942
9943Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9944
9945 * configure.in (hppa*-*-*): Also configure and build stabs-only
9946 tests.
9947
9948Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9949
9950 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9951 * gdb.t10/configure.in (hppa*-*-*): Use it.
9952
9953Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9954
9955 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9956
9957Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9958
9959 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9960 versions prior to 1.13.5.
9961
9962Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9963
9964 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9965 the prompt is at the start of a line.
9966
9967Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9968
9969 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9970 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9971 in the copr tests now.
9972 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9973 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9974 expected to fail.
9975
9976Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9977
9978 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9979 gdb.t31/chillvars.exp, lib/gdb.exp:
9980 Tweak to run under either version of expect.
9981 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9982 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9983 * gdb.t11/list.exp: Remove extraneous whitespace.
9984
9985Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9986
9987 * gdb.t16/printcmds.exp (test_print_strings): Accept
9988 "(unsigned char *) " before the string.
9989
9990 * TODO: Add notes about printing of fancy types and GDB expressions.
9991
9992Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9993
9994 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9995 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9996 if doing mips-idt-ecoff.
c906108c
SS
9997
9998Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9999
10000 * Most .exp files: Tweak to run under either version of expect.
10001
10002Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10003
10004 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10005 xfails; I'm not sure why they are failing, but not because of PR 1806.
10006
10007Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10008
10009 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10010 defined in lib/gdb.exp.
10011
10012Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10013
10014 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10015 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10016 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10017 have to be typeless.
10018
10019Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10020
10021 * TODO: Add suggestion for copyright year test.
10022
10023Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10024
10025 * configure.in (*-*-lynxos*): Add stabs tests.
10026
10027Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10028
10029 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10030 so insert a tab before any assembler directive in column zero.
10031
10032 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10033 stores.
10034 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10035 stores.
10036 (fpu_short_memory_tests): Likewise.
10037
10038Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10039
10040 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10041 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10042 .stabs directives in comments.
10043
10044Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10045
10046 * TODO: New file, describing tests we could write.
10047 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10048
10049Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10050
10051 * gdb.t06/signals.exp: Add kludge to force re-sync.
10052
10053 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10054 to xgdb instead of gdb, get out of gdb.
10055
10056Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10057
10058 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10059 for info.
10060
10061Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10062
10063 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10064 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10065 * gdb.stabs/hppa.sed: New sed script for the PA.
10066
10067Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10068
10069 * gdb.stabs: Re-write weird.def and configuration to use sed
10070 instead of cpp. sed is portable and POSIX; cpp is neither.
10071
10072Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10073
10074 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10075
10076Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10077
10078 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10079
10080Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10081
10082 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10083 "_vb$".
10084 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10085 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10086
10087Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10088
10089 * lib/gdb.exp: Comment out code which depends on non-existent
10090 `transform' procedure.
10091
10092Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10093
10094 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10095 * lib/gdb.exp: Transform tool name.
10096 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10097 1.1's new error handling system.
10098
10099Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10100
10101 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10102
10103Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10104
10105 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10106 They made pattern matching so slow that timeouts happened on
10107 heavily loaded systems. Now any output from "show print" which
10108 gets us back to the GDB prompt is a PASS.
10109
10110Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10111
10112 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10113
10114Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10115
10116 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10117
10118 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10119 It is not from PR 3220.
10120
10121Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10122
10123 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10124 just started failing because they depended on the order the
10125 subcommands are presented, or exact docstring text. This kind of
10126 test is a pain and has minimal benefit.
10127
10128Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10129
10130 * gdb.t09/corefile.exp: At end of test, use "core" command with
10131 no arguments.
10132
10133Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10134
10135 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10136 17}/Makefile.in: Make it possible to run the testsuite with Sun
10137 make and CC = cross gcc by adding explicit build rules for .o
10138 files.
10139
10140Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10141
10142 * gdb.t15/funcargs.exp: Don't put comments on same line as
10143 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10144
c906108c
SS
10145Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10146
10147 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10148
10149Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10150
10151 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10152 * gdb.t20/inherit.exp: remove three dumplicate entries.
10153
10154Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10155
10156 * gdb.t06/break.exp: For "next over recursive call", fail on any
10157 incorrect output, not just on "factorial (value=2)".
10158
10159Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10160
10161 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10162 working now. Add an xfail if accesing a bss variable causes
10163 a memory error if the target is not yet run.
10164
10165Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10166
10167 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10168 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10169 name of __st* demangling (2 strings). Did Kung really get the
10170 more than 95 others right without testing them?
10171
10172Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10173
10174 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10175
10176Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10177
10178 * configure.in (configdirs): Add gdb.disasm
10179 * gdb.disasm: New directory for GDB disassembler tests.
10180 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10181
10182Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10183
10184 * gdb.t00/help.exp: Don't test "help set".
10185
10186 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10187 from within expect statements. None of these happen anymore and
10188 they cause regressions to be silently unnoticed.
10189
10190 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10191 messages) about known failures with gcc cygnus-2.4.5-930417.
10192
10193 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10194 comp-info.exp so it gets built if it doesn't exist.
10195
10196 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10197 it is no longer used.
10198 * gdb.t13/comp-info.c: Removed.
10199
10200Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10201
10202 * gdb.t06/signals.exp: Add xfail for sun3.
10203
10204Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10205
10206 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10207 relevant because ^C doesn't get sent but failure can be reproduced
10208 interactively).
10209
10210Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10211
10212 * gdb.stabs/alpha.mt: New configuration file for alpha.
10213 * gdb.stabs/configure.in: Use it.
10214 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10215 sharing with alpha.mt, redefine long to word via preprocessor.
10216 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10217 for alpha.
10218 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10219 native cc.
10220 * gdb.t00/teststrategy.exp: Change expect string so that we
10221 consume the `(xgdb)' from the command echo and from the gdb prompt.
10222 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10223 gdb currently compares all values as long, so this failure probably
10224 applies to any configuration where LONGEST is bigger than a target int.
10225 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10226 with gcc.
10227 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10228 to handle opaque pointers, gcc is.
10229 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10230 as first argument. Include <sys/types.h> and change all operator
10231 new definitions to use size_t.
10232 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10233 now that we use size_t.
10234
10235Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10236
10237 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10238 a long or float array cast all array members to the same type.
10239 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10240 with 64 bit longs.
10241 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10242 on alpha.
10243 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10244
10245Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10246
10247 * gdb.t24 (demangle.exp): Constructors of templates have names like
10248 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10249 section 14.6 of the ARM.
10250
10251 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10252 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10253 accomplish little and slow down the testsuite.
10254
10255 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10256 Accept spaces various places.
10257
10258Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10259
10260 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10261 with watchpoint enabled.
10262
10263 * Makefile.in: Remove definition of CC and remove the second
10264 definition of CXX (the "CXX = gcc" one remains). These definitions
10265 were causing backquotes to be expanded within backquotes, which
10266 doesn't work.
10267
10268Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10269
10270 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10271
10272Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10273
10274 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10275 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10276 by mips cc and contains no stabs entries.
10277
10278Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10279
10280 * config/vx-gdb.exp: Use fake device to load files rather than
10281 NFS.
10282 * lib/gdb.exp: New proc to do "file" command.
10283 * config/unix-gdb.exp: Use new "file" proc.
10284
10285Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10286
10287 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10288 Rework board rebooting slightly.
10289 (gdb_exit): Don't exit from the remote shell; there isn't one.
10290 * gdb.stabs/weird.exp: If a program is being debugged already,
10291 kill it.
10292 * gdb.t04/setvar.exp: Stop and restart gdb.
10293 * gdb.t05/expr.exp: Likewise.
10294 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10295 restart gdb and reload the program.
10296 * gdb.t08/opaque.exp: Likewise.
10297 * gdb.t12/scope.exp: Likewise.
10298 * gdb.t13/bitfields.exp: Likewise.
10299 * gdb.t15/funcargs.exp: Likewise.
10300 * gdb.t20/classes.exp: Likewise.
10301 * gdb.t03/ptype.exp: Increase timeout.
10302 * gdb.t16/printcmds.exp (test_print_string_constants,
10303 test_print_array_constants): Likewise.
10304 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10305 * gdb.t20/classes.exp (do_tests): Likewise.
10306 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10307
10308Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10309
10310 * gdb.stabs: Renamed *wierd* to *weird*.
10311
10312Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10313
10314 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10315 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10316
10317Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10318
10319 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10320 (do_tests): Remove xfail for whatis on one_var and two_var.
10321
10322Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10323
10324 * Makefile.in: Made cross building work better by adding
10325 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10326
10327Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10328
10329 * gdb.t15/{return.c,return.exp,Makefile.in}:
10330 New test, currently commented out.
10331
10332Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10333
10334 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10335 still running and removes the leftover named socket so GDb can do
10336 clean restarts.
10337
10338Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10339
10340 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10341 console, not GDB.
10342 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10343 cross testing works better with "make check"
10344 * config/unix-gdb: Use default procedures for exit and version.
10345 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10346 with the newest VxWorks.
10347
10348Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10349
10350 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10351 old form.
10352
10353 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10354 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10355
10356 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10357
10358 * config/unix-gdb.exp: Remove this version of gdb_exit
10359 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10360 Rob says he'll look at it when he gets back to testing boards.
10361
10362Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10363
10364 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10365 an expected fail for certain ptype commands.
10366
10367 * gdb.t20/classes.exp: Update expected results of "ptype class
10368 Base1" to account for the constructor that now appears in the type.
10369
10370Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10371
10372 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10373 disappeared from list.
10374 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10375 "alldone" proc with call to cleanup and exit.
10376 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10377 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10378 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10379 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10380 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10381 "alldone" proc with simple returns that suppress remaining
10382 tests. The alldone proc went away many months ago.
10383
10384Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10385
10386 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10387
10388 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10389
10390Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10391
10392 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10393 as vax gdb will display them.
10394
10395Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10396
10397 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10398 optimizers.
10399
10400 * scope.exp: Change "bad value for localval" messages so each one
10401 is unique.
10402
10403 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10404 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10405
10406 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10407
10408Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10409
10410 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10411 doesn't exist (due to optimization).
10412
10413Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10414
10415 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10416 contains \r because the filename is long.
10417
10418 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10419 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10420
10421Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10422
10423 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10424 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10425 Ultrix.
10426 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10427 int tests.
10428 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10429
10430Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10431
10432 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10433
10434 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10435 to match does not match the passing case but still matches the
c906108c
SS
10436 failing case.
10437
10438Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10439
10440 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10441
10442Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10443
10444 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10445 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10446 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10447 Remove various versions of gdb_exit.
10448 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10449 gdb_exit.
10450 * config/unix-gdb.exp: gdb_exit remains here, and should override
10451 the generic version, since it's doing a lot of wierd stuff that
10452 the other versions aren't. FIXME, fold it in, or abandon this
10453 version.
10454
10455Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10456
10457 * gdb.t24/demangle.exp: Add tests for PR 3220.
10458
10459Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10460
10461 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10462
10463Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10464
10465 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10466 "i386-*-*". Works for i486 as well.
10467
10468 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10469 bug, and expand domain of xfail to all SVR4 systems, since the
10470 actual problem is likely to be in generic SVR4 /proc support.
10471
10472Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10473
10474 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10475
10476Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10477
10478 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10479 xfails for other systems. Match a missing 'Continuing.' as an
10480 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10481
10482 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10483 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10484 Only issue warning for missing executables if -all option is used.
10485
10486 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10487 file if -all option is used. It's like an unpredictable XFAIL.
10488
10489Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10490
10491 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10492 for dynamically linked binaries.
10493
10494 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10495
10496Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10497
10498 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10499 to state that this is a known bug in old versions of g++.
10500
10501Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10502
10503 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10504 while waiting for `Continuing'.
10505
10506Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10507
10508 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10509 in text, data, and bss.
10510 * gdb.t10/nodebug.c: Add local and global test variables for
10511 initialized and uninitialized data.
10512
10513Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10514
10515 * config/unix-gdb.exp (gdb_exit): Add "wait".
10516
10517Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10518
10519 * gdb.t06/signals.exp: xfail the continue from the handler for all
10520 targets.
10521
10522 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10523 function with watchpoints enabled, the i386 call dummy starts with
10524 a call.
10525
10526 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10527 386 bsd names its corefiles.
10528
10529Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10530
10531 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10532 compilers don't grok it.
10533 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10534 with small octal ints rather than character constants, which
10535 are signed and might not fit if first promoted to int.
10536
10537Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10538
10539 * gdb.t09/Makefile.in (clean): Remove corefile.
10540
10541Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10542
10543 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10544
10545Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10546 and Jim Kingdon (kingdon@cygnus.com)
10547
10548 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10549 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10550 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10551
10552Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10553
10554 * gdb.t17/interrupt.exp: Add xfail for hppa.
10555
10556Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10557
10558 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10559 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10560 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10561 to determine signed-ness of bitfields and use the result to setup
10562 the xfail.
10563 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10564 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10565 call line is reached if necessary.
10566
10567Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10568
10569 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10570
10571Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10572
10573 * gdb.t06/break.exp: Also test `clear' command.
10574
10575Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10576
10577 * gdb.t00/teststrategy.exp: Remove extra quote.
10578
10579 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10580 watchpoint enabled to be for all non-68k machines.
10581
10582 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10583
10584Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10585
10586 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10587 targets use aout.mt instead of ecoff.mt as gas understands
10588 standard aout format.
10589
10590Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10591
10592 * lib/gdb.exp (runto): Don't insist that function we are running to
10593 was compiled with -g.
10594
10595 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10596
10597 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10598 to get back into the read system call.
10599 Accept leading newline in case where we woke it up.
10600
10601Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10602
10603 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10604 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10605 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10606 enable ecoff configuration.
10607
10608Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10609
10610 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10611
10612Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10613
10614 * gdb.t16/printcmds.exp: Add another printf test.
10615
10616Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10617
10618 * configure.in: If configured -with-stabs on any target, add
10619 stabsdirs to configdirs.
10620
10621Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10622
10623 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10624 fun" so pattern does not match the command itself.
10625
10626Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10627
10628 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10629
10630Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10631
10632 * gdb.t17/interrupt.exp: Test for more things.
10633
10634Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10635
10636 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10637 compiler arranges the code and line numbers.
10638
10639 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10640
10641Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10642
10643 * gdb.t00/help.exp: Increase expect input buffer size.
10644
10645Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10646
10647 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10648
10649 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10650
10651 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10652
10653 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10654 [0-9]*, not just [0-9].
10655
10656Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10657
10658 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10659
10660 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10661
10662Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10663
10664 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10665
10666Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10667
10668 * gdb.t06/signals.c: Add xfails for sun3.
10669
10670 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10671
10672 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10673 test_stepping tests.
10674
10675Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10676
10677 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10678
10679 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10680
10681 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10682 rather than actually putting it through cpp twice.
10683
10684 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10685
10686Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10687
10688 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10689 no longer needed.
10690
10691Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10692
10693 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10694
10695 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10696 C++ features prints as "struct", make it a pass, not an xfail.
10697
10698Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10699
10700 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10701 Don't require VA to print as "class" rather than "struct".
10702
10703Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10704
10705 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10706
10707Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10708
10709 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10710
10711Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10712
10713 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10714 order.
10715
10716Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10717
10718 * gdb.t16/printcmds.exp: Add printf tests.
10719
10720 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10721
10722 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10723
10724Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10725
10726 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10727 pass counts, to counteract any existing or future setup_xfails.
10728
10729Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10730
10731 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10732 {BEGIN,END}_COMMON for common block instead of STAB.
10733 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10734
10735 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10736 intp_var should be N_GSYM not N_LSYM.
10737 wierd-aout.S: Use a label for the value of the N_SO.
10738 wierd.def: Remove all backslashes.
10739 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10740
10741Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10742
10743 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10744 get the expected next to inheritance3.
10745
10746Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10747
10748 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10749 now that gcc-2.4 gets it right.
10750
10751Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10752
10753 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10754
10755 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10756 generating comp-info.exp which works for cross-compilation.
10757
10758Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10759
10760 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10761 "*-*-sysv4.*".
10762
10763Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10764
10765 * gdb.t01/run.exp: Start with a fresh gdb.
10766 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10767 SVR4.x.
10768
10769Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10770
10771 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10772 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10773 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10774 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10775 things to remove.
10776
10777Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10778
10779 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10780 test cases from bug reports.
10781
10782Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10783
10784 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10785 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10786 avoid spurious xfails.
10787 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10788 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10789 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10790
10791Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10792
10793 * gdb.t00/teststrategy.exp: Rework to provide more useful
10794 description of each test, fix problem with systems that define
10795 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10796 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10797 results for "next over recursive call" so timeouts aren't taken
10798 by error.
10799
10800Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10801
10802 * gdb.t12/scope.exp: Test printing of variables before run.
10803
10804 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10805 printed in wrong order due to sorting.
10806
10807Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10808
10809 * gdb.t00/teststrategy.exp: Fix expected results for printing
10810 user entered string constant. Is array of char, prints with no
10811 address.
10812
10813 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10814 commands.
10815 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10816 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10817 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10818 of struct of char arrays.
10819 * gdb.t00/radix.exp: New tests for radix commands.
10820
10821Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10822
10823 * gdb.t16/printcmd.exp: Print a variable before running program
10824 (with xfail for AIX).
10825
10826Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10827
10828 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10829
10830 * gdb.t16/printcmd.exp: Don't print variables before running program.
10831
10832 * gdb.t06/break.exp: Don't require envp argument to main.
10833
10834 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10835
10836 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10837 Add xfails for rs6000.
10838
10839 * gdb.t02/whatis.exp: Change other tests not to re-test something
10840 we already tested.
10841
10842 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10843 each type used has a variable of that type.
10844
10845Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10846
10847 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10848
10849Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10850
10851 * configure.in: change srctrigger to be a file, not a directory
10852
10853Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10854
10855 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10856
10857 * gdb.t11/list.exp: Fixed a couple of typos.
10858
10859Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10860
10861 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10862 is fixed and PR is closed.
10863 * gdb.t16 (gdbme.c): Add simple test string variable.
10864 * gdb.t16 (printcmds.exp): Add tests with simple test string
10865 variable, primarily for boundaries on "set print elements".
10866
10867Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10868
10869 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10870 Make leading 0's optional and don't expect a tab in the middle
10871 of the number.
10872
10873 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10874
10875 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10876 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10877 don't end command passed to gdb_test with newline.
10878
10879 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10880 signed keyword away, don't expect signed bitfields to be signed.
10881
10882 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10883 printing with only as many 1's as are in the field as well as printing
10884 with 32 1's (see comment).
10885
10886Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10887
10888 * gdb.t00/default.exp: Start with a fresh gdb.
10889 * configure.in (configdirs): Remove gdb.t31 until the chill
10890 compiler works again. It no longer is able to find chillrt0
10891 since it isn't in libchill.a anymore.
10892 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10893 wierd.o, make more modular.
10894 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10895 spurious newlines that caused problems.
10896
10897Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10898
10899 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10900 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10901 gdb.stabs/wierd.{exp,def}: Many new tests.
10902
10903 * gdb.t00/default.exp: update info line for new message.
10904
10905 * gdb.t02/{whatis.exp,gdbme.c}:
10906 Test that "char *" doesn't print as "caddr_t".
10907
10908Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10909
10910 * gdb.t00/help.exp: Use .* in place of some help messages which
10911 just changed.
10912 gdb.t00/default.exp: Update "info frame" test for new message.
10913 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10914 Remove some xfails
10915
10916Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10917
10918 * gdb.t03/{gdbme.c,ptype.exp}:
10919 Add tests for typedef'd struct and union without tags.
10920 Also check "whatis" on a variable of a typedef'd enum without a tag.
10921
10922 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10923 PRMS 1823; the bug still exists but isn't reproduced by this test
10924 anymore), and remove rs6000 XFAIL (the bug is fixed).
10925
10926 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10927 duplicated from whatis.exp. For those that are left, accept
10928 "long", "long int", or "int" for long variables (whatis.exp already
10929 has an XFAIL for "int", so no need to fail it here).
10930
10931 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10932 Deal with GCC's names for types now that GDB uses the compiler's names.
10933
10934 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10935 setup_xfail's for sunos4. If we #defined the signed keyword away,
10936 don't expect GDB to know that char it is signed.
10937
10938 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10939
10940Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10941
10942 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10943 should work on any system, regardless of debugging format.
10944 * gdb.t21/demangle.exp: Move to gdb.t24.
10945 * gdb.t24/demangle.exp: Move from gdb.t21.
10946 * gdb.t24/{Makefile.in, configure.in}: New files.
10947
10948Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10949
10950 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10951 * gdb.stabs: New directory.
10952
10953Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10954
10955 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10956 not just "Quit anyway?".
10957
10958Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10959
10960 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10961 that all setup_xfails are immediately followed by clear_xfails.
10962
10963Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10964
10965 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10966 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10967 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10968 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10969 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10970 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10971 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10972 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10973 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10974 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10975 gdb.t31/chillvars.exp, lib/gdb.exp:
10976 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10977 bug-gdb@prep.ai.mit.edu.
10978
10979Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10980
10981 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10982 with 0.0, not integer 0.
10983
10984Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10985
10986 * gdb.t06/break.exp: Update for "Kill the program" message change.
10987
10988Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10989
10990 * Makefile.in (GDBFLAGS): Set to -nx.
10991 * Makefile.in (site.exp): Use GDBFLAGS.
10992
10993Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10994
10995 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10996 Makefiles.
10997 (check): depend on just-check.
10998 (just-check): added so that tests can be run without a noop
10999 build pass.
11000
11001Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11002
11003 Switch to using configure's configdirs.
11004 * Makefile.in (Makefile): add configure.in dependency.
11005 (SUBDIRS): removed redundant assignment.
11006 * configure.in: switch subdirs assignment to configdirs.
11007 * gdb.t*/configure.in: new files.
11008
11009Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11010
11011 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11012 works.
11013
11014Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11015
11016 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11017 in explicit rules. Apparently this is not supported by some makes.
11018
11019Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11020
11021 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11022
11023Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11024
11025 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11026 disappeared.
11027
11028Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11029
11030 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11031
11032Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11033
11034 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11035 watchpoint problem that is now fixed.
11036 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11037 uninitialized convenience variables.
11038 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11039 structures.
11040
11041Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11042
11043 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11044 which causes expect to get out of sync with gdb on long output
11045 from help set.
11046 * gdb.t09/corefile.exp: Make expected pattern for core file
11047 failing signal and frame output format less sun specific.
11048
11049Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11050
11051 * gdb.t31/chillvars.exp: Add and remove initial dummy
11052 breakpoint, so that symbol table is forced in.
11053 (Needed at least on Sunos4, though it seems not SVR4.)
11054 * gdb.t31/chillvars.exp: Update for changed output format.
11055
11056Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11057
11058 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11059
11060Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11061
11062 * Makefile.in: Added --srcdir when invoking runtest, removed the
11063 need for a local config file. (optional now)
11064
11065Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11066
11067 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11068 failure count used to force early termination. Add some more
11069 expected failures for gnu style demangling.
11070
11071Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11072
11073 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11074 pmi variable from gdb.t20/gdbme to get optimized away.
11075 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11076 Check for written corefile upon timeout _and_ eof.
11077
11078Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11079
11080 * config/unix-gdb.exp: Add missing return 0.
11081
11082Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11083
11084 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11085 test termination.
11086
11087Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11088
11089 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11090 disappeared.
11091
11092Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11093
11094 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11095 time as i860 support works.
11096
beb998c6 11097 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11098 "backtrace 100\r" rather than just "backtrace\r", to match last
11099 change.
11100
11101Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11102
11103 * config/udi-gdb.exp (gdb_exit): Remove close command.
11104 (gdb_target_udi): New procedure to set the UDI target.
11105 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11106 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11107 Added waits for prompts after several question responses. Added
11108 some more responses used by a29k-amd-udi-gdb.
11109 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11110 pass different arguments, restart UDI connection after program
11111 completion.
11112 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11113 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11114 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11115 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11116 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11117 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11118 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11119 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11120 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11121 after program completion.
11122 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11123 compiled with a SELECT_VECS setting.
11124 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11125 infinite recursion.
11126
11127 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11128 Added checks for COFF results, and made them expected failures for
11129 all targets. It would be better to make them expected failures
11130 for COFF targets only.
11131
11132Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11133
11134 * Makefile.in: add null dvi target, don't bother to recurse
11135 through test directories for info and install-info; rename
11136 $(datadir) to be dejagnu instead of deja-gnu
11137
11138Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11139
11140 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11141 compiler to coredump.
11142 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11143 code.
11144
11145Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11146
11147 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11148 coredump.
11149 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11150 code.
11151
11152Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11153
11154 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11155 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11156 which in a shell. Deletes xgdb when done.
11157 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11158 Tests the return from the "set height" or "set width" commands.
11159 Added a few return codes where needed.
11160
11161Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11162
11163 * Makefile.in (SUBDIRS): Add gdb.t17.
11164 * configure.in (subdirs): Add gdb.t17.
11165 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11166 files to test gdb's calling of functions in the inferior with
11167 the correct arguments and gdb's ability to retrieve any
11168 result returned.
11169
11170Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11171
11172 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11173 may be called after gdb goes away. Previous versions of expect
11174 needed these to avoid file descriptor leaks, but they cause
11175 errors with the current revision of expect.
11176 * gdb.t00/gdbvars.exp: Use -re on expected output after
11177 setting sevenbit-strings.
11178 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11179 to set sevenbit-strings consistent across tests.
11180 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11181 set sevenbit-strings consistent across tests.
11182
11183Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11184
11185 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11186 expected output to match current "expect" expectations.
11187
11188Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11189
11190 * gdb.t00/default.exp: Change expected output for default "source"
11191 command, to match new gdb behavior which requires a filename to
11192 source.
11193
11194Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11195
11196 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11197 expected fail for i486-*-* that misses the marker2 function.
11198 * gdb.t10/crossload.exp (bfddefault): Allow successful
11199 recognition of a format to pass even if no symbols are found.
11200 Explicitly catch failures where the format is not recognized
11201 or is ambiguous, and add the reason to the fail message.
11202 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11203 the cause is and invalid target and add reason to failure message.
11204 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11205 elf32-i386, elf32-sparc, and elf32-i860.
11206 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11207 Set up expected failure for 'filename'::variable scope resolution,
11208 which is now apparently broken on all targets.
11209 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11210 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11211 gdb.t23/templates.exp: Change failure for missing binfile into
11212 just a warning.
11213 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11214 references.
11215
11216Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11217
11218 * gdb.t00/default.exp: Add expected output for default "source"
11219 command, to match new gdb behavior.
11220 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11221
11222Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11223
11224 * config/*-gdb.exp: returns an error, rather than exiting on
11225 internal errors.
11226
11227Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11228
11229 * gdb.t03/gdbme.c: Add pointer to struct variable.
11230 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11231 referencing struct members.
11232
11233Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11234
11235 * configure.in (mips-idt-ecoff): New target.
11236 * config/mips-gdb.exp: New file for remote board using MIPS remote
11237 debugging protocol.
11238
11239 * Redid configuration scheme. Removed gdb.t*/configure.in.
11240 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11241 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11242 distclean targets. Built executables via .o files. Adjusted
11243 tests to account for source files in $(srcdir) rather than
11244 $(objdir).
11245 * lib/gdb.exp (runto): Don't expect () after the function name,
11246 because it may have arguments.
11247
11248Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11249
11250 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11251 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11252 expected failures for mips-idt-* and mips-sgi-*.
11253 * gdb.t00/default.exp (attach): Kill process if requested.
11254 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11255 that does not read core files.
11256 * gdb.t01/run.exp: Removed checks for exit status code.
11257 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11258 it is linked in.
11259 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11260 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11261 appropriate, rather than doing it by hand.
11262 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11263 execution.
11264 * gdb.t10/crossload.exp: Kill existing program if needed.
11265 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11266 appropriate, rather than doing it by hand. Always increase
11267 timeout for this test, not just for VxWorks.
11268
11269Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11270
11271 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11272 of Chill STRUCT types and STRUCT values.
11273 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11274 than "char".
11275 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11276 struct2): New struct definitions and initializations to test
c906108c
SS
11277 simple Chill STRUCT types.
11278
11279Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11280
11281 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11282 the null byte at the end of strings.
11283 * gdb.t00/default.exp: Make show version insensitive to copyright
11284 date.
11285 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11286 to avoid dependencies on target char signedness.
11287 * gdb.t16/printcmds.exp: Update expected results for explicitly
11288 unsigned char.
11289 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11290 now work.
11291 * gdb.t21/demangle.exp: Add many more patterns for template
11292 demangling, most of them being expected failures.
11293 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11294 string we are matching for, to match on the whole string.
11295 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11296 and fix a whole bunch that had incorrect expected output but were
11297 passing anyway because of the bug in "proc demangle".
11298 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11299 type.
11300 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11301
11302Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11303
11304 * gdb/testsuite: made modifications to testcases, etc., to allow
11305 them to work properly given the reorganization of deja-gnu and the
11306 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11307
11308Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11309
11310 * gdb/testsuite: Initial creation of gdb/testsuite.
11311 Migrated dejagnu testcases and support files for testing nm to
11312 gdb/testsuite from deja-gnu. These files were moved "as is"
11313 with no modifications. This migration is part of a major overhaul
11314 of dejagnu. The modifications to these testcases, etc., which
11315 will allow them to work with the new version of dejagnu will be
11316 made in a future update.
48efe704
AC
11317
11318For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11319\f
11320Local Variables:
ef043731 11321mode: change-log
c906108c
SS
11322left-margin: 8
11323fill-column: 74
11324version-control: never
11325End:
This page took 0.971426 seconds and 4 git commands to generate.