2004-01-26 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
94b8e876
MC
12004-01-24 Michael Chastain <mec.gnu@mindspring.com>
2
3 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
4 * lib/compiler.cc: Likewise.
5 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
6 get the right preprocessor. Eval the output directly. Remove
7 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
8 hp_f77_compiler and hp_f90_compiler completely.
9 (gdb_preprocess): Delete.
10 (get_compiler): Delete.
11
7cf03d44
MK
122004-01-24 Mark Kettenis <kettenis@gnu.org>
13
14 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15 <string.h>.
16
68b6dce9
NR
172004-01-24 Nick Roberts <nick@nick.uklinux.net>
18
19 * gdb.mi/mi-stack.exp: Update copyright.
20
b368761e
DC
212004-01-23 David Carlton <carlton@kealia.com>
22
23 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
24 test for cp_lookup_transparent_type.
25 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
26 call them.
27
f2061b53
DJ
282004-01-23 Daniel Jacobowitz <drow@mvista.com>
29
30 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
31 after -var-update.
32
37fc574a
DC
332004-01-23 David Carlton <carlton@kealia.com>
34
35 * gdb.cp/namespace.cc (C::ensureRefs): New.
36 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
37
8e94b928
NR
382004-01-20 Nick Roberts <nick@nick.uklinux.net>
39
40 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
41 case "-stack-list-locals 2".
42 * gdb.mi/mi-var-child.exp: Test for case
43 "-var-list-children --all-values NAME".
44
997b0952
MC
452004-01-18 Michael Chastain <mec.gnu@mindspring.com>
46
47 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
48
52470da3
MK
492004-01-18 Mark Kettenis <kettenis@gnu.org>
50
7049b4b8
MK
51 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
52 used with gdb_test_multiple.
53
52470da3
MK
54 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
55 read at address 0. This fixes PR testsuite/1504.
56
da6012e5
DJ
572004-01-18 Daniel Jacobowitz <drow@mvista.com>
58
59 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
60 Remove downloading, guessing the host executable, the calls to
61 gdb_file_cmd and gdb_target_cmd, and "load" support.
62 (infer_host_exec): New function broken out from gdb_load.
63 (gdb_load): New wrapper for gdbserver_gdb_load.
64 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
65 gdb_target_cmd. Use -target-select.
66 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
67 Download binaries to the host. Clear last_mi_remote_file when
68 we load a new binary.
69 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
70 call gdbserver_gdb_load and mi_gdb_target_cmd.
71
32c70722
MC
722004-01-17 Michael Chastain <mec.gnu@mindspring.com>
73
74 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
75 type patterns.
76
b0cecf36
MC
772004-01-17 Michael Chastain <mec.gnu@mindspring.com>
78
79 * gdb.cp/templates.exp: Fix typo in test name of
80 "print Foo<volatile char*>::foo".
81
4120d7e6
MC
822004-01-15 Michael Chastain <mec.gnu@mindspring.com>
83
84 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
85
f679e530
BE
862004-01-16 Ben Elliston <bje@wasabisystems.com>
87
88 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
89 (clean mostlyclean): Remove empty rm.
90
091c48f6
MC
912004-01-15 Michael Chastain <mec.gnu@mindspring.com>
92
93 * gdb.base/setvar.exp: Add copyright years.
94
3e5fc8d2
DC
952004-01-14 David Carlton <carlton@bactrian.org>
96
97 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
98 PR c++/1511 and update coment.
99 * gdb.cp/templates.exp: Update patterns to match current output.
100 If changes involve something other than whitespace, KFAIL
101 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
102
63d06c5c
DC
1032004-01-14 David Carlton <carlton@kealia.com>
104
105 * gdb.cp/namespace.exp: Add tests involving classes defined within
106 namespaces.
107 * gdb.cp/namespace.cc (C::CClass): New.
108 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
109
a51dab88
EZ
1102004-01-14 Elena Zannoni <ezannoni@redhat.com>
111
112 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
113 what debug info we have. Print a better message if something goes
114 wrong while producing the separate debug info file.
115
a476ccc9
MC
1162004-01-14 Michael Chastain <mec.gnu@mindspring.com>
117
118 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
119
f453692c
MC
1202004-01-14 Michael Chastain <mec.gnu@mindspring.com>
121
122 * gdb.base/callfuncs.c: Add copyright notice.
123
f40063a5
MC
1242004-01-13 Michael Chastain <mec.gnu@mindspring.com>
125
126 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
127 inheritance. PR gdb/1498, PR gcc/13539.
128
19ac3974
EZ
1292004-01-13 Elena Zannoni <ezannoni@redhat.com>
130
131 * gdb.threads/gcore-thread.exp: Prefix name of binary with
132 test specific name.
133 * gdb.mi/gdb669.exp: Ditto.
134 * gdb.mi/mi-pthreads.exp: Ditto.
135 * gdb.mi/mi1-pthreads.exp: Ditto.
136 * gdb.mi/mi2-pthreads.exp: Ditto.
137
56c97c6e
MC
1382004-01-12 Michael Chastain <mec.gnu@mindspring.com>
139
140 * gdb.cp/member-ptr.cc: Add copyright notice.
141
a0644324
MC
1422004-01-12 Michael Chastain <mec.gnu@mindspring.com>
143
144 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
145 some patterns for recent versions of gcc and hpacc. Delete
146 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
147 Delete tests that access a NULL pointer-to-member-data. This
148 script is still disabled for gcc.
149
32fabe09
EZ
1502004-01-12 Elena Zannoni <ezannoni@redhat.com>
151
152 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
153 escaped correctly.
154
1f8a6abb
EZ
1552004-01-12 Elena Zannoni <ezannoni@redhat.com>
156
157 * gdb.base/sepdebug.exp: New file.
158 * gdb.base/sepdebug.c: New file.
159 * lib/gdb.exp (separate_debug_filename): New procedure.
160 (gdb_gnu_strip_debug): New procedure.
161
48efe704
AC
1622004-01-12 Andrew Cagney <cagney@redhat.com>
163
164 * gdb.mi/ChangeLog: Delete file. Renamed to ...
165 * gdb.mi/ChangeLog-1999-2003: New file.
166
a9415475
AC
1672004-01-12 Andrew Cagney <cagney@redhat.com>
168
169 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
170 "Renaming a directory to a non-empty directory returns ENOTEMPTY
171 or EEXIST", treat EBUSY as an XFAIL.
172
83b8cf9d
MC
1732004-01-11 Michael Chastain <mec.gnu@mindspring.com>
174
175 * gdb.base/scope.exp: Remove obsolete setup_xfail for
176 hp_cc_compiler.
177
9939d2a8
MC
1782004-01-10 Michael Chastain <mec.gnu@mindspring.com>
179
180 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
181 decorations.
182
1ff8cadf
MC
1832004-01-10 Michael Chastain <mec.gnu@mindspring.com>
184
185 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
186 and "(aCC)" decorations. Remove obsolete doco about old
187 test results.
188
6fa9022e
MC
1892004-01-09 Michael Chastain <mec.gnu@mindspring.com>
190
191 * gdb.cp/exception.exp: Fix typo in doco.
192
209721fe
MK
1932004-01-09 Mark Kettenis <kettenis@gnu.org>
194
195 * gdb.base/gdb1476.exp: Fix typo.
196
ef11303e
MC
1972004-01-09 Michael Chastain <mec.gnu@mindspring.com>
198
199 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
200 file.
201
041ab88c
MC
2022004-01-09 Michael Chastain <mec.gnu@mindspring.com>
203
204 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
205 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
206 Use gdb_compile. Remove restriction on gcc. Add some patterns
207 for recent version of gdb. Delete second half, which was a copy
208 of the first half with different build flags. This test is
209 still disabled because it is still not ready for production.
210
e36d075a
MC
2112004-01-08 Michael Chastain <mec.gnu@mindspring.com>
212
213 * gdb.cp/exception.cc: Add copyright notice.
214 * gdb.cp/exception.exp: Add a notice that this file is broken
215 because of line number changes caused by addition of copyright
216 notice.
217
42b190ad
MC
2182004-01-08 Michael Chastain <mec.gnu@mindspring.com>
219
220 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
221 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
222
8f25f06b
MC
2232004-01-08 Michael Chastain <mec.gnu@mindspring.com>
224
225 * gdb.cp/classes.exp: Accept gnu abi 2.
226 * gdb.cp/derivation.exp: Likewise.
227 * gdb.cp/overload.exp: Likewise.
228 * gdb.cp/virtfunc.exp: Likewise.
229
06ded8b8
MC
2302004-01-08 Michael Chastain <mec.gnu@mindspring.com>
231
232 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
233 semicolon after end of function.
234
77c26ae3
MC
2352004-01-07 Michael Chastain <mec.gnu@mindspring.com>
236
237 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
238 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
239 boilerplate code for compiling and running the program under
240 test. Add some string method tests.
241
20757486
MC
2422004-01-07 Michael Chastain <mec.gnu@mindspring.com>
243
244 * gdb.cp/bs15503.cc: Add copyright notice.
245 * gdb.cp/bs15503.exp: Adjust line number.
246
0fd3b503
MC
2472004-01-07 Michael Chastain <mec.gnu@mindspring.com>
248
249 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
250 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
251
10d1bea8
MC
2522004-01-07 Michael Chastain <mec.gnu@mindspring.com>
253
254 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
255 hp_cc_compiler.
256
2789202a
MC
2572004-01-07 Michael Chastain <mec.gnu@mindspring.com>
258
259 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
260 * gdb.cp/ctti.exp: Use the marker instead of "next".
261 With gcc, run further before bailing.
262
b862f14c
MC
2632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
264
265 * gdb.cp/cttiadd.cc: Add copyright notice.
266 * gdb.cp/cttiadd1.cc: Likewise.
267 * gdb.cp/cttiadd2.cc: Likewise.
268 * gdb.cp/cttiadd3.cc: Likewise.
269
96da2469
MC
2702004-01-07 Michael Chastain <mec.gnu@mindspring.com>
271
272 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
273 Use gdb_test, gdb_test_multiple. Use floating-point values that
274 have exact representations in IEEE-ish formats.
275
053248ff
MC
2762004-01-07 Michael Chastain <mec.gnu@mindspring.com>
277
278 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
279 compilers. Delete duplicate call to get_compiler_info.
280 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
281 * gdb.base/volatile.exp: Likewise.
282
84acecdd
MK
2832004-01-07 Mark Kettenis <kettenis@gnu.org>
284
285 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
286 memory at address 0.
287
fe11a27f
MC
2882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
289
290 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
291 to test for hp-ux assembler. Fix copyright years.
292
60ad077b
AC
2932004-01-07 Andrew Cagney <cagney@redhat.com>
294
295 * gdb.base/fileio.c (strerrno): Add "EBUSY".
296
1c9b8f33
AC
2972004-01-07 Andrew Cagney <cagney@redhat.com>
298
299 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
300 when creating the read-only file. From analysis by Roland McGrath
301 and Elena Zannoni.
302
753ccc7a
MC
3032004-01-06 Michael Chastain <mec.gnu@mindspring.com>
304
305 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
306
eca3e36b
MC
3072004-01-06 Michael Chastain <mec.gnu@mindspring.com>
308
309 * gdb.base/cvexpr.c: Be type-safe with function pointers and
310 data pointers.
311
f8d4bac4
MC
3122004-01-06 Michael Chastain <mec.gnu@mindspring.com>
313
314 * gdb.cp/m-static.exp: Compile one source file at a time.
315 Delete unused call to get_compiler_info.
316
9b4e0f94
MC
3172004-01-06 Michael Chastain <mec.gnu@mindspring.com>
318
319 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
320 * gdb.base/call-rt-st.exp: Likewise.
321 * gdb.base/nodebug.exp: Likewise.
322 * gdb.base/volatile.exp: Likewise.
323 * gdb.cp/ref-types.exp: Likewise.
324 * gdb.cp/templates.exp: Likewise.
325
023c1024
MK
3262004-01-05 Mark Kettenis <kettenis@gnu.org>
327
328 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
329
19703c4a
MC
3302004-01-05 Michael Chastain <mec.gnu@mindspring.com>
331
332 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
333 hppa*-hp-hpux*.
334
18b67037
MK
3352004-01-04 Mark Kettenis <kettenis@gnu.org>
336
ba6219c8
MK
337 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
338 x86_64-*-*.
339
18b67037
MK
340 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
341 sparc64-*-* and sparc*-solaris2*.
342
1bfbbb9d
MK
3432004-01-04 Mark Kettenis <kettenis@gnu.org>
344
345 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
346 return ${tests}" test. The ${tests} already mentions the
347 filename.
348
06846494
MC
3492004-01-02 Michael Chastain <mec.gnu@mindspring.com>
350
351 * gdb.cp/local.exp: Accept gcc abi 2.
352
3b0cb202
MC
3532004-01-02 Michael Chastain <mec.gnu@mindspring.com>
354
355 * gdb.cp/templates.exp: Accept gcc abi 2.
356
0643ec3f
MC
3572004-01-02 Michael Chastain <mec.gnu@mindspring.com>
358
359 * lib/compiler.cc: Remove supports_template_debugging.
360 * gdb.cp/templates.exp: Do not test supports_template_debugging.
361
d231d0b1
MC
3622004-01-01 Michael Chastain <mec.gnu@mindspring.com>
363
364 * gdb.cp/namespace.exp: Accept gcc abi 2.
365
44ffb27c
MC
3662004-01-01 Michael Chastain <mec.gnu@mindspring.com>
367
368 * gdb.cp/method.exp: Accept gcc abi 2.
369
184ad485
MC
3702004-01-01 Michael Chastain <mec.gnu@mindspring.com>
371
372 * gdb.cp/classes.exp: Generate identical results as old version.
373 * gdb.cp/derivation.exp: Likewise.
374 * gdb.cp/overload.exp: Likewise.
375 * gdb.cp/virtfunc.exp: Likewise.
376
116f09e7
MC
3772004-01-01 Michael Chastain <mec.gnu@mindspring.com>
378
379 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
380 mysterious bug with sourceware version of expect.
381
b1379776
MC
3822004-01-01 Michael Chastain <mec.gnu@mindspring.com>
383
384 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
385 current versions of gcc, including gcc abi 2. Remove gratuitous
386 restart of test program. Use gdb_test_multiple and gdb_test for
387 all tests. Add patterns to xfail missing "const" in "const char *"
388 and kfail PR gdb/1155.
389
6b7a4c0e
MC
3902004-01-01 Michael Chastain <mec.gnu@mindspring.com>
391
392 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
393 current versions of gcc, including gcc abi 2. Remove gratuitous
394 restart of test program. Use gdb_test_multiple and gdb_test for
395 all tests. Add patterns to kfail PR gdb/1498.
396
51615d72
MC
3972003-12-31 Michael Chastain <mec.gnu@mindspring.com>
398
399 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
400 current versions of gcc, including gcc abi 2. Use "breakpoint"
401 and "continue" instead of restarting the target program. Use
402 gdb_test_multiple and gdb_test for all tests.
403
7b79a9d7
MK
4042004-01-01 Mark Kettenis <kettenis@gnu.org>
405
406 * gdb.asm/asm-source.exp: Update copyright year. Link statically
407 for *-*-solaris2*.
408
1cd3489f
MC
4092003-12-31 Michael Chastain <mec.gnu@mindspring.com>
410
411 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
412 current versions of gcc, including gcc abi 2. Use "breakpoint"
413 and "continue" instead of restarting the target program several
414 times. Use gdb_test_multiple and gdb_test for all tests.
415
850742db
MC
4162003-12-18 Michael Chastain <mec.gnu@mindspring.com>
417
418 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
419 source files.
420
eb4bbda8
MC
4212003-12-16 Michael Chastain <mec.gnu@mindspring.com>
422
423 * gdb.base/environ.exp: Handle compiling test case from multiple
424 source files.
425
e42c7771
MC
4262003-12-16 Michael Chastain <mec.gnu@mindspring.com>
427
428 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
429
80e4b428
JB
4302003-12-17 Jim Blandy <jimb@redhat.com>
431
5f06973a
JB
432 * gdb.base/freebpcmd.c: Add copyright notice.
433
80e4b428
JB
434 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
435
0ab84fb7
MC
4362003-12-16 Michael Chastain <mec.gnu@mindspring.com>
437
438 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
439
1b3bb3d0
JB
4402003-12-13 Jim Blandy <jimb@redhat.com>
441
442 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
443
3a4c9371
KB
4442003-12-12 Kevin Buettner <kevinb@redhat.com>
445
446 * gdb.asm/frv.inc: New file.
447 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
448
a1dea79a
FF
4492003-12-09 Fred Fish <fnf@redhat.com>
450
451 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
452 functions to break1.c and leave prototypes behind. Add more
453 "set breakpoint NN here" comments.
454 * gdb.base/break1.c: New file.
455
456 * gdb.base/break.exp: Handle compiling test case from multiple
457 source files and change source file references as needed.
458 * gdb.base/completion.exp: Ditto.
459 * gdb.base/condbreak.exp: Ditto.
460 * gdb.base/define.exp: Ditto.
461 * gdb.base/ena-dis-br.exp: Ditto.
462 * gdb.base/info-proc.exp: Ditto.
463 * gdb.base/maint.exp: Ditto.
464 * gdb.base/until.exp: Ditto.
465
466 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
467 hardcoded line numbers.
468 * gdb.base/define.exp: Ditto.
469 * gdb.base/ena-dis-br.exp: Ditto.
470 * gdb.base/maint.exp: Ditto.
471 * gdb.base/until.exp: Ditto.
472
473 * gdb.base/completion.exp: Use "break1" for completion tests since
474 "break" is no longer a unique prefix.
475
5266b69c
AC
4762003-12-06 Andrew Cagney <cagney@redhat.com>
477
478 * gdb.base/structs.exp (test_struct_returns): When applicable, set
479 "return_value_unimplemented". When an unimplemented struct return
480 architecture, report incorrect values as a KFAIL
481
374451f0
MC
4822003-12-05 Michael Chastain <mec.gnu@mindspring.com>
483
484 * gdb.cp/rtti.exp: Accept new wording of warning from
485 cp_lookup_rtti_type.
486
ba9b20a7
MC
4872003-12-05 Michael Chastain <mec.gnu@mindspring.com>
488
489 Partial fix for PR testsuite/1456.
490 * gdb.base/scope.exp (test_at_main): Replace references to
491 gcc_compiled with calls to test_compiler_info.
492 (test_at_foo): Likewise.
493 (test_at_bar): Likewise.
494
b74b6d0b
MC
4952003-12-04 Michael Chastain <mec.gnu@mindspring.com>
496
497 Partial fix for PR testsuite/1456.
498 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
499 to test_compiler_info.
500
ccfa3402
MC
5012003-12-03 Michael Chastain <mec.gnu@mindspring.com>
502
503 * gdb.base/so-impl-ld.exp: Update copyright notice.
504
f6246aba
MC
5052003-12-02 Michael Chastain <mec.gnu@mindspring.com>
506
507 Partial fix for PR testsuite/1456.
508 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
509 to test_compiler_info.
510
13ae734a
MC
5112003-11-28 Michael Chastain <mec.gnu@mindspring.com>
512
513 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
514 from current versions of gdb. Clean up regular expressions.
515 Delete redundant timeout case.
516
d8e1cdee
MC
5172003-11-28 Michael Chastain <mec.gnu@mindspring.com>
518
519 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
520 from current versions of gdb. Clean up regular expressions.
521 Delete redundant timeout case.
522
96457b64
MC
5232003-12-01 Michael Chastain <mec.gnu@mindspring.com>
524
525 Partial fix for PR testsuite/1456.
526 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
527 gcc_compiled with call to test_compiler_info.
528
f35309fc
MC
5292003-11-30 Michael Chastain <mec.gnu@mindspring.com>
530
531 Partial fix for PR testsuite/1456.
532 * gdb.base/list.exp (test_list_function): Delete unused declaration
533 of gcc_compiled.
534
d7afdf9b
MC
5352003-11-29 Michael Chastain <mec.gnu@mindspring.com>
536
537 Partial fix for PR testsuite/1456.
538 * gdb.base/complex.exp: Replace reference to gcc_compiled with
539 call to test_compiler_info.
540
71507b56
MK
5412003-11-29 Mark Kettenis <kettenis@gnu.org>
542
543 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
544 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
545 it to create the appropriate note.inc.
546 * gdb.asm/asmsrc1.s: Include "note.inc".
547 * gdb.asm/netbsd.inc: New file.
548 * gdb.asm/empty.inc: New file.
549
f81f93f7
MC
5502003-11-28 Michael Chastain <mec.gnu@mindspring.com>
551
552 Partial fix for PR testsuite/1456.
553 * gdb.base/constvars.exp: Replace references to gcc_compiled with
554 calls to test_compiler_info.
555
9a77938e
MC
5562003-11-27 Michael Chastain <mec.gnu@mindspring.com>
557
558 Partial fix for PR testsuite/1456.
559 * gdb.base/volatile.exp: Replace references to gcc_compiled with
560 calls to test_compiler_info.
561
e8367dc7
MK
5622003-11-27 Mark Kettenis <kettenis@gnu.org>
563
564 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
565 pattern for the KFAILs.
566
526c61ee
AF
5672003-11-25 Adam Fedor <fedor@gnu.org>
568
569 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
570 * gdb.objc/objcdecode.m: New file.
571
28f2d600
AF
5722003-11-25 Adam Fedor <fedor@gnu.org>
573
574 * gdb.objc/nondebug.exp: Test for PR objc/1236.
575 * gdb.objc/nondebug.m: New file.
576
a3895cee
BE
5772003-11-26 Ben Elliston <bje@wasabisystems.com>
578
579 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
580 NetBSD as it does on FreeBSD. Modelled on a similar change by
581 Mark Kettenis on 2003-05-30.
582 (link-flags): Set to "--entry _start" regardless of target.
583 Special linker flags are to be appended to $link-flags.
584 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
585
c9f2c8a3
MC
5862003-11-25 Michael Chastain <mec.gnu@mindspring.com>
587
588 * gdb.cp/method.exp: Accept output of new demangler.
589
15a0587a 5902003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
591
592 * gdb/class2.exp: New file.
593 * gdb/class2.cc: New file.
594
3c00b570
MC
5952003-11-25 Michael Chastain <mec.gnu@mindspring.com>
596
597 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
598 of new demangler.
599
7027acc7
MK
6002003-11-23 Mark Kettenis <kettenis@gnu.org>
601
602 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
603 of gdb_test "run".
604
b0e1598a
MK
6052003-11-23 Mark Kettenis <kettenis@gnu.org>
606
607 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
608 "continue" into "run".
609
4d9eda44
MC
6102003-11-23 Michael Chastain <mec.gnu@mindspring.com>
611
612 Partial fix for PR testsuite/1456.
613 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
614 call to test_compiler_info.
615 * gdb.cp/ctti.exp: Likewise.
616 * gdb.cp/derivation.exp: Likewise.
617 * gdb.cp/member-ptr.exp: Likewise.
618 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
619 reference to gcc_compiled.
620
6212003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
622
623 Fix PR testsuite/1463.
624 * gdb.base/structs.exp (start_structs_test): Call
625 get_debug_format before using the debug format.
626
d422fe19
AC
6272003-11-22 Andrew Cagney <cagney@redhat.com>
628
629 * lib/gdb.exp (gdb_test_multiple): Add simple example.
630 * gdb.base/structs.exp: Use gdb_test_multiple.
631
039cf96d
AC
6322003-11-20 Andrew Cagney <cagney@redhat.com>
633
6882279b
AC
634 * gdb.base/structs.exp: Handle and recover from internal errors.
635 Replace "foo${n}" with "foo<n>" in test messages.
636
e53890ae
AC
637 * gdb.base/structs.exp: Update copyright. Rewrite.
638 * gdb.base/structs.c: Update copyright. Rewrite.
639
2b211c59
AC
640 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
641 resync count exceeded.
642
039cf96d
AC
643 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
644 from the internal error.
645 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
646 Original from Jim Blandy.
647 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 648
eac98b22
AC
6492003-11-19 Andrew Cagney <cagney@redhat.com>
650
651 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
652 KFAIL.
653
67455b2a
MK
6542003-11-17 Mark Kettenis <kettenis@gnu.org>
655
656 New testcase for PR backtrace/1435.
657 * gdb.arch/i386-unwind.exp: New file.
658 * gdb.arch/i386-unwind.c: New file.
659
853d6e5b
AC
6602003-11-17 Andrew Cagney <cagney@redhat.com>
661
662 * lib/gdb.exp (compiler_info): New global.
663 (test_compiler_info): New function.
664 (get_compiler_info): Set compiler_info.
665 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
666 "compiler_info" to gcc-<major>-<minor>.
667
38cf6e11
MC
6682003-11-15 Michael Chastain <mec.gnu@mindspring.com>
669
670 * gdb.trace/configure: Remove.
671
a50d3602
EZ
6722003-11-13 Elena Zannoni <ezannoni@redhat.com>
673
674 * gdb.base/break.c: Add comments to aid finding line numbers for
675 breakpoints.
676 * gdb.base/break.exp: Remove all references to explicit line
677 numbers.
678
d9407aaa
NC
6792003-11-11 Nick Clifton <nickc@redhat.com>
680
681 * gdb.base/shreloc.exp: Do not run for targets which do not
682 support shared objects.
683
db488fc1
CV
6842003-11-10 Corinna Vinschen <vinschen@redhat.com>
685
686 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
687 Don't run tests if nofileio flag is given.
688
6a90a18e
EZ
6892003-11-07 Elena Zannoni <ezannoni@redhat.com>
690
691 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
692 as well as 'Watchpoint'.
693
0b915e9c
EZ
6942003-11-06 Elena Zannoni <ezannoni@redhat.com>
695
696 Reported by Jim Ingham <jingham@apple.com>:
697 * gdb.base/annota1.exp: Match at least one occurrence of the
698 signal handler annotation.
699
d7e4b55f
EZ
7002003-11-06 Elena Zannoni <ezannoni@redhat.com>
701
702 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
703 as well as 'Watchpoint'.
704
2fe4e8d0
MC
7052003-11-05 Michael Chastain <mec@shout.net>
706
707 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
708
6ef88553
KW
7092003-11-03 Kris Warkentin <kewarken@qnx.com>
710
711 * gdb.arch/gdb1291.c: New test file.
712 * gdb.arch/gdb1291.exp: New test script.
713 * gdb.arch/gdb1431.c: New test file.
714 * gdb.arch/gdb1431.exp: New test script.
715
ae7dc4d8
MC
7162003-10-22 Michael Chastain <mec@shout.net>
717
718 * gdb.mi/pthreads.c: Add copyright notice.
719
c39d7427
MC
7202003-10-22 Michael Chastain <mec@shout.net>
721
722 * gdb.threads/pthreads.c: Add copyright notice.
723
8b7d96c1
MC
7242003-10-20 Michael Chastain <mec@shout.net>
725
726 * gdb.base/gdb1056.exp: New test script.
727
d1d69fdd
DJ
7282003-10-13 Daniel Jacobowitz <drow@mvista.com>
729
730 * gdb.threads/killed.exp: Use gdb_run_cmd.
731
7d605576
DJ
7322003-10-13 Daniel Jacobowitz <drow@mvista.com>
733
734 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
735 create a core file.
736 * gdb.threads/gcore-thread.exp: Likewise.
737
618ec112
CV
7382003-10-13 Corinna Vinschen <vinschen@redhat.com>
739
740 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
741 type, based on char type.
742 (struct bit_flags_short_t): New bitfield type, based on short type.
743 (init_bit_flags_char): New fuction.
744 (init_bit_flags_short): Ditto.
745 (print_bit_flags_char): Ditto.
746 (print_bit_flags_short): Ditto.
747 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
748
9367a73c
MC
7492003-10-11 Michael Chastain <mec@shout.net>
750
751 * gdb.base/call-rt-st.exp: Update copyright year.
752
1decf120
KI
7532003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
754
755 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
756 * gdb.disasm/sh3.s: Ditto.
757
5445b2ae
DJ
7582003-10-07 Daniel Jacobowitz <drow@mvista.com>
759
760 * gdb.threads/switch-threads.exp: New test.
761 * gdb.threads/switch-threads.c: New source file.
762
aec24853
CV
7632003-10-07 Corinna Vinschen <vinschen@redhat.com>
764
765 * gdb.base/ending-run.exp: Add sh specific case.
766
adc7428d
AC
7672003-10-06 Andrew Cagney <cagney@redhat.com>
768
769 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
770 * gdb.disasm/mn10200.exp: Delete obsolete file.
771
c9d37158
DJ
7722003-09-29 Daniel Jacobowitz <drow@mvista.com>
773
774 * ChangeLog: Correct an entry command.exp -> commands.exp.
775 * gdb.base/commands.exp (bp_deleted_in_command_test)
776 (temporary_breakpoint_commands): Check noargs.
777
79c2c32d
DC
7782003-09-25 David Carlton <carlton@kealia.com>
779
780 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
781 of some print tests, where appropriate. Add tests for C::D::cd,
782 E::ce, F::cXfX, G::XgX.
783 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
784
594e6d67
RE
7852003-09-25 Richard Earnshaw <rearnsha@arm.com>
786
787 * lib/java.exp (java_init): Import target_alias before using it.
788
10f0d451
DC
7892003-09-25 David Carlton <carlton@kealia.com>
790
791 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
792
274bcba0
EZ
7932003-09-23 Elena Zannoni <ezannoni@redhat.com>
794
795 * gdb.base/selftest.exp: Accomodate more instruction reordering
796 weirdness.
797
cdbf20f7
MC
7982003-09-17 Michael Chastain <mec@shout.net>
799
800 * gdb.cp/gdb1355.exp: New file.
801 * gdb.cp/gdb1355.c: New file.
802
71e06f80
CV
8032003-09-15 Corinna Vinschen <vinschen@redhat.com>
804
805 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
806 * gdb.asm/sh.inc: New file.
807
5c4e30ca
DC
8082003-09-11 David Carlton <carlton@kealia.com>
809
bd45b7af
DC
810 * gdb.cp/namespace.exp: Add tests for namespace types.
811 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
812 (test_namespace): New.
813
1c199746
EZ
8142003-09-11 Elena Zannoni <ezannoni@redhat.com>
815
816 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 817 * gdb.stabs/weird.exp: Ditto.
1c199746 818
04ed252f
MC
8192003-09-08 Michael Chastain <mec@shout.net>
820
821 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
822
d8a2d9e7
MC
8232003-09-07 Michael Chastain <mec@shout.net>
824
825 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
826 'parse error'.
827
161afb24
MK
8282003-09-07 Mark Kettenis <m.kettenis@osp.nl>
829
830 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
831
49f2741a
MC
8322003-08-30 Michael Chastain <mec@shout.net>
833
834 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
835 * gdb.gdb/observer.exp: Ditto.
836 * gdb.gdb/xfullpath.exp: Ditto.
837
8afa723e
MK
8382003-08-29 Mark Kettenis <kettenis@gnu.org>
839
840 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
841 *-*-*bsd*.
842
f31dfe3b
JJ
8432003-08-28 Jeff Johnston <jjohnstn@redhat.com>
844
845 * gdb.base/dump.exp: Skip for ia64.
846
4630e498
JJ
8472003-08-25 Jeff Johnston <jjohnstn@redhat.com>
848
849 * gdb.asm/asm-source.exp: Add ia64 support.
850 * gdb.asm/ia64.inc: New file.
851
1105b7ef
MC
8522003-08-22 Michael Chastain <mec@shout.net>
853
854 * gdb.cp: New directory.
855 * gdb.cp/*: Copy from gdb.c++/*.
856 * gdb.c++/*: Remove.
857 * Makefile.in: Change gdb.c++ to gdb.cp.
858 * configure.in: Ditto.
859 * configure: Regnerate.
860
c945b932
MK
8612003-08-18 Mark Kettenis <kettenis@gnu.org>
862
863 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
864 * gdb.arch/i386-prologue.c (gdb1338): Add function.
865
2b66634b
DJ
8662003-08-17 Daniel Jacobowitz <drow@mvista.com>
867
868 * mi-var-display.exp (-var-list-children weird): Accept function
869 pointers with argument types.
870 * mi1-var-display.exp (-var-list-children weird): Likewise.
871 * mi2-var-display.exp (-var-list-children weird): Likewise.
872
a356f73b
DJ
8732003-08-17 Daniel Jacobowitz <drow@mvista.com>
874
875 * gdb.base/annota3.exp: Add missing newline.
876
483417b8
MC
8772003-08-06 Michael Chastain <mec@shout.net>
878
879 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
880
c99c59c3
MS
8812003-08-12 Michael Snyder <msnyder@redhat.com>
882
883 * gdb.base/float.exp: Add test for SH.
884
55ed7501
MK
8852003-08-10 Mark Kettenis <kettenis@gnu.org>
886
887 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
888
1a371f2e
EZ
8892003-08-07 Elena Zannoni <ezannoni@redhat.com>
890
891 * gdb.base/completion.exp: Remove reduntant completion test
892 on filename.
893
e0f353ce
EZ
8942003-08-07 Elena Zannoni <ezannoni@redhat.com>
895
896 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
897 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
898 gdb.trace/save-trace.exp: Make sure that full pathnames are
899 escaped correctly.
900
5710a1af
EZ
9012003-08-07 Elena Zannoni <ezannoni@redhat.com>
902
903 * configure.in: Don't generate config.h from config.hin.
904 * configure: Regenerate.
905 * config.hin: Remove file.
906 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
907 * gdb.threads/pthreads.c: Ditto.
908
dcd81ce9
DJ
9092003-08-07 Daniel Jacobowitz <drow@mvista.com>
910
911 From Kei Sakamoto <sakamoto.kei@renesas.com>:
912 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
913 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
914 Replace ld24 with seth/add3.
915
6009d884
AC
9162003-08-02 Andrew Cagney <cagney@redhat.com>
917
918 * gdb.base/annota3.exp: New file.
919 * gdb.base/annota3.c: New file.
920 * gdb.c++/annota3.exp: New file.
921 * gdb.c++/annota3.cc: New file.
922
51514e06
MC
9232003-07-29 Michael Chastain <mec@shout.net>
924
925 * gdb.threads/tls.c (spin): Check errno only if sem_wait
926 actually failed.
927 (do_pass): Likewise.
928 * gdb.threads/tls.exp: Always initialize no_of_threads.
929
4ee6625b
DJ
9302003-07-27 Daniel Jacobowitz <drow@mvista.com>
931
932 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
933 pattern.
934 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
935 * gdb.threads/tls.exp: Recognize one case of the host library not
936 supporting TLS.
937
225f2bf6
AC
9382003-07-27 Andrew Cagney <cagney@redhat.com>
939
940 * gdb.base/fileio.exp: Use SH when running commands using
941 remote_exec.
942
bcb27c9f
DJ
9432003-07-24 Daniel Jacobowitz <drow@mvista.com>
944
945 From Kei Sakamoto <sakamoto.kei@renesas.com>:
946 * gdb.base/relocate.c (dummy): New padding array.
947
3d67be83
MS
9482003-07-22 Michael Snyder <msnyder@redhat.com>
949
950 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
951
952 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
953 patterns to be more general, accepting old and new output.
954 Some output chars (such as '+') also must be quoted.
955 Some addresses are displayed numerically instead of
956 symbolically.
957
57ba3b85
MS
9582003-07-23 Michael Snyder <msnyder@redhat.com>
959
686d097c
MS
960 * gdb.base/return2.exp: Don't test long-long return.
961
57ba3b85
MS
962 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
963 * gdb.disasm/t01_mov.exp: Ditto.
964 * gdb.disasm/t02_mova.s: Ditto.
965 * gdb.disasm/t02_mova.exp: Ditto.
966 * gdb.disasm/t03_add.s: Ditto.
967 * gdb.disasm/t03_add.exp: Ditto.
968 * gdb.disasm/t04_sub.s: Ditto.
969 * gdb.disasm/t04_sub.exp: Ditto.
970 * gdb.disasm/t05_cmp.s: Ditto.
971 * gdb.disasm/t05_cmp.exp: Ditto.
972 * gdb.disasm/t06_ari2.s: Ditto.
973 * gdb.disasm/t06_ari2.exp: Ditto.
974 * gdb.disasm/t07_ari3.s: Ditto.
975 * gdb.disasm/t07_ari3.exp: Ditto.
976 * gdb.disasm/t08_or.s: Ditto.
977 * gdb.disasm/t08_or.exp: Ditto.
978 * gdb.disasm/t09_xor.s: Ditto.
979 * gdb.disasm/t09_xor.exp: Ditto.
980 * gdb.disasm/t10_and.s: Ditto.
981 * gdb.disasm/t10_and.exp: Ditto.
982 * gdb.disasm/t11_logs.s: Ditto.
983 * gdb.disasm/t11_logs.exp: Ditto.
984 * gdb.disasm/t12_bit.s: Ditto.
985 * gdb.disasm/t12_bit.exp: Ditto.
986 * gdb.disasm/t13_otr.s: Ditto.
987 * gdb.disasm/t13_otr.exp: Ditto.
988
e00759ef
EZ
9892003-07-22 Elena Zannoni <ezannoni@redhat.com>
990
991 * gdb.threads/tls.exp :Add kfail for 'info address' case.
992
8bc2021f
EZ
9932003-07-22 Elena Zannoni <ezannoni@redhat.com>
994
995 * gdb.threads/tls.c : New file.
996 * gdb.threads/tls.exp : New file.
997 * gdb.threads/tls-main.c : New file.
998 * gdb.threads/tls-shared.c : New file.
999 * gdb.threads/tls-shared.exp : New file.
1000
89320c4c
AS
10012003-07-22 Andreas Schwab <schwab@suse.de>
1002
1003 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1004
180dea7c
AS
10052003-07-20 Andreas Schwab <schwab@suse.de>
1006
1007 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1008 due to insn reordering.
1009
0714963c
AC
10102003-07-15 Andrew Cagney <cagney@redhat.com>
1011
1012 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1013
98a23b3f
MC
10142003-07-15 Michael Chastain <mec@shout.net>
1015
1016 * gdb.base/gdb1250.exp: New file.
1017 * gdb.base/gdb1250.c: New file.
1018
27e417a2
ML
10192003-07-09 Michal Ludvig <mludvig@suse.cz>
1020
1021 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1022 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1023
8bc2021f
EZ
10242003-07-09 Elena Zannoni <ezannoni@redhat.com>
1025
1026 * gdb.threads/tls.c: New file.
1027 * gdb.threads/tls.exp: New file.
1028 * gdb.threads/tls-main.c: New file.
1029 * gdb.threads/tls-shared.c: New file.
1030 * gdb.threads/tls-shared.exp: New file.
1031
d99968dc
EZ
10322003-07-09 Elena Zannoni <ezannoni@redhat.com>
1033
1034 * gdb.base/annota1.exp: Make sure that we properly escape the
1035 full path of the source file. Xfail more permissive patterns,
1036 due to a compiler debug info problem.
1037
83876b3b
AS
10382003-07-07 Andreas Schwab <schwab@suse.de>
1039
2705e972
AS
1040 * gdb.asm/m68k.inc: New file.
1041 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1042
83876b3b
AS
1043 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1044 arguments"): Also match negative number.
1045
1046 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1047
3a871b37
DJ
10482003-07-03 Daniel Jacobowitz <drow@mvista.com>
1049
1050 * gdb.base/store.c (charest): New typedef.
1051 (add_char): Rename to add_charest, update.
1052 (wack_char): Rename to wack_charest, update types. Return l + r
1053 to keep r live across the call.
1054 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1055 (wack_double, wack_doublest): Return l + r to keep r live across
1056 the call.
1057 * gdb.base/store.exp: Accomodate store.c changes.
1058
b2a7f303
DC
10592003-06-30 David Carlton <carlton@kealia.com>
1060
1061 * gdb.c++/maint.exp (test_invalid_name): New.
1062 (test_first_component): Add tests for invalid names.
1063
3c6cb4a1
MC
10642003-06-29 Michael Chastain <mec@shout.net>
1065
1066 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1067 output of '<VTT for class>' for virtual base classes.
1068
f1c2644b
DJ
10692003-06-29 Daniel Jacobowitz <drow@mvista.com>
1070
1071 * gdb.base/completion.exp: Tab-complete "complet" instead of
1072 "compl".
1073 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1074
18080350
DJ
10752003-06-29 Daniel Jacobowitz <drow@mvista.com>
1076
1077 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1078 * gdb.base/volatile.exp: Likewise.
1079
f56973f8
DJ
10802003-06-29 Daniel Jacobowitz <drow@mvista.com>
1081
1082 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1083 gdb/1265.
1084
10852003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1086 Daniel Jacobowitz <drow@mvista.com>
1087
1088 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1089 initial line count of 'captured_main' from 26 to 32.
1090 (test_with_self): Allow xmalloc call to be interleaved with the
1091 preceding two lines.
1092
e766d4d6
JB
10932003-06-24 Joel Brobecker <brobecker@gnat.com>
1094
1095 * gdb.base/bang.exp: New testcase.
1096
f125c9a4
JB
10972003-06-23 Joel Brobecker <brobecker@gnat.com>
1098
1099 * gdb.base/langs.exp: Add some tests for the "minimal" language
1100 support.
1101
6e25beaf
EZ
11022003-06-23 Elena Zannoni <ezannoni@redhat.com>
1103
1104 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1105 the testcase.
1106
2f816dda
DJ
11072003-06-22 Daniel Jacobowitz <drow@mvista.com>
1108
1109 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1110 offset.
1111
db5a5748
DJ
11122003-06-22 Daniel Jacobowitz <drow@mvista.com>
1113
1114 * gdb.c++/pr-1210.cc: New file.
1115 * gdb.c++/pr-1210.exp: New file.
1116
1df0c130
DJ
11172003-06-21 Daniel Jacobowitz <drow@mvista.com>
1118
1119 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1120 000-exec-continue.
1121
a92feac0
MK
11222003-06-15 Mark Kettenis <kettenis@gnu.org>
1123
1124 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1125 on *-*-*bsd* instead of *-*-freebsd*.
1126
81a58f5b
AC
11272003-06-14 Andrew Cagney <cagney@redhat.com>
1128
1129 * gdb.base/store.exp: Test longest and doublest. Test all
1130 parameters. Weaken return statement match.
1131 * gdb.base/store.c: Add longest and doublest - aka long long and
1132 long double functions. Put all parameters into local register
1133 variables. Use negative values.
1134
b257a0d3
AC
11352003-06-14 Andrew Cagney <cagney@redhat.com>
1136
1137 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1138 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1139 exit status.
1140 * gdb.base/fileio.exp: Disable target when nointerrupts and
1141 noinferiorio, instead of limiting it to remote. Use remote_exec
1142 instead of system.
1143
21c38304
JJ
11442003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1145
1146 * gdb.base/float.exp: Add ia64 support.
1147
1bcdb424
CV
11482003-06-12 Corinna Vinschen <vinschen@redhat.com>
1149
1150 * gdb.base/fileio.exp: Run only on remote targets.
1151
6aeb981f
CV
11522003-06-10 Corinna Vinschen <vinschen@redhat.com>
1153
1154 * gdb.base/fileio.c: New file, testing File-I/O.
1155 * gdb.base/fileio.exp: Ditto.
1156
53df362e
RG
11572003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1158
1159 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1160 shared objects after relocation at load time (gdb PR/1132).
1161 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1162 as above, part of the shared object relocation test.
1163
ffee1b46
MK
11642003-06-08 Mark Kettenis <kettenis@gnu.org>
1165
b5ca3722
MK
1166 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1167 fully filled history list.
1168 * gdb.base/gdb_history: New file.
1169
03ed860d
MK
1170 * gdb.base/signals.exp: XFAIL "continue to func1" on
1171 i*86-*-freebsd*.
1172
ffee1b46
MK
1173 * gdb.base/attach.exp: When trying to attach to a nonexistent
1174 process, make it possible to specify the PID based on the target,
1175 and do so for *-*-freebsd*.
1176
d80dbb52
RH
11772003-06-02 Richard Henderson <rth@redhat.com>
1178
1179 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1180
6dd77b81
RH
11812003-06-02 Richard Henderson <rth@redhat.com>
1182
1183 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1184
f6347e16
RH
11852003-06-02 Richard Henderson <rth@redhat.com>
1186
1187 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1188
2c161407
DJ
11892003-06-01 Daniel Jacobowitz <drow@mvista.com>
1190
1191 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1192 of globalvar.
1193
572eb746
MK
11942003-06-01 Mark Kettenis <kettenis@gnu.org>
1195
1196 * gdb.asm/asm-source.exp: Check for memory read errors in
1197 disassembler test on *BSD too.
1198
9e9617a5
RH
11992003-06-01 Richard Henderson <rth@redhat.com>
1200
1201 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1202 for .frame.
1203 (gdbasm_call): Lose ldgp.
1204 (gdbasm_startup): Add frame information.
1205 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1206
7b34ad4e
MK
12072003-05-31 Mark Kettenis <kettenis@gnu.org>
1208
1209 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1210 i?86-*-*.
1211
10059fdf
MK
12122003-05-30 Mark Kettenis <kettenis@gnu.org>
1213
1214 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1215 FreeBSD.
1216
acf4b816
RH
12172003-05-29 Richard Henderson <rth@redhat.com>
1218
1219 * gdb.asm/alpha.inc: New file.
1220 * gdb.asm/asm-source.exp: Use it.
1221
e9ecd949
JB
12222003-05-29 Jim Blandy <jimb@redhat.com>
1223
1224 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1225 'core.PID'.
1226
e3e5a4f3
JB
12272003-05-22 Jim Blandy <jimb@redhat.com>
1228
1229 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1230 backtrace.
1231
72fe3d25
DC
12322003-05-20 David Carlton <carlton@math.stanford.edu>
1233
1234 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1235 this time.
1236
58da2eb2
DC
12372003-05-19 David Carlton <carlton@bactrian.org>
1238
1239 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1240 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1241
1fcb5155
DC
12422003-05-19 David Carlton <carlton@bactrian.org>
1243
1244 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1245 namespace tests.
1246 Bump copyright date.
1247 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1248 (main): Call C::D::marker2.
1249 * gdb.c++/namespace1.cc: New file.
1250
85e85163
JJ
12512003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1252
1253 Roland McGrath <roland@redhat.com>
1254 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1255 there is no manager thread.
1256
a25fbfec
JJ
12572003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1258
1259 * gdb.threads/schedlock.exp: Remove assumption that all threads
1260 will run in a particular small time slice. Also ensure we break
1261 in one of the child threads rather than the main thread.
1262
be375bae
JB
12632003-05-07 Jim Blandy <jimb@redhat.com>
1264
09bf6082
JB
1265 Add support for assembly source testing on the s390x.
1266 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1267 architecture.
1268 * gdb.asm/s390x.inc: New file.
1269
be375bae
JB
1270 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1271 succession of 'if' statements.
1272
00905d52
AC
12732003-05-05 Andrew Cagney <cagney@redhat.com>
1274
1275 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1276
b1e29e33
AC
12772003-05-05 Andrew Cagney <cagney@redhat.com>
1278
1279 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1280 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1281
e33d66ec
EZ
12822003-05-02 Elena Zannoni <ezannoni@redhat.com>
1283
1284 * gdb.base/charset.exp: Update based on new behavior of set/show
1285 charset commands.
1286
2b6fd0d8
AC
12872003-05-01 Andrew Cagney <cagney@redhat.com>
1288
1289 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1290 variable do not give memory errors.
1291
130cacce
AF
12922003-04-30 Adam Fedor <fedor@gnu.org>
1293
1294 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1295 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1296 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1297 gdb.objc/basicclass.m: : New files
1298
1299 * lib/gdb.exp (gdb_compile_objc): New procedure.
1300
bea71854
DJ
13012003-04-27 Daniel Jacobowitz <drow@mvista.com>
1302
1303 * gdb.base/signals.exp: Make backtrace tests more specific.
1304
0f20eeea
DC
13052003-04-23 David Carlton <carlton@bactrian.org>
1306
1307 * gdb.c++/maint.exp (test_first_component): Add tests for
1308 'operator' in more locations.
1309
c8c4d8dc
KB
13102003-04-16 Kevin Buettner <kevinb@redhat.com>
1311
1312 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1313
3fe60e3c
EZ
13142003-04-16 Elena Zannoni <ezannoni@redhat.com>
1315
1316 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1317 func marke' instead. Update test name.
1318
9219021c
DC
13192003-04-15 David Carlton <carlton@math.stanford.edu>
1320
1321 * gdb.c++/maint.exp: New file.
1322
5dd55bdd
EZ
13232003-04-14 Elena Zannoni <ezannoni@redhat.com>
1324
1325 * gdb.threads/schedlock.c: Change type of thread function argument
1326 to long, to avoid warnings on 64-bit platforms.
1327
00890572
EZ
13282003-04-14 Elena Zannoni <ezannoni@redhat.com>
1329
1330 * gdb.base/attach.exp: Add new message from ptrace in case of
1331 attaching to nonexistent process.
1332
93201743
JB
13332003-04-11 Jim Blandy <jimb@redhat.com>
1334
1335 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1336 gdb.c++/userdef.cc: Place comments on the lines to which the
1337 marker function might return.
1338 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1339 gdb.c++/userdef.exp: Look for those comments to check that we've
1340 returned to the right place, instead of checking line numbers.
1341
2a11c64d
EZ
13422003-04-11 Elena Zannoni <ezannoni@redhat.com>
1343
1344 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1345 match on sourcefile name, instead of directory name.
1346
68ab8fc5
EZ
13472003-04-10 Elena Zannoni <ezannoni@redhat.com>
1348
1349 * gdb.base/completion.exp: Use string_to_regexp to match the
1350 working directory name.
1351
5624293a
JB
13522003-04-09 Jim Blandy <jimb@redhat.com>
1353
1354 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1355 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1356 after an inferior function call, report the failure, but allow the
1357 test to continue.
1358
f1f02ee4
SC
13592003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1360
1361 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1362 with -DPROTOTYPES.
1363
6eb79af0
SC
13642003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1365
1366 * gdb.base/break.exp: Revert last patch.
1367
8dfb4cf0
SC
13682003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1369
1370 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1371 with -DPROTOTYPES.
1372
ed4c619a
AC
13732003-04-02 Andrew Cagney <cagney@redhat.com>
1374
1375 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1376 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1377 matching directories by the name breakpoint.
1378 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1379 Make "continue to marker1" consistent.
1380 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1381 message consistent.
1382 * lib/gdb.exp: Put "the program is no longer running", and "the
1383 program exited" in parenthesis.
1384 * lib/mi-support.exp: Ditto.
1385
4e35d5f0
BR
13862003-04-02 Bob Rossi <bob_rossi@cox.net>
1387
1388 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1389
71900fe8
AC
13902003-03-29 Andrew Cagney <cagney@redhat.com>
1391
1392 * gdb.base/sizeof.c (main): Print the value of '\377'.
1393 * gdb.base/sizeof.exp: Check the sign of '\377'.
1394
c0655a16
MC
13952003-03-27 Michael Chastain <mec@shout.net>
1396
1397 * gdb.base/gdb1090.exp: New file.
1398 * gdb.base/gdb1090.cc: New file.
1399
5b2a3989
JB
14002003-03-27 J. Brobecker <brobecker@gnat.com>
1401
1402 * gdb.gdb/observer.exp: New regression test.
1403
79876890
MC
14042003-03-27 Michael Chastain <mec@shout.net>
1405
1406 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1407 * gdb.base/ptype.exp: Likewise.
1408
6eac95e3
CV
14092003-03-27 Corinna Vinschen <vinschen@redhat.com>
1410
1411 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1412
e8c71839
MC
14132003-03-26 Michael Chastain <mec@shout.net>
1414
1415 * gdb.base/ptype.exp: Actually use some typedef'd types.
1416
71b10041
SC
14172003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1418
1419 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1420 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1421
2512cf80
CV
14222003-03-20 Corinna Vinschen <vinschen@redhat.com>
1423
1424 * gdb.base/default.exp: Fix regular expression.
1425
0d195a4f
CV
14262003-03-20 Corinna Vinschen <vinschen@redhat.com>
1427
1428 * gdb.base/args.exp: Fix regular expression.
1429
8a2dbca8
CV
14302003-03-20 Corinna Vinschen <vinschen@redhat.com>
1431
1432 * gdb.base/help.exp: Allow Win32 child process.
1433
bf028682
CV
14342003-03-20 Corinna Vinschen <vinschen@redhat.com>
1435
1436 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1437 when stepping out of main().
1438
182dbe85
CV
14392003-03-20 Corinna Vinschen <vinschen@redhat.com>
1440
1441 * gdb.base/default.exp: Check for win32 specific message when calling
1442 "run" without executable.
1443
d67a6ba5
CV
14442003-03-20 Corinna Vinschen <vinschen@redhat.com>
1445
1446 * gdb.base/args.exp: Expect .exe in output.
1447
a955b5bb
CV
14482003-03-20 Corinna Vinschen <vinschen@redhat.com>
1449
1450 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1451 Cygwin native.
1452
bf6bad4b
AC
14532003-03-17 Andrew Cagney <cagney@redhat.com>
1454
1455 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1456 vector registes.
1457 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1458 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1459
293e9a31
DC
14602003-03-17 David Carlton <carlton@math.stanford.edu>
1461
1462 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1463 test, for PR breakpoints/38.
1464 Call test_watchpoint_and_breakpoint.
1465 * gdb.base/watchpoint.c (func3): New function.
1466 (main): Call func3.
1467
5330f2db
DC
14682003-03-04 David Carlton <carlton@math.stanford.edu>
1469
1470 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1471 Garply<Garply<char> >:: garply".
1472 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1473 with respect to PR c++/1111; note also PR c++/1113.
1474 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1475 respect to PR c++/1062.
1476 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1477
6ece72da
DC
14782003-03-03 David Carlton <carlton@math.stanford.edu>
1479
1480 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1481 with respect to PR c++/57.
1482 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1483 c++/826.
1484 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1485 respect to PR c++/57.
1486
85ca1584
DC
14872003-03-03 David Carlton <carlton@math.stanford.edu>
1488
1489 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1490 respect to PR c++/33 into FAILs.
1491
98e9c5b8
MC
14922003-03-03 Michael Chastain <mec@shout.net>
1493
7bedbf27
MC
1494 * configure.in: Update copyright years.
1495
14962003-03-03 Michael Chastain <mec@shout.net>
1497
1498 * Makefile.in: Update copyright years.
98e9c5b8 1499
f683e100
DC
15002003-02-28 David Carlton <carlton@math.stanford.edu>
1501
1502 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1503 print class instead of struct and/or superfluous protection
1504 specifiers, as long as the resulting output is equivalent to the
1505 source code.
1506 Delete FIXME from end of messages on tests that don't need
1507 fixing.
1508
a9e0cf2c
DC
15092003-02-28 David Carlton <carlton@math.stanford.edu>
1510
1511 * gdb.c++/templates.exp (do_tests): Allow const in the two
1512 Foo<volatile char *>::foo tests.
1513
e8d359df
MS
15142003-02-27 Michael Snyder <msnyder@redhat.com>
1515
1516 * gdb.base/restore.c (main): Return zero, so exit code
1517 will be consistant.
1518
0b71dc91
DC
15192003-02-26 David Carlton <carlton@math.stanford.edu>
1520
1521 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1522 char *>::foo" test with respect to PR c++/33. Create a new test
1523 which is identical to that one except that it doesn't put the
1524 space between the "char" and the "*"; KFAIL it, too.
1525
dd14ab43
DC
15262003-02-26 David Carlton <carlton@math.stanford.edu>
1527
1528 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1529 template types into either PASSes or KFAILs (corresponding to PR
1530 c++/57). Tweak indentation. Update copyright.
1531
1146c7f1
SC
15322003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1533
1534 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1535
74641dfb
MC
15362003-02-13 Michael Chastain <mec@shout.net>
1537
1538 * gdb.base/exprs.exp: Remove i960 remnants.
1539 * gdb.base/funcargs.exp: Likewise.
1540 * gdb.base/list.exp: Likewise.
1541 * gdb.base/ptype.exp: Likewise.
1542
559cd2d0
DC
15432003-02-14 David Carlton <carlton@math.stanford.edu>
1544
1545 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1546 pEe->D::vg()" from XFAIL to KFAIL.
1547
c4f90d87
JM
15482003-02-13 Jason Molenda (jmolenda@apple.com)
1549
1550 * gdb.base/maint.exp: Update maint print statistics regexp to include
1551 new entries.
1552
cbc4d97c
MC
15532003-02-13 Michael Chastain <mec@shout.net>
1554
1555 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1556
40f235b7
MC
15572003-02-12 Michael Chastain <mec@shout.net>
1558
1559 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1560 * gdb.c++/inherit.exp: Likewise.
1561 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1562 * gdb.c++/templates.exp: Likewise.
1563 * gdb.c++/virtfunc.exp: Likewise.
1564
c56716b0
JM
15652003-02-06 Jason Molenda (jason-cl@molenda.com)
1566
1567 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1568 why the code is written that way.
1569
070afcf8
MC
15702003-02-05 Michael Chastain <mec@shout.net>
1571
1572 * gdb.base/dump.exp: Add missing copyright line.
1573
5d0331e5
JM
15742003-02-05 Jason Molenda (jason-cl@molenda.com)
1575
f7ae6d3e 1576 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1577 at the beginning so the breakpoint doesn't get set on the loop.
1578
92851186
MC
15792003-02-05 Michael Chastain <mec@shout.net>
1580
1581 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1582 output for configurations with gcc 2.95.3.
1583
cbf1e085
AC
15842003-02-05 Keith Seitz <keiths@redhat.com>
1585 Andrew Cagney <ac131313@redhat.com>
1586
1587 * gdb.mi/mi-cli.exp: New file.
1588
29518e1e
MC
15892003-02-04 Michael Chastain <mec@shout.net>
1590
1591 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1592 Call perror and then continue.
1593
5af1d5f3
MC
15942003-02-03 Michael Chastain <mec@shout.net>
1595
1596 * gdb.c++/pr-1023.cc: New file.
1597 * gdb.c++/pr-1023.exp: New file.
1598
6b549786
JB
15992003-02-05 Jim Blandy <jimb@redhat.com>
1600
1601 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1602 it's local to foobar. Check for it there, and check that it's not
1603 present in main.
1604 * gdb.c++/local.cc (marker2): New function.
1605 (foobar): Call marker1.
1606 (main): Call marker2 instead of marker1.
1607
67f16606
AC
16082003-02-04 Andrew Cagney <ac131313@redhat.com>
1609
1610 * gdb.disasm/mn10200.exp: Obsolete file.
1611 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1612 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1613 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1614
1c5cb38e
DC
16152003-02-04 David Carlton <carlton@math.stanford.edu>
1616
1617 * gdb.c++/overload.exp: Test intToChar(1).
1618 * gdb.c++/overload.cc (intToChar): New.
1619 (main): Call intToChar.
1620
d1fe6965
DC
16212003-02-03 David Carlton <carlton@math.stanford.edu>
1622
1623 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1624 'might_kfail' arg.
1625 KFAIL some of the continue_to_bp_overloaded calls, according to
1626 PR c++/1025.
1627
9ba61c5d
MC
16282003-02-01 Michael Chastain <mec@shout.net>
1629
1630 * gdb.base/advance.c (marker1): New marker function.
1631 * gdb.base/advance.exp: When the 'advance' command lands on the
1632 return breakpoint, it can legitimately stop on either the
1633 current line or the next line. Accommodate both outcomes.
1634 * gdb.base/until.exp: Likewise.
1635
e7494ffb
AC
16362003-02-02 Andrew Cagney <ac131313@redhat.com>
1637
1638 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1639 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1640 now a list, not a tuple.
1641 * gdb.mi/mi-var-display.exp: Ditto.
1642 * gdb.mi/gdb792.exp: Ditto.
1643
075559bc
AC
16442003-02-01 Andrew Cagney <ac131313@redhat.com>
1645
1646 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1647 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1648 stack backtraces.
1649 * gdb.mi/mi-syn-frame.c: Part of same.
1650
2bd4c7b1
MK
16512003-02-01 Mark Kettenis <kettenis@gnu.org>
1652
1653 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1654 gdb.mi/mi1-pthreads.exp: Return instead of calling
1655 gdb_suppress_entire_file.
1656
eabd8992
MS
16572003-02-01 Mark Salter <msalter@redhat.com>
1658
1659 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1660
71469e2f
MS
16612003-01-31 Mark Salter <msalter@redhat.com>
1662
1663 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1664 Support empty arg.
1665
38a94d44
MC
16662003-01-30 Michael Chastain <mec@shout.net>
1667
1668 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1669 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1670 has been fixed in gdb/readline on 2003-01-09.
1671
19ea9e73
MS
16722003-01-29 Michael Snyder <msnyder@redhat.com>
1673
e8d359df
MS
1674 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1675 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1676 * gdb.base/args.exp: Skip if target does not support args passing.
1677
2307bd6a
DJ
16782003-01-22 Daniel Jacobowitz <drow@mvista.com>
1679
19ea9e73 1680 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1681 gdb_test. Accept a list of expect arguments as the third
1682 parameter.
1683 (gdb_test): Use it.
1684
f2dd3617
EZ
16852003-01-20 Elena Zannoni <ezannoni@redhat.com>
1686
1687 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1688 allow for different test tree configurations. Update some
1689 tescases accordingly.
1690 * gdb.arch/altivec-regs.exp: Ditto.
1691 * gdb.asm/asm-source.exp: Ditto.
1692 * gdb.base/advance.exp: Ditto.
1693 * gdb.base/display.exp: Ditto.
1694 * gdb.base/long_long.exp: Ditto.
1695 * gdb.base/mips_pro.exp: Ditto.
1696 * gdb.base/overlays.exp: Ditto.
1697 * gdb.base/relocate.exp: Ditto.
1698 * gdb.base/setshow.exp: Ditto.
1699 * gdb.base/step-line.exp: Ditto.
1700 * gdb.base/step-test.exp: Ditto.
1701 * gdb.base/until.exp: Ditto.
1702 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1703
c71cdefd
DC
17042003-01-17 David Carlton <carlton@math.stanford.edu>
1705
1706 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1707 corresponding to PR c++/945.
1708 Update copyright.
1709
fdba05d7
DC
17102003-01-17 David Carlton <carlton@math.stanford.edu>
1711
1712 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1713 corresponding to PR c++/68.
1714
17152003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1716
1717 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1718 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1719 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1720
c362c33a
EZ
17212003-01-15 Elena Zannoni <ezannoni@redhat.com>
1722
0fbc361c
EZ
1723 * gdb.base/break.exp: Fix change of default location, because of
1724 removal of until tests.
1725 * gdb.base/help.exp: Update test for new 'until' help message.
1726 Add test for help on 'advance'.
c362c33a
EZ
1727 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1728
dabf8a35
MK
17292003-01-15 Mark Kettenis <kettenis@gnu.org>
1730
1731 * gdb.base/default.exp: Adapt "info float" test for recent changes
1732 to that command. Add test for "info vector".
1733 * gdb.base/float.exp: New file. Add test for "info float" that
1734 resembles the old test in gdb.base/default.exp.
1735
a1769aca
DC
17362003-01-15 David Carlton <carlton@math.stanford.edu>
1737
1738 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1739
82025e13
EZ
17402003-01-15 Elena Zannoni <ezannoni@redhat.com>
1741
1742 * gdb.base/break.exp: Move the tests of until command from here...
1743 * gdb.base/until.exp: ... to here. New file. Add other tests.
1744 * gdb.base/advance.c: New file.
1745 * gdb.base/advance.exp: New file.
1746
8f9ab801
EZ
17472003-01-14 Elena Zannoni <ezannoni@redhat.com>
1748
1749 * gdb.base/args.c: New file.
1750 * gdb.base/args.exp: New file.
1751
9ae66589
DJ
17522003-01-14 Daniel Jacobowitz <drow@mvista.com>
1753
1754 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1755
8d77e5c3
DJ
17562003-01-14 Daniel Jacobowitz <drow@mvista.com>
1757
1758 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1759
12d2f0a1
DJ
17602003-01-14 Daniel Jacobowitz <drow@mvista.com>
1761
1762 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1763 dates.
1764
6ca37014
DJ
17652003-01-13 Daniel Jacobowitz <drow@mvista.com>
1766
1767 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1768
b0023472
DJ
17692003-01-13 Daniel Jacobowitz <drow@mvista.com>
1770
1771 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1772 (ptype &*"foo").
1773 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1774
d6abaea5
DJ
17752002-01-13 Daniel Jacobowitz <drow@mvista.com>
1776
1777 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1778 * gdb.mi/mi1-console.exp: Likewise.
1779
dfd536a7
DJ
17802002-01-13 Daniel Jacobowitz <drow@mvista.com>
1781
1782 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1783 * gdb.mi/mi1-console.exp: Likewise.
1784
a1fb14a2
DJ
17852003-01-13 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1788
c4cf40b7
DJ
17892003-01-09 Daniel Jacobowitz <drow@mvista.com>
1790
1791 * gdb.base/detach.exp: New test.
1792
696d5a5b
DJ
17932003-01-09 Daniel Jacobowitz <drow@mvista.com>
1794
1795 * Makefile.in (ALL_SUBDIRS): New variable.
1796 (subdirs, clean, distclean): Use it.
1797 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1798 regenerating Makefile, since it is generated from the top level.
1799 * gdb.asm/Makefile.in: Likewise.
1800 * gdb.base/Makefile.in: Likewise.
1801 * gdb.c++/Makefile.in: Likewise.
1802 * gdb.disasm/Makefile.in: Likewise.
1803 * gdb.java/Makefile.in: Likewise.
1804 * gdb.mi/Makefile.in: Likewise.
1805 * gdb.threads/Makefile.in: Likewise.
1806 * gdb.trace/Makefile.in: Likewise.
1807
754533e4
DC
18082003-01-09 David Carlton <carlton@math.stanford.edu>
1809
1810 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1811 Add copyright year 2003.
1812
d8b3e9ee
MC
18132003-01-06 Michael Chastain <mec@shout.net>
1814
1815 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1816 When selecting a thread, 'line' and 'file' are optional.
1817 * gdb.mi/mi1-pthreads.exp: Likewise.
1818
8e9e0fe6
AS
18192003-01-06 Andreas Schwab <schwab@suse.de>
1820
1821 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1822 failures.
1823
b5ab8ff3
DJ
18242003-01-04 Daniel Jacobowitz <drow@mvista.com>
1825
1826 Fix PR gdb/844
1827 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1828 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1829
1830 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1831 instead of calling gdb_suppress_entire_file.
1832 * gdb.threads/print-threads.exp: Likewise.
1833 * gdb.threads/schedlock.exp: Likewise.
1834
1835 * gdb.threads/killed.exp: Return instead of calling
1836 gdb_suppress_entire_file.
1837 * gdb.threads/linux-dp.exp: Likewise.
1838 * gdb.threads/pthreads.exp: Likewise.
1839
1e698235
DJ
18402003-01-04 Daniel Jacobowitz <drow@mvista.com>
1841
1842 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1843 stabs.
1844 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1845 * gdb.base/whatis.exp: Always allow (void) after function names.
1846
147ff08c
DJ
18472003-01-04 Daniel Jacobowitz <drow@mvista.com>
1848
1849 * gdb.c++/casts.exp: Correct regexp.
1850
dc62bfc2
MK
18512003-01-04 Mark Kettenis <kettenis@gnu.org>
1852
1853 * configure.in: Call AC_CONFIG_HEADER. Don't call
1854 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1855 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1856 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1857 aforementioned directories in the AC_OUPUT call.
1858 * config.hin: New file.
1859 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1860 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1861 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1862 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1863 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1864 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1865 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1866 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1867 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1868 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1869 gdb.threads/configure.in, gdb.threads/configure,
1870 gdb.threads/config.in, gdb.trace/configure.in,
1871 gdb.trace/configure: Removed.
1872
77afa639
MC
18732003-01-03 Michael Chastain <mec@shout.net>
1874
1875 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1876 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1877
7634bb6e
DJ
18782003-01-03 Daniel Jacobowitz <drow@mvista.com>
1879
1880 * gdb.base/store.exp: Fix regular expressions.
1881
b39c905e
MK
18822002-12-28 Mark Kettenis <kettenis@gnu.org>
1883
1884 * configure.in: Rewrite.
1885 * configure: Regenerated.
1886
0a8551dd
DC
18872003-01-03 David Carlton <carlton@math.stanford.edu>
1888
1889 * gdb.base/psymtab.exp: New file.
1890 * gdb.base/psymtab1.c: Ditto.
1891 * gdb.base/psymtab2.c: Ditto.
1892
c60b7188
AF
18932002-12-23 Adam Fedor <fedor@gnu.org>
1894
1895 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1896
ee73db83
DC
18972002-12-23 David Carlton <carlton@math.stanford.edu>
1898
1899 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1900 and current_directory initialization.
1901
d6c1774e
JB
19022002-12-22 Jim Blandy <jimb@redhat.com>
1903
f0a847b8
JB
1904 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1905 rather than as part of the output file name.
1906
d6c1774e
JB
1907 * gdb.base/attach.exp: There's no need to copy the test program to
1908 /tmp; that was only ever necessary on HP/UX, and this test is
1909 entirely disabled there anyway.
1910
f0708dbb
JB
19112002-12-21 Jim Blandy <jimb@redhat.com>
1912
4c2acfea
JB
1913 * gdb.c++/psmang.exp: Doc fix.
1914
f0708dbb
JB
1915 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1916 test.
1917
9579e000
DC
19182002-12-20 David Carlton <carlton@math.stanford.edu>
1919
1920 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1921
d1810171
MC
19222002-12-18 Michael Chastain <mec@shout.net>
1923
1924 * gdb.c++/annota2.exp: Add copyright year 2002.
1925
76565097
DC
19262002-12-17 David Carlton <carlton@math.stanford.edu>
1927
1928 * gdb.c++/try_catch.cc: Add marker comments.
1929 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1930 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1931 * gdb.c++/m-static.cc: Ditto.
1932 * gdb.c++/m-static1.cc: Ditto.
1933 * gdb.c++/try_catch.cc: Ditto.
1934
da81390b
JJ
19352002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1936
1937 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1938 to see whether we are using the new -environment-directory
1939 command which resets via -r or the old version of the command
1940 which may prompt the user. Part of fix for gdb/741.
1941
b304d130
AC
19422002-12-13 Andrew Cagney <ac131313@redhat.com>
1943
1944 * gdb.fortran/types.exp: Update obsolete comment.
1945 * gdb.fortran/exprs.exp: Ditto.
1946 * lib/gdb.exp: Delete obsolete code.
1947 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1948 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1949 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1950 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1951 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1952 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1953 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1954 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1955 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1956 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1957 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1958 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1959 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1960 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1961 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1962 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1963 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1964 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1965 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1966 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1967 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1968 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1969 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1970 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1971 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1972 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1973 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1974 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1975 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1976 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1977 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1978 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1979 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1980 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1981 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1982 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1983 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1984
a23b6e6a
DC
19852002-12-11 David Carlton <carlton@math.stanford.edu>
1986
1987 * gdb.c++/m-data.exp: Add test for members that shadow global
1988 variables: see PR gdb/804.
1989 * gdb.c++/m-data.cc: Ditto.
1990
6604731b
DJ
19912002-12-10 Daniel Jacobowitz <drow@mvista.com>
1992
1993 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1994
de46ecd7
DC
19952002-12-06 David Carlton <carlton@math.stanford.edu>
1996
1997 * gdb.base/store.c: Don't declare functions static.
1998
27e829d0
AC
19992002-12-04 Andrew Cagney <ac131313@redhat.com>
2000
2001 * gdb.base/store.exp, gdb.base/store.c: New files.
2002
92806416
DJ
20032002-12-03 Daniel Jacobowitz <drow@mvista.com>
2004
2005 * gdb.base/selftest.exp: Update for current gdb.
2006
3bcbaac5
DJ
20072002-12-03 Daniel Jacobowitz <drow@mvista.com>
2008
2009 * gdb.base/maint.exp: Only dump symbols from one source file
2010 or objfile.
2011
f4f00b1f
DJ
20122002-12-03 Daniel Jacobowitz <drow@mvista.com>
2013
2014 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2015 function call.
2016
f1c8a949
JB
20172002-11-25 Jim Blandy <jimb@redhat.com>
2018
2019 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2020 function appearing in error message.
2021
9e297a97
DJ
20222002-11-21 Daniel Jacobowitz <drow@mvista.com>
2023
2024 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2025
1f312e79
JJ
20262002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2027
2028 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2029 for mi1 and current mi is in correct format. New mi startup message
2030 should be in mi console format. This is part of fix for PR gdb/604.
2031
83c31e7d
FN
20322002-09-18 Fernando Nasser <fnasser@redhat.com>
2033
2034 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2035 which explicitly prints the zero offset as "+0".
2036
322b3f65
DJ
20372002-10-22 Daniel Jacobowitz <drow@mvista.com>
2038
2039 * gdb.threads/schedlock.c (args): Make unsigned.
2040
20412002-10-21 Daniel Jacobowitz <drow@mvista.com>
2042
2043 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2044 numbers. Allow "foo2|selected stack frame".
2045 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2046 * gdb.asm/asmsrc2.s: Likewise.
2047 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2048 comments.
2049 * gdb.asm/mips.inc: New file.
2050
5e2fe5b8
AF
20512002-10-18 Adam Fedor <fedor@gnu.org>
2052
2053 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2054 * gdb.base/help.exp: Likewise.
2055
abe1a5d0
KB
20562002-10-17 Kevin Buettner <kevinb@redhat.com>
2057
2058 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2059 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2060
10abb1d4
JB
20612002-10-02 Jim Blandy <jimb@redhat.com>
2062
2063 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2064
1f609b42
AC
20652002-10-01 Andrew Cagney <ac131313@redhat.com>
2066
2067 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2068 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2069 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2070 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2071 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2072 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2073 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2074
0aee02e4
AC
20752002-09-29 Andrew Cagney <ac131313@redhat.com>
2076
2077 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2078 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2079 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2080 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2081 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2082 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2083 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2084
6fde09ad
KB
20852002-09-27 Kevin Buettner <kevinb@redhat.com>
2086
2087 * gdb.base/annota1.exp (info break): Make directory components of
2088 path optional since not all compilers emit this debug information.
2089
2090 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2091 step ends up stepping out of the function instead of stopping on
2092 the epilogue.
2093
9e8aab75
KS
20942002-09-26 Keith Seitz <keiths@redhat.com>
2095
2096 * lib/insight-support.exp (gdbtk_start): Figure out where
2097 the insight executable is based on where gdb is. Use this
2098 executable to start insight instead of gdb.
2099
e36180d7
AC
21002002-09-25 Andrew Cagney <cagney@redhat.com>
2101
2102 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2103
9dd34b2b
AC
21042002-09-24 Andrew Cagney <ac131313@redhat.com>
2105
2106 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2107 test_isolated_complaints.
2108 (test_empty_complaint): New function.
2109 (test_empty_complaints): New function. Check no output when no
2110 complaints.
2111
dea97812
KB
21122002-09-19 Jim Blandy <jimb@redhat.com>
2113
2114 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2115
54951bd7
AC
21162002-09-19 Andrew Cagney <ac131313@redhat.com>
2117
2118 * gdb.gdb/complaints.exp: New file.
2119
dec43320
AC
21202002-09-18 Andrew Cagney <ac131313@redhat.com>
2121
2122 * gdb.base/maint.exp: Check `help maint internal-warning'.
2123
e70d6e3f
DC
21242002-09-18 David Carlton <carlton@math.stanford.edu>
2125
2126 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2127 numbers, and replace them by a single breakpoint after the
2128 constructors are all finished.
2129 Add test 4.
2130 * gdb.c++/m-static.cc: Add test 4.
2131 * gdb.c++/m-static.h: New file.
2132 * gdb.c++/m-static1.cc: New file.
2133
2134 * gdb.c++/printmethod.exp: New file.
2135 * gdb.c++/printmethod.cc: New file.
2136
2137 * gdb.c++/pr-574.exp: New file.
2138 * gdb.c++/pr-574.cc: New file.
2139
afb5c968
CV
21402002-09-18 Corinna Vinschen <vinschen@redhat.com>
2141
2142 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2143 embedded targets which never actually exit.
2144
31e45dee
FN
21452002-09-18 Fernando Nasser <fnasser@redhat.com>
2146
2147 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2148 "don't step after run" as unresolved or unsupported, instead of xfail.
2149
a283c5a1
CV
21502002-09-18 Corinna Vinschen <vinschen@redhat.com>
2151
2152 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2153 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2154 Add newline to expected string in "step out of main (status wrapper)"
2155 case.
2156
11350d2a
CV
21572002-09-18 Corinna Vinschen <vinschen@redhat.com>
2158
2159 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2160 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2161
0deec7d6
TT
21622002-09-17 Tom Tromey <tromey@redhat.com>
2163
2164 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2165 \000, not \0, in double-quoted string.
2166
b2b4a1b5
CV
21672002-09-14 Corinna Vinschen <vinschen@redhat.com>
2168
c9d37158 2169 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2170 string after running the commands execution on breakpoint tests.
2171
1c56143a
CV
21722002-09-13 Corinna Vinschen <vinschen@redhat.com>
2173
2174 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2175
37f8da45
JB
21762002-09-12 Joel Brobecker <brobecker@gnat.com>
2177
2178 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2179
08b468e0
KS
21802002-09-10 Keith Seitz <keiths@redhat.com>
2181
2182 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2183 runto proc.
2184 (mi_run_to_main): Use mi_runto.
2185 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2186
dc360f58
KS
21872002-09-10 Keith Seitz <keiths@redhat.com>
2188
2189 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2190 regexp for stopping at main. Could have multiple event notifications.
2191 Don't assume that main was declared with no parameters.
2192 (mi_next): Use mi_step_to.
2193 (mi_step): Use mi_next_to.
2194
ce3abcfb
CV
21952002-09-09 Corinna Vinschen <vinschen@redhat.com>
2196
2197 * gdb.base/default.exp: Fix expected string in `info float' test.
2198
d1f5b980
BE
21992002-09-09 Ben Elliston <bje@redhat.com>
2200
2201 * config/mips.exp: Update comments.
2202 * config/mips-idt.exp: Likewise.
2203 * config/nind.exp: Likewise.
2204 * config/slite.exp: Likewise.
2205 * config/sparclet.exp: Likewise.
2206 * config/udi.exp: Likewise.
2207 * config/vx.exp: Likewise.
2208 * config/vxworks29k.exp: Likewise.
2209
2f71430b
JB
22102002-09-05 Jim Blandy <jimb@redhat.com>
2211
2212 * gdb.threads/killed.exp: Fix test failure message.
2213
7ddebc7e
KS
22142002-09-04 Keith Seitz <keiths@redhat.com>
2215
2216 * lib/mi-support.exp: Update copyright.
2217 (mi_gdb_test): Increase the priority of the expected pattern
2218 so that it matches gdb_test.
2219
0ae67eb3
KS
22202002-09-03 Keith Seitz <keiths@redhat.com>
2221
2222 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2223 Use integer comparison instead of string comparison for testing
2224 whether binary was built.
2225
38fc42c8
JB
22262002-09-03 Jim Blandy <jimb@redhat.com>
2227
2228 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2229
b6ff0e81
JB
22302002-08-29 Jim Blandy <jimb@redhat.com>
2231
2232 * gdb.threads/pthreads.exp: Move the portable thread compilation
2233 code into a function in lib/gdb.exp, and call that from here.
2234 * lib/gdb.exp (gdb_compile_pthreads): New function.
2235
07c98896
KS
22362002-08-29 Keith Seitz <keiths@redhat.com>
2237
2238 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2239 expect_out so that callers can get at it.
2240
0312286c
DJ
22412002-08-23 Daniel Jacobowitz <drow@mvista.com>
2242
2243 * gdb.threads/print-threads.c: New file.
2244 * gdb.threads/print-threads.exp: New file.
2245 * gdb.threads/schedlock.c: New file.
2246 * gdb.threads/schedlock.exp: New file.
2247
dd039bc4
EZ
22482002-08-22 Elena Zannoni <ezannoni@redhat.com>
2249
2250 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2251 not altivec.c.
2252
1f36144c
MK
22532002-08-17 Mark Kettenis <kettenis@gnu.org>
2254
2255 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2256 targets. The problem should be fixed now.
2257
16057ec7 22582002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2259
2260 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2261 2002-07-24 change that removes final dots from error messages.
2262
3c1499ad
TT
22632002-08-13 Tom Tromey <tromey@redhat.com>
2264
2265 * gdb.base/readline.exp: New file.
2266
a20ce2c3
AC
22672002-08-01 Andrew Cagney <ac131313@redhat.com>
2268
2269 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2270 supress message.
2271
db034ac5
AC
22722002-08-01 Andrew Cagney <cagney@redhat.com>
2273
2274 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2275 CHILL_FOR_TARGET and CHILL_LIB.
2276 * configure.in (configdirs): Remove gdb.chill.
2277 * configure: Regenerate.
2278 * lib/gdb.exp: Obsolete references to chill.
2279 * gdb.fortran/types.exp: Ditto.
2280 * gdb.fortran/exprs.exp: Ditto.
2281
3e000b18
KB
22822002-07-30 Kevin Buettner <kevinb@redhat.com>
2283
2284 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2285 set Irix-specific compile and link flags.
2286
28f4966b
KB
22872002-07-29 Kevin Buettner <kevinb@redhat.com>
2288
2289 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2290 source files. The ``-o'' option doesn't work with the ``-E'' option
2291 when using the Irix compiler.
2292
46c0d5a6
DJ
22932002-07-19 Daniel Jacobowitz <drow@mvista.com>
2294
2295 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2296 Improve support for reusing an exec file. Copy exec file
2297 to target, and run gdbserver on the target instead of on the host.
2298
eecf4bed
JB
22992002-07-18 Jim Blandy <jimb@redhat.com>
2300
0f815cdf
JB
2301 * gdb.base/ending-run.exp: Don't expect to see the program end in
2302 some orderly fashion when we're running on a real stand-alone
2303 board.
2304
eecf4bed
JB
2305 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2306 targets that don't support interrupts.
2307
52d309e4
JB
23082002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2309
2310 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2311 systems.
2312 Move comments in expect statements to inside the actions, so that they
2313 don't get matched against.
2314
ff683d9e
MK
23152002-07-10 Mark Kettenis <kettenis@gnu.org>
2316
2317 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2318 function when asleep" test.
2319
b5356753
AC
23202002-07-10 Andrew Cagney <ac131313@redhat.com>
2321
2322 * gdb.base/page.exp: Rewrite to handle problems with very long
2323 `info set' output. Update copyright.
2324
6aa4d13a
AC
23252002-06-26 Andrew Cagney <ac131313@redhat.com>
2326
2327 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2328 gdb.threads-hp.
2329 * gdb.hp/configure: Regenerate.
2330 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2331 * gdb.hp/gdb.threads-hp/configure: Delete file.
2332 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2333
8cf8c2b8
AC
23342002-06-22 Andrew Cagney <ac131313@redhat.com>
2335
2336 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2337 setlocale, bindtextdomain and textdomain.
2338
6827a8f8
JB
23392002-06-11 Jim Blandy <jimb@redhat.com>
2340
919d772c
JB
2341 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2342 preprocessor macro information is present.
2343
6827a8f8
JB
2344 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2345 tests.
2346
c15b0d21
MS
23472002-06-06 Michael Snyder <msnyder@redhat.com>
2348
c5984d70
MS
2349 * gdb.base/overlays.exp: Record addresses of overlay
2350 functions in TCL variables rather than in GDB variables,
2351 to avoid having GDB convert them to pointers (with loss
2352 of information).
2353
99a8512b
MS
2354 * gdb.base/d10v.ld: Merge in several years worth of
2355 default linker script changes.
c15b0d21
MS
2356 * gdb.base/long_long.exp: Add check for sizeof (long double).
2357
be26fe0d
ML
23582002-06-06 Michal Ludvig <mludvig@suse.cz>
2359
2360 * gdb.asm/asm-source.exp: Add x86-64 target.
2361 * gdb.asm/x86_64.inc: New.
2362
258093ca 23632002-05-30 Michael Chastain <mec@shout.net>
258093ca 2364
4b3153f1 2365 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2366 * gdb.c++/m-static.cc: New file.
2367 * gdb.c++/m-static.exp: New file.
2368
241264c6
MS
23692002-05-28 Michael Snyder <msnyder@redhat.com>
2370
2371 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2372 precision.
2373
9bba8c8f 23742002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2375
4b3153f1 2376 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2377 * gdb.c++/m-data.cc: New file.
2378 * gdb.c++/m-data.exp: New file.
2379
23802002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2381
4b3153f1 2382 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2383 * gdb.c++/try_catch.cc: New file.
2384 * gdb.c++/try_catch.exp: New file.
2385
def1b996
MC
23862002-05-27 Michael Chastain <mec@shout.net>
2387
2388 * gdb.c++/local.exp: Accept more nested types in output.
2389
522ba268
MC
23902002-05-26 Michael Chastain <mec@shout.net>
2391
2392 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2393
277254ba
MS
23942002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2395
2396 * lib/gdb.exp (gdb_wrapper_init): Just because
2397 gdb_wrapper_file exists, this does not mean that the file
2398 should not be rebuilt. That is what gdb_wrapper_initialized
2399 is for.
2400 (default_gdb_init): Reset gdb_wrapper_initialized.
2401
b61a8733
MS
24022002-05-23 Michael Snyder <msnyder@redhat.com>
2403
5bdb6d01
MS
2404 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2405 the precision of the floating point test results.
2406 * gdb.base/call-rt-st.exp: Ditto.
2407
b61a8733
MS
2408 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2409 * gdb.base/call-rt-st.exp: Ditto.
2410
56f6e910
MC
24112002-05-19 Michael Chastain <mec@shout.net>
2412
2413 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2414
ad0b0016
EZ
24152002-05-19 Elena Zannoni <ezannoni@redhat.com>
2416
2417 * configure.in (configdirs): Add gdb.arch.
2418 * configure: Regenerate.
2419
f617d2b6
JB
24202002-05-17 Jim Blandy <jimb@redhat.com>
2421
2422 * gdb.base/completion.exp: Recognize the more detailed error
2423 messages produced by the macro expander's lexical analyzer.
2424
eac2a696
EZ
24252002-05-14 Elena Zannoni <ezannoni@redhat.com>
2426
2427 * gdb.arch/altivec-abi.c: New file.
2428 * gdb.arch/altivec-abi.exp: New file.
2429 * gdb.arch/altivec-regs.c: New file.
2430 * gdb.arch/altivec-regs.exp: New file.
2431
2fdde8f8
DJ
24322002-05-14 Daniel Jacobowitz <drow@mvista.com>
2433
2434 * gdb.base/maint.exp (maint print type): Update for new type
2435 structure.
eac2a696 2436
e31f1a7c
EZ
24372002-05-14 Elena Zannoni <ezannoni@redhat.com>
2438
2439 * gdb.arch: New directory.
2440 * gdb.arch/configure.in: New file.
2441 * gdb.arch/configure: New file.
2442 * gdb.arch/Makefile.in: New file.
2443
db589741
CV
24442002-05-13 Corinna Vinschen <vinschen@redhat.com>
2445
2446 * gdb.asm/asm-source.exp: Add v850 as supported target.
2447 * gdb.asm/v850.inc: New file.
2448
8ce2a7dc
DJ
24492002-05-13 Daniel Jacobowitz <drow@mvista.com>
2450
2451 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2452
df763c7f
DJ
24532002-05-12 Daniel Jacobowitz <drow@mvista.com>
2454
2455 * gdb.base/break.exp: Check 'break "marker2"'.
2456
377daeed
MS
24572002-05-10 Michael Snyder <msnyder@redhat.com>
2458
2459 * gdb.base/long_long.exp: Fix typo.
2460
c4b7bc2b
JB
24612002-05-10 Jim Blandy <jimb@redhat.com>
2462
ecac9a4e
JB
2463 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2464 a bug.
2465
c4b7bc2b
JB
2466 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2467 Recognize more detailed error message produced by the macro
2468 expander's lexical analyzer.
2469 * lib/gdb.exp (test_print_reject): Same.
2470
e71019a1
MK
24712002-05-09 Mark Kettenis <kettenis@gnu.org>
2472
2473 * gdb.c++/method.exp: Fix typo.
2474
fedfc8e6
MS
24752002-05-08 Michael Snyder <msnyder@redhat.com>
2476
166a1957
MS
2477 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2478 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2479 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2480 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2481 Add iftarget clause for strongarm.
2482
f1c47eb2
MS
24832002-05-06 Michael Snyder <msnyder@redhat.com>
2484
cb9a9d3e
MS
2485 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2486 (gdb_continue_to_end): Accept output from status wrapper.
2487 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2488 Clean up fail messages to match pass messages.
2489
f1c47eb2
MS
2490 Enable the "needs_status_wrapper" testsuite feature.
2491 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2492 (gdb_compile): Conditionally call gdb_wrapper_init.
2493 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2494 * gdb.c++/method.exp: Recognize output from status wrapper.
2495
6079c749
BE
24962002-05-06 Ben Elliston <bje@redhat.com>
2497From Graydon Hoare <graydon@redhat.com>
2498
2499 * config/sid.exp: Include support for "rawsid" protocol.
2500
188baff3
JB
25012002-05-03 Jim Blandy <jimb@redhat.com>
2502
2503 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2504 * gdb.c++/hang3.C: New file.
2505
b9c07f0f
AC
25062002-05-04 Andrew Cagney <ac131313@redhat.com>
2507
2508 * gdb.base/default.exp: Remove obsolete code.
2509 * gdb.c++/misc.exp: Ditto. Update copyright.
2510 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2511 * gdb.base/whatis.exp: Ditto. Update copyright.
2512 * gdb.base/scope.exp: Ditto. Update copyright.
2513 * gdb.base/ptype.exp: Ditto. Update copyright.
2514 * gdb.base/printcmds.exp: Ditto. Update copyright.
2515 * gdb.base/opaque.exp: Ditto. Update copyright.
2516 * gdb.base/list.exp: Ditto.
2517 * gdb.base/funcargs.exp: Ditto. Update copyright.
2518 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2519 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2520 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2521 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2522 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2523 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2524
5c7a0397
MS
25252002-05-02 Michael Snyder <msnyder@redhat.com>
2526
d6dcc264 2527 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2528 * gdb.base/long_long.exp: Add xscale target.
2529 * gdb.base/default.exp: Add xscale target.
2530
eb7f1c48
JB
25312002-05-01 Jim Blandy <jimb@redhat.com>
2532
2533 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2534 gdb.c++/hang.exp: New test.
2535
a6befae8
FF
25362002-05-01 Fred Fish <fnf@redhat.com>
2537
2538 * gdb.base/completion.exp: Handle completions of "./Make" for
2539 more than one completion possibility, as is the case when we
2540 build and test in the source tree.
2541
0a310277
AG
25422002-04-29 Anthony Green <green@redhat.com>
2543
2544 * gdb.java/jmisc1.exp: New file.
2545 * gdb.java/jmisc2.exp: New file.
2546
6ff9af88
DJ
25472002-04-24 Daniel Jacobowitz <drow@mvista.com>
2548
2549 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2550
96b3d632
EZ
25512002-04-23 Elena Zannoni <ezannoni@redhat.com>
2552
2553 * gdb.base/help.exp: Change 'help status' to allow for target
2554 dependent output differences.
2555
5019bb54
MC
25562002-04-22 Michael Chastain <mec@shout.net>
2557
2558 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2559
a805a116
MC
25602002-04-22 Michael Chastain <mec@shout.net>
2561
2562 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2563
a1706bfd
DM
25642002-04-17 David S. Miller <davem@redhat.com>
2565
2566 * gdb.asm/sparc64.inc: New file.
2567 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2568
a73a20a2
EZ
25692002-04-19 Elena Zannoni <ezannoni@redhat.com>
2570
2571 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2572 instruction file directly into the build tree. Clean up at end of
2573 test.
2574
ba678339
DM
25752002-04-18 David S. Miller <davem@redhat.com>
2576
2577 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2578 handle 64-bit platforms correctly.
2579 * gdb.base/maint.exp: Likewise.
2580
b03399da
KB
25812002-04-18 Kevin Buettner <kevinb@redhat.com>
2582
2583 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2584 ``-fpic'' when compiling files comprising a shared library, but
2585 it does need additional linker flags in order to find shared
2586 libraries at run time.
2587
e2004992
KB
25882002-04-18 Kevin Buettner <kevinb@redhat.com>
2589
2590 * gdb.base/cvexpr.c (use): New function.
2591 (main): Invoke use() on all global variables to prevent
2592 some linkers from deleting these otherwise unused symbols.
2593
d8937120
MC
25942002-04-17 Michael Chastain <mec@shout.net>
2595From David S. Miller <davem@redhat.com>
2596
2597 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2598 handle 64-bit platforms correctly.
2599
ffd61a58
MS
26002002-04-12 Michael Snyder <msnyder@redhat.com>
2601From Jim Blandy <jimb@redhat.com>
2602 * gdb.base/foo.c (foox): Remove section attribute; the linker
2603 script can handle this instead.
2604 * gdb.base/bar.c (barx): Same.
2605 * gdb.base/baz.c (bazx): Same.
2606 * gdb.base/grbx.c (grbxx): Same.
2607
2608 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2609 manager doesn't automatically unmap overlays unnecessarily.
2610
6b8426a6
MH
26112002-04-10 Martin M. Hunt <hunt@redhat.com>
2612
2613 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2614 stepping out of main.
2615
34af4875
MC
26162002-04-09 Michael Chastain <mec@shout.net>
2617
2618 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2619 scope so that the nested scope tests will make sense.
2620 * gdb.c++/local.exp: Write patterns that actually work with gcc
2621 (the HP patterns "were never known to work with gcc").
2622 Keep the old aCC patterns too.
2623
2d1676a0
DJ
26242002-04-09 Daniel Jacobowitz <drow@mvista.com>
2625
2626 * gdb.base/attach.exp: Correct target board test.
2627
3a63e3f9
MC
26282002-04-08 Michael Chastain <mec@shout.net>
2629
2630 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2631 in a const method. Add some xfail and fail cases for configurations
2632 that do not emit the "const ...".
2633
f18dabd2
MC
26342002-04-07 Michael Chastain <mec@shout.net>
2635
2636 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2637 Accept "A * const" and "const A * const" as type of "this".
2638 Fix spelling of getFunky throughout. Make messages uniform.
2639
0fcddd82
EZ
26402002-04-07 Elena Zannoni <ezannoni@redhat.com>
2641
2642 Work around for PR gdb/285:
2643 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2644
16a8534a
EZ
26452002-04-07 Elena Zannoni <ezannoni@redhat.com>
2646
2647 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2648 instructions file at run time instead of configure time.
2649 Sometimes we run the test in a directory that is not the one we
2650 configured in.
2651 * gdb.asm/configure.in: Delete creation of symlink.
2652 * gdb.asm/configure: Regenerate.
2653
24181d81
JB
26542002-04-05 J. Brobecker <brobecker@gnat.com>
2655
2656 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2657 xfullpath () function.
2658
7cdb7107
DJ
26592002-04-04 Daniel Jacobowitz <drow@mvista.com>
2660
2661 * gdb.asm/Makefile.in: Correct dependencies.
2662
2663 * gdb.asm/powerpc.inc: New file.
2664 * gdb.asm/asm-source.exp: Add PowerPC.
2665 * gdb.asm/configure.in: Likewise.
2666 * gdb.asm/configure: Regenerated.
2667
a7d17088
DJ
26682002-04-04 Daniel Jacobowitz <drow@mvista.com>
2669
2670 * gdb.base/relocate.exp: New file.
2671 * gdb.base/relocate.c: New file.
2672
cd721503
FF
26732002-04-04 Fred Fish <fnf@redhat.com>
2674
2675 * gdb.base/step-test.exp: Update comment regarding stopping in
2676 memcpy/bcopy calls inserted as part of the compiler runtime.
2677
b22ad7a7
MS
26782002-04-04 Michael Snyder <msnyder@redhat.com>
2679
2680 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2681
5f279fa6
DJ
26822002-04-03 Daniel Jacobowitz <drow@mvista.com>
2683
2684 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2685 (gdb_expect): Remove $notransfer hack.
2686
dd0fd3ce
DJ
26872002-04-02 Daniel Jacobowitz <drow@mvista.com>
2688
2689 * gdb.c++/classes.exp ("calling method for small class"): Match
2690 updated register output.
2691
1e50cda1
DJ
26922002-03-30 Daniel Jacobowitz <drow@mvista.com>
2693
2694 Fix PR gdb/452
2695 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2696 when finished. Make gdb_file_cmd send "exec-file" when
2697 appropriate.
2698
24015922
DJ
26992002-03-30 Daniel Jacobowitz <drow@mvista.com>
2700
2701 * gdb.base/attach.exp: Remove extra setup_xfail.
2702
dd7dfd64
MS
27032002-03-26 Michael Snyder <msnyder@redhat.com>
2704
2705 * gdb.base/default.exp: Add tests for dump, append, and restore.
2706 * gdb.base/help.exp: Add tests for dump, append, and restore.
2707 * gdb.base/dump.exp: New file, test dump, append and restore.
2708 * gdb.base/dump.c: New file.
2709
48b2f8d7
MS
27102002-03-27 Michael Snyder <msnyder@redhat.com>
2711
2712 * gdb.base/help.exp: Modify expect strings to reflect
2713 clean-ups in help messages.
2714
05b4d525
FF
27152002-03-26 Fred Fish <fnf@redhat.com>
2716
2717 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2718 have debugging info for those functions and the compiler uses them
2719 internally to copy structs around.
2720
d7679631
FF
27212002-03-26 Fred Fish <fnf@redhat.com>
2722
2723 * gdb.base/list.exp: Revert the change made yesterday and add note
2724 about why we don't list the default lines for remote targets.
2725
523ac3f9
MS
27262002-03-25 Michael Snyder <msnyder@redhat.com>
2727
2728 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2729
754b2b8d
FF
27302002-03-25 Fred Fish <fnf@redhat.com>
2731
2732 * gdb.base/list.exp: This test works on remote targets so remove
2733 the short circuit for remote targets. Update copyright.
2734
33c3e192
FF
27352002-03-25 Fred Fish <fnf@redhat.com>
2736
2737 * gdb.base/attach.exp: Fix logic error that was suppressing this
2738 test for all non hppa*-*-hpux* targets, instead of the hp target.
2739 Move comments closer to the suppression point. Also now need to
2740 check that we are running natively.
2741
d43e73ee
MS
27422002-03-22 Michael Snyder <msnyder@redhat.com>
2743
882c8f02
MS
2744 * gdb.base/default.exp: Add test for gcore. Update copyright.
2745 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2746
04c12f60
FF
27472002-03-06 Fred Fish <fnf@redhat.com>
2748
2749 * gdb.base/funcargs.c: Remove extraneous ';' character.
2750 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2751
b43df995
MC
27522002-03-04 Michael Chastain <mec@shout.net>
2753
2754 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2755 accommodate gcc v3 function signature.
2756 * gdb.mi/mi0-var-cmd-exp: Ditto.
2757
92362027
AC
27582002-02-24 Andrew Cagney <ac131313@redhat.com>
2759
2760 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2761 ``GNU/Linux'' or ``Linux kernel''
2762 * testsuite/gdb.threads/pthreads.c: Ditto.
2763
258ad32d
MC
27642002-02-24 Michael Chastain <mec@shout.net>
2765
2766 * gdb.threads/pthreads.c (thread1): Add a return statement.
2767 (thread2): Likewise.
2768 (foo): Likewise.
2769
04c3b3d4
MC
27702002-02-23 Michael Chastain <mec@shout.net>
2771
2772 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2773 to placate gcc.
2774
5a2a0a20
MC
27752002-02-23 Michael Chastain <mec@shout.net>
2776
2777 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2778 test "ptype bint". The test passes on all my stabs configurations.
2779
a640f7fc
JB
27802002-02-21 Jim Blandy <jimb@redhat.com>
2781
27924826
JB
2782 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2783 filename at a time, and watch for the ones we want to see.
2784
a640f7fc
JB
2785 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2786 types of pointers to prototyped functions.
2787
edcc8c75
AC
27882002-02-20 Andrew Cagney <ac131313@redhat.com>
2789
2790 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2791 signed, unsigned and straight char.
2792 (padding_char, padding_short, padding_int, padding_long,
2793 padding_long_long, padding_float, padding_double,
2794 padding_long_double): New global variables.
2795 (fill, fill_structs): New functions.
2796
2797 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2798 for correctly sized writes. Update copyright.
2799 (get_valueof): New procedure.
2800 (get_sizeof): Call get_valueof.
2801 (check_valueof): New procedure.
2802 (check_padding): New procedure.
2803
ac57ea44
MC
28042002-02-20 Michael Chastain <mec@shout.net>
2805
2806 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2807 to setup_xfail. Document some of the remaining calls.
2808
7a10c941
MC
28092002-02-18 Michael Chastain <mec@shout.net>
2810
2811 * gdb.c++/userdef.exp: Update copyright year.
2812
fb8acdcc
DJ
28132002-02-18 Daniel Jacobowitz <drow@mvista.com>
2814
2815 * gdb.c++/userdef.exp: Test overloaded operators properly.
2816 Remove xfails.
2817
fda6ae12
MS
28182002-02-14 Michael Snyder <msnyder@redhat.com>
2819
2820 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2821
676a0442
DJ
28222002-02-14 Daniel Jacobowitz <drow@mvista.com>
2823
2824 * gdb.base/a2-run.exp: Check for a remote target properly.
2825 * gdb.base/annota1.exp: Likewise.
2826 * gdb.base/list.exp: Likewise.
2827 * gdb.base/reread.exp: Likewise.
2828 * gdb.base/scope.exp: Likewise.
2829 * gdb.base/shlib-call.exp: Likewise.
2830 * gdb.base/term.exp: Likewise.
2831 * gdb.c++/annota2.exp: Likewise.
2832
78b4f468
RE
28332002-02-13 Richard Earnshaw <rearnsha@arm.com>
2834
2835 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2836
9a81ba51
MC
28372002-02-10 Michael Chastain <mec@shout.net>
2838
2839 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2840 (call_after_alloca): Ditto.
2841
004af6c7
DJ
28422002-02-10 Daniel Jacobowitz <drow@mvista.com>
2843
2844 * gdb.base/ending-run.exp: Guard "cont" test with
2845 gdb_skip_stdio_test.
2846
37225f62
JB
28472002-02-06 Jim Blandy <jimb@redhat.com>
2848
2849 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2850 from here...
2851 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2852 To here. Disable this test on non-HP platforms. Add big comment.
2853
fe6fdd96
MS
28542002-02-04 Michael Snyder <msnyder@redhat.com>
2855
2856 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2857 other than d10v and m32r.
2858
036fad3f
RE
28592002-02-02 Richard Earnshaw <rearnsha@arm.com>
2860
2861 * gdb.base/default.exp: Rewrite test patterns to reduce time
2862 taken to match them.
2863
7148ab62
DJ
28642002-01-30 Daniel Jacobowitz <drow@mvista.com>
2865
2866 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2867 Allow a start function above main.
2868 * gdb.threads/linux-dp.exp: Fix copyright date.
2869
396cc255
DJ
28702002-01-30 Daniel Jacobowitz <drow@mvista.com>
2871
2872 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2873 (check_philosopher_stack): Check for manager thread before checking
2874 for a just-starting thread.
2875
f038d31b
DJ
28762002-01-30 Daniel Jacobowitz <drow@mvista.com>
2877
2878 From Neil Booth <neil@daikokuya.demon.co.uk>:
2879 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2880 warnings.
2881
b3ff9d9a
FF
28822002-01-21 Fred Fish <fnf@redhat.com>
2883
2884 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2885 not caller.
2886
39ad761d
JB
28872002-01-21 Jim Blandy <jimb@redhat.com>
2888
2889 * gdb.base/reread.exp: Check that GDB properly re-reads the
2890 executable file when it changes while no inferior is running.
2891
aaf320fa
FF
28922002-01-21 Fred Fish <fnf@redhat.com>
2893
2894 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2895 optionally accept the "shlib events" variation.
2896
808a31f5
JB
28972002-01-21 Jim Blandy <jimb@redhat.com>
2898
2899 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2900 call `fflush' after every `printf', so that the output is produced
2901 at predictable points, regardless of whatever buffering does (or
2902 doesn't) take place.
2903 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2904 at different points.
2905
4420d5e2
DJ
29062002-01-20 Daniel Jacobowitz <drow@mvista.com>
2907
2908 * gdb.c++/inherit.exp: Update copyright years.
2909 * gdb.c++/method.exp: Likewise.
2910
3e36a0f4
DJ
29112002-01-20 Daniel Jacobowitz <drow@mvista.com>
2912
2913 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2914 artificial methods/arguments.
2915 * gdb.c++/derivation.exp: Likewise.
2916 * gdb.c++/inherit.exp: Likewise.
2917 * gdb.c++/method.exp: Likewise.
2918 * gdb.c++/virtfunc.exp: Likewise.
2919
b4ceaee6
AC
29202002-01-18 Andrew Cagney <ac131313@redhat.com>
2921
2922 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2923 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2924 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2925 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2926 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2927 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2928
ecace851
JB
29292002-01-17 Jim Blandy <jimb@redhat.com>
2930
2931 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2932 anchoring the pattern matching the entry point symbol's name.
2933
375fc983
AC
29342002-01-17 Andrew Cagney <ac131313@redhat.com>
2935
2936 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2937 continue/quit query. Update copyright.
2938
fe6fdd96
MS
29392002-01-14 Michael Snyder <msnyder@redhat.com>
2940
2941 * gdb.base/gcore.exp: Remove extra debugging output.
2942
e017c81f
DJ
29432002-01-13 Daniel Jacobowitz <drow@mvista.com>
2944
2945 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2946 for slightly dubious v2 mangled string.
2947
37ab3bf8
DJ
29482002-01-13 Daniel Jacobowitz <drow@mvista.com>
2949
2950 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2951
1bc05c3a 29522002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2953
1bc05c3a 2954 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2955
1bc05c3a
JM
2956 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2957 constructors.
2958 * gdb.c++/derivation.exp: Likewise.
2959 * gdb.c++/templates.exp: Likewise.
2960 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2961
1bc05c3a
JM
29622002-01-10 Michael Snyder <msnyder@redhat.com>
2963
2964 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2965
a911c360
MS
29662002-01-08 Michael Snyder <msnyder@redhat.com>
2967
2968 * gdb.base/gcore.exp: New test for generate-core-file command.
2969 * gdb.base/gcore.c: Testcase for above.
2970 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2971
ea2119ec
JM
29722002-01-08 Jason Merrill <jason@redhat.com>
2973
2974 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2975
68203136
FF
29762002-01-07 Fred Fish <fnf@redhat.com>
2977
2978 * gdb.c++/overload.exp: Remove unconditional xfails for:
2979 print foo_instance1.overloadargs(1)
2980 print foo_instance1.overloadargs(1, 2)
2981 print foo_instance1.overloadargs(1, 2, 3)
2982 print foo_instance1.overloadargs(1, 2, 3, 4)
2983 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2984 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2985 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2986 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2987 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2988 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2989 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2990 print foo_instance1.overload1arg()
2991 print foo_instance1.overload1arg((char)arg2)
2992 print foo_instance1.overload1arg((signed char)arg3)
2993 print foo_instance1.overload1arg((unsigned char)arg4)
2994 print foo_instance1.overload1arg((int)arg7)
2995 print foo_instance1.overload1arg((unsigned int)arg8)
2996 print foo_instance1.overload1arg((float)arg11)
2997 print foo_instance1.overload1arg((double)arg12)
2998
21b9b5b1
MS
29992002-01-07 Michael Snyder <msnyder@redhat.com>
3000
3001 * gdb.base/huge.exp: New test. Print a very large target data object.
3002 (skip_huge_test): New test variable. Define if you want to skip this
3003 test. The test reads an 8 megabyte data object from the target, so it
3004 might be very time consuming on remote targets with a slow connection.
3005 * gdb.base/huge.c: New file. Test case for above.
3006
725f922e
FF
30072002-01-07 Fred Fish <fnf@redhat.com>
3008
3009 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3010 g_instance.bfoo, and g_instance.cfoo.
3011
634d57ec
JL
3012Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3013
f286b2c3
JL
3014 * gdb.base/break.c (multi_line_if_conditional): New function.
3015 (multi_ilne_while_conditional): Likewise.
3016 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3017 IF or WHILE condition puts the breakpoint at the start of
3018 the condition.
3019
634d57ec
JL
3020 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3021 hppa*-*-hpux* expected failure.
3022 * gdb.base/structs.exp (do_function_calls): Similarly.
3023
3024 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3025 watchpoints.
3026
9fbfe2dc
AC
30272002-01-06 Andrew Cagney <ac131313@redhat.com>
3028
3029 Fix PR gdb/66.
3030 * gdb.base/structs.exp: Replace skip for a29k with skip for
3031 gdb,cannot_call_functions.
3032 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3033 * gdb.base/callfuncs.exp: Ditto.
3034 * gdb.base/call-rt-st.exp: Ditto.
3035 * gdb.base/call-strs.exp: Ditto.
3036 * gdb.base/callfwmall.exp: Ditto.
3037 * gdb.base/scope.exp: Obsolete xfail a29k.
3038 * gdb.c++/misc.exp: Ditto.
3039 * gdb.c++/cplusfuncs.exp: Ditto.
3040 * gdb.base/ptype.exp: Ditto.
3041 * gdb.base/printcmds.exp: Ditto.
3042 * gdb.base/opaque.exp: Ditto.
3043 * gdb.base/list.exp: Ditto.
3044 * gdb.base/funcargs.exp: Ditto.
3045 * gdb.base/default.exp: Ditto.
3046
8ddad156
MS
30472002-01-04 Michael Snyder <msnyder@redhat.com>
3048
ca4976a6 3049 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3050 * gdb.base/maint.exp: Add tests for maint info sections options.
3051
1b074332
JL
3052Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3053
3054 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3055
7d159115
CV
30562001-12-20 Corinna Vinschen <vinschen@redhat.com>
3057
3058 * gdb.asm/arm.inc: New file.
3059 * gdb.asm/asm-source.exp: Add arm targets.
3060 * gdb.asm/configure.in: Ditto.
3061 * gdb.asm/configure: Recreated from configure.in.
3062
8fb87725
JL
3063Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3064
afabe08c
JL
3065 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3066 with HP's compiler.
3067 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3068 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3069 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3070 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3071
3072 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3073 either HP's compilers or GCC.
3074
db521deb
JL
3075 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3076 a SIGBUS or SIGSEGV.
3077
3078 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3079
3080 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3081 can be compiled with either HP's compiler or GCC.
3082
cfa88ab7
JL
3083 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3084 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3085 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3086
ca344dff
JL
3087 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3088 to match current gdb output. Update due to using auto-solib-limit
3089 for limiting instead of overloading auto-solib-add.
3090 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3091 test program.
3092
3f3c6e55 3093 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3094 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3095 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3096 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3097 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3098 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3099 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3100 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3101 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3102 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3103 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3104 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3105 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3106
8fb87725
JL
3107 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3108 a SIGTRAP to the inferior.
3109
cf599fa7
CV
31102001-12-19 Corinna Vinschen <vinschen@redhat.com>
3111
3112 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3113 Substitute call to target_link by call to gdb_compile.
3114
2cd045cd
JL
3115Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3116
3117 * gdb.base/break.exp: Fix HP specific search string when testing
3118 backtracing in a called function.
3119
3120 * gdb.base/constvars.exp: Only set lang to C++ if we're
3121 compiling the test with HP's compilers.
3122 * gdb.base/volatile.exp: Similarly.
3123
99ebe9ac
JB
31242001-12-19 Jim Blandy <jimb@redhat.com>
3125
3126 * gdb.base/printcmds.exp: Expect the null character to be printed
3127 as '\0', and the '\013' to be printed as '\v'.
3128 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3129 * gdb.base/setvar.exp: Same.
3130
b9891b29
JB
31312001-12-17 Jim Blandy <jimb@redhat.com>
3132
0eba65ab
JB
3133 * gdb.base/completion.exp: Rather than completing very long
3134 filenames, which can make the readline library produce output we
3135 don't recognize, cd to the directory first, and then complete
3136 using nice, short relative paths.
3137
6970b5b1
JB
3138 * gdb.base/completion.exp: On some systems, there is, in fact, a
3139 variable named `b' in scope, since GDB treats all static
3140 variables as being in scope. So use `no_var_named_this'
3141 instead of `b'.
3142
b9891b29
JB
3143 * gdb.base/corefile.exp: Recognize the message saying that GDB
3144 can't find the core file's registers as a failure.
3145
e6ccd35f
JSC
31462001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3147
3148 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3149 test expect string more specific.
3150
105ba819
CV
31512001-12-13 Corinna Vinschen <vinschen@redhat.com>
3152
3153 * gdb.asm/asm-source.exp: Add support for xstormy16.
3154 * gdb.asm/configure.in: Ditto.
3155 * gdb.asm/configure: Rebuild.
3156 * gdb.asm/xstormy16.inc: New file.
3157
e9e79dd9
FF
31582001-12-10 Fred Fish <fnf@redhat.com>
3159
3160 * gdb.base/maint.exp: Update to match changes in type dumping code.
3161
347dc97d
JB
31622001-12-10 Jim Blandy <jimb@redhat.com>
3163
3164 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3165 matching the entry point symbol's name at the beginning of the
3166 line.
3167
5178b9d6
DJ
31682001-12-07 Daniel Jacobowitz <drow@mvista.com>
3169
3170 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3171 gdb.c++/inherit.exp, gdb.c++/method.exp,
3172 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3173 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3174 and class layout support.
3175
af890c52
DJ
31762001-12-07 Daniel Jacobowitz <drow@mvista.com>
3177
3178 * gdb.c++/classes.exp: Add test for static member function.
3179 * gdb.c++/misc.cc: Add class with static member function.
3180
7a345fb3
JB
31812001-12-07 Jim Blandy <jimb@redhat.com>
3182
f2e54a80 3183 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3184 those tests as `unsupported'.
3185 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3186 Rewrite subsequent tests to use it.
3187
3188 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3189 those tests as `unsupported'.
3190 * gdb.base/structs.exp (call_struct_func): New function.
3191 (do_function_calls): Use call_struct_func to call the functions
3192 returning structs.
3193
0bc69509
JB
3194 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3195 whether functions are prototyped or not, so we can't possibly pass
3196 arguments to t_float_values2 properly.
3197
7a345fb3
JB
3198 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3199 value of `timeout' for targets other than the mips*tx39-*.
3200
edb6ede1
MS
32012001-12-06 Michael Snyder <msnyder@redhat.com>
3202
3203 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3204 and detect whether the start symbol has a leading underscore.
3205
2d842f13
JB
32062001-12-04 Jim Blandy <jimb@redhat.com>
3207
3208 * gdb.base/completion.exp: Clarify indentation.
3209
68550daf
JB
32102001-12-03 Jim Blandy <jimb@redhat.com>
3211
3212 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3213 variables on the S/390, not `.word'.
3214
cd5195a8
JB
32152001-11-30 Jim Blandy <jimb@redhat.com>
3216
3217 Add assembly-source tests for s390-ibm-linux.
3218 * gdb.asm/s390.inc: New file.
3219 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3220 the S/390 architecture.
3221 * gdb.asm/configure: Regenerated.
3222
ca9efc90
MS
32232001-11-30 Michael Snyder <msnyder@redhat.com>
3224
3225 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3226 next, info source, info sources, info line, global and static
3227 variables, and static functions.
3228 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3229 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3230 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3231 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3232 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3233 (gdbasm_leave): Restore frame pointer.
3234 (gdbasm_startup): Copy stack set-up from crt0.S.
3235
d0e66976
FN
32362001-11-26 Fernando Nasser <fnasser@redhat.com>
3237
3238 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3239 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3240 to a local (non-static) variable. Copy tstruct.a to a static buffer
3241 and return a pointer to that buffer.
3242 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3243
e2334072
MK
32442001-11-24 Mark Kettenis <kettenis@gnu.org>
3245
3246 * gdb.asm/configure.in: Fix recognition of ix86 target.
3247 * gdb.asm/configure: Regenerate.
3248
756caa3d
MS
32492001-11-21 Michael Snyder <msnyder@redhat.com>
3250
3251 * gdb.asm/sparc.inc: New file.
3252 * gdb.asm/asm-source.exp: Recognize sparc target.
3253 * gdb.asm/configure.in: Recognize sparc target.
3254 * gdb.asm/configure: Regenerate.
3255
9a4d72d5
MS
32562001-11-21 Michael Snyder <msnyder@redhat.com>
3257
3258 * gdb.asm/m32r.inc: New file.
3259 * gdb.asm/asm-source.exp: Recognize m32r target.
3260 * gdb.asm/configure.in: Recognize m32r target.
3261 * gdb.asm/configure: Regenerate.
3262
a773d1cd
MS
32632001-11-20 Michael Snyder <msnyder@redhat.com>
3264
017ac23d
MS
3265 * gdb.asm/i386.inc: New file.
3266 * gdb.asm/asm-source.exp: Recognize ix86 target.
3267 * gdb.asm/configure.in: Recognize ix86 target.
3268 * gdb.asm/configure: Regenerate.
3269
a773d1cd
MS
3270 * gdb.c++/namespace.exp: Fix quotes in output messages.
3271
bb632afb
MS
32722001-11-14 Michael Snyder <msnyder@redhat.com>
3273
25d559ca 3274 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3275 qualifier in a type cast expression, to designate an address
3276 in the instruction space (Harvard architecture).
3277
4749e309
MS
32782001-11-13 Michael Snyder <msnyder@redhat.com>
3279
3280 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3281 Tests for expressions using 'const' and 'volatile'.
3282
25050984
CV
32832001-11-13 Corinna Vinschen <vinschen@redhat.com>
3284
3285 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3286
1902c51f
DJ
32872001-11-12 Daniel Jacobowitz <drow@mvista.com>
3288
3289 * lib/mi-support.exp (mi_run_to_helper): Move comments
3290 outside of gdb_expect.
3291
dcf95b47
DJ
32922001-11-11 Daniel Jacobowitz <drow@mvista.com>
3293
3294 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3295 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3296 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3297 mi0_run_to): New functions.
3298 * gdb.mi/mi-simplerun.exp: Use them.
3299 * gdb.mi/mi0-simplerun.exp: Likewise.
3300 * gdb.mi/mi-var-cmd.exp: Likewise.
3301 * gdb.mi/mi0-var-cmd.exp: Likewise.
3302
45b074e1
AC
33032001-11-10 Andrew Cagney <ac131313@redhat.com>
3304
3305 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3306 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3307
bf50d346
AC
33082001-11-09 Andrew Cagney <ac131313@redhat.com>
3309
3310 * gdb.base/restore.exp: Include $expected value in restored test
3311 message.
3312
9383332c
AC
33132001-11-09 Andrew Cagney <ac131313@redhat.com>
3314
3315 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3316 implemented.
3317
db62520a
MS
33182001-11-08 Michael Snyder <msnyder@redhat.com>
3319
3320 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3321 Add pass/fail message for stop at breakpoint in call dummy function.
3322
b5703437
MS
33232001-11-07 Michael Snyder <msnyder@redhat.com>
3324
760f6330
MS
3325 * gdb.c++/templates.exp (test_template_breakpoints):
3326 If we get an overload menu, but it does not match what
3327 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3328 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3329 making the whitespace optional. Argument for "new" may be
3330 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3331 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3332 making the whitespace optional. Also replace "(void) with
3333 "((void|)), making the keyword "void" optional.
63f50499
MS
3334 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3335 making the whitespace optional. Also replace "(void) with
3336 "((void|)), making the keyword "void" optional.
3bf40917
MS
3337 * gdb.base/callfuncs.c (t_float_values): This function must
3338 _not_ be prototyped, and the following function (t_float_values2)
3339 must be prototyped (if the compiler supports it), so that GDB
3340 can be tested against both cases. Usually one case involves
3341 promotion of float to double, while the other does not.
3342 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3343 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3344 includes a stack frame for "start".
3345
c8ab4e6d
JB
33462001-11-05 Jim Blandy <jimb@redhat.com>
3347
3348 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3349 pointers are 32 bits long, and that offsets of relocs are always
3350 stored in the data (REL-style), and not in the reloc entry itself
3351 (RELA-style).
3352 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3353 stabs.
3354
3f08ced9
MS
33552001-11-01 Michael Snyder <msnyder@redhat.com>
3356
3357 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3358 and regular expression operators by using quoting.
3359
cbfa24cd
MS
33602001-10-31 Michael Snyder <msnyder@redhat.com>
3361
3362 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3363 depending on what the symbol table contains.
3364 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3365 the output of the ptype command. Similarly, accept both "const &"
3366 and "const&".
3367
aaa68313
CV
33682001-10-31 Corinna Vinschen <vinschen@redhat.com>
3369
3370 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3371 symbol `STORAGE' to allow to choose the storage class of
3372 the local datastructures.
3373 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3374 compiler directive.
3375
91740388
MS
33762001-10-30 Michael Snyder <msnyder@redhat.com>
3377
3378 * gdb.base/jump.exp: Allow it to run for all targets.
3379
1b7c05e7
CV
33802001-10-29 Corinna Vinschen <vinschen@redhat.com>
3381
3382 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3383 with new double_array size.
3384 (main): Change storage class of all local variables to static.
3385 Reduce size of double_array to 9.
3386 * gdb.base/call-ar-st.exp: Increase timeout value.
3387 Change expected output for double array to match new size in
3388 call-ar-st.c.
3389
36a22261
CV
33902001-10-29 Corinna Vinschen <vinschen@redhat.com>
3391
3392 * gdb.base/ending-run.exp: Create identical output when passing
3393 `step to end of run' case. Add regular expression branch satisfying
3394 Stormy16 target.
3395
92b8ae91
MK
33962001-10-28 Mark Kettenis <kettenis@gnu.org>
3397
3398 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3399 that we catch the expected failure under Linux/x86.
3400
cb135b83
OF
34012001-10-29 Orjan Friberg <orjanf@axis.com>
3402
3403 * gdb.base/setvar.exp: Escape curly braces.
3404 * gdb.stabs/weird.exp: Ditto.
3405
6884aa54
DJ
34062001-10-27 Daniel Jacobowitz <drow@mvista.com>
3407
3408 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3409 * gdm.mi/mi0-hack-cli.exp: Likewise.
3410
0398c9aa
AC
34112001-10-25 Andrew Cagney <ac131313@redhat.com>
3412
3413 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3414 messages.
3415
d20bf2e8
AC
34162001-10-21 Andrew Cagney <ac131313@redhat.com>
3417
3418 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3419 checking MI enabled.
3420
03dd63aa
CV
34212001-10-09 Corinna Vinschen <vinschen@redhat.com>
3422
3423 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3424
1d9d99f3
FCE
34252001-10-04 Frank Ch. Eigler <fche@redhat.com>
3426
3427 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3428 if gdb child process crashes, just signal an error.
3429
838ae6c4
JB
34302001-10-02 Jim Blandy <jimb@redhat.com>
3431
3432 * lib/gdb.exp (test_xfail_format): Simplify.
3433
3434 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3435 front of the variable name `format'. Simplify `if'.
3436
8f0cbc1c
DJ
34372001-10-01 Daniel Jacobowitz <drow@mvista.com>
3438
3439 * gdb.threads/pthreads.exp: Wait for output and delay
3440 before sending ^C.
3441
1f08dafd
DJ
34422001-10-01 Daniel Jacobowitz <drow@mvista.com>
3443
3444 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3445 some incorrect output instead of timing out.
3446 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3447
674f90ff
CV
34482001-09-28 Corinna Vinschen <vinschen@redhat.com>
3449
3450 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3451 check to allow additional `int'.
3452
9b284272
DJ
34532001-09-27 Daniel Jacobowitz <drow@mvista.com>
3454
3455 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3456 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3457
b55a4771
MS
34582001-09-27 Michael Snyder <msnyder@redhat.com>
3459
3460 * lib/gdb.exp (test_debug_format): New proc.
3461 (setup_xfail_format): Use new proc test_debug_format.
3462 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3463 proc; use new service proc test_debug_format.
3464 Replace all other "gcc_compiled" tests with this test.
3465 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3466 proc; use new service proc test_debug_format.
3467 Replace all other "gcc_compiled" tests with this test.
3468
34692001-09-27 Michael Snyder <msnyder@redhat.com>
3470
3471 * gdb.base/cvexpr.exp: New file.
3472 * gdb.base/cvexpr.c: New file
3473 Test for expressions using const and volatile keywords.
3474
4e6667ac
CV
34752001-09-26 Corinna Vinschen <vinschen@redhat.com>
3476
3477 * gdb.base/constvars.exp: Check for different orders of keywords
3478 and additional "int" strings in output.
3479
4f337972
AC
34802001-09-22 Andrew Cagney <ac131313@redhat.com>
3481
3482 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3483 responses from "help maint".
3484
2015650d
FCE
34852001-09-19 Frank Ch. Eigler <fche@redhat.com>
3486
3487 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3488 to localhost:NNN instead of :NNN, in case Xvfb is listening
3489 only on TCP.
3490
f3bcedc1
CV
34912001-09-19 Corinna Vinschen <vinschen@redhat.com>
3492
3493 * gdb.base/recurse.exp: When checking leaving the watchpoint
3494 scope, recognize when gdb is in function's epilogue and pass.
3495
6b819c92
KS
34962001-09-18 Keith Seitz <keiths@redhat.com>
3497
3498 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3499 support for running tests against sid targets.
3500 (gdbtk_done): Ditto.
3501
a10c9419
CV
35022001-09-18 Corinna Vinschen <vinschen@redhat.com>
3503
3504 * gdb.base/ending-run.c (main): Set stdout buffersize
3505 to the same reasonable value for any target.
3506 * gdb.base/ending-run.exp: Add a regular expression
3507 to make testsuite happy on Sanyo Stormy16 target.
3508
739d0d99
CV
35092001-09-17 Corinna Vinschen <vinschen@redhat.com>
3510
3511 * gdb.base/display.c (do_loops): Add float variable `f'.
3512 Increment f in loop.
3513 * gdb.base/display.exp: Increment timeout by 60 seconds.
3514 Change float display test to use variable `f'.
3515
1b8947f0
JB
35162001-09-17 Jim Blandy <jimb@redhat.com>
3517
3518 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3519 overflowing the limited breakpoint tables on some ROM monitors
3520 (like the ROM68K).
3521
9890ac81
FCE
35222001-09-15 Frank Ch. Eigler <fche@redhat.com>
3523
3524 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3525 the "-ac" (disable access control) flag.
3526
6db765ea
JH
35272001-08-30 Jeff Holcomb <jeffh@redhat.com>
3528
3529 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3530 ints.
3531
4c32cc04
KS
35322001-08-30 Keith Seitz <keiths@redhat.com>
3533
3534 * lib/gdb.exp: Move all insight-related functionality into
3535 separate file.
3536 * lib/insight-support.exp: New file.
3537
8d6e6f81
FCE
35382001-08-29 Frank Ch. Eigler <fche@redhat.com>
3539
3540 * config/sid.exp (sid_start): Never set sid verbosity; disable
3541 expect_background {} that consumed its stdout; tolerate </dev/null.
3542 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3543
6a90e1d0
AC
35442001-08-18 Andrew Cagney <ac131313@redhat.com>
3545
3546 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3547 CLI jump command to start it.
3548 (mi_run_to_main): Fail immediatly when unexpected output.
3549
1759b3c3
AC
35502001-08-18 Andrew Cagney <ac131313@redhat.com>
3551
3552 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3553 beginning of function. Fix PR gdb/191.
3554
61d11d80
FCE
35552001-08-16 Frank Ch. Eigler <fche@redhat.com>
3556
3557 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3558 what to force sid endianness to.
3559
942a4df2
KS
35602001-08-15 Keith Seitz <keiths@redhat.com>
3561
3562 * lib/gdb.exp (gdbtk_start): Don't set environment
3563 variables for TCL_LIBRARY and friends. Insight will
3564 now figure these out for itself.
3565
0521c418
MS
35662001-08-02 Michael Snyder <msnyder@redhat.com>
3567
3568 * gdb.base/completion.exp: Remove the symbol "a64l" from
3569 the expect string; this is target-specific, and not related
3570 to what is being tested.
3571
74a9a58a
DB
35722001-08-02 Dave Brolley <brolley@redhat.com>
3573
3574 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3575
c70819fa
MS
35762001-07-25 Michael Snyder <msnyder@redhat.com>
3577
c2b8fa57
MS
3578 * gdb.base/consecutive.exp: New file. Test stepping over
3579 breakpoints on consecutive instructions.
3580 * gdb.base/consecutive.c: New file.
3581
c70819fa
MS
3582 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3583 curly braces in regular expressions.
3584
2b1a1355
MS
35852001-07-25 Michael Snyder <msnyder@redhat.com>
3586
3587 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3588 legitimate output from stepping out of main.
3589
413eca6f
KS
35902001-07-22 Keith Seitz <keiths@redhat.com>
3591
3592 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3593 the empty string, do not run the tests.
3594
7e5a9322
SC
35952001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3596
3597 * gdb.base/long_long.exp: Detect size of pointer. Take into
3598 account 2-byte pointers when testing for p/a results.
3599
de58f10f
SC
36002001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3601
3602 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3603 and defined to 1K for m68hc11.
3604 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3605 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3606 (sizeof_random_data): New variable to tell the size of the data table;
3607 don't test past this size; always run to main.
3608
d6f5fea1
SC
36092001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3610
3611 * gdb.base/return2.exp: return of long long and double fails for
3612 68HC11; don't execute these tests on that platform.
3613 * gdb.base/return.exp: Return of a double fails for 68hc11.
3614
c477543d
SC
36152001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3616
3617 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3618 tests that print a float.
3619 * call-rt-st.exp: Likewise.
3620
63cf1c79
MK
36212001-07-12 Mark Kettenis <kettenis@gnu.org>
3622
3623 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3624 running this test on Linux.
3625
112f9ab5
MC
36262001-06-24 Michael Chastain <chastain@redhat.com>
3627
3628 * gdb.base/arithmet.exp: Remove some tests to make all test names
3629 unique.
3630
4970cb0f
MS
36312001-07-03 Michael Snyder <msnyder@redhat.com>
3632
3633 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3634 the output of the ptype command.
3635
d85da69f
MS
36362001-07-02 Michael Snyder <msnyder@redhat.com>
3637
4c8a82de
MS
3638 * gdb.base/completion.exp: Don't assume that break.c is the only
3639 source file that may contain functions named "marker".
d85da69f
MS
3640 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3641
8afc772b
AC
36422001-06-28 Andrew Cagney <ac131313@redhat.com>
3643
3644 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3645 of files to delete.
3646
3647 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3648 * gdb.disasm/h8300s.exp: New file.
3649 gdb.disasm/h8300s.s: Likewise.
3650
cff22675
AC
36512001-06-27 Andrew Cagney <ac131313@redhat.com>
3652
3653 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3654 empty breakpoint tables.
3655
68c81b54
AC
36562001-06-25 Andrew Cagney <ac131313@redhat.com>
3657
3658 * lib/mi-support.exp: Update args=... part of stop-reason
3659 patterns. Accept either a list or a tuple.
3660
2dd62704
AC
36612001-06-23 Andrew Cagney <ac131313@redhat.com>
3662
3663 * lib/mi-support.exp: Remove local emacs variable defining
3664 change-log-default-name.
3665
b4127474
MC
36662001-06-22 Michael Chastain <chastain@redhat.com>
3667
3668 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3669 This is operationally compatible with the previous version.
3670
8dbfb380
JB
36712001-06-13 Jim Blandy <jimb@redhat.com>
3672
3673 * lib/gdb.exp (gdb_test): Doc fix.
3674
f2d8c86d
MC
36752001-06-10 Michael Chastain <chastain@redhat.com>
3676
3677 * gdb.base/exprs.exp: Remove a duplicate test.
3678
81564d34
JB
36792001-06-06 Jim Blandy <jimb@redhat.com>
3680
3681 * gdb.base/return2.exp (main): Use values to test float and double
3682 returns that are not NaN's, to avoid being confused by IEEE
3683 comparison rules.
3684
da55addb
MS
36852001-06-04 Michael Snyder <msnyder@redhat.com>
3686
3687 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3688 non-zero if control_c fails. Terminate the test on failure,
3689 rather than wait for 12 more tests to time out.
3690
42c65987
JB
36912001-06-06 Jim Blandy <jimb@redhat.com>
3692
b18bced9
JB
3693 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3694 Don't forget to match the GDB prompt.
3695
42c65987
JB
3696 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3697
5b41e5f0
JB
36982001-06-04 Jim Blandy <jimb@redhat.com>
3699
3700 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3701 command.
3702
015e046f
KB
37032001-05-31 Kevin Buettner <kevinb@redhat.com>
3704
3705 * gdb.base/annota1.exp (info break): Match four or more spaces
3706 after "Address".
3707
fb1ffbbe
MC
37082001-05-31 Michael Chastain <chastain@redhat.com>
3709
3710 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3711 (dm_type_int_star): Likewise.
3712 (dm_type_long_star): Likewise.
3713 (dm_type_void_star): Likewise.
3714
5ea2a32c
KB
37152001-05-29 Kevin Buettner <kevinb@redhat.com>
3716
3717 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3718 to a known value in order to get consistent results regardless
3719 of the setting of INPUTRC or the presence or contents of .inputrc.
3720
ae23c492
MS
37212001-05-24 Michael Snyder <msnyder@redhat.com>
3722
ac55707e
MS
3723 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3724 Don't require that the main thread and the manager thread are the
3725 first in the list.
3726
ae23c492
MS
3727 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3728 debugging. If test fails, issue an "unsupported" not a "fail".
3729
400071f1
JB
37302001-05-24 Jim Blandy <jimb@redhat.com>
3731
3732 Don't assume that short is shorter than int.
3733 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3734 assume that shorts are smaller than ints. On a 16-bit machine,
3735 this isn't true.
3736 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3737 an int, is not equal to ~0 stored in an unsigned char. This tests
3738 the same thing that the previous test meant to, but works on
3739 16-bit machines, too.
3740 ("print unsigned char != (~0)"): Same test, complemented.
3741
0816a3e5
MS
37422001-05-24 Michael Snyder <msnyder@redhat.com>
3743
3744 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3745 test for (full_coverage == 0). This makes the test run faster,
3746 and prevents dejagnu getting out of step.
3747
f6dc23a9
KB
37482001-05-23 Kevin Buettner <kevinb@redhat.com>
3749
3750 * gdb.base/finish.exp (finish_void): Revise pattern for
3751 stopping on the call statement to not permit stopping at
3752 the start of the instructions comprising the call sequence.
3753
7dbd117d
MC
37542001-05-19 Michael Chastain <chastain@redhat.com>
3755
3756 * gdb.base/callfuncs.exp: Make all test names unique.
3757 * gdb.base/commands.exp: Make all test names unique.
3758 * gdb.base/condbreak.exp: Make all test names unique.
3759 * gdb.base/dbx.exp: Make all test names unique.
3760 * gdb.base/default.exp: Make all test names unique.
3761 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3762 and TIMEOUT messages to their corresponding PASS message.
3763 * gdb.base/ending-run.exp: Make all test names unique.
3764 * gdb.base/long_long.exp: Remove duplicate test.
3765
6b0b0a9e
KB
37662001-05-21 Kevin Buettner <kevinb@redhat.com>
3767
3768 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3769 stop on the call statement as well as the statement after the
3770 call.
3771
2caa35cb
MS
37722001-05-21 Michael Snyder <msnyder@redhat.com>
3773
3774 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3775
40713331
EZ
37762001-05-10 Elena Zannoni <ezannoni@redhat.com>
3777
3778 * gdb.base/completion.exp: Revamp test. Make it execute on all
3779 platforms.
3780
c2c1be8d
EZ
37812001-05-10 Elena Zannoni <ezannoni@redhat.com>
3782
2c9cd303
EZ
3783 * config/gdbserver.exp (gdb_load): Handle the case
3784 in which the arguments to gdbserver are given in the
3785 baseboard configuration file.
3786 Also handle the case in which the server needs to do a
3787 load.
3788
9671de48
KS
37892001-05-07 Keith Seitz <keiths@cygnus.com>
3790
3791 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3792 set up the display for testing.
3793 (gdbtk_start): Convert all paths to paths that tcl will like.
3794 Export target information to environment.
3795 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3796 necessary.
3797 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3798 (to_tcl_path): New proc to convert a given pathname into
3799 a path acceptible as an argument to a tcl command.
3800 (_gdbtk_export_target_info): New proc to export target info
3801 into the environment for gdbtk testing.
3802 (gdbtk_done): New proc to signal end-of-test.
3803
5a360f47
JB
38042001-05-06 Jim Blandy <jimb@redhat.com>
3805
3806 * restore.c: Make the code of caller0 correspond to its comment.
3807
66c756c6
MS
38082001-05-03 Michael Snyder <msnyder@redhat.com>
3809
3810 * config/sid.exp (gdb_target_sid): Check for error messages.
3811 On error or timeout, don't make expect exit (which will terminate
3812 all subsequent tests); instead just make gdb exit.
3813 (gdb_load): Check for error messages. On error or timeout,
3814 return a negative value.
3815
a966fde5
JB
38162001-04-24 Jim Blandy <jimb@redhat.com>
3817
851c18e0
JB
3818 * gdb.c++/templates.exp: If we see the prompt for the overload
3819 list, but we haven't recognized any of the longer patterns,
3820 arrange for this test to fail, not hang.
3821
a966fde5
JB
3822 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3823 variations.
3824
db144853
MC
38252001-04-22 Michael Chastain <chastain@redhat.com>
3826
3827 * gdb.c++/local.exp: Use the 'runto' library function.
3828 * gdb.c++/namespace.exp: Likewise.
3829 * gdb.c++/overload.exp: Likewise.
3830
3207ec21
KB
38312001-03-26 Kevin Buettner <kevinb@redhat.com>
3832
3833 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3834 * gdb.base/step-line.exp: New file. Test step/next in presence of
3835 #line directives.
3836 * gdb.base/step-line.c: New file. Test program for the above.
3837 * gdb.base/step-line.inp: New file. We pretend that this file has
3838 been transformed by some other tool into step-line.c.
3839
13b57657
JB
38402001-03-21 Jim Blandy <jimb@redhat.com>
3841
3842 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3843 unmangled operator names.
3844
754cbe1c
JB
38452001-03-20 Jim Blandy <jimb@redhat.com>
3846
3847 * gdb.threads/linux-dp.exp: Recognize an additional message
3848 generated by GDB when it doesn't understand how to debug threads
3849 on the target system.
3850
177495c9
AC
38512001-03-19 Andrew Cagney <ac131313@redhat.com>
3852
3853 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3854
f266096b
MC
38552001-03-12 Michael Chastain <chastain@redhat.com>
3856
3857 * gdb.c++/derivation.exp: Use the 'runto' library function.
3858
cac3c2ff
MC
38592001-03-12 Michael Chastain <chastain@redhat.com>
3860
3861 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3862
b6c11a24
MC
38632001-02-24 Michael Chastain <chastain@redhat.com>
3864
3865 * gdb.c++/ref-types.exp: Change handwritten code to library
3866 function 'runto'.
3867
6bae5bce
OF
38682001-03-16 Orjan Friberg <orjanf@axis.com>
3869
3870 * gdb.base/signals.exp: Set count to 0 explicitly.
3871
0015fd9a
MS
38722001-03-15 Mark Salter <msalter@redhat.com>
3873
3874 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3875 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3876 (gdb_load): Add support for additional target_info: gdb_download_size
3877 and gdb_load_timeout.
0015fd9a 3878
fc33412a
DT
3879Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3880
3881 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3882 file -- to prevent failing when the compile fails but we have no
3883 intention of running the tests anyway.
3884
3885 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3886 tests if set.
3887
3888 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3889 integers.
3890
3891 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3892 * gdb.c++/namespace.exp: Ditto.
3893
115f06de
OF
38942001-03-07 Orjan Friberg <orjanf@axis.com>
3895
3896 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3897 * gdb.base/pointers.exp: Relax pattern match of decimals.
3898
b6ba6518
KB
38992001-03-06 Kevin Buettner <kevinb@redhat.com>
3900
3901 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3902 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3903 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3904 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3905 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3906 config/sh.exp, config/sid.exp, config/slite.exp,
3907 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3908 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3909 config/vxworks.exp, config/vxworks29k.exp,
3910 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3911 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3912 gdb.base/arithmet.exp, gdb.base/assign.exp,
3913 gdb.base/async.exp, gdb.base/attach.exp,
3914 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3915 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3916 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3917 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3918 gdb.base/commands.exp, gdb.base/completion.exp,
3919 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3920 gdb.base/constvars.exp, gdb.base/corefile.exp,
3921 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3922 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3923 gdb.base/ending-run.exp, gdb.base/environ.exp,
3924 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3925 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3926 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3927 gdb.base/funcargs.exp, gdb.base/help.exp,
3928 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3929 gdb.base/logical.exp, gdb.base/long_long.exp,
3930 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3931 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3932 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3933 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3934 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3935 gdb.base/regs.exp, gdb.base/relational.exp,
3936 gdb.base/remote.exp, gdb.base/reread.exp,
3937 gdb.base/restore.exp, gdb.base/return2.exp,
3938 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3939 gdb.base/selftest.exp, gdb.base/setshow.exp,
3940 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3941 gdb.base/sigall.exp, gdb.base/signals.exp,
3942 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3943 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3944 gdb.base/step-test.exp, gdb.base/structs.c,
3945 gdb.base/structs.exp, gdb.base/structs2.exp,
3946 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3947 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3948 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3949 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3950 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3951 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3952 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3953 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3954 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3955 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3956 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3957 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3958 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3959 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3960 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3961 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3962 gdb.trace/circ.exp, gdb.trace/collection.exp,
3963 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3964 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3965 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3966 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3967 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3968 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3969 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3970 notices.
3971
dc96c6c7 39722001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3973
3974 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3975 first arg is int not float.
3976
dc96c6c7 39772001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3978
3979 * gdb.base/reread.exp: Unsupported for non-native targets;
3980 doesn't work for remote debugging.
3981
9b0c4aeb
FN
39822001-02-19 Fernando Nasser <fnasser@redhat.com>
3983
3984 From Drew Moseley <dmoseley@redhat.com>
3985 * gdb.base/ending-run.exp: Properly handle the BSP state when
3986 stepping past the end of main.
3987
02aa71d5
MC
39882001-02-19 John Moore <jmoore@redhat.com>
3989
3990 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3991 Converted HPUX fix for non-expected items following multiple
3992 step commands into general solution for all platforms.
3993
1fa449a4
MC
39942001-02-18 Michael Chastain <chastain@redhat.com>
3995
3996 * gdb.c++/classes.exp (do_tests): Change runto statements
3997 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3998 statements demangler agnostic.
3999 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4000 (gdb_virtfunc_restart): Likewise.
4001
b2f9ec70
MC
40022001-02-14 Michael Chastain <chastain@redhat.com>
4003
4004 * gdb.c++/inherit.exp (do_tests): Change runto statements
4005 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4006 statements demangler agnostic.
4007
cf74b8ca
AC
4008Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4009
4010 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4011 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4012 before calling common_routine 15 times'' tests.
4013
99f78f56
MC
40142001-02-11 Michael Chastain <chastain@redhat.com>
4015
4016 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4017 Helps the test script figure out which demangler is in use.
4018 (dm_type_foo_ref): Ditto.
4019 (dm_type_int_star): Ditto.
4020 (dm_type_long_star): Ditto.
4021 (dm_type_unsigned_int): Ditto.
4022 (dm_type_void): Ditto.
4023 (dm_type_void_star): Ditto.
99707966 4024 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4025 Probe the gdb demangler and set variables to accommodate
4026 formatting differences.
4027 (info_func_regexp): New function. Same as info_func, but
4028 matches against a regexp.
4029 (info_func): Match against a literal string.
4030 (print_addr_2): New function. Match against a literal string,
4031 which can be different from the input to gdb.
4032 (print_addr): Simply call print_addr_2 with the same argument twice.
4033 (test_lookup_operator_functions): Use demangler formatting variables.
4034 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4035 the tests in the same order as the C++ class declaration.
4036 (test_paddr_operator_functions): Ditto.
4037 (test_paddr_overloaded_functions): Ditto.
4038 (test_paddr_hairy_functions): Use demangler formatting variables.
4039 Add reference to gdb/19 for related tests.
4040 (do_tests): Call probe_demangler.
4041
1de8f023
KB
40422001-01-30 Kevin Buettner <kevinb@redhat.com>
4043
4044 * gdb.c++/templates.cc (printf): Remove unused function definition.
4045
ca3f91ed
MS
40462001-01-26 Felix Lee <flee@redhat.com>
4047
4048 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4049
40502001-01-25 matthew green <mrg@redhat.com>
4051
4052 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4053 up sid.
4054 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4055
40562001-01-25 matthew green <mrg@redhat.com>
4057
4058 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4059 Deprecate $sid_spawn_id.
4060 (sid_exit): Remove code necessary only for `spawn.'
4061
40622001-01-25 matthew green <mrg@redhat.com>
4063
4064 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4065
fb18ec4a
MC
40662001-01-28 Michael Chastain <chastain@redhat.com>
4067
4068 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4069 to call when tests fail. It takes gdb out of the overloaded
4070 function choice menu back to the main prompt, so that the test
4071 program stays synchronized.
4072 (set_bp_overloaded): New proc to collect all the common
4073 code for setting a breakpoint on an overloaded name. Calls
4074 take_gdb_out_of_choice_menu when needed.
4075 (menu_overload1arg): New variable to collect the repeated
4076 instances of the expected menu for an overloaded name. Change
4077 the regular expression to handle changes in g++ type encoding:
4078 "void" can be either "void" or "", and "unsigned int" can be
4079 either "unsigned int" or "unsigned".
4080 (continue_to_bp_overloaded): Change regular expressions to handle
4081 changes in g++ type encoding.
4082 (no proc): Call take_gdb_out_of_choice_menu when needed.
4083 Remove redundant calls to "info break". Accept either "canceled"
4084 or "cancelled". Change regular expressions in "info break"
4085 calls to handle changes in g++ type encoding. Give all tests
4086 unique strings.
4087
9c646a6e
BE
40882001-01-17 Ben Elliston <bje@redhat.com>
4089
4090 * config/sid.exp: New file.
4091
9549d9c1
AC
4092Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4093
4094 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4095
dc96c6c7 40962000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4097
4098 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4099 Add a RE to accept a non-ascii char if one is ever presented.
4100
b4df4f68
FN
41012000-12-20 Fernando Nasser <fnasser@redhat.com>
4102
297dd0fd 4103 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4104
dc96c6c7 41052000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4106
4107 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4108 in regexp. One '\' does not suffice on Linux.
4109
4a7bddb6
MC
41102000-12-09 Michael Chastain <chastain@redhat.com>
4111
4112 * gdb.base/break.exp (test_clear_command): Use a marker function
4113 rather than 'main' for the test function. Also move this
4114 test to an execution point where the marker function names are
4115 guaranteed to be bound to functions. (Executing tests after a
4116 'finish' from main runs into name conflicts with local names
4117 in __libc_start_main).
4118
dc96c6c7 41192000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4120
4121 * gdb.base/finish.exp: New test for gdb's "finish" command.
4122 * gdb.base/return2.exp: New test for gdb's "return" command.
4123 * gdb.base/return2.c: New source file for above.
4124
dc96c6c7 41252000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4126
4127 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4128 * gdb.base/miscexprs.exp: Ditto.
4129 * gdb.base/pointers.exp: Ditto.
4130 * gdb.c++/derivation.exp: Ditto.
4131 * gdb.c++/local.exp: Ditto.
4132 * gdb.c++/namespace.exp: Ditto.
4133 * gdb.c++/overload.exp: Ditto.
4134 * gdb.c++/ref-types.exp: Ditto.
4135
dc96c6c7 41362000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4137
4138 * gdb.base/constvars.exp: Test result of "up" command.
4139 * gdb.base/miscexprs.exp: Ditto.
4140 * gdb.base/pointers.exp: Ditto.
4141 * gdb.base/scope.exp: Ditto.
4142 * gdb.c++/derivation.exp: Ditto.
4143 * gdb.c++/local.exp: Ditto.
4144 * gdb.c++/namespace.exp: Ditto.
4145 * gdb.c++/overload.exp: Ditto.
4146 * gdb.c++/ref-types.exp: Ditto.
4147
44097287
FN
41482000-11-22 Michael Chastain <chastain@redhat.com>
4149
4150 * mips_pro.exp: Accept either "middle -> top -> main" or
4151 "middle -> main" in the backtrace, because gcc can optimize
4152 tail calls to jumps. Remove setup_xfail for the hppa case.
4153 Add a comment with the original warning messages from PR 3016,
4154 which was filed in 1993, to preserve them for posterity.
4155
9d2e1bab
ND
41562000-11-17 Nick Duffek <nsd@redhat.com>
4157
4158 * lib/gdb.exp (gdb_test): Override timeout with board info.
4159
1aca8eb7
ND
41602000-11-17 Nick Duffek <nsd@redhat.com>
4161
4162 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4163 the second kill and detach messages.
4164
93076499
ND
41652000-11-17 Nick Duffek <nsd@redhat.com>
4166
4167 * configure.in: Add AC_EXEEXT.
4168 * configure: Regenerate.
4169 * Makefile.in (just-check): Export EXEEXT.
4170 * lib/gdb.exp ($EXEEXT): Import from environment.
4171 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4172 expect "maint dump-me" on Cygwin.
4173 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4174 $EXEEXT.
4175
30e87cd3
ND
41762000-11-17 Nick Duffek <nsd@redhat.com>
4177
4178 * gdb.base/break.exp: Test backtrace and finish from called
4179 function on all platforms, not just HP-UX.
4180
dc96c6c7 41812000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4182
4183 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4184 code from gdb_target_monitor, so it can be used independantly
4185 for gdbserver. Also comment out an unnecessary PUTS.
4186
dc96c6c7 41872000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4188
4189 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4190 * gdb.base/corefile.exp: Expect the message "Program is being
4191 debugged already" when we send the "corefile" command, since
4192 the preceeding gdb_load may have connected gdb to a remote target.
4193 * gdb.base/display.exp: Disable hardware watchpoints if new
4194 board info variable "no_hardware_watchpoints" is true.
4195 Replace single-letter commands with more readable ones.
4196 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4197 if new board info variable "no_hardware_watchpoints" is true.
4198 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4199 to see if stdio (printf) testing is possible.
4200 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4201 board info variable "no_hardware_watchpoints" is true. Use new
4202 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4203
39124dea
FN
42042000-11-13 Fernando Nasser <fnasser@redhat.com>
4205
4206 From Orjan Friberg <orjanf@axis.com>:
4207 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4208 in array print pattern match.
4209
a9e2e984
FN
42102000-11-09 Fernando Nasser <fnasser@redhat.com>
4211
4212 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4213 spelling "cancelled" to U.S. spelling "canceled" to match changes
4214 made to gdb.
4215 * gdb.c++/ovldbreak.exp: Ditto.
4216
c7db355b
PS
42172000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4218
4219 * gdb.base/callfuncs.c (main): Moved to end of file, call
4220 t_double_values to initialize the FPU before inferior calls are made.
4221 * gdb.base/callfuncs.exp: Test for register preservation after calling
4222 inferior functions. Add tests for continuining, finishing and
4223 returning from a stop in a call dummy.
4224
dc96c6c7 42252000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4226
4227 * gdb.base/commands.exp: Break up long lines, and re-indent.
4228
dc96c6c7 42292000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4230
4231 * config/gdbserver.exp: Rewritten from the ground up, to make it
4232 compatible with the current dejagnu tree, and to make it work with
4233 the new "gdbserver" in libremote.
4234
dc96c6c7 42352000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4236
4237 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4238 * gdb.base/varargs.exp: Skip entire test if no printf support.
4239 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4240 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4241
dc96c6c7 42422000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4243
4244 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4245 no floating point support.
4246 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4247 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4248 * gdb.base/call-rt-st.exp: Ditto.
4249 * gdb.base/call-strs.exp: Ditto.
4250
bac5fc66
JG
42512000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4252
4253 * gdb.base/sizeof.c: include <stdio.h>.
4254
4255 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4256 'finish', otherwise uncaptured gdb_prompt would potentially
4257 throw remaining test points out of sync.
4258
b22a6027
SB
42592000-07-26 Scott Bambrough <scottb@netwinder.org>
4260
4261 * gdb.base/recurse.exp: Run tests for all targets.
4262 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4263 gnu-oldld case on ARM.
4264 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4265 for ARM targets.
4266
d8231941
AG
4267Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4268
4269 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4270 * gdb.java/configure: Rebuild.
4271
8caabe69
AG
4272Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4273
4274 * gdb.java/jv-exp.exp: New file.
4275
9d273ca3
AG
4276Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4277
4278 * configure: Rebuilt.
4279 * configure.in (configdirs): Add gdb.java.
4280 * gdb.java/jmisc.java: New file.
4281 * gdb.java/jmisc.exp: New file.
4282 * gdb.java/Makefile.in: New file.
4283 * gdb.java/configure: Rebuilt.
4284 * gdb.java/configure.in: New file.
4285 * lib/java.exp: New file.
4286
4f823a66
AC
4287Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4288
4289 * gdb.base/exprs.exp: Test casts to a pointer including over and
4290 underflow.
4291
2391e11d
AC
4292Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4293
4294 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4295 and the compilers sizes.
4296
54602222
ND
42972000-07-09 Nick Duffek <nsd@redhat.com>
4298
4299 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4300 (use_methods): New function.
4301 (main): Call use_methods().
4302 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4303 (do_tests): Call test_method_param_class.
4304
2bec0572
ND
43052000-07-09 Nick Duffek <nsd@redhat.com>
4306
4307 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4308 spelling.
4309 (test_enums): New procedure. Move enum tests from end of script
4310 to here. Set breakpoint on function name instead of line number.
4311 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4312 (enums2): New marker function.
4313 (enums1): New function.
4314 (main): Call enums1(). Move enum tests to enums1().
4315
78492fde
AC
4316Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4317
4318 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4319 compile/link program. Update line numbers.
4320 * gdb.asm/d10v.inc: Define ``startup''.
4321 * gdb.asm/asmsrc1.s: Add definition of _start.
4322
49a2cef8
AC
4323Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4324
4325 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4326
3e6c8688
EZ
43272000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4328
4329 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4330 of 'help maint print' command.
4331
9ff5cbe9
AC
4332Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4333
4334 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4335 they use gdb_expect_list.
4336
17c579bd
AC
4337Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4338
4339 * gdb.base/commands.exp: Use ``set remote
4340 memory-read-packet-size'' instead of ``set endian big'' to test
4341 long commands.
4342
e6d71bf3
DB
43432000-06-03 Daniel Berlin <dan@cgsoftware.com>
4344
4345 * gdb.c++/templates.exp (do_tests): Make all of these work under
4346 g++, and stop skipping them.
4347
4348 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4349 work under g++.
4350
e5f9ba7b
MS
4351 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4352 initialization.
4353
dc96c6c7 43542000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4355
4356 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4357 the regular expression: accept an (almost) arbitrary sequence of
4358 "frames-invalid" and "breakpoints-invalid" messages both before
4359 and after the "starting" message.
4360
dc96c6c7 43612000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4362
4363 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4364
dc96c6c7 43652000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4366
4367 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4368 Relax the regular expression a little, make it pass on Solaris 8.
4369
8216cda9
KB
43702000-05-12 Kevin Buettner <kevinb@redhat.com>
4371
4372 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4373 a call, do not require that gdb stop on the line after the call.
4374 Instead, it is permissible for gdb to stop on the line of the
4375 call itself.
4376
1a570b2f
MS
43772000-05-12 Michael Snyder <msnyder@.cygnus.com>
4378
4379 * gdb.base/break.exp (bp on small function, optimized file):
4380 Add a second pass pattern. The behavior differs here between stabs
4381 and dwarf for one-line functions. Stabs preserves two line symbols
4382 (one before the prologue and one after) with the same line number,
4383 but dwarf regards these as duplicates and discards one of them.
4384 Therefore the address after the prologue (where the breakpoint is)
4385 has no exactly matching line symbol, and GDB reports the breakpoint
4386 as if it were in the middle of a line rather than at the beginning.
4387
dc96c6c7 43882000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4389
4390 * gdb.base/interrupt.exp: Make "pass" message say "send"
4391 rather than "send_gdb" (for consistancy).
4392
7d418785
AC
4393Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4394
4395 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4396 * gdb.c++/templates.cc: Properly check for GCC version number.
4397 * lib/compiler.cc: Likewise
4398
dc96c6c7 43992000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4400
4401 * gdb.base/break.exp: When compiled with -O2 optimization,
4402 gdb may not stop at the first line of main, due to code motion.
4403
dc96c6c7 44042000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4405
4406 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4407 This test depends on parsing the printf output from the target.
4408 Since the sparclet stub doesn't do stdio, this will never work.
4409 * gdb.base/call-rt-st.exp: ditto.
4410 * gdb.base/call-strs: ditto.
4411
dc96c6c7 44122000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4413
4414 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4415
4416 * gdb.base/ending-run.exp: After connecting to a remote target,
4417 but before running, the target will appear to be in a random
4418 location. Specify both a file and a line for breakpoints.
4419 Also, the function that calls main may be called 'init'
4420 rather than 'start'.
4421
a5a51225
EZ
44222000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4423
4424 * gdb.base/help.exp: Update output for add-symbol-file command.
4425
7930cc7c
FN
44262000-04-10 Fernando Nasser <fnasser@cygnus.com>
4427
4428 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4429 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4430
23e37ab1
C
44312000-04-07 J.T. Conklin <jtc@redback.com>
4432
e93c542c
C
4433 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4434
23e37ab1
C
4435 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4436
591b8fa3
PDM
4437Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4438
4439 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4440 values that can be represented exactly.
4441 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4442 above change, and to not check against the directory part of the source
4443 file name.
4444 (step into print_long_arg_list): Likewise.
4445 (print print_small_structs from print_long_arg_list): Likewise.
4446 (print print_long_arg_list): Likewise.
4447
7a495180
EZ
44482000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4449
30b53638 4450 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4451
beb998c6
AC
4452Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4453
4454 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4455
1c689132
DB
44562000-03-25 Daniel Berlin <dan@cgsoftware.com>
4457
4458 * gdb.base/commands.exp (deprecated_command_test): Add test for
4459 deprecate with no arguments.
4460
c1790a9d
JL
44612000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4462
4463 * gdb.base/break.exp: Add new test for setting breakpoints on
4464 optimized code so we can test breakpoints work even when function
4465 prologues may be optimized away
4466
003ba290
FN
44672000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4468
4469 From David Whedon <dwhedon@gordian.com>
4470 * gdb.base/commands.exp : Added command deprecator tests.
4471
6837a0a2
DB
44722000-03-22 Daniel Berlin <dan@cgsoftware.com>
4473
4474 * gdb.base/help.exp: Added test for new apropos command.
4475
b9593231
KB
44762000-03-21 Kevin Buettner <kevinb@redhat.com>
4477
4478 * gdb.base/pointers.c (usevar): New function.
4479 (main): Make sure that global variables v_int_pointer2, rptr,
4480 and y are all referenced someplace in the program by calling
4481 usevar() on them. [Some linkers delete symbols which are
4482 never referenced. The space remains, but there's no way to
4483 get a (symbolic) handle on the variable from the debugger.]
4484
751a959b
EZ
44852000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4486
4487 * gdb.base/printcmds.c: Add typedeffed arrays.
4488
4489 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4490 procedure to test arrays that are typedef'd.
4491
73a93a32
JI
44922000-03-13 James Ingham <jingham@leda.cygnus.com>
4493
4494 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4495 the library directories.
73a93a32 4496
fb40c209
AC
4497Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4498
4499 * configure.in (configdirs): Add sub directory gdb.mi.
4500 * configure: Re-generate.
4501
4502 * gdb.mi: New directory.
beb998c6 4503
ee4dd2c9
AC
45042000-02-25 Scott Bambrough <scottb@netwinder.org>
4505
4506 * gdb.base/long_long.exp: Correct test suite failure when printing
4507 a long long value as a double on ARM platforms.
4508
70f0cc22
JB
45092000-02-16 Jim Blandy <jimb@redhat.com>
4510
4511 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4512 default source file is set properly before running this test.
4513
853819b8
EZ
45142000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4515
4516 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4517 gdbtk/library directory, not in gdbtcl2.
4518
dfcd3bfb
JM
45192000-02-04 Jim Blandy <jimb@redhat.com>
4520
4521 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4522 backslash from regexp pattern.
4523
4524 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4525 procedure. Use it to run all the "continue to bp overloaded"
4526 tests. Note that this changes the names of the tests slightly.
4527 If the breakpoint hit message includes a hex PC value, because
4528 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4529 from the real source code, still consider that a pass.
4530
4531 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4532 XFAIL here if the breakpoint message contains a hex address. Note
4533 similar change on 1999-11-02.
4534
4535 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4536
4537 * gdb.base/ptype.exp: Establish a default source file before
4538 calling get_debug_format.
4539
45402000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4541
4542 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4543
8b93c638
JM
45442000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4545
4546 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4547 of successive stepi commands -- while in the prologue we should see
4548 the function entry bracket.
4549
45502000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4551
4552 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4553 reach __change_mode() when stepping through the end of main().
4554
c5394b80
JM
45552000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4556
4557 * gdb.base/default.exp: Fix expected pattern.
4558 * gdb.base/help.exp: Same.
4559
0d06e24b
JM
45602000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4561
4562 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4563 Don't use xfail's because that affects only the following test.
beb998c6 4564
0d06e24b
JM
4565 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4566 solaris or linux.
4567
4568 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4569
dc96c6c7 45702000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4571
beb998c6 4572 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4573 "A syntax error" rather than "A parse error". Accept both.
4574
45752000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4576
4577 * gdb.base/default.exp: Remove OS dependent string from "target
4578 remote" test.
4579 * gdb.base/help.exp: Same for "help target remote" test.
4580
c3f6f71d
JM
45812000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4582
4583 From Jim Kingdon <kingdon@redhat.com>:
4584
4585 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4586 prompt (cleanup rather than necessity, but still might keep output
4587 from spilling to next test).
4588
45892000-01-02 Fred Fish <fnf@cygnus.com>
4590
4591 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4592 AIX, which defines them in <sys/types.h>.
4593
ed9a39eb 45941999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4595
ed9a39eb
JM
4596 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4597 float" test.
4598
45991999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4600
ed9a39eb 4601 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4602
4603 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4604 outermost frame disallowed".
4605
46061999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4607
4608 * gdb.base/setvar.exp: New tests for setting the value of a struct
4609 with a constant list.
4610
46111999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4612
4613 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4614 require the user to type a cast before setting the value of a struct.
4615
de57eccd
JM
46161999-12-06 Jim Blandy <jimb@cygnus.com>
4617
4618 * gdb.base/default.exp: Expect the new 'info float' command on
4619 all i386 platforms.
4620
4621 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4622 LinuxThreads libraries that don't support debugging.
4623
c2d11a7d
JM
4624Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4625
4626 * gdb.base/remote.c: Fill the buffer with truely random data.
4627 Change the buffer type to ``unsigned char'' to simplify size
4628 arithmetic.
4629
4630 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4631 stub only handles 400-1 byte packets. Verify that the download
4632 worked.
4633
46341999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4635
4636 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4637 tests, using UNRESOLVED for the untested cases. Also, does not wait
4638 for a timeout if the prompt was received before a recognizable pattern.
4639
46401999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4641
4642 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4643
46441999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4645
4646 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4647 watchpoints.
4648
46491999-11-24 Jason Merrill <jason@casey.cygnus.com>
4650
4651 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4652
4653 * gdb.c++/local.exp: Be more flexible in recognizing local class
4654 name mangling. Don't allow horribly truncated method names.
4655 * gdb.c++/derivation.exp: Expect protected inheritance.
4656 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4657 * gdb.c++/virtfunc.exp: Likewise.
4658 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4659 when printing a nested enum.
4660
46611999-11-22 Jim Blandy <jimb@cygnus.com>
4662
4663 * gdb.base/step-test.exp: Properly await GDB's response to setting
4664 a breakpoint on the call to large_struct_by_value.
4665
4666 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4667 just because we have debug info for the `start' function.
4668
46691999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4670
4671 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4672 "Unknown signal" messages, which indicate (on LinuxThreads) that
4673 GDB doesn't know how to debug threads on this system. This is
4674 better than hanging while philosopher 0 dumps chatter into gdb.log.
4675
46761999-11-18 Tom Tromey <tromey@cygnus.com>
4677
4678 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4679
46801999-11-18 Fred Fish <fnf@cygnus.com>
4681
4682 * gdb.base/coremaker2.c: Add sample program for generating
4683 cores that is more self contained than coremaker.c. Eventually
4684 I'll add more code to this and tie it into the testsuite.
4685
4ce44c66
JM
46861999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4687
4688 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4689
46901999-11-10 Jimmy Guo <guo@cup.hp.com>
4691
4692 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4693 from $srcdir/lib/.
4694 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4695 and gdb.c++/.
4696
4697 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4698
beb998c6 4699 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4700 'continue with watch' test point.
4701
47021999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4703
4704 Merged from p2linux-990323-branch:
beb998c6 4705
4ce44c66
JM
4706 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4707
11cf8741
JM
4708Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4709
4710 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4711 {limit,fixed}''. Test ``set download-write-size''.
4712
4713Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4714
4715 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4716 gdb_expect_list.
4717
4718Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4719
4720 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4721
47221999-11-03 Mark Salter <msalter@cygnus.com>
4723
4724 * gdb.base/break.exp: Fix "stub continue" pattern.
4725
47261999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4727
4728 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4729
47301999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4731
4732 * gdb.base/display.exp ("finish"): Add timeout clause.
4733
4734 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4735 plain prompt clause, so this doesn't have to time out in order to
4736 fail.
4737
4738 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4739 breakpoint hit messages include an address.
4740
4741 * gdb.base/display.exp: Don't forget to escape parens in regular
4742 expressions. Unix regexp notatation sucks.
4743
47441999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4745
4746 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4747 order for 'signalled' message.
4748
5c44784c
JM
47491999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4750
4751 From Jimmy Guo <guo@cup.hp.com>:
4752 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4753 * gdb.base/annota1.c: Add code for tests to work with.
4754
47551999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4756
4757 * gdb.base/remote.exp: New test for remote downloading settings.
4758 * gdb.base/remote.c: New file with large .data.
4759
917317f4
JM
47601999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4761
4762 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4763 for LinuxThreads support, merged from the Code Fusion branch.
4764
4765Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4766
4767 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4768 containing exp_continue into a while within an expect. Don't
4769 attempt a start more than three times. Check return value from
4770 gdb_load.
beb998c6 4771
2df3850c
JM
4772Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4773
4774 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4775 a pass case.
4776
2acceee2
JM
47771999-10-01 Kevin Buettner <kevinb@cygnus.com>
4778
4779 * gdb.base/break.c (main): Added a statement that we can step
4780 off of.
4781 * gdb.base/break.exp: Added tests for setting a breakpoint
4782 at an offset and stepping onto a breakpoint.
4783
47841999-10-01 Fred Fish <fnf@cygnus.com>
4785
beb998c6 4786 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4787 gdb output.
4788
c2c6d25f
JM
47891999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4790
4791 * gdb.base/break.exp: Code locations are in hex, don't forget!
4792 (For HP-UX.)
4793
47941999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4795
4796 * condbreak.exp: Use break.c as test program.
4797 * condbreak.c: Remove, redundant with break.c.
4798
47991999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4800
4801 * config/monitor.exp (gdb_target_monitor): Disable X- and
4802 Z-packets if the target needs it.
4803
48041999-09-13 James Ingham <jingham@leda.cygnus.com>
4805
4806 * gdb.c++/overload.exp: Added tests for listing overloaded
4807 functions with function pointers in the arg, explicitly calling
4808 out the version you want.
4809
cff3e48b
JM
48101999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4811
4812 * long_long.exp: Add variations of test cases that work for
4813 targets with 16-bit ints and 32-bit doubles.
4814
d4f3574e
SS
48151999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4816
4817 * break.c (main): Compare a possibly-uninitialized argc with an
4818 unlikely value that fits in 16 bits.
4819
48201999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4821
4822 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4823 0xfeeb, don't want negative numbers if ints are 16 bits.
4824
4825 * lib/gdb.exp (skip_cplus_tests): New proc.
4826 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4827 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4828 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4829 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4830 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4831 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4832 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4833 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4834
4835 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4836
4837Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4838
4839 * gdb.base/corefile.exp (up): Allow a parameter to appear
4840 in the frame that we're going up to.
4841
4842 From Jim Blandy <jimb@cygnus.com>:
4843
4844 * gdb.base/default.exp (info float): Expect some output now.
4845
4846 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4847 returning floating-point values to fail on the x86.
4848 * gdb.base/callfwmall.exp (do_function_calls): Same.
4849
4850 * gdb.base/list.exp (test_listsize): Correct expectations for
4851 listing line 1 with listsize 2. Also, listing a single line
4852 works now, as does listing three lines. [Kevin's note: There
4853 were a number of other cases fixed too where the expectations
4854 differed...]
4855
48561999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4857
4858 * gdb.base/selftest.exp: Add case for when version prints as
4859 constant string instead of char pointer.
4860
104c1213
JM
48611999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4862
4863 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4864 stepping out of main.
4865
4866 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4867 G++ used.
4868
4869 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4870 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4871
4872 * gdb.c++/ovldbreak.exp: Update match string in test that
4873 includes a warning of multiple breakpoints.
4874
48751999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4876
4877 * gdb.base/display.exp: Improve precision of step-after-finish
4878 added yesterday.
4879
4880 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4881 test.
4882
4883 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4884 configs when using G++, not just hppa*.
4885
48861999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4887
4888 * gdb.base/async.c: New file.
4889 * gdb.base/async.exp: New file.
4890
4891Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4892
4893 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4894 PA64.
4895
53a5351d
JM
4896Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4897
104c1213
JM
4898 * gdb.base/display.exp: "finish" can leave us mid-line on many
4899 targets, deal with it. Add a small constant to main, instead of
4900 1000 since main+1000 may not be a valid address in the target.
4901
53a5351d
JM
4902 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4903 on hpux11.
4904
4905 * gdb.base/attach.exp: Handle another hpux11 error message variant
4906 when attaching to a process that does not exist.
4907
49081999-08-19 J.T. Conklin <jtc@redback.com>
4909
4910 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4911 characters in 'continue to 1241' test.
4912
49131999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4914
4915 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4916 stop in print_long_arg_list, define and use a whitespace
4917 variable in print_small_structs test, add an XFAIL for Solaris.
4918 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4919 interested enough to fix.
4920
7be570e7
JM
49211999-08-13 Keith Seitz <keiths@cygnus.com>
4922
4923 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4924 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4925 proc knows about targets other than the natives.
4926 (test_assign): Use "gdb_run_cmd" to "run" the target.
4927 Check that we've actually hit the breakpoint at main.
4928 When we attempt to assign a value to a local variable, check
4929 that the variable is in the current scope, i.e., don't use
4930 a test with an empty result.
4931
4932Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4933
4934 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4935 command.
4936
49371999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4938
4939 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4940 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4941 gdb.compat, gdb.threads-hp.
4942 gdb.hp/configure, gdb.hp/configure.in: New files.
4943 gdb.hp/Makefile.in: Recurse into new subdirs.
4944 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4945 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4946 in object files.
4947 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4948
96baa820
JM
49491999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4950
4951 * gdb.base/display.exp: Help expect by putting a newline in the
4952 funky printf, remove a bogus p/a test.
4953
49541999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4955
4956 * gdb.base/display.exp: Make sure that when we say 'run', we are
4957 connected to the target. This is necessary when running not
4958 natively.
4959
49601999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4961
4962 * gdb.base/step-test.exp: Removed some extraneous messages.
4963
4964 * gdb.base/long_long.exp: Don't run memory examination tests
4965 on little-endian targets (they will need a different set of
4966 results to match).
4967
49681999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4969
4970 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4971 until somebody decides to fix GDB.
4972
4973 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4974 constant as "ULL".
4975 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4976 matches for a couple x/2 commands.
4977
a0b3c4fd
JM
49781999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4979
4980 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4981 by merging in ref-types2 tests.
4982 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4983
4984 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4985 * gdb.c++/Makefile.in: Add standard actions.
4986 (EXECUTABLES): Rename from PROGS, update list.
4987 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4988 from gdb.hp.
4989 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4990 foo and bar locals.
4991 * gdb.c++/anon-union.exp: Fix tests to match.
4992 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4993 expect matches to handle output variations.
4994 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4995 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4996 output, add HP alternatives for new and delete prints.
4997 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4998 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4999 * gdb.c++/demangle.exp: Use $style when reporting failure.
5000 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5001 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5002 match alternatives.
5003 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5004 compilers.
5005 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5006 * gdb.c++/method.exp: Add match alternatives.
5007 * gdb.c++/misc.cc: Add bool types.
5008 * gdb.c++/misc.exp: Add tests for bool types.
5009 * gdb.c++/overload.exp: Add xfails.
5010 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5011 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5012 add some more template parameter tests (only for HP currently).
5013 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5014 * gdb.c++/virtfunc.cc: Add return type and value for main.
5015 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5016 match alternatives.
beb998c6 5017
a0b3c4fd
JM
50181999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5019
5020 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5021
50221999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5023
5024 * gdb.base/signals.exp: Don't expect getting a backtrace from
5025 within a signal handler to fail on Linux.
5026
50271999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5028
5029 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5030 * lib/gdb.exp: Remove some gratuitious semicolons.
5031 (delete_breakpoints): Increase timeout.
5032 (gdb_expect): Add -notransfer option.
5033 (gdb_test): Use -notransfer option.
5034 (get_compiler_info): Add f77 case.
5035 (get_compiler): New proc, split out from gdb_preprocess, add f77
5036 case.
5037 (gdb_preprocess): Call get_compiler.
5038
5039 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5040 * gdb.base/attach.exp, gdb.base/display.exp,
5041 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5042 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5043 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5044 third arg to gdb_test.
5045 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5046 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5047 HP-UX xfails, add others.
5048 * gdb.base/completion.exp: Reflect name change of self-test.
5049 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5050 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5051 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5052 HP failure number.
5053 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5054 useless HP-UX 10.30 references.
5055 * gdb.base/maint.exp: Loosen matches.
5056 * gdb.base/pointers.c (main): Declare more_code.
5057 * gdb.base/pointers.exp: Match on output of a `next'.
5058 * gdb.base/structs.c: Add prototypes.
5059 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5060 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5061
50621999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5063
5064 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5065 command.
5066
50671999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5068
5069 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5070 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
5071
5072 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5073 debug info. Deal with lack of signal hanlder info in stack.
5074
5075 From Jim Kingdon <kingdon@redhat.com>:
5076 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5077
5a2468f5
JM
50781999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5079
5080 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5081 gdb.base/foll-vfork.exp: Don't run for crosses.
5082
adf40b2e
JM
5083Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5084
5085 * gdb.base/configure.in: Check for gdbvars.exp instead of
5086 a1-selftest.exp.
5087 * gdb.base/configure: Re-generate.
5088
50891999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5090
5091 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5092 in trying to run first and name is too long.
5093
5094 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5095 pointers2.c and pointers2.exp, respectively.
5096 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5097 doschk happier.
5098
43e526b9
JM
50991999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5100
5101 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5102 callfuncs2.c and callfuncs2.exp.
5103
5104 * gdb.base/list.exp: Remove mistaken xfails.
5105 * gdb.base/list0.h: Add optional prototypes.
5106
9846de1b
JM
5107Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5108
5109 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5110 calling malloc.
5111 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5112 * ptype.exp: Move test for get_debug_format to before its first
5113 use.
5114
51151999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5116
5117 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5118 * gdb.base/annota2.cc, annota2.exp: Move from here.
5119 * gdb.c++/annota2.cc, annota2.exp: To here.
5120 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5121
43ff13b4
JM
5122Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5123
5124 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5125 a consistent format.
5126
085dd6e6
JM
51271999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5128
5129 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5130 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5131 HP compilers, also set the globals $true and $false.
5132
5133 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5134 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5135 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5136 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5137 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5138 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5139 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5140 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5141 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5142 whatis.c} Add C++ compatible function definitions and return
5143 types, add includes for library functions.
5144 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5145 * gdb.base/step-test.c (myglob): Rename from glob.
5146 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5147 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5148 files, move here from gdb.hp.
5149 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5150 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5151 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5152 Adjust line numbers in regexps.
5153
5154 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5155 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5156 instead of 0/1.
5157
5158 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5159 foll-vfork.exp: New files, move here from gdb.hp.
5160 * gdb.base/page.exp: New file, test of pagination command.
5161
5162 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5163 recursion test.
5164 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5165
5166 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5167 gdb.base/solib.exp: Fix compiler invocation process.
5168
5169 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5170 HP-UX 11, turn off overload resolution explicitly.
5171 * gdb.base/commands.exp: Set argument list explicitly, add
5172 watchpoint test.
5173 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5174 them work.
5175 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5176 expressions properly.
5177 * gdb.base/corefile.exp: Loosen the match slightly.
5178 * gdb.base/default.exp: Allow "Error accessing memory" message
5179 also.
5180 * gdb.base/display.exp: Skip over x/0 j if PA64.
5181 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5182 * gdb.base/interrupt.exp: Ditto.
5183 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5184 in use.
5185 * gdb.base/list.exp: Add xfails for HP-UX.
5186 * gdb.base/long_long.exp: Refine some of the numeric matches.
5187 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5188 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5189 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5190 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5191 * gdb.base/ptype.exp: Succeed on more varieties of output.
5192 * gdb.base/scope.exp: Add xfails for HP-UX.
5193 * gdb.base/sect-cmd.exp: Add more cases.
5194 * gdb.base/setvar.exp: Add xfails for HP-UX.
5195 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5196 * gdb.base/signals.exp: Match on void symbolically.
5197 * gdb.base/step-test.exp: Add case for PA64.
5198 * gdb.base/term.exp: Add exit and restart.
5199 * gdb.base/twice.exp: Clean up after self.
5200 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5201 * gdb.base/whatis.exp: Allow more ways to pass tests.
5202
5203 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5204 no longer useful.
5205
5206Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5207
5208 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5209 list of patterns.
5210 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5211 print_double_array(double_array)", "continuing to breakpoint
5212 1018", "print print_double_array(array_d)" and "continuing to
5213 1034" tests.
beb998c6 5214
085dd6e6
JM
52151999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5216
5217 * Makefile.in: Add empty html and install-html targets.
5218
52191999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5220
5221 * config/mt-*: Remove, these haven't been used since 1996.
5222
52231999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5224
5225 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5226 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5227 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5228
9e0b60a8
JM
52291999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5230
5231 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5232 simpler match case for the ptype of the big class.
5233
52341999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5235
5236 * gdb.exp: Fix test for gdb_prompt existence.
5237
52381999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5239
5240 * gdb.exp (gdb_test): Add fail after calls to perror.
5241
52421999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5243
5244 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5245
52461999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5247
5248 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5249
0f71a2f6
JM
5250Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5251
5252 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5253 malloc() is linked in.
5254
52551999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5256
5257 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5258 step at end.
5259
5260 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5261
52621999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5263
5264 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5265
cce74817
JM
5266Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5267
5268 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5269 * gdb.base/mips_pro.exp: Likewise.
5270
52711999-06-02 Keith Seitz <keiths@cygnus.com>
5272
5273 * gdb.c++/templates.cc: Change all "new" operators to throw
5274 an exception.
5275 * gdb.c++/cplusfuncs.cc: Likewise.
5276
5277 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5278
5279Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5280
5281 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5282 * gdb.base/ending-run.exp: When stepping out of main, accept a
5283 step into an arbitrary assembler file.
5284
392a587b
JM
52851999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5286
beb998c6 5287 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5288 "breakpoint-invalid" to be printed.
beb998c6 5289 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5290 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5291 * gdb.base/annota2.cc: Initialize a.x to 0.
5292
9e086581
JM
52931999-05-17 Keith Seitz <keiths@cygnus.com>
5294
5295 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5296 when "skip_float_tests" set.
5297 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5298 "print print_ten_doubles", and "step into print_long_arg_list".
5299 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5300 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5301 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5302 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5303 "skip_float_tests" is set.
5304 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5305 when "skip_float_tests" set.
beb998c6 5306
cd0fc7c3
SS
53071999-05-06 Keith Seitz <keiths@cygnus.com>
5308
5309 * gdb.base/annota2.cc: Include stdio.h.
5310
5311Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5312
5313 * gdb.base/crossload.exp: Remove, this has been disabled ever
5314 since BFD stopped including all targets, and cross-GDB gets
5315 plenty of testing anyway.
5316 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5317 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5318 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5319 * gdb.base/README: Remove, was doc for this.
5320 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5321 needed.
5322
b83266a0
SS
53231999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5324
5325 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5326 output.
5327
5328 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5329 * gdb.base/annota2.exp: New file. More annotation tests.
5330 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5331 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5332
53331999-04-23 Angela Marie Thomas <angela@cygnus.com>
5334
5335 * config/cfdbug.exp: New file.
5336
7a292a7a
SS
53371999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5338
5339 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5340 Marcus Daniel's and Dale Hawkins's demangler crashes.
5341
5342 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5343 test_lucid_style_demangling, test_arm_style_demangling,
5344 test_hp_style_demangling): Try Tom Tromey's core-dumping
5345 identifier under each demangling style.
5346
53471999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5348
5349 * gdb.c++/demangle.exp: Include the current demangling style
5350 in all test names.
5351 (current_demangling_style): New global variable.
5352 (set_demangling_style, test_demangling_core, test_demangling,
5353 test_demangling_exact): New functions.
5354 (test_gnu_style_demangling, test_lucid_style_demangling,
5355 test_arm_style_demangling, test_hp_style_demangling): Use those,
5356 instead of calling gdb_test and gdb_test_exact directly.
5357 (catch_demangling_errors): New function, which reports errors
5358 signalled by the demangling test functions in an orderly way.
5359 (do_tests): Use catch_demangling_errors.
5360
53611999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5362
5363 * gdb.base/signals.exp (test_handle_all_print): Use () for
5364 grouping in expressions, not {}.
5365
5366 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5367 initialized yet.
5368
53691999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5370
5371 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5372 are listed.
5373
53741999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5375
5376 * gdb.stabs/weird.exp: Test for CC being defined before
5377 looking at its value.
5378
53791999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5380
5381 * gdb.base/call-ar-st.exp: Remove stray '#'.
5382 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5383 "short int" and "long int".
5384 * gdb.c++/overload.cc: Cast the string added in the previous
5385 change, to mollify finicky HP compiler.
5386 * gdb.hp/reg-test.exp (testfile): Fix file name.
5387 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5388
7a292a7a
SS
5389 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5390 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5391 alternate form of enum ptype.
5392
c906108c
SS
53931999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5394
7a292a7a
SS
5395 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5396 * gdb.hp/*.exp: Change all to run compiler probe only after
5397 passing skip_hp_tests, so as not to waste time on guaranteed
5398 failure.
5399
c906108c
SS
5400 * gdb.c++/overload.cc: Pass string instead of char addr, always
5401 init ccpfoo.
5402 * gdb.c++/templates.cc: Fix syntax error.
5403
7a292a7a
SS
5404Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5405
5406 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5407 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5408 command.
5409
54101999-03-18 James Ingham <jingham@cygnus.com>
5411
5412 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5413
5414 * gdb.c++/method.exp: It was testing an uninitialized int on the
5415 stack and assuming it was positive.
5416
5417 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5418
5419 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5420 keep it from killing the rest of the tests.
7a292a7a
SS
5421 Use gdb_continue_to_end.
5422
5423 * gdb.base/sigall.exp: use gdb_continue_to_end.
5424
5425 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5426
5427 * gdb.base/display.exp: use runto_main, not run.
5428
beb998c6
AC
5429 * gdb.base/default.exp: Check for the current error message in the
5430 r abbreviation test.
7a292a7a
SS
5431 Add strongarm to the targets that know info float.
5432
beb998c6 5433 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5434 run which doesn't work with monitors.
5435
5436 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5437
5438 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5439
5440 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5441 program. Traps the case (in Cygmon) when the program never really
5442 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5443 more places, so I used my name. Sorry Mark...
5444
5445 * config/monitor.exp (gdb_target_monitor): added another
5446 target_info parameter: remotebinarydownload. This will set the
5447 remotebinarydownload flag if this is causing some boards trouble.
5448
54491999-03-18 Mark Salter <msalter@cygnus.com>
5450
5451 * lib/gdb.exp (continue_to_exit): New function.
5452
5453 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5454 * gdb.base/ending-run.exp: Ditto.
5455 * gdb.base/step-test.exp: Ditto.
5456
54571999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5458
5459 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5460 (suggested by Art Haas <ahaas@neosoft.com>).
5461
54621999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5463
5464 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5465
5466Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5467
5468 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5469 descriptions of types (short unsigned int vs unsigned short, etc).
5470
54711999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5472
5473 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5474 a call to strlen; sometimes we do have sources.
5475
54761999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5477
5478 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5479 character, so GDB won't print garbage after its end.
beb998c6 5480
c906108c
SS
5481 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5482 breakpoint there instead. Sometimes GCC emits memcpy to handle
5483 the large structures being passed by value, so we step into that
5484 instead of sum_array_print, which obscures what we're really testing.
5485 * gdb.base/step-test.exp: However, we do want a test that notices
5486 the bizarre steps into memcpy, so do that here. Add check for
5487 stepping into function calls that pass large structures by value.
5488 ("Is that a noun clause, or are you just happy to see me?")
5489 Remove all references to specific line numbers.
5490 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5491 New type and function.
5492 (main): Call large_struct_by_value, passing it a large struct by value.
5493 * lib/gdb.exp (gdb_get_line_number): New function.
5494
5495 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5496 more portable.
5497
7a292a7a
SS
54981999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5499
c906108c
SS
5500 * lib/gdb.exp: Doc fixes.
5501
7a292a7a
SS
55021999-03-05 Nick Clifton <nickc@cygnus.com>
5503
beb998c6 5504 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5505
55061999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5507
c906108c
SS
5508 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5509 commands. They're not germane to this test, and they don't work
5510 that way on remote targets.
5511
3fc11d3e
JM
55121999-03-01 James Ingham <jingham@cygnus.com>
5513
5514 * Changelog entries merged over from gdb development branch.
5515
3fc11d3e
JM
5516 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5517
5518 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5519 for outputting results of test run.
5520
2d4a1622 5521 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5522
5523 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5524
7a292a7a
SS
55251999-02-25 Felix Lee <flee@cygnus.com>
5526
5527 * lib/gdb.exp (debug_format): initialize
5528
c906108c
SS
55291999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5530
5531 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5532 * gdb.base/call-rt-st.c: Ditto.
5533
c906108c
SS
55341999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5535
5536 * gdb.threads/pthreads.exp (horiz): New variable.
5537 (test_startup): Fix regexps that capture thread numbers.
5538
55391999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5540
5541 * gdb.base/smoke.exp: Disambiguate two test case names (both
5542 called ``print'').
5543
5544Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5545
5546 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5547 compilation.
5548
55491999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5550
5551 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5552 actual output formatting.
5553 * gdb.base/smoke.exp: GDB removes leading 0's.
5554 * gdb.base/volatile.exp: Don't check type of remuneration;
5555 that variable is no longer defined in constvars.c.
5556 * gdb.base/step-test.c (main): Exit with explicit exit code.
5557 * gdb.base/step-test.exp: Remove two nexti checks--they are
5558 not portable.
5559
55601999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5561
5562 * gdb.base/help.exp ("help delete display"): Fix test to match
5563 gdb's output.
5564
5565 * gdb.base/long_long.c (known_types): Initialize values to zero.
5566 * gdb.base/long_long.exp: Step one more line
5567 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5568 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5569 unique test case names.
5570
5571Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5572
beb998c6 5573 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5574
5575 * gdb.c++/method.exp: Add missing close brace.
5576
55771999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5578
5579 * gdb.base/maint.exp: Use 'set height 0' to disable page
5580 prompting, not 'set height 400'.
5581
5582 Fix a bunch of timeouts.
5583 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5584 four separate tests, so expect doesn't take forever to match a ton
5585 of text against a regexp with lots of .* forms.
5586 ("maint print psymbols", "maint print symbols"): Make some of
5587 these greps more selective, so that expect doesn't try to wade
5588 through huge piles of output and time out.
5589
5590 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5591
5592 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5593 tests: one which doesn't expect shlib events to be reported, and
5594 another which does, but is XFAIL for all platforms other than
5595 HP/UX.
5596
5597 * gdb.base/break.exp: Teach the test suite that the `catch
5598 fork', `catch vfork', and `catch exec' commands produce error
5599 messages on platforms that don't provide these features.
5600
5601Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5602
5603 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5604 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5605 (shortening names from solib_threshold.exp etc), won't run on
5606 anything but HP-UX for the foreseeable future.
5607 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5608 reflect move.
5609
5610Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5611
5612 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5613 gdb.trace/Makefile.in (clean): Remove all test executables.
5614
5615Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5616
5617 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5618 successfully re-sets breakpoints in shared libraries.
5619 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5620
5621Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5622
beb998c6
AC
5623 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5624 and compiled w/o GCC.
c906108c
SS
5625
5626 * gdb.hp/watch-cmd.exp: ditto.
5627
5628 * gdb.hp/watch-hp.exp: ditto.
5629
5630 * gdb.hp/xdb1.exp: ditto.
5631
5632 * gdb.hp/xdb2.exp: ditto.
5633
5634 * gdb.hp/dbx.exp: ditto.
5635
5636Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5637
5638 * constvars.c: Remove C++-isms.
5639 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5640 with GCC.
5641
5642Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5643
5644 The following changes are part of the HP merge.
5645
5646 * gdb.base/break.exp: new tests to verify that catchpoints for
5647 fork, vfork, and exec don't trigger inappropriately.
5648
5649 * gdb.base/opaque.exp: compile one file at a time, then link.
5650
5651 * gdb.base/signals.exp: be more restrictive about which hppa
5652 systems receive a setup_xfail. new tests.
5653
5654 * gdb.base/solib_threshold.build: new file.
5655 * gdb.base/solib_threshold.exp: new file.
5656 * gdb.base/solib_threshold.link_opts: new file.
5657 * gdb.base/solib_threshold.mk: new file.
5658 * gdb.base/gen_solib_threshold.c: new file.
5659
5660 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5661 tests. New tests for enums inside classes.
5662
5663 * gdb.c++/compiler.cc: indicate support of template debugging.
5664
5665 * gdb.c++/demangle.exp: run hp style demangling tests.
5666
5667 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5668 tests.
5669
5670 * gdb.c++/misc.cc: changes to support new tests.
5671
5672 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5673 to support new tests.
5674
5675 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5676 gcc, then skip these tests.
5677
5678Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5679
5680 The following files are part of the HP merge; some had longer
5681 names at HP, but have been renamed to be no more than 14
5682 characters in length.
5683
5684 * gdb.hp/ambiguous.cc: new file.
5685 * gdb.hp/ambiguous.exp: new file.
5686 * gdb.hp/attach.exp: new file.
5687 * gdb.hp/attach2.exp: new file.
5688 * gdb.hp/classes-hp.exp: new file.
5689 * gdb.hp/ctti.exp: new file.
5690 * gdb.hp/ctti-add.cc: new file.
5691 * gdb.hp/ctti-add1.cc: new file.
5692 * gdb.hp/ctti-add2.cc: new file.
5693 * gdb.hp/ctti-add3.cc: new file.
5694 * gdb.hp/dbx.exp: new file.
5695 * gdb.hp/exception.cc: new file.
5696 * gdb.hp/exception.exp: new file.
5697 * gdb.hp/foll-exec.c: new file.
5698 * gdb.hp/foll-exec.exp: new file.
5699 * gdb.hp/foll-fork.c: new file.
5700 * gdb.hp/foll-fork.exp: new file.
5701 * gdb.hp/foll-vfork.c: new file.
5702 * gdb.hp/foll-vfork.exp: new file.
5703 * gdb.hp/inherit-hp.exp: new file.
5704 * gdb.hp/more-steps.exp: new file.
5705 * gdb.hp/namespace.cc: new file.
5706 * gdb.hp/namespace.exp: new file.
5707 * gdb.hp/optimize.exp: new file.
5708 * gdb.hp/pxdb.c: new file.
5709 * gdb.hp/pxdb.exp: new file.
5710 * gdb.hp/quicksort.exp: new file.
5711 * gdb.hp/reg-test.exp: new file.
5712 * gdb.hp/reg-test.s: new file.
5713 * gdb.hp/sized-enum.c: new file.
5714 * gdb.hp/sized-enum.exp: new file.
5715 * gdb.hp/start-stop.exp: new file.
5716 * gdb.hp/templ-hp.cc: new file.
5717 * gdb.hp/templ-hp.exp: new file.
5718 * gdb.hp/thr-lib.c: new file.
5719 * gdb.hp/thr-lib.exp: new file.
5720 * gdb.hp/thr-lib.h: new file.
5721 * gdb.hp/thr-liblib.c: new file.
5722 * gdb.hp/virtfun-hp.c: new file.
5723 * gdb.hp/virtfun-hp.exp: new file.
5724 * gdb.hp/watch-cmd.exp: new file.
5725 * gdb.hp/watch-hp.exp: new file.
5726 * gdb.hp/xdb1.exp: new file.
5727 * gdb.hp/xdb2.exp: new file.
5728 * gdb.hp/xdb3.exp: new file.
5729
5730Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5731
5732 The following files are part of the HP merge; some had longer
5733 names at HP, but have been renamed to be no more than 14
5734 characters in length.
5735
5736 * gdb.base/ss.h: new file.
5737 * gdb.base/call-ar-st.c: new file.
5738 * gdb.base/call-ar-st.exp: new file.
5739 * gdb.base/call-rt-st.c: new file.
5740 * gdb.base/call-rt-st-exp: new file.
5741 * gdb.base/call-strs.exp: new file.
5742 * gdb.base/ena-dis-br.exp: new file.
5743 * gdb.base/environ.exp: new file.
5744 * gdb.base/long_long.exp: new file.
5745 * gdb.base/sect-cmd.exp: new file.
5746 * gdb.base/shlib-cl2.exp: new file.
5747 * gdb.base/smoke.exp: new file.
5748 * gdb.base/so-impl-ld.c: new file.
5749 * gdb.base/so-impl-ld.exp: new file.
5750 * gdb.base/so-indr-cl.c: new file.
5751 * gdb.base/so-indr-cl.exp: new file.
5752 * gdb.base/varargs.exp: new file.
5753 * gdb.base/volatile.exp: new file.
5754 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5755 * gdb.base/display.exp: new file.
c906108c
SS
5756 * gdb.c++/derivation.exp: new file.
5757 * gdb.c++/local.exp: new file.
5758 * gdb.c++/member-ptr.exp: new file.
5759 * gdb.c++/overload.exp: new file.
5760 * gdb.c++/ovldbreak.exp: new file.
5761 * gdb.c++/ref-types.exp: new file.
5762 * gdb.c++/ref-types2.exp: new file.
5763 * gdb.c++/userdef.exp: new file.
beb998c6 5764
c906108c
SS
5765Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5766
5767 * gdb.base/default.exp: Reflect wording change in remote.c.
5768
dc96c6c7 5769Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5770
5771 * gdb.base/help.exp: Update to reflect current text.
5772
5773Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5774
5775 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5776 they're stack variables and contain garbage.
5777 * gdb.c++/anon-union.exp: new file.
5778
5779 The following changes were made by David Taylor
5780 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5781 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5782 in changes by HP.
5783
5784 * gdb.base/bitops.exp: new file.
5785 * gdb.base/default.exp: change expected messages for catch and
5786 info catch tests to reflect HP merge changes.
5787 * gdb.base/enable-disable-break.exp
5788 * gdb.base/ending-run.c: new file.
5789 * gdb.base/long_long.c: new file.
5790 * gdb.base/maint.exp: new file.
5791 * gdb.base/pointers2.exp: new file.
5792 * gdb.base/shlib-call2.exp: new file.
5793 * gdb.base/solib.exp: new file.
5794 * gdb.base/step-test.c: new file.
5795 * gdb.c++/anon-union.cc: new file.
5796 * gdb.c++/local.cc: new file.
5797 * gdb.c++/member-pointer.cc: new file.
5798 * gdb.c++/method.cc: new file.
5799 * gdb.c++/ref-types.cc: new file.
5800 * gdb.c++/ref-types2.cc: new file.
5801 * gdb.c++/userdef.cc: new file.
beb998c6 5802
c906108c
SS
5803 * gdb.base/scope.exp: compile one file at a time, then link.
5804 * gdb.base/langs.exp: ditto.
5805 * gdb.base/list.exp: ditto.
beb998c6 5806
c906108c
SS
5807Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5808
5809 The following changes were made by David Taylor
5810 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5811 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5812 in changes by HP.
beb998c6 5813
c906108c
SS
5814 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5815 skip tests. When compiling pass c++ flag to gdb_compile.
5816 * gdb.c++/
beb998c6 5817
c906108c
SS
5818 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5819 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5820 (skip_hp_tests): new function.
5821 (gdb_preprocess): new function.
5822
5823 * configure.in (hpdir): decide whether to configure gdb.hp.
5824 * configure: regenerated.
5825
5826 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5827 to delete on clean.
5828 (EXECUTABLES): update to reflect new additions.
5829 * gdb.base/commands.exp: update message expected.
5830 * gdb.base/default.exp: add copyright notice.
5831 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5832 * gdb.base/help.exp: update messages to reflect current text.
5833 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5834 targets for recurse tests.
5835 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5836 skip this file.
5837
5838 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5839 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5840 compilation.
5841 * gdb.c++/misc.exp: ditto.
5842 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5843 run the tests. tell gdb_compile that it's a c++ compilation.
5844
5845 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5846
c906108c
SS
5847 * gdb.base/all-bin.exp: new file.
5848 * gdb.base/arithmet.exp: new file.
5849 * gdb.base/assign.exp: new file.
5850 * gdb.base/completion.exp: new file.
5851 * gdb.base/cond-expr.exp: new file.
5852 * gdb.base/condbreak.exp: new file.
5853 * gdb.base/define.exp: new file.
5854 * gdb.base/dollar.exp: new file.
5855 * gdb.base/environment.exp: new file.
5856 * gdb.base/eval-skip.exp: new file.
5857 * gdb.base/jump.exp: new file.
5858 * gdb.base/logical.exp: new file.
5859 * gdb.base/pointers.exp: new file.
5860 * gdb.base/relational.exp: new file.
5861 * gdb.base/section_command.exp: new file.
5862 * gdb.base/whatis-expr.exp: new file.
5863
5864 * gdb.base/all-types.c: new file.
5865 * gdb.base/call-array-struct.c: new file.
5866 * gdb.base/call-return-struct.c: new file.
5867 * gdb.base/call-strings.c: new file.
5868 * gdb.base/callfuncs2.c: new file.
5869 * gdb.base/condbreak.c: new file.
5870 * gdb.base/constvars.c: new file.
5871 * gdb.base/display.c: new file.
5872 * gdb.base/int-type.c: new file.
5873 * gdb.base/jump.c: new file.
5874 * gdb.base/miscexprs.c: new file.
5875 * gdb.base/pointers.c: new file.
5876 * gdb.base/pointers2.c: new file.
5877 * gdb.base/shmain.c: new file.
5878 * gdb.base/shr1.c: new file.
5879 * gdb.base/shr2.c: new file.
5880 * gdb.base/solib.c: new file.
5881 * gdb.base/solib1.c: new file.
5882 * gdb.base/solib2.c: new file.
5883 * gdb.base/varargs.c: new file.
5884 * gdb.c++/derivation.cc: new file.
5885 * gdb.c++/overload.cc: new file.
5886 * gdb.c++/ovldbreak.cc: new file.
5887 * gdb.hp/attach.c: new file.
5888 * gdb.hp/attach2.c: new file.
5889 * gdb.hp/average.c: new file.
5890 * gdb.hp/compiler.c: new file.
5891 * gdb.hp/compiler.cc: new file.
5892 * gdb.hp/execd-program.c: new file.
5893 * gdb.hp/follow-exec.c: new file.
5894 * gdb.hp/follow-fork.c: new file.
5895 * gdb.hp/follow-vfork-and-exec.c: new file.
5896 * gdb.hp/misc-hp.cc: new file.
5897 * gdb.hp/more-steps.c: new file.
5898 * gdb.hp/optimize.c: new file.
5899 * gdb.hp/quicksort.c: new file.
5900 * gdb.hp/run-hp.c: new file.
5901 * gdb.hp/start-stop.c: new file.
5902 * gdb.hp/sum.c: new file.
5903 * gdb.hp/templates-hp.cc: new file.
5904 * gdb.hp/thread-local-in-lib.c: new file.
5905 * gdb.hp/thread-local-in-lib.h: new file.
5906 * gdb.hp/thread-local-in-lib.lib.c: new file.
5907 * gdb.hp/vforked-program.c: new file.
5908 * gdb.hp/virtfunc-hp.cc: new file.
5909 * gdb.hp/watchpoint-hp.c: new file.
5910 * gdb.hp/xdb.c: new file.
5911 * gdb.hp/xdb0.c: new file.
5912 * gdb.hp/xdb0.h: new file.
5913 * gdb.hp/xdb1.c: new file.
5914
5915Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5916
5917 The following change was made by Edith Epstein
5918 <eepstein@cygnus.com> as part of a project to merge in changes
5919 originally made by HP; HP did not create ChangeLog entries.
5920
5921 * gdb.c++/demangle.exp: changed the expected output for some
5922 ARM-style mangling -- removed second reference to datatype.
5923 For example, maint demangle __dt__11T1__pt__2_cFv
5924 T1<char>::~T1<char>(void)
5925 becomes,
5926 maint demangle __dt__11T1__pt__2_cFv
5927 T1<char>::~T1(void)
5928
5929 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5930
c906108c
SS
5931Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5932
5933 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5934 * gdb.trace/backtrace.exp: Likewise.
5935 * gdb.trace/circ.exp: Likewise.
5936 * gdb.trace/collection.exp: Likewise.
5937 * gdb.trace/deltrace.exp: Likewise.
5938 * gdb.trace/infotrace.exp: Likewise.
5939 * gdb.trace/limits.exp: Likewise.
5940 * gdb.trace/packetlen.exp: Likewise.
5941 * gdb.trace/passc-dyn.exp: Likewise.
5942 * gdb.trace/passcount.exp: Likewise.
5943 * gdb.trace/report.exp: Likewise.
5944 * gdb.trace/save-trace.exp: Likewise.
5945 * gdb.trace/tfind.exp: Likewise.
5946 * gdb.trace/tracecmd.exp: Likewise.
5947 * gdb.trace/while-dyn.exp: Likewise.
5948 * gdb.trace/while-stepping.exp: Likewise.
5949
59501998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5951
5952 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5953
5954Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5955
5956 From Brendan Kehoe:
5957 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5958 int return types.
5959
5960Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5961
5962 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5963 remote dos host testing right.
5964
5965Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5966
5967 * gdb.base/corefile.exp: remove some xfails.
5968
5969Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5970
5971 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5972 have different timestamps.
5973
5974Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5975
5976 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5977 gdb.base/default.exp: Replace "exec" with "executable".
5978
5979Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5980
5981 * gdb.base/default.exp: Change else if to elseif from previous
5982 delta.
5983
5984Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5985
5986 * gdb.base/default.exp: Add brace missing from previous delta.
5987
5988Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5989
5990 * gdb.base/default.exp: Support test for info float for all
5991 varieties of arm toolchain.
5992
dc96c6c7 5993Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5994
5995 * gdb.trace/*.exp: remove "remote_download" command.
5996
dc96c6c7 5997Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5998
5999 * gdb.trace/*.exp: remove -gdwarf from compile.
6000
6001Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6002
6003 * gdb.trace/configure.in(AC_INIT): typo
6004 * gdb.trace/configure: regenerated
6005
dc96c6c7 6006Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6007
6008 * config/m68k-emc.exp: New file.
6009 * lib/<emc-support.exp trace-support.exp}: New files.
6010 * configure.in: add new test directory gdb.trace.
6011 * gdb.trace/{configure configure.in Makefile.in}: New files.
6012 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6013 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6014 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6015 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6016 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6017 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6018 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 6019
dc96c6c7 6020Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6021
6022 * gdb.c++/classes.exp: Change all regular expressions to match
6023 arbitrary combinations of newline/carriage-return, so that they
6024 will work equally well on Unix and Windows.
6025 * gdb.c++/inherit.exp: ditto.
6026 * gdb.c++/virtfunc.exp: ditto.
6027
60281998-08-11 Dawn Perchik <dawn@cygnus.com>
6029
6030 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6031
c2d11a7d
JM
6032Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6033
6034 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6035 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6036 to use a0-a3/d0-d3 as needed.
6037
6038Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6039
6040 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6041 * gdb.disasm/am33.exp: Corresponding changes.
6042
c906108c
SS
60431998-07-11 Felix Lee <flee@cygnus.com>
6044
6045 * gdb.base/callfuncs.exp: add cmp10 test.
6046 * gdb.base/callfuncs.c (cmp10): new function.
6047
6048Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6049
beb998c6 6050 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6051 into two parts to get around a synchronization problem in expect.
6052
3fc11d3e
JM
6053Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6054
6055 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6056
6057 * configure.in: Add options for gdbtk testsuite.
6058
6059 * configure: Regenerate.
6060
6061 * gdb.gdbtk: New directory to hold gdbtk tests.
6062
c906108c
SS
6063Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6064
6065 * gdb.fortran/types.exp: Escape brackets in expect patterns
6066 for test_float_literal_types_accepted tests.
6067 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6068 before run test.
6069
c2d11a7d
JM
6070Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6071
6072 * am33.exp: Just compile, do not link the testcase.
6073 * am33.s: Add ".am33" pseudoop to force am33 mode.
6074
c906108c
SS
60751998-06-25 Felix Lee <flee@cygnus.com>
6076
6077 * gdb.base/setshow.exp: make sure $pc is sane.
6078
6079 * gdb.stabs/weird.exp: split expect patterns properly.
6080
c2d11a7d
JM
6081Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6082
6083 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6084 * gdb.disasm/am33.exp: Run it.
6085
dc96c6c7 6086Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6087
6088 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6089 match processing (and eliminate spurious timeouts when running).
6090
dc96c6c7 6091Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6092
6093 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6094 exception test, but conditionalize it on target [mach | gnu].
6095
dc96c6c7 6096Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6097
6098 * gdb.base/overlays.exp: fixup compile line for linker script.
6099
6100Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6101
6102 * gdb.fortran/types.exp: don't guess at float size.
6103
6104Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6105
6106 * gdb.base/exprs.exp: delete test that depends on int size.
6107
6108Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6109
6110 * config/sim.exp: Removed checks for target triplets.
6111 (gdb_target_sim): Use gdb,target_sim_options.
6112
6113Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6114
6115 * gdb.base/reread.exp: New file.
6116 * gdb.base/reread1.c: New file.
6117 * gdb.base/reread2.c: New file.
6118
6119Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6120
6121 * config/sim.exp: Use 'target sim -sparclite' when running
6122 SPARClite programs.
6123
6124Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6125
6126 * gdb.base/structs2.exp: New file.
6127 * gdb.base/structs2.c: New file.
6128
6129Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6130
6131 * gdb.asm/common.inc: New file.
6132 * gdb.asm/d10v.inc: New file.
6133 * asm-source.exp: Pass -I's to gas to find .inc files.
6134 Update line numbers in expected output.
6135 * asmsrc1.s: Rewrite.
6136 * asmsrc2.s: Rewrite.
6137 * configure.in: Create arch.inc symlink.
6138 * configure: Regenerate.
6139 * Makefile.in (distclean): Delete arch.inc.
6140
6141Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6142
6143 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6144 (t_enum_value2): ditto
6145 (t_enum_value3): ditto
6146 (main): ditto
6147Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6148
6149 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6150 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6151 change.
6152 Use gdb_test instead of send_gdb/gdb_expect sequences.
6153
6154Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6155
6156 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6157 not void.
6158
6159Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6160
6161 * gdb.base/branches.c: Code with lots of loops and
6162 subroutines. Used to test gdbs ability to single step through PC
6163 changes, especially to test mips-tdep.c:mips_next_pc
6164
6165Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6166
6167 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6168 more rigorous EGCS C++ error checking.
6169
6170Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6171
6172 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6173 tests.
c906108c 6174 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6175 function when asleep.
c906108c 6176 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6177 for i*86 Linux and SVR4 signal handling problems.
6178 Remove linux xfail for `next to handler in signals_tests_1', fixed
6179 by recent infrun.c change.
c906108c 6180 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6181 stack backtraces.
c906108c
SS
6182 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6183 target.[ch] change.
6184
6185Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6186
6187 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6188 for a newline from gdb before continuing.
6189 (default_gdb_exit): Just look for y or n.
6190 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6191 it does, fail the rests of the tests in the file.
6192
6193Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6194
6195 * config/cygmon.exp: New file.
6196
6197Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6198
6199 * gdb.base/list.exp: Fix problem with "list default lines around
6200 main" test on remote targets.
6201
6202 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6203 run test on remote targets.
6204
6205Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6206
6207 * gdb.asm: New directory.
6208 * configure.in: Configure it.
6209 * configure: Regenerate.
6210 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6211 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6212
6213Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6214
6215 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6216
dc96c6c7 6217Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6218
c906108c
SS
6219 * gdb.base/overlays (several files): Merge the two overlay
6220 managers into one. Change variables (foox, barx, bazx, grbxx)
6221 back into ints but force them to load in their proper sections.
6222
6223Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6224
6225 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6226 on-chip insn memory and IMAP1 to upper 128k.
6227 (D10VCopy): Handle memory regions crossing 16k boundaries.
6228 (D10VCopy): Transfer data in 32 bit chunks.
6229
6230Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6231
6232 * gdb.base/overlays.c (main): Exit normally when result is
6233 correct.
6234
6235 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6236 map. Include space for printf in .text segment.
6237
6238 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6239 updated d10v memory VMA/LMA map.
6240 (D10VCopy): Call D10VTranslate.
beb998c6 6241
c906108c
SS
6242Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6243
6244 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6245
6246 * gdb.base/bar.c (barx, bar): Change variable to small array so
6247 that it won't be put into the .sdata - small data -
6248 section. Update reference.
6249 * gdb.base/baz.c (bazx, baz): Ditto.
6250 * gdb.base/foo.c (foox, foo): Ditto.
6251 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6252
6253 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6254 to be arrays.
beb998c6 6255
dc96c6c7 6256Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6257
c906108c
SS
6258 * gdb.base/overlays.exp: fix up and get working again.
6259 Add tests for backtraces from an overlay function.
beb998c6 6260
c906108c
SS
6261Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6262
6263 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6264 "calling function with watchpoint enabled".
6265
6266Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6267
6268 * gdb.base/break.exp (test_next_with_recursion): Remove
6269 gdb_suppress_tests for d10v-*-*.
6270 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6271 pending review of whether it is useful or not.
6272
6273Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6274
6275 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6276
6277Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6278
6279 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6280 * config/dve.exp: New file to support Densan boards.
6281
6282Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6283
6284 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6285 reads and BSD.
6286
6287Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6288
6289 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6290 response.
6291
6292 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6293
6294Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6295
6296 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6297 test.
6298
6299 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6300 target_sizeof_long and target_bigendian_p.
6301 (structs_by_value, structs_by_reference): Check values according
6302 to targets word size and endianess.
beb998c6 6303
c906108c
SS
6304Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6305
6306 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6307 output.
6308
6309Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6310
6311 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6312 Update test of set args help to match source change.
6313
6314Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6315
6316 * gdb.base/default.exp: Expect help system output to be in
6317 alphabetical order.
6318 * gdb.base/help.exp: Ditto.
6319
6320Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6321
6322 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6323 "i*86-pc-linux-gnu*".
6324 * gdb.base/interrupt.exp: Ditto.
6325 * gdb.base/corefile.exp: Ditto.
6326
6327 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6328 define vxworks when building the testcase.
6329
6330 * gdb.base/ptype.exp: Fix testnames to be unique.
6331 * gdb.base/radix.exp: Ditto.
6332 * gdb.base/term.exp: Ditto.
6333 * gdb.base/whatis.exp: Ditto.
6334 * gdb.c++/classes.exp: Ditto.
6335
6336Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6337
6338 * gdb.base/callfuncs.exp: Fix indentation.
6339
6340 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6341 suppress_flag has been set.
6342 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6343 target feature.
6344
6345Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6346
6347 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6348 the testcase.
6349
6350 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6351 set_debug_traps() and breakpoint().
6352 * gdb.c++/misc.cc (main): Ditto.
6353 * gdb.c++/templates.cc (main): Ditto.
6354 * gdb.c++/virtfunc.cc (main): Ditto.
6355
6356Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6357
6358 * lib/gdb.exp(gdb_step_for_stub): New function.
6359 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6360 exists, reload the executable and do a "continue" instead of
6361 doing a jump.
6362 (runto_main): Use gdb_step_for_stub.
beb998c6 6363
c906108c
SS
6364 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6365 tests to have unique names.
6366 * gdb.base/callfuncs.exp: Ditto.
6367 * gdb.base/commands.exp: Ditto.
6368 * gdb.base/default.exp: Ditto.
6369 * gdb.base/help.exp: Ditto.
6370 * gdb.base/list.exp: Ditto.
6371 * gdb.base/opaque.exp: Ditto.
6372 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6373 similar tests.
beb998c6 6374
c906108c
SS
6375 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6376 * gdb.c++/cplusfuncs.cc: Ditto.
6377 * gdb.c++/virtfunc.cc: Ditto.
6378
6379 * config/monitor.exp: Keep track of the last file we saw, rather
6380 than trying to get the info from gdb.
6381
6382 * gdb.fortran/types.exp: Move comment to previous line.
6383
6384Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6385
6386 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6387 target mode.
6388
6389Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6390
6391 From Bob Manson:
6392 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6393 string from GDB when it connects.
6394
6395 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6396
6397Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6398
6399 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6400 if we can't get a debug format from GDB (we may be testing an
6401 older GDB). Use a 10 second timeout when checking for the format.
6402
6403 * gdb.stabs/weird.exp: Fix quoting.
6404
6405 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6406
6407Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6408
6409 * config/arm-ice.exp: New file.
6410
6411Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6412
6413 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6414 until it has been modified to work with the new testsuite.
6415
99707966 6416 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6417 testcase won't compile, cause all of the testcases in the file to
6418 fail instead.
6419
6420 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6421 (gdb_clear_suppressed): New procedure.
6422 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6423 it contains a positive value.
6424
6425Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6426
6427 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6428
6429 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6430
6431Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6432
6433 * lib/gdb.exp (setup_xfail_format): New function.
6434 (get_debug_format): New function to get debug format.
6435 (debug_format): New global variable to hold last value set
6436 by get_debug_format.
6437 * gdb.base/list.exp: Call get_debug_format and expect some
6438 tests to fail for DWARF 1 and COFF formats.
6439 * gdb.c++/ptype.exp: Ditto.
6440 * gdb.c++/classes.exp: Ditto.
6441 * gdb.c++/cplusfuncs.exp: Ditto.
6442 * gdb.c++/inherit.exp: Ditto.
6443 * gdb.c++/templates.exp: Ditto.
6444 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6445
c906108c
SS
6446Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6447
6448 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6449 host doesn't have a currently-open connection.
6450
6451 * config/sparclet.exp: Cleanups and fixes to make it generic for
6452 any gdb stub target. Handle cases where gdb doesn't respond when
6453 interrupted in a sane fashion.
6454
6455 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6456 same thing in a totally different way.
6457
6458 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6459 setting "timeout".
6460 (gdb_start): We set the global gdb_prompt variable in
6461 default_gdb_init now.
6462
6463Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6464
6465 * gdb.base/printcmds.exp: Fix "check for floating addition"
6466 regexp to accept results within approx +/- .01 of exact value.
6467 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6468
6469Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6470
6471 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6472 properly.
6473 (gdb_expect): Add optional timeout parameter, and add timeout
6474 value to various calls.
6475 (gdb_suppress_tests): Only give one warning message per group.
6476
6477Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6478
6479 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6480 global variables. Handle getting a value for $timeout more
6481 gracefully.
6482
6483Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6484
6485 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6486 initialize.
6487 (default_gdb_init): New procedure; allow gdb_init to be overridden
6488 by a target configuration file.
6489 (gdb_expect): Pass the timeout to remote_expect.
6490
6491 * config/monitor.exp(gdb_load): Fix typo in regexp.
6492
6493Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6494
6495 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6496
6497Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6498
6499 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6500 here. Call gdb_target_exec before rebooting the target, to make
6501 sure the connection to the target is closed.
6502 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6503 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6504 Also detect "Timeout reading from remote" error.
6505
6506 * config/gdbserver.exp: Pass the executable being loaded to
6507 gdb_target_monitor. Don't call gdb_file_cmd here; let
6508 gdb_target_monitor do it.
6509
6510 * gdb.disasm/hppa.exp: Don't use exec_output.
6511
6512Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6513
6514 * gdb.base/list.exp: If we're debugging a non-native target,
6515 try to set the pc register to point to the start of the
6516 program before doing the first list command.
6517
6518 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6519 test_calls after restarting.
6520
6521 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6522 reloading.
6523
6524 * gdb.base/watchpoint.exp: Fix typo.
6525
6526 * gdb.base/setshow.exp: Check for use_gdb_stub.
6527
6528 * gdb.base/break.exp: Fix continue until exit test for the gdb
6529 stub case.
6530 * gdb.base/langs.exp: Ditto.
6531
6532 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6533 gdb_load_offset. If we weren't given a file to load, figure out
6534 what the current file is and use it.
6535
6536 * config/i386-bozo.exp: New file.
6537
6538Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6539
6540 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6541 feature.
6542
6543 * config/proelf.exp: New entry.
6544
6545Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6546
6547 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6548 of regexps.
6549
6550 * gdb.base/watchpoint.exp: Don't run the test_stepping
6551 tests if gdb can't call functions on the target.
6552
6553 * gdb.base/setshow.exp: Don't run the set prompt tests if
6554 the board has gdb_prompt set.
6555
6556Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6557
6558 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6559 * gdb.base/commands.exp: Likewise.
6560 * gdb.base/setshow.exp: Likewise.
6561
6562Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6563
6564 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6565 feature.
6566
6567 * config/i960.exp: New file.
6568
6569Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6570
6571 * gdb.base/funcargs.exp: Check for gdb,short_int target
6572 feature instead of looking for explicit target triplets.
6573
dc96c6c7 6574Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6575
beb998c6 6576 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6577 "p 123DEADBEEF", to check parse_number.
6578 * top.c: change "to enable to enable" to "to enable" in a couple
6579 of help strings.
6580
6581Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6582
6583 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6584 on the mn10300.
beb998c6 6585
c906108c
SS
6586Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6587
6588 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6589 where the test executable is run with explicit args.
6590 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6591
6592Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6593
6594 * gdb.base/run.c: Use FAKEARGV to build test executable that
6595 does not require a command line arg, since most simulators
6596 don't currently support passing such an arg into the simulated
6597 program.
6598 * gdb.base/commands.exp: Change tests to insert the proper
6599 value as the arg to the first recursive factorial call. Change
6600 compilation line to define FAKEARGV at compile time.
6601
6602Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6603
6604 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6605 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6606 function with watchpoint enabled" test.
6607
6608Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6609
6610 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6611 Don't call gdb_test when the command doesn't return to a gdb prompt.
6612
6613 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6614 "Tests restarted" messages.
6615
6616Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6617
6618 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6619
dc96c6c7 6620Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6621
6622 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6623 for INFO SYMBOL; add help tests for OVERLAY commands.
6624 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6625 add tests for OVERLAY commands
6626 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6627 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6628 * gdb.base/sigall.c: add usestubs code frag
6629 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6630
c906108c
SS
6631Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6632
6633 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6634 failures.
6635 (gdb_stop_suppressing_tests): Note that tests have restarted.
6636
6637Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6638
6639 * config/h8300.exp: New file.
6640
6641Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6642
6643 * gdb.base/setshow.exp: Check for the existence of a
6644 feature, not its value.
6645
6646Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6647
6648 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6649
6650 * gdb.base/scope.exp: It's now init0(), not init().
6651
6652 * gdb.base/scope0.c: For now, change init() to be init0().
6653
6654 * config/monitor.exp: Use gdb_serial in preference to serial
6655 or netport.
6656
6657 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6658 and it's not already set.
6659
6660Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6661
6662 * gdb.base/setshow.exp: Only test the run command if the target
6663 isn't using a stub and if it supports argument passing.
6664
6665Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6666
6667 * config/udi.exp(gdb_start): Make sure UDICONF is set
6668 properly before starting gdb.
6669
6670Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6671
6672 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6673 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6674 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6675
6676Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6677
6678 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6679 specialized code to reboot the board, use remote_reboot instead.
6680
6681 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6682
6683 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6684
6685 * config/monitor.exp: Make sure we disconnect from the target.
6686 Also, try a reboot/reload cycle instead of failing if the
6687 load fails.
6688
6689Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6690
6691 * gdb.base/default.exp: Don't set match_max.
6692 * gdb.base/help.exp: Ditto.
6693 * gdb.base/list.exp: Ditto.
6694 * gdb.base/signals.exp: Ditto.
6695
6696 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6697 set, use remote_ld to download the testcase instead of
6698 the GDB loader.
6699
6700Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6701
6702 * config/vr5000.exp: New file.
6703
6704 * config/monitor.exp(gdb_target_monitor): Add pattern for
6705 "Ending remote" to detect errors in connecting.
6706
6707 * gdb.base/setshow.exp: Add .* within auto language test.
6708
6709 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6710 target feature.
6711
6712 * config/monitor.exp(gdb_load): Check for a failure when loading,
6713 and reboot the board if necessary.
6714
6715 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6716 a set of tests. Remove print.* from the patterns being checked.
6717
6718Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6719
6720 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6721 refer to gdb_spawn_id.
6722
6723 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6724 longer used.
6725 * config/sparclet.exp: Ditto.
6726 * config/sparclet-old.exp: Ditto.
6727 * config/slite.exp: Ditto.
6728 * config/sim.exp: Ditto.
6729 * gdb.base/funcargs.exp: Ditto.
6730
6731 * lib/gdb.exp:Remove references to gdb_spawn_id.
6732 (gdb_expect): Move to remote.exp.
6733
6734Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6735
6736 * config/monitor.exp: Detect the "Couldn't establish connection"
6737 message from GDB.
6738
6739Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6740
6741 * gdb.base/bitfields.exp: Use runto instead of explicit
6742 gdb_run_cmd/gdb_expect sequences.
6743
6744 * gdb.base/break.exp(text_next_with_recursion): Add match for
6745 gdb_expect call.
6746
6747 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6748 We also need to handle the "A program is being debugged already"
6749 prompt from gdb. Use gdb_test to set the baud rate.
6750
6751 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6752 to 20000. Really. I mean it.
6753
6754Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6755
6756 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6757 fails. If suppress_flag is set, skip perror message about not
6758 being able to send to GDB.
6759 (send_gdb): If suppress_flag is set, don't try to send commands to
6760 GDB.
6761 (gdb_expect): If suppress_flag is set, always fail immediately.
6762 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6763 (gdb_init): Call gdb_stop_suppressing_tests.
6764 (default_gdb_exit): Ditto.
6765 (default_gdb_start): Ditto.
6766
6767 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6768 gdb_stop_suppressing_tests as appropriate.
6769 * gdb.base/break.exp: Ditto.
6770 * gdb.base/callfuncs.exp: Ditto.
6771 * gdb.base/commands.exp: Ditto.
6772 * gdb.base/exprs.exp: Ditto.
6773 * gdb.base/funcargs.exp: Ditto.
6774 * gdb.base/list.exp: Ditto.
6775 * gdb.base/recurse.exp: Ditto.
6776 * gdb.base/scope.exp: Ditto.
6777 * gdb.base/structs.exp: Ditto.
6778 * gdb.c++/inherit.exp: Ditto.
6779
6780Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6781
6782 * config/vr4300.exp: New file.
6783
99707966
MC
6784 * gdb.*/*.exp: Call gdb_expect instead of expect.
6785
6786 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6787
6788Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6789
6790 * lib/gdb.exp(gdb_init): New function.
6791
6792 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6793 for each individual variable set.
6794
6795 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6796 name.
6797
6798 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6799
6800 * gdb.base/scope.exp: Use gdb_test.
6801
6802 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6803 aborting; the testsuite driver will do that for us (see
6804 gdb_finish). Also, use gdb_test in a few more places.
6805
6806Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6807
6808 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6809
6810Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6811
6812 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6813 and "add_tests" are not at the same address.
6814
6815Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6816
6817 * gdb.base/ptype.exp: Use gdb_test.
6818
6819Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6820
6821 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6822 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6823 left in. No longer expect them to fail.
6824
6825 * gdb.stabs/*.mt; Deleted, no longer used.
6826 * gdb.stabs/configure.in: Remove references to target makefile
6827 frags.
6828 * gdb.stabs/configure: Rebuilt.
6829
6830 * gdb.disasm/*.mt: Deleted, no longer used.
6831 * gdb.disasm/configure.in: Remove references to target makefile
6832 frags. Use "sh3.s" as the unique filename for this directory.
6833 * gdb.disasm/configure: Rebuilt.
6834
6835 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6836 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6837 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6838
6839Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6840
6841 * config/udi.exp: Use mondfe,name instead of remote_host.
6842
6843Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6844
6845 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6846 a function with a watchpoint enabled on the mn10200.
6847
6848 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6849 before trying to create it!
6850
6851Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6852
6853 * config/vx.exp: Use hostname instead of netport.
6854
6855 * config/vxworks.exp: New file.
6856
6857 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6858
6859 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6860 gdb before assuming everything worked. Send a ^C if a timeout
6861 occurs.
6862
6863 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6864 $gdb_spawn_id directly.
6865 (gdb_run_cmd): Try _start as well as start. Use the target feature
6866 gdb,start_symbol as the symbol to start from when jumping.
6867
6868Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6869
6870 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6871 redundant) test.
6872
6873 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6874 it doesn't lose for 16bit integer systems.
6875
6876Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6877
6878 * gdb.fortran/types.exp: If the target doesn't support "double"
6879 data types, then expect "real" types to only be 4 bytes.
6880
6881 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6882 call tests if the target doesn't support inferior function calls.
6883
6884 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6885 in printf tests.
6886
6887Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6888
6889 * gdb.base/help.exp: Disable "help set", "help show", and
6890 "help support". Simplify regexp for "help stack".
6891
6892 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6893 to 60 seconds. Temporarily set match_max to 15000 around the
6894 "info copying" test.
6895
6896 * gdb.base/nodebug.exp: Don't try to do an inferior function
6897 call if the target doesn't support them.
6898 * gdb.base/printcmds.exp: Likewise.
6899 * gdb.base/setvar.exp: Likewise.
6900 * gdb.base/structs.exp: Likewise.
6901 * gdb.c++/templates.exp: Likewise.
6902 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6903
6904 * gdb.base/recurse.exp: Enable for the mn10200.
6905
6906 * configure.in: Do configure gdb.stabs directory for *-*-elf
6907 targets.
6908 * configure: Rebuilt.
6909
6910 * gdb.base/break.exp: Check for gdb,noresults before testing
6911 exit status and/or results from the target.
6912 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6913 * lib/gdb.exp: Remove old (now bogus) initialization of
6914 noinferior, noargs, noresults and nosignals.
6915
6916Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6917
6918 * config/sh.exp: New file.
6919
6920 * config/slite.exp: Try to connect multiple times to the board
6921 before rebooting. Only send a "monitor run" if need_monitor_run
6922 is set.
6923
6924 * gdb.base/break.exp: Don't do the "stub continue" test if
6925 the target has gdb_stub set.
6926
6927 * gdb.base/callfuncs.exp: Increase the timeout.
6928
6929 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6930 if the target has gdb,noinferiorio set.
6931
6932 * gdb.base/list.exp: Increase match_max to 10000 characters.
6933
6934 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6935
6936 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6937 target.
6938
6939 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6940
6941Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6942
6943 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6944 trying to delete the copy of gdb. Catch the file delete so we
6945 don't die if the delete fails; also, the file should be copied to
6946 the host, not to the build.
6947
6948Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6949
6950 * lib/gdb.exp(gdb_test): Surround the result pattern with
6951 parenthesis in case it contains multiple regexps separated
6952 with |.
6953
6954 * gdb.base/watchpoint.exp: Use gdb_test.
6955 * gdb.base/default.exp: Ditto.
6956
6957Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6958
99707966 6959 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6960
c906108c
SS
6961 * gdb.base/scope.exp: Use gdb_test.
6962 * gdb.c++/classes.exp: Ditto.
6963 * gdb.c++/inherit.exp: Ditto.
6964
6965Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6966
6967 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6968 remote_exec instead.
6969 * gdb.base/corefile.exp: Don't be ridiculous.
6970 * gdb.base/*.c: Add missing stub invocations.
6971
6972Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6973
6974 * config/slite.exp: Miscellaneous fixes.
6975
6976 * lib/gdb.exp: Fix runto.
6977
6978 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6979 the target.
6980
6981 * gdb.base/watchpoint.exp: Fix regexp.
6982
6983 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6984 close and wait commands, as the descriptor may now be
6985 invalid. Always call "remote_close host".
6986
6987Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6988
6989 Major rewrite for testsuite revision.
beb998c6 6990
c906108c
SS
6991 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6992 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6993 instead of relying on spawn_id to always contain a valid
6994 spawn id.
6995 (get_compiler_info): New procedure to build the ${binfile}.ci
6996 file, instead of replicating this in N different places.
6997 (gdb_compile): New procedure.
beb998c6 6998
c906108c
SS
6999 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7000 appropriate arguments) instead of compile. Use gdb_test in a lot
7001 more places. Use send_gdb instead of send. Always run gdb_start
7002 at the start of a testcase, as this is no longer done magically.
7003
7004 config/*-gdb.exp: Rename without the -gdb suffix.
7005
7006 config/mips.exp: Use remote_close instead of exit_remote_shell.
7007 config/monitor.exp: Use target_info instead of looking at
7008 baud, timeout, etc.
7009 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7010
7011Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7012
7013 * gdb.c++/templates.exp (test_ptype_of_templates),
7014 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7015 Update expect patterns for destructors and assignment operators
7016 to match corresponding c-typeprint.c changes.
7017 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7018 to destructor breakpoint test, GDB should be able to set the
7019 destructor breakpoint without specifying arguments.
7020
7021Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7022
7023 * gdb.threads/pthreads.exp: Change result for failure to compile due
7024 to lack of pthreads runtime support from an error to simply an
7025 unsupported test, per dejagnu standards.
7026
7027Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7028
7029 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7030 where GDB exits to reduce pattern match time.
7031 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7032
7033 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7034
dc96c6c7 7035Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7036
7037 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7038 * gdb.base/default.exp: ditto.
7039 * gdb.base/nodebug.exp: ditto.
7040 * gdb.base/printcmds.exp: ditto.
7041 * gdb.base/ptype.exp: ditto.
7042 * gdb.base/setvar.exp: ditto.
7043 * gdb.base/structs.exp: ditto.
7044 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7045
7046Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7047
7048 * configure, */configure: Rebuild with autoconf 2.12.
7049
7050Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7051
7052 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7053 use new i*86-pc-linux*-gnu quads.
7054 * gdb.base/corefile.exp: Ditto.
7055 * gdb.base/signals.exp: Ditto.
7056 * gdb.base/sigall.exp: Ditto.
7057 * gdb.base/interrupt.exp: Ditto.
7058
7059 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7060 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7061 RedHat 4.0.
beb998c6 7062
c906108c
SS
7063 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7064 linux. This allows the test case to at least compile on latest
7065 linux, but still not run due to missing the threads runtime library.
7066
7067Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7068
7069 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7070 directory to search gdb directory. Accept and step over conditional
7071 stack alignment code. Consume $prompt in failure cases.
7072 Reset timeout to $oldtimeout instead of some arbitrary value.
7073 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7074 timeout problems with infinite stack backtraces.
7075 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7076 Accept function parameters for linkfunc member.
7077
7078Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7079
7080 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7081 (CXXFLAGS): Remove, unreferenced.
7082 (B_OPTIONS): Add for -B options and add code to initialize with
7083 previous -B options and also add -B option to pick up cross compiled
7084 runtime.
7085 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7086 doing cross compiles.
7087 (target_alias): Declare global.
7088 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7089 to verify that gcc exists in build tree, and if so set CC to that
7090 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7091
c906108c
SS
7092Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7093
7094 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7095 ptype test for anonymous union. Fixup testcase to match
7096 current gcc debug output.
7097
7098Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7099
7100 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7101 force argument to an unsigned long type.
7102
7103Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7104
7105 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7106 tests and anonymous union print/ptype tests.
7107 * gdb.base/list.exp (test_forward-search): Increase timeout by
7108 5 minutes for the "search extremely long line" case.
7109 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7110 completely optional and that the pass/fail messages use the command as
7111 the message if that third arg is a null string.
7112 (gdb_test_exact): Arrange that a null string pattern means match a
7113 null string output rather than any output, which might include random
7114 errors.
7115 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7116 backtrace test.
7117 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7118 always failing and failure is now exposed by gdb.exp changes.
7119
7120Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7121
7122 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7123 weren't being noted.
7124
7125Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7126
7127 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7128 * gdb.stabs/weird.exp: Remove v_comb xfails.
7129
dc96c6c7 7130Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7131
7132 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7133 list.exp scope.exp watchpoint.exp]
7134 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7135
dc96c6c7 7136Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7137
7138 * config/monitor.exp: Increase download timeout to 1000 seconds.
7139
dc96c6c7 7140Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7141
7142 * config/m32r.exp: Increase timeout to 120 seconds.
7143
7144Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7145
7146 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7147 and accept older ordering as obsolescent gcc or gdb.
7148 * gdb.c++/templates.exp: Ditto.
7149 * gdb.c++/virtfunc.exp: Ditto.
7150
7151Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7152
7153 * gdb.base/coremaker.c: Add code to mmap some data so we
7154 can check that it ends up in the core file.
7155 * gdb.base/corefile.exp: Add test to read mmapped data
7156 from core file.
7157
dc96c6c7 7158Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7159
7160 * config/m32r.exp: New file.
7161
7162Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7163
7164 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7165 that cflags can contains -gstabs, and work correctly for other tests.
7166
dc96c6c7 7167Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7168
7169 * gdb.base/setshow.exp: New file, tests show and set.
7170 * gdb.base/setshow.c: New file, tests show and set.
7171 * gdb.base/help.exp: Add test for help set|show annotate.
7172 * gdb.base/default.exp: Add test for set|show annotate.
7173
7174Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7175
7176 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7177 errors unique.
7178 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7179 explicitly.
7180
7181Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7182
7183 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7184 and width commands. This is done elsewhere.
7185 * (gdb_start): Don't call gdb_start_sim here. That's already
7186 done in gdb_load. This fixes lots of failures in default.exp.
7187
7188Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7189
7190 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7191 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7192 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7193 in the same we we treat other failures (since it may be an expected
7194 condition), rather than as an error.
7195 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7196 old test format.
7197
7198Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7199
7200 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7201 (distclean maintainer-clean realclean): No need to remove files
7202 twice. Nuke the duplicates.
7203 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7204 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7205 Remove config.h along with other config files.
7206
7207Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7208
7209 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7210 "p func1 ()" and note that rests of tests are skipped.
7211 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7212 setup_xfails for "print func2::coremaker_local".
7213 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7214 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7215 affected by the previous run test.
7216 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7217 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7218 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7219 "pass int powerset tuple" and "pass modeless int powerset tuple".
7220 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7221 "real write 4" and "real write 8".
7222 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7223 setup_xfails for "print vs1 after tuple assign 2",
7224 "print \$i after tuple assign 2", and
7225 "print vs2 after tuple assign 2".
7226 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7227 meaningful error message and return -1 so the caller can
7228 suppress further tests and avoid a cascade of errors.
beb998c6 7229
c906108c
SS
7230Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7231
7232 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7233 format for printing version.
7234 * gdb.base/default.exp: Ditto.
7235 * gdb.base/interrupt.exp: Fix problem with cascade of
7236 errors if child process dies while calling a function.
beb998c6 7237
c906108c
SS
7238Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7239
7240 * Makefile.in (VPATH): Add
7241 * Makefile.in (Makefile, config.status): Fix rules so things get
7242 remade when necessary.
7243
7244Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7245
7246 * Makefile.in (just-check): Add path to sibling expect dir
7247 to environment variable specified by RPATH_ENVVAR.
7248
7249Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7250
7251 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7252 (just-check): Add shared library paths for libstdc++, tk,
7253 tcl, bfd, and opcodes to the environment variable specified
7254 in RPATH_ENVVAR.
7255 * configure.in: Add support to recognize --enable-shared flag
7256 and generate correct value for RPATH_ENVVAR.
7257 * configure: Regenerated with autoconf.
7258
7259Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7260
7261 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7262 include all osf versions.
7263 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7264 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7265 when target is linux. When failing to build pthreads test
7266 executable, give more meaningful message.
7267 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7268 arg for pthread_create.
beb998c6 7269
c906108c
SS
7270Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7271
7272 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7273 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7274 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7275 and -lpthreads (everybody else).
7276 (test_startup): Fail gracefully if threads are not supported.
7277 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7278 "p/c array_index("abcdef",2)" when not gcc compiled.
7279 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7280 "print func2::coremaker_local" when not gcc compiled.
7281 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7282 "ptype on opaque struct tagname (statically)",
7283 "ptype on opaque struct tagname (dynamically) 1", and
7284 "ptype on opaque struct tagname (dynamically) 2"
7285 for not compiled with gcc.
7286 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7287 backtrace when compiled with gcc.
beb998c6 7288 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7289 than always return success.
7290
7291Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7292
7293 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7294
7295Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7296
7297 * gdb.base/structs.exp: Undo last change.
7298
7299Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7300
7301 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7302 encapsulate all the steps/nexts done during self test, starting
7303 at main, and makes them less sensitive to optimization issues.
7304 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7305 signal handler" test.
7306 * gdb.threads/pthreads.exp: Only run this for native configs.
7307 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7308 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7309 tests.
7310 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7311 for "runto test_calls(void)" test.
beb998c6 7312
c906108c
SS
7313Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7314
7315 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7316 and don't expect address info in breakpoint confirmations.
7317
7318Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7319
7320 * gdb.base/list.exp (test_forward_search): Increase timeout
7321 temporarily by 60 seconds for searching extremely long line,
7322 and then reset to old value when done. Increase expect input
7323 buffer to 10000.
7324
7325Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7326
7327 * gdb.base/list.exp (test_forward_search): Fix to handle very
7328 long source line without overflowing expect's input buffer.
7329
7330Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7331
7332 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7333 "buffer_full".
7334
7335 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7336 "buffer_full".
7337
7338 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7339 "buffer_full".
7340
7341 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7342 "buffer_full".
7343
7344Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7345
7346 * configure.in (configdirs): Add gdb.threads.
7347 * configure: Regenerated with autoconf.
7348 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7349 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7350 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7351
c906108c
SS
7352Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7353
7354 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7355
7356Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7357
7358 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7359 each signal's status in the output of "handle all print".
7360 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7361 the \r\n sequence that immediately precedes the gdb prompt.
7362 * gdb.base/a1-selftest.exp: Save original timeout and restore
7363 after test.
7364
7365Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7366
7367 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7368 symbol.
7369
7370Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7371
7372 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7373
7374Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7375
7376 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7377 timeout by 60 seconds.
7378
7379Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7380
7381 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7382 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7383 error return.
7384
7385Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7386
7387 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7388 gdb initialization, also report how long dejagnu waited. Restore
7389 old timeout before doing error return. Temporarily increase timeout
7390 by 3 minutes to allow for slow startups over heavy NFS use.
7391
7392Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7393
7394 * lib/gdb.exp: Report timeout value for verbosity level 2.
7395 * config/gdbserver.exp: Ditto.
7396 * config/hppro.exp: Ditto.
7397 * config/mips-gdb.exp: Ditto.
7398 * config/monitor.exp: Ditto.
7399 * config/netware.exp: Ditto.
7400 * config/sim-gdb.exp: Ditto.
7401 * config/slite-gdb.exp: Ditto.
7402 * config/udi-gdb.exp: Ditto.
7403 * config/unix-gdb.exp: Ditto.
7404 * config/vx-gdb.exp: Ditto.
7405 * gdb.base/a1-selftest.exp: Ditto.
7406 * gdb.base/a2-run.exp: Ditto.
7407 * gdb.base/break.exp: Ditto.
7408 * gdb.base/corefile.exp: Ditto.
7409 * gdb.base/list.exp: Ditto.
7410 * gdb.base/recurse.exp: Ditto.
7411 * gdb.base/scope.exp: Ditto.
7412 * gdb.base/signals.exp: Ditto.
7413
7414Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7415
7416 * gdb.threads/Makefile.in (docdir): Removed.
7417
7418Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7419
7420 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7421 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7422 @srcdir@.
beb998c6 7423 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7424 autoconf 2.5 or higher.
7425 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7426
7427Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7428
7429 * configure: Regenerated.
7430 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7431 avoid name clashes with SunOS headers.
7432
7433Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7434
7435 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7436
7437Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7438
7439 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7440 prototype information ends up in the compiler info file.
7441
7442Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7443
7444 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7445 attempting to regenerate it. Eliminate use of a temporary file
7446 and just generate the info file directly. Source it immediately,
7447 for consistency of use.
7448 * gdb.base/corefile.exp: Ditto
7449 * gdb.base/exprs.exp: Ditto.
7450 * gdb.base/funcargs.exp: Ditto.
7451 * gdb.base/langs.exp: Ditto.
7452 * gdb.base/list.exp: Ditto.
7453 * gdb.base/mips_pro.exp: Ditto.
7454 * gdb.base/nodebug.exp: Ditto.
7455 * gdb.base/opaque.exp: Ditto.
7456 * gdb.base/ptype.exp: Ditto.
7457 * gdb.base/scope.exp: Ditto.
7458 * gdb.base/setvar.exp: Ditto.
7459 * gdb.base/signals.exp: Ditto.
7460 * gdb.base/whatis.exp: Ditto.
7461 * gdb.c++/templates.exp: Ditto.
7462 * gdb.c++/virtfunc.exp: Ditto.
7463 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7464 whether or not to add -lstdc++ to the compile command line args.
7465
7466Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7467
7468 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7469 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7470 Increase timeout, a lot of single stepping might be needed if the
7471 target has no hardware watchpoints.
7472
7473Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7474
7475 * gdb.base/break.exp: Ignore compiler warnings when compiling
7476 break.c.
7477 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7478 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7479 from remote-sim.
7480 * gdb.base/exprs.exp: Add h8300 xfails.
7481 * gdb.base/funcargs.exp: Likewise.
7482 * gdb.base/nodebug.exp: Likewise.
7483 * gdb.base/printcmds.exp: Likewise.
7484 * gdb.base/ptype.exp: Likewise.
7485 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7486 h8300 xfails.
beb998c6 7487 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7488 on the h8300.
7489 * gdb.base/funcargs.c: Explicitly make last constant argument to
7490 call_after_alloca_subr an unsigned long type.
7491 * gdb.base/return.c: Include stdio.h.
7492
7493Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7494
7495 * config/abug.exp: New file for the older Motorola Bug monitor
7496 that runs on the mvme13x series VME boards.
7497 * config/monitor.exp: Use the new config array for target settings
7498 if they exist.
7499
7500Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7501
7502 * sim-gdb.exp: Make the SH simulator allocate less space when
7503 it is targeted.
7504
7505Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7506
7507 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7508 test.
7509
7510Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7511
7512 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7513 "rs6000-*-*" for "list function in include file" when gcc compiled.
7514 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7515 for "p ctable1[120]".
7516 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7517 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7518 Remove setup_xfail for "rs6000-*-*" for
7519 "print 'scope0.c'::filelocal before run".
7520 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7521 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7522 since some compilers don't allow both options to be given
7523 on the same command line. Create object file and move it.
beb998c6 7524
c906108c
SS
7525Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7526
7527 * gdb.base/corefile.exp: Always regenerate the core file, since
7528 we always regenerate the coremaker program. Detect special case
7529 where registers cannot be read from core file.
beb998c6 7530
c906108c
SS
7531Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7532
7533 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7534 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7535 * gdb.c++/templates.exp: Only match on basename of file since
7536 some formats like xcoff don't encode directory information.
7537 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7538 and rs6000 AIX xcoff targets.
7539 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7540 * configure: Regenerate.
7541 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7542 here, rather than in distclean.
beb998c6 7543
c906108c
SS
7544Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7545
7546 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7547 defined, and use it to compile the test case with -O2. The
7548 native compilation still uses no optimization.
7549 * gdb.base/mips_pro.c: Remove inline assembly code since
7550 it is compiled PIC by default, which results in assembler
7551 warnings that make the testsuite think the compilation
7552 was unsuccessful.
7553
7554Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7555
7556 * gdb.c++/misc.exp: Add note to message for
7557 "print s.a for foo struct" that this is a known gcc 2.7.2
7558 and earlier bug.
7559
7560Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7561
7562 * gdb.base/break.exp: Fix pattern for matching "Delete all
7563 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7564 setup_xfail for deleting all breakpoints test. Fix various
7565 timeout messages to include "(timeout)".
7566 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7567 for "p t_float_values2(3.14159,float_val2)".
7568 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7569 for "continue to call2g" when gcc compiled.
7570 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7571 "up to foo in langs.exp", "show language at foo in langs.exp",
7572 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7573 and "show language at fsub in langs.exp".
7574 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7575 "list line 1 in include file", "list message for lines past EOF",
7576 "list function in include file", "list list0.h:foo", and
7577 "list filename:function; nonexistant function".
7578 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7579 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7580 and "ptype t_char_array" to be for native cc only.
beb998c6 7581
c906108c
SS
7582Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7583
beb998c6 7584 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7585 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7586 "print func2::coremaker_local", and "backtrace in corefile.exp".
7587
7588Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7589
7590 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7591 "bt in signals.exp". This problem only appears when running
7592 the testsuite, and then only intermittently.
7593
7594Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7595
7596 * gdb.base/return.exp (return_tests): Differentiate between
7597 two tests of continuing.
7598
7599Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7600
7601 * */Makefile.in (maintainer-clean): Remove config.log.
7602 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7603 * gdb.c++/Makefile.in (PROGS): Add inherit.
7604 (clean): Remove *.ci.
7605
7606Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7607
7608 * gdb.c++/misc.cc: Add test code from Mike Stump.
7609 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7610
7611Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7612
7613 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7614 to "alpha-*-osf2*" and add comment.
7615 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7616 setup_xfail for "step over execarg initialization" and
7617 "step over corearg initialization".
7618 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7619 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7620 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7621 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7622 "print func2::coremaker_local", and "backtrace in corefile.exp".
7623 * gdb.base/signals.exp: Build and source signals.ci.
7624 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7625 to be for gcc only.
7626 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7627
c906108c
SS
7628Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7629
7630 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7631 Feb 3 procfs.c change.
7632
7633Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7634
7635 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7636
7637Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7638
7639 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7640 from dejagnu's apparent default of 10 seconds, which gives random
7641 results when running the tests over NFS on moderately loaded systems.
7642 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7643
7644Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7645
7646 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7647 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7648 result reports.
7649
7650Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7651
7652 * configure.in (CY_AC_PATH_TCLH): Remove.
7653 * configure: Regenerate.
7654
7655Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7656
7657 * gdb.c++/Makefile.in (clean): Add missing '{'.
7658
7659Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7660
7661 * lib/gdb.exp: Provide a default value for noinferior.
7662
7663 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7664 Load libgloss.exp.
7665
7666Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7667
7668 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7669 the executable, not the .o to run the tests from.
7670
7671Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7672
7673 * gdb.base/break.exp: Don't test for program exit or exit status
7674 if $noresults if nonzero.
7675 * gdb.base/langs.exp: Likewise.
7676 * gdb.base/watchpoint.exp: Likewise.
7677
7678 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7679 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7680 trying to compile the testcase.
7681
7682Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7683
7684 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7685 * gdb.base/signals.exp (continue to handler): Likewise.
7686
7687Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7688
7689 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7690
7691 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7692
7693Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7694
7695 * gdb.base/corefile.exp: Recognize "not found" as failure
7696 when trying to determine if a core file was generated.
7697 If no core file was generate the first time, try again without
7698 the ulimit -c to work around braindamaged shells.
7699
7700Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7701
7702 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7703 [] tests with "test" and enclose string in quotes.
7704 * gdb.stabs/configure: Rebuild
beb998c6 7705
c906108c
SS
7706Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7707
7708 Changes in sync with expect:
7709 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7710 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7711 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7712 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7713 argument to AC_REQUIRE.
7714 * configure: Regenerated.
7715
7716Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7717
7718 * gdb.base/corefile.exp: When generating a core, discard any
7719 error messages about ulimit not found and the "core dumped"
7720 message from the shell that runs the coredumper.
7721
7722Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7723
7724 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7725
7726 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7727 which sed script to run. Expect failure for v_comb test
7728 on PA targets too.
beb998c6 7729
c906108c
SS
7730Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7731
7732 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7733 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7734
7735Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7736
7737 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7738 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7739 "sparc-sun-solaris*" xfails for "p v_comb".
7740 * lib/gdb.exp (default_gdb_start): Fix typo.
7741 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7742 messages to not include the full program name that caused
7743 the core dump since some systems (such as solaris) apparently
7744 truncate this path to about 80 characters.
7745 When generating a core file first try increasing the core file
7746 size limit to unlimited since some systems may default it to
7747 zero, and it is harmless to try it. Move the test for failing
7748 to generate a core file to where it will actually get executed.
7749 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7750 new gdb result from g++ debug info improvements and make old
7751 pattern obsolescent. Also account for size_t differences
7752 (may be int or long).
7753 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7754 initialization before function call is placed in the delay slot
7755 and thus appears to be skipped over by commands such as "next".
7756
7757Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7758
7759 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7760
7761Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7762
7763 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7764 input source file; fix code to compile test to deal with this
7765 convention.
7766 * gdb.c++/*.exp: Likewise.
7767
7768Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7769
7770 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7771 "bt in signals.exp".
7772
7773Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7774
7775 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7776 "step over execarg initialization" and
7777 "step over corearg initialization".
7778
7779Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7780
7781 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7782 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7783
7784Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7785
7786 From Rob Savoye (rob@poseidon.cygnus.com)
7787 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7788 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7789 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7790 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7791 configure.in}: Major reworking for autoconfig.
7792 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7793 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7794 New files.
7795 * config/unix-gdb.exp: Make GDB global.
7796 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7797 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7798 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7799 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7800 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7801 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7802 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7803 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7804 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7805 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7806 pr-8136.exp, result.exp, string.exp, tuples.exp},
7807 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7808 to returns as necessary, arrange for test to compile own testcase
7809 executable.
7810 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7811
c906108c
SS
7812Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7813
7814 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7815 clear_xfail at end of test which might not call either pass or fail.
7816 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7817 "backtrace through signal handler".
7818
7819Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7820
7821 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7822 continuing from a job control stop signal.
7823 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7824
7825Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7826
7827 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7828 * gdb.base/corefile.exp: Likewise.
7829 * gdb.base/funcargs.exp: Likewise.
7830
7831Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7832
7833 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7834 * config/monitor.exp: Add support for setting baud rate.
7835
7836Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7837
7838 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7839 i*86-*-linux* xfails for "backtrace through signal handler".
7840 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7841 "print func2::coremaker_local".
7842 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7843 alpha-dec-osf2* xfail for
7844 "delete all breakpoints when none".
7845
7846Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7847
7848 * gdb.base/break.exp: Change test that deletes all breakpoints
7849 when no user breakpoints are installed. A post 4.15 change
7850 causes gdb to no longer prompt in this case.
7851
7852Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7853
7854 * gdb.base/return.exp (return_tests): Change xfail for test
7855 "correct value returned double test" to stop xfailing at
7856 Solaris 2.5. Apparently the bug has been fixed.
7857
7858Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7859
7860 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7861 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7862
7863Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7864
7865 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7866 * gdb.disasm/hppa.s: Corresponding changes.
7867
7868Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7869
7870 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7871 makefile fragment.
7872 * config/mt-hpux: Deleted.
7873
7874Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7875
beb998c6 7876 * Many files: When warning about suppressed tests due to a
c906108c
SS
7877 nonexistant test binary, avoid incrementing the warning count.
7878
7879Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7880
7881 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7882
c906108c
SS
7883Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7884
7885 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7886 "sparc-*-solaris2*".
7887
7888Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7889
7890 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7891 Add global and local variables and initialize them.
7892 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7893 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7894 extracts the file name and terminating signal from the core file.
7895 * TODO: Remove note about tests for correct mapping of corefile.
7896 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7897 from optimizing it away.
7898 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7899 handles common blocks.
7900
7901Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7902
7903 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7904 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7905
7906Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7907
7908 * Makefile.in (maintainer-clean): New target, synonym for
7909 realclean.
7910 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7911 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7912 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7913 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7914 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7915 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7916
7917Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7918
7919 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7920 xfails when not gcc compiled for "print foo::funclocal".
7921 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7922 "print foo::funclocal at foo",
7923 "print 'scope1.c'::foo::funclocal at foo",
7924 "print foo::funclocal_bss at foo",
7925 "print 'scope1.c'::foo::funclocal_bss at foo",
7926 "print foo::funclocal_ro at foo",
7927 "print 'scope1.c'::foo::funclocal_ro at foo",
7928 "print bar::funclocal at foo" and
7929 "print 'scope1.c'::bar::funclocal at foo".
7930 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7931 gcc compiled for "print foo::funclocal at bar".
7932 Expand all messages to ensure that they identify that
7933 the test is at bar().
7934 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7935 gcc compiled for:
7936 "ptype on opaque struct pointer (statically)",
7937 "ptype on opaque struct tagname (statically)",
7938 "ptype on opaque struct pointer (dynamically) 1",
7939 "ptype on opaque struct tagname (dynamically) 1",
7940 "ptype on opaque struct pointer (dynamically) 2" and
7941 "ptype on opaque struct tagname (dynamically) 2
7942 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7943 gcc compiled for:
7944 "p datalocal"
7945 "whatis datalocal",
7946 "ptype datalocal",
7947 "p bsslocal",
7948 "whatis bsslocal", and
7949 "ptype bsslocal".
7950 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7951 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7952 when not gcc compiled.
7953 * gdb.base/funcargs.exp (float_and_integral_args): Add
7954 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7955 compiled.
7956 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7957 "backtrace from call6a" when not gcc compiled.
7958 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7959 "backtrace from call7a" when not gcc compiled.
7960 * gdb.base/callfuncs.exp (do_function_calls):
7961 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7962 "p t_char_array_values(char_array_val2,char_array_val1)",
7963 "p t_char_array_values(char_array_val1,char_array_val2)",
7964 "p t_char_array_values("carray 1","carray 2")",
7965 "p t_char_array_values("carray 1",char_array_val2)",
7966 "p t_char_array_values(char_array_val1,"carray 2")",
7967 "p sum_args(1,{2})",
7968 "p sum_args(2,{2,3})",
7969 "p sum_args(3,{2,3,4})",
7970 "p sum_args(4,{2,3,4,5})"
7971 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7972 "backtrace in corefile.exp" when not gcc compiled.
7973
7974Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7975
7976 * gdb.base/signals.exp: Rewrite `handle all print' test as
7977 a procedure. Accept blanks or TABs as whitespace, increase
7978 timeout and expect input buffer size for the large output
7979 from the command. Remove "i*86-*-bsdi2.0" xfail.
7980
7981Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7982
7983 * gdb.base/setvar.exp: Add new testcases for truncation when
7984 assigning invalid values to bitfields.
7985
7986Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7987
beb998c6 7988 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7989 mips-sgi-irix* xfail for
7990 "call inferior func with struct - returns char *"
7991 and fix test so that an optional (unsigned char *) cast is
7992 accepted in the result.
7993
7994Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7995
7996 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7997 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7998 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7999 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8000 that accidentally got checked in.
8001
8002Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8003
beb998c6 8004 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8005 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8006 compiled test.
8007 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8008 Add mips-sgi-irix5* xfail for not gcc compiled.
8009 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8010 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8011 "p top", "whatis top", "p middle", and "whatis middle".
8012 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8013 "whatis signed char" for not gcc compiled.
8014 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8015 "set variable signed char=-1 (-1)" and
8016 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8017 * gdb.base/funcargs.exp (float_and_integral_args):
8018 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8019 Add mips-sgi-irix* xfail when not gcc compiled for
8020 "continue to call2b".
8021 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8022 "continue to call2g".
8023 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8024 "backtrace from call6a"
8025 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8026 "backtrace from call7k".
8027 Add mips-sgi-irix5* xfail when not gcc compiled for
8028 "backtrace from call7a".
8029 (localvars_after_alloca): Fix gdb_test cmds for
8030 "print * after runto ...".
8031 Remove rs6000-*-* xfails for
8032 "print i after runto localvars_after_alloca" and
8033 "print l after runto localvars_after_alloca"
8034 for all compilers.
8035 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8036 when not compiled with gcc, for:
8037 "print signed char == (minus)",
8038 "print signed char != (minus)",
8039 "print signed char < (minus)",
8040 "print signed char > (minus)".
8041 * gdb.base/callfuncs.exp (do_function_calls):
8042 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8043 "call inferior func with struct - returns char *".
beb998c6 8044 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8045 "correct value returned double test" to include Solaris 2.4.
8046 * gdb.base/funcargs.exp (float_and_integral_args):
8047 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 8048
c906108c
SS
8049Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8050
8051 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8052 enumeration bitfields if compiling with GNU C.
8053 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8054 to empty' prompt.
8055
8056Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8057
8058 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8059 test for PRO targets.
8060
8061 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8062 breakpoints in the inferior at any given time by making
8063 two groups of breakpoints for call2*, call6* and call7*
8064 tests.
8065
8066Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8067
8068 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8069 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8070 from optimizing it away.
8071 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8072 "call inferior func with struct".
8073
8074Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8075
8076 * configure.in: Only configure gdb.chill for particular targets.
8077
8078Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8079
8080 * gdb.base/Makefile.in: Add action to .c.o transformation
8081 rule that generates a .ci file for each .o file and remove
8082 explicit .c.o rules except for callfuncs.o.
8083 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8084 generates a .ci file for each .o file and remove explicit
8085 .cc.o rules.
8086 (clean): Remove *.tmp *.ci files.
8087 (EXECUTABLES): Remove templ-info.exp.
8088 * gdb.base/compiler.c: New file.
8089 * gdb.c++/compiler.cc: New file
8090 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8091 Change rs6000-*-* xfail for
8092 "print 'scope0.c'::filelocal_ro" and
8093 "print 'scope1.c'::filelocal" and
8094 "print 'scope1.c'::filelocal_bss" and
8095 "print 'scope1.c'::filelocal_ro" and
8096 "print 'scope1.c'::foo::funclocal" and
8097 "print 'scope1.c'::foo::funclocal_ro" and
8098 "print 'scope1.c'::bar::funclocal" and
8099 "print 'scope0.c'::filelocal_ro" and
8100 "print 'scope1.c'::filelocal at foo" and
8101 "print 'scope1.c'::filelocal_bss at foo" and
8102 "print 'scope1.c'::filelocal_ro at foo" and
8103 "print 'scope1.c'::foo::funclocal at foo" and
8104 "print 'scope1.c'::foo::funclocal_bss at foo" and
8105 "print 'scope1.c'::foo::funclocal_ro at foo" and
8106 "print 'scope1.c'::bar::funclocal at foo" and
8107 "print 'scope0.c'::filelocal_ro" and
8108 "print 'scope1.c'::filelocal" and
8109 "print 'scope1.c'::filelocal_bss" and
8110 "print 'scope1.c'::filelocal_ro" and
8111 "print 'scope1.c'::foo::funclocal" and
8112 "print 'scope1.c'::foo::funclocal_bss" and
8113 "print 'scope1.c'::foo::funclocal_ro" and
8114 "print 'scope1.c'::bar::funclocal" and
8115 "print 'scope1.c'::bar::funclocal_bss"
8116 to only be xfail'd when not compiled with gcc.
beb998c6 8117 Add rs6000-*-* xfail for
c906108c
SS
8118 "print 'scope0.c'::filelocal_bss before run"
8119 when compiled with gcc.
8120 (test_at_main): Add rs6000-*-* xfail for
8121 "print filelocal_ro in test_at_main"
8122 when compiled with gcc.
8123 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8124 Add rs6000-*-aix* xfail for
c906108c
SS
8125 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8126 "ptype t_char_array", not compiled with gcc.
8127 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8128 xfail for "list foo (in include file)" when gcc compiled.
8129 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8130 (integral_args): Add rs6000-*-* xfail for
8131 "run to call0a" if not compiled with gcc.
8132 (unsigned_integral_args): Add rs6000-*-* xfail for
8133 "run to call1a" if not compiled with gcc.
8134 (float_and_integral_args): Add rs6000-*-* xfail for
8135 "run to call2a" if not compiled with gcc and for
8136 "continue to call2b" for any compiler.
8137 Add rs6000-*-* xfail to
8138 "print f1 after run to call2a" for gcc compiled.
8139 (discard_and_shuffle): Add rs6000-*-* xfail for
8140 "run to call6a".
8141 (shuffle_round_robin): Add rs6000-*-* xfail for
8142 "backtrace from call7a" if not compiled with gcc.
8143 Add rs6000-*-* xfail for
8144 "backtrace from call7b" if compiled with gcc.
8145 (call_after_alloca): Add rs6000-*-* xfail for
8146 "print c in call_after_alloca" and
8147 "print s in call_after_alloca" and
8148 "backtrace from call_after_alloca_subr"
8149 if not compiled with gcc.
8150 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8151 "print c in localvars_in_indirect_call" and
8152 "print c in localvars_in_indirect_call" and
8153 "backtrace in indirectly called function" and
8154 "stepping into indirectly called function"
8155 if not compiled with gcc.
8156 (localvars_after_alloca): Add rs6000-*-* xfail for
8157 "print c after runto localvars_after_alloca" and
8158 "print s after runto localvars_after_alloca" and
8159 "print i after runto localvars_after_alloca" and
8160 "print l after runto localvars_after_alloca"
8161 for all compilers.
8162 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8163 than whatis-info.exp.
8164 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8165 than opaque-info.exp.
8166 Setup rs6000-*-* xfail for
beb998c6 8167 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8168 "ptype on opaque struct pointer (dynamically)" when
8169 not compiled with gcc.
8170 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8171 rather than callf-info.exp.
8172 (do_function_calls): Add clear_xfail for rs6000-*-* for
8173 "p t_float_values2(3.14159,float_val2)". Seems to work
8174 fine there, both with xlc and gcc. Need to find out what
8175 it is doing right and fix other platforms.
8176 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8177 "call inferior func with struct - returns int",
8178 "call inferior func with struct - returns long",
8179 "call inferior func with struct - returns float",
8180 "call inferior func with struct - returns double",
8181 "call inferior func with struct - returns char *",
8182 but only if not gcc compiled (presumes xlc compiled).
8183 Change rs6000-*-* xfails for
8184 "call inferior func with struct - returns char" and
8185 " call inferior func with struct - returns short" to only
8186 xfail if not using gcc.
8187 (clean mostlyclean): Remove *.ci and *.tmp files.
8188 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8189 than templ-info.exp.
8190 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8191 Add rs6000-*-* xfail for "up to foo in langs.exp"
8192 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8193 when not gcc compiled.
beb998c6 8194
c906108c
SS
8195Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8196
8197 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8198 * gdb.base/corefile.exp: Likewise.
8199 * gdb.base/list.exp: Likewise.
8200 * gdb.base/scope.exp: Likewise.
8201 * gdb.base/siganls.exp: Likewise.
8202
8203 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8204 compiler output.
8205 * gdb.base/whatis.exp: Likewise.
8206
8207Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8208
8209 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8210 failure (opcode table has been fixed to match reality).
8211
8212Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8213
8214 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8215 "call inferior func with struct - returns char",
8216 "call inferior func with struct - returns short"
8217
8218 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8219 "print 'scope0.c'::filelocal at main",
8220 "print 'scope0.c'::filelocal_bss in test_at_main",
8221 "print 'scope0.c'::filelocal at foo",
8222 "print 'scope0.c'::filelocal_bss in test_at_foo",
8223 "print 'scope0.c'::filelocal at bar",
8224 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8225
c906108c
SS
8226 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8227 in source file 1". This bug seems to have been fixed with both
8228 gcc and native cc (was native assembler bug?).
8229
8230Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8231
8232 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8233 "backtrace through signal handler" to "i*86-*-sysv4*".
8234 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8235 continue" case. Add "known SVR4 bug" to fail message.
8236 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8237 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8238 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8239 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8240 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8241 "up to foo in langs.exp", "show language at foo in
8242 langs.exp", "up to cppsub_ in langs.exp", "show
8243 language at cppsub_ in langs.exp", "up to fsub in
8244 langs.exp", and "show language at fsub in langs.exp".
8245 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8246 "bactrace in corefile.exp".
8247 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8248 "call inferior function with struct - returns float" and
8249 "call inferior function with struct - returns double".
beb998c6 8250
c906108c
SS
8251Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8252
8253 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8254 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8255 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8256 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8257
8258Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8259
8260 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8261 (or overriden) "CHILL" macro rather then bare "gcc".
8262 Also look for ../../gcc/xgcc since that is what we will
8263 actually need, not "Makefile". Remove following assignment
8264 of CHILL to CHILL_FOR_TARGET because that results in
8265 recursive definition.
8266
8267Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8268
8269 * gdb.base/corefile.exp: Change xfail for backtrace in
8270 corefile.exp from linuxaout to all linux.
8271 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8272 cases where we miss the breakpoint at the signal handler
8273 for some reason. Setup xfail for linuxoldld/linuxaout and
8274 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8275 hitting SIGURG breakpoint.
8276 * gdb.base/signals.exp: Setup xfail for "next" acting like
8277 continue to add linuxoldld. Setup xfail for all linux for
8278 "next to handler in signals_tests_1", "backtrace in
8279 signals_tests_1", "continue to func1", "pass SIGUSR1",
8280 and continue to handler".
8281
8282Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8283
8284 * Update all FSF addresses except those in COPYING* files.
8285
8286Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8287
8288 * gdb.base/a2-run.exp: Change messages to be more explicit about
8289 the status of args, and quote binfile in results.
8290
8291Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8292
8293 * gdb.base/callfuncs.exp: Add tests for passing structs to
8294 inferior functions and return various types.
8295 * gdb.base/callfuncs.c: Add functions to receive a struct
8296 and return a member of the struct, in various types.
8297
8298Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8299
8300 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8301
8302Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8303
8304 * config/vxworks29k.exp: New file, sources vxworks.exp.
8305
8306Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8307
8308 * config/gdbremote.exp: New file. Testing framework using
8309 gdbserver.
8310
8311Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8312
8313 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8314 "call function when asleep" and "send end of file".
8315 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8316 for "backtrace in corefile.exp".
8317 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8318 for "backtrace through signal handler".
8319 * gdb.base/corefile.exp: Make sure we actually generate a core file
8320 before trying the core tests. Some systems allow the user to suppress
8321 generation of core files and default to that (linux for example).
8322 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8323 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8324
8325Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8326
8327 * gdb.threads: New directory with some crude multi-threaded
8328 gdb tests (step.exp and step2.exp).
8329 * config/mt-lynx (STEP_EXECUTABLE): Define.
8330 (THREADFLAGS): Define.
8331
8332Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8333
8334 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8335
8336 * gdb.base/signals.exp: Disable whole file for lynx until
8337 further notice.
8338
8339 * gdb.base/signals.exp: xfail test where "next" acts like
8340 "continue" for lynx.
8341
8342 * gdb.base/interrupt.exp: xfail test for calling function while
8343 inferior is asleep for lynx.
8344
8345 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8346 than one cr-lf after each command.
8347
8348Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8349
8350 * configure.in: Reinstate setting of stabsdirs variable, fix
8351 typo in setting up configdirs for native builds.
8352
8353 * gdb.base/return.exp: Fix typo in return double test.
8354 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8355 compiler from optimizing them away.
8356
8357Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8358
8359 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8360 sequences to be echo'd by gdb when using gdb_test.
8361 * gdb.chill/chexp.exp: Likewise.
8362 * gdb.fortran/exprs.exp: Likewise
8363
8364Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8365
8366 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8367 after the inferior gdb has started.
8368
8369 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8370 after each command.
8371 * gdb.base/funcargs.exp: Likewise.
8372 * gdb.base/gdbvars.exp: Likewise.
8373 * gdb.base/interrupt.exp: Likewise.
8374 * gdb.base/list.exp: Likewise.
8375 * gdb.base/watchpoint.exp: Likewise.
8376 * gdb.c++/demangle.exp: Likewise.
8377 * gdb.c++/inherit.exp: Likewise.
8378 * gdb.chill/chexp.exp: Likewise.
8379 * gdb.fortran/exprs.exp: Likewise.
8380
8381 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8382 test if we can't handle IO to/from the inferior.
8383
8384 * gdb.c++/misc.exp: Always check for a program already being
8385 started after sending a "run" command to gdb.
8386
8387 * gdb.base/twice.exp: Start with a fresh gdb.
8388
8389 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8390 only depend on gdb's expression code, not the chill runtime.
8391
8392 * gdb.base/return.c: Put return values into variables so we
8393 can have gdb print them rather than depending on the program
8394 to print them.
8395 * gdb.base/return.exp: Corresponding changes.
8396
8397 * lib/gdb.exp: Provide default value for noinferiorio.
8398 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8399 the inferior.
8400
8401 * gdb.base/break.exp: Always check for a program already being
8402 started after sending a "run" command to gdb.
8403 (text_next_with_recursion): Don't check the output from the
8404 program's printf statement. Instead just make sure the program
8405 exited.
8406
8407 * gdb.base/commands.exp: Protect tests which need arguments with
8408 $noargs conditionals.
8409
8410Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8411
8412 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8413 of structure member arrays to match gdb/valops.c:value_addr change.
8414
8415Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8416
8417 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8418 cases.
8419
8420Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8421
8422 * configure.in (configdirs): Remove gdb.chill from default list
8423 of subdirs and then add it back in only if doing a native build.
8424 The current chill compiler does not yet work in any cross build.
8425 * Revert all signal changes from Jul 6.
8426 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8427 for sh-hms targets, allowing these tests to link, with no other
8428 changes. Testing is suppressed by setting "nosignals" in site.exp.
8429
8430Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8431
8432 * configure.in (signaldirs): Define and add to configdirs for all
8433 targets except some specific ones that are known to not support signals.
8434 Also clean up formatting.
8435 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8436 (signals, sigall): Remove rules to build.
8437 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8438 Moved to new gdb.signals directory.
8439 * gdb.signals: New test directory.
8440 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8441 signals.c signals.exp}: New or moved files.
8442
8443Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8444
8445 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8446
8447Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8448
8449 * gdb.base/return.exp: Xfail `return double' test failure
8450 on at least Solaris 2.3 and handle future/past versions on
8451 a case by case basis as appropriate. Also update message
8452 to include i*86 failures.
8453
8454Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8455
8456 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8457
8458 * lib/gdb.exp: Fix comment which erroneously identified
8459 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8460 gdb_file_cmd not gdb_load).
8461 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8462
8463 * gdb.base/setvar.exp: Make test names consistent between pass and
8464 fail cases. Use gdb_test more.
8465
8466Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8467
8468 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8469
8470Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8471
8472 * gdb.base/help.exp: Fix expected help string for `show commands'.
8473
8474Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8475
8476 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8477
8478 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8479 of a text section.
8480
8481Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8482
8483 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8484 that loop eventually terminates. Fix Connection refused logic so
8485 that testsuite will expire nicely.
8486
8487Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8488
8489 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8490 config/rom68k.exp: New tcl glue for the appropriate monitors.
8491 These all just end up calling monitor.exp.
8492 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8493 refused' by retrying. Cleanup some timeout issues.
8494 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8495 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8496 callers don't have to set/restore global timeout variable.
8497
8498 * The following set of changes centralizes management of the global
8499 timeout variable. This way, it can be set in one target dependent
8500 place instead of dozens of places scattered throughout the test suite.
8501 If you need to lengthen a timeout, then you should either set timeout
8502 in one of the config/{target}.exp files, or multiply it by a factor.
8503 Setting it to an absolute value is always going to lose for some
8504 targets.
8505 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8506 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8507 * gdb.base/funcargs.exp: Don't set timeout.
8508 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8509 * gdb.base/printcmds.exp (test_print_string_constants
8510 test_print_array_constants): Don't set timeout.
8511 * gdb.base/ptype.exp: Don't set timeout.
8512 * gdb.base/recurse.exp: Don't set timeout.
8513 * gdb.base/return.exp: Don't set timeout.
8514 * gdb.base/watchpoint.exp: Don't set timeout.
8515 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8516 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8517
8518Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8519
8520 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8521
8522Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8523
8524 * lib/gdb.exp: Disable chill tests for irix5.
8525
8526Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8527
8528 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8529 each test pass or fail.
8530
8531Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8532
8533 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8534 xlc not gcc.
8535
8536Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8537
8538 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8539
8540Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8541
8542 * config/est.exp: Fix copyright and comments. Remove dead code.
8543 Use targetname, serialport and baud variables instead of fixed
8544 constants.
8545 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8546 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8547
8548Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8549
8550 * gdb.base/watchpoint.exp: Don't run
8551 test_watchpoint_triggered_in_syscall for sunos.
8552
8553Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8554
8555 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8556 they don't seem to exist. Do include stdio.h.
8557
8558Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8559
8560 * gdb.base/a1-selftest.exp: Add alpha xfail.
8561
8562Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8563
8564 * gdb.base/watchpoint.c (main): Prompt before calling read().
8565 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8566 Revise accordingly. Remove cruft about sending "123" several
8567 times, until it gets noticed. Clean up the "print buf[0]" stuff
8568 so that it passes or fails, and waits for prompts in the usual way.
8569
8570Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8571
8572 * gdb.base/recurse.exp: Fix comment.
8573
8574 * TODO: Remove item about printing variables in nodebug.exp. Add
8575 item about enabling tests which are only run on some targets.
8576
8577 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8578 fail, make test names unique, use new gdb_test convention
8579 regarding pattern, use gdb_test more, etc.).
8580
8581 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8582 fail, make test names unique, etc.).
8583
8584Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8585
8586 * gdb.base/nodebug.c: Change return type of top and middle to
8587 short.
8588 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8589 are fixed by the recent mdebugread.c changes. Allow `short ()'
8590 as type for top and middle.
8591
8592Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8593
8594 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8595 nearly as I can tell, the whole thing was an accident in Stu's
8596 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8597 to replace a send/expect pair with gdb_test, but ended up only
8598 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8599 of 30 Mar 1995 took care of it, but left this vestigial comment
8600 which I am now nuking.
8601
8602Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8603
8604 * gdb.base/break.exp: Look for different line number for
8605 breakpoint at main depending on usestubs.
8606
8607Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8608
8609 * gdb.base/list.exp: Adjust some alternate expect patterns to
8610 match recent list0.c change. Add alternate expect pattern for
8611 output from `list default lines around main' for optimizing
8612 compilers.
8613
8614Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8615
8616 * lib/gdb.exp: If nosignals is not set, set it to 0.
8617
8618Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8619
8620 * config/slite-gdb.exp: Responds to load symbol table prompt.
8621 * gdb.base/break.exp: Adjust line number, fix rerun.
8622 * gdb.base/langs0.c: Add #ifdef usestubs.
8623
8624Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8625
8626 * gdb.base/list.exp: Adjust line contents after adding new lines in
8627 list0.c. Also fix a syntax error.
8628
8629 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8630 * gdb.base/break.exp: ditto.
8631 * gdb.base/list.exp: ditto.
8632 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8633 * gdb.base/run.c: ditto.
8634 * gdb.base/list0.c: ditto.
8635 * gdb.base/funcargs.c: ditto.
8636
8637Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8638
8639 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8640 $targetname, $serialport and $baud instead of hardwired variables.
8641 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8642 target doesn't support signals.
8643
8644Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8645
8646 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8647
8648Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8649
8650 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8651 Don't rely on the value of an auto variable before it has been
8652 initialized. Use gdb_test more.
8653
8654Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8655
8656 * lib/gdb.exp (default_gdb_version): A version number must start
8657 with a digit, but other than that contains all characters up to
8658 the first whitespace character.
8659
8660Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8661
8662 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8663
8664Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8665
8666 * gdb.c++/*.exp: Warn if executable does not exist. The original
8667 reason for skipping the warning was that configure.in sometimes
8668 intentionally skipped building the executables but the tcl code
8669 had no way of knowing. That (a) was always bogus with respect to
8670 error handling, (b) is no longer true (right now there is no way
8671 to skip C++ tests).
8672
8673 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8674
8675Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8676
8677 * gdb.base/list.exp: Add expect patterns for output from
8678 SunPRO compiled executables.
8679 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8680 types.
8681
8682Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8683
8684 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8685 number (we are already testing that the correct source line text
8686 gets printed).
8687
8688 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8689 that is what is intended, but something needed to be done to get
8690 sunos4 native working again.
8691
8692 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8693
8694 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8695 apparently went with a (very) old xfail.
8696
8697Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8698
8699 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8700 runto_main is a proc in gdb.exp that will do 'step' for target use
8701 stubs.
8702 * gdb.base/exprs.exp: ditto.
8703 * gdb.base/interrupt.exp: ditto.
8704 * gdb.base/opaque.exp: ditto.
8705 * gdb.base/printcmds.exp: ditto.
8706 * gdb.base/ptype.exp: ditto.
8707 * gdb.base/scope.exp: ditto.
8708 * gdb.base/setvar.exp: ditto.
8709 * gdb.base/signals.exp: ditto.
8710 * gdb.base/twice.exp: ditto.
8711 * gdb.c++/classes.exp: ditto.
8712 * gdb.c++/inherit.exp: ditto.
8713 * gdb.c++/templates.exp: ditto.
8714 * gdb.base/break.exp: no run and hit main for stubs. Change line
8715 numbers for breakpoints and info breakpoint.
8716 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8717 breakpoint().
8718 * gdb.base/callfuncs.c: ditto.
8719 * gdb.base/exprs: ditto.
8720 * gdb.base/interrupt.c: ditto.
8721 * gdb.base/opaque0.c: ditto.
8722 * gdb.base/printcmds.c: ditto.
8723 * gdb.base/ptype.c: ditto.
8724 * gdb.base/scope0.c: ditto.
8725 * gdb.base/setvar.c: ditto.
8726 * gdb.base/signals.c: ditto.
8727 * gdb.base/twice.c: ditto.
8728 * gdb.c++/misc.cc: ditto.
8729 * gdb.c++/templates.cc: ditto.
8730
8731Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8732
8733 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8734
8735 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8736 somewhere between `read' and `main.c'. I'm pretty sure the
8737 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8738 and it isn't particularly useful.
8739
8740 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8741
8742Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8743
8744 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8745
8746Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8747
8748 * config/mt-slite: add LIBS and -nostdlib.
8749 * config/slite-gdb.exp: add this new file to support sparclite target.
8750
8751Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8752
8753 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8754
8755 * gdb.base/a2-run.exp: Change argument to istarget from
8756 "*-*-vxworks" to "*-*-vxworks*".
8757 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8758
8759Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8760
8761 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8762 will not runto main but do a 'step' to step out of breakpoint().
8763 * config/mt-slite: add -Dusestubs.
8764
8765Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8766
8767 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8768 instead of just @.
8769
8770 * gdb.base/signals.exp: Add test for "handle all print".
8771 * TODO: Remove "handle all print". Also remove item about
8772 checking copyright date (I don't like the idea of a spurious FAIL
8773 based on when we run the tests).
8774
8775 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8776 for SunOS4 (reason for failure not investigated). Remove
8777 redundant test for $binfile.
8778
8779 * gdb.base/nodebug.c (array_index): Call malloc.
8780
8781 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8782
8783Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8784
8785 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8786 conventions and slightly simplify the matching regexp.
8787
8788Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8789
8790 * gdb.base/break.exp: Update gdb_test invocation to use new
8791 convention.
8792
8793 * lib/gdb.exp: If noargs is not set, set it to 0.
8794
8795 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8796 tests unique.
8797
8798 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8799
8800Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8801
8802 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8803 one argument of type "<non-float parameter>".
8804
8805Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8806
8807 * config/rom68k.exp: New file to support Motorola IDP board.
8808 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8809 * gdb.base/break.c: Change things around so that this program
8810 doesn't depend upon args. This is necessary to make remote
8811 targets work (in general, they can't take args).
8812 * gdb.base/break.exp: Don't try to send args to program. Don't
8813 expect output. Also, replace lots of code with gdb_test.
8814
8815Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8816
8817 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8818 printing of '\'' (which is what the comment says we are testing,
8819 even though we were not), not '''.
8820 (test_integer_literals_rejected): Test that printing ''' is an error.
8821
8822 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8823 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8824 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8825 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8826 Use gdb_test not test_print_accept.
8827 * lib/gdb.exp: Remove test_print_accept.
8828
8829 * gdb.base/signals.exp (signal_tests_1): Make pass message
8830 consistent with fail message.
8831
8832 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8833 unsigned char; the bug (PR 1821) is fixed.
8834
8835 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8836
8837 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8838 successful tests--makes xfailing them work right.
8839
8840Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8841
8842 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8843 only \r\n, not .*. The test can pass .* as the last thing in
8844 $pattern if that is what it wants. In addition to providing this
8845 flexibility, this change should speed up pattern matching in cases
8846 where the pattern already ended with .* (there were a number of
8847 them). This change also helps catch bad patterns--in the old
8848 scheme the typo "char \*" instead of "char \\*" would pass. Now
8849 it is caught.
8850 * Many .exp files: Update callers.
8851
8852 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8853 clearer and does not spuriously match multiple ('s. Likewise for
8854 ) and *.
8855
8856 * gdb.base/nodebug.exp: Test ability to call a function and pass
8857 it a string (even with no debugging info).
8858
8859 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8860 "p '\'", which is the same as "p ''" once tcl gets done with
8861 quoting, to "p '\\'", which I suspect is what is intended (one
8862 backslash gets sent to GDB).
8863
8864 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8865
8866Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8867
8868 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8869 1817) was fixed literally years ago.
8870
8871Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8872
8873 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8874 test, it causes stepping out of call_after_alloca_subr with
8875 optimizing compilers.
8876 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8877 fails.
8878
8879 * gdb.c++/templates.exp: Source templ-info.exp only if
8880 the templates executable exists.
8881
8882 * gdb.c++/misc.cc (class Contains_static_instance,
8883 class Contains_nested_static_instance),
8884 gdb.c++/classes.exp (test_static_members): Test printing of
8885 a class that contains a static instance of the class.
8886
8887Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8888
8889 * gdb.base/langs2.c (cppsub_): Don't prototype.
8890 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8891 only, I believe).
8892
8893Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8894
8895 * lib/gdb.exp (skip_chill_tests): New procedure.
8896
8897 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8898
8899Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8900
8901 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8902 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8903
8904Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8905
8906 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8907
8908 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8909 disassemble 8, not 16, instructions for part 4.
8910
8911 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8912 support the latter anymore.
8913
8914 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8915 -DNO_PROTOTYPES.
8916 * gdb.base/callfuncs.c: Control use of prototypes based on
8917 NO_PROTOTYPES, not __STDC__.
8918 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8919 t_float_values2 tests if prototypes in use.
8920
8921 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8922 t_double_values): When checking differences against DELTA, check
8923 that difference is within the range (-DELTA,DELTA), not just
8924 (-infinity,DELTA).
8925
8926Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8927
8928 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8929 'file' command firts, then 'target', then 'load', this is due to gdb
8930 target set up.
8931 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8932
8933Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8934
8935 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8936 FP load/store variants.
8937 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8938
8939Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8940
8941 * gdb.base/term.exp: Do not give a warning if not native, it is
8942 not an abnormal condition.
8943
8944Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8945
8946 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8947 t_char_array".
8948
8949Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8950
8951 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8952 are getting the version number.
8953
8954 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8955 if not native, it is not an abnormal condition.
8956
8957Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8958
8959 * lib/gdb.exp: Just use "file exists", rather than undocumented
8960 dejagnu procedure "findfile".
8961
8962Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8963
8964 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8965 (LDFLAGS): Set to -Xlinker -Ur.
8966
8967 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8968 Removed, these values are set by lib/gdb.exp.
8969
8970 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8971
8972Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8973
8974 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8975 of replicating gdb startup code.
8976
8977 * config/mt-vxworks (LDFLAGS): Set to -r.
8978 (CFLAGS_FOR_TARGET): Removed.
8979
8980 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8981 (gdb) and gdb for vxworks uses (vxgdb).
8982
8983 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8984 executable is not in the tree and host != target, use sed and
8985 program_transform_name to determine the gdb name used by the
8986 target.
8987
8988 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8989 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8990
8991Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8992
8993 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8994 floats, chars, and shorts where there are ANSI-style function
8995 definitions.
8996
8997 * gdb.base/langs.exp, gdb.base/langs*: New test.
8998 * gdb.base/Makefile.in: Build it.
8999 * TODO: Remove item about checking that C names don't get C++
9000 demangling applied; this test tests it.
9001
9002Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9003
9004 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9005 went with the const70 xfail. The xfail went away a year ago.
9006
9007 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9008
9009 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9010 for hp300.
9011
9012 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9013
9014 * gdb.base/a1-selftest.exp: Don't run on hp300.
9015
9016Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9017
9018 * Makefile.in (site.exp): Set host_alias and target_alias as well
9019 as host_triplet and target_triplet.
9020
9021Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9022
9023 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9024
9025 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9026 places as other ecoff systems).
9027
9028 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9029 ultrix.
9030
9031Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9032
9033 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9034 remove them.
9035 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9036 variable and "variable" in addition to "data variable".
9037 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9038
9039 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9040 2.
9041 * gdb.base/list1.c (long_line): Add additional statement at start
9042 of function.
9043 * gdb.base/list.exp (test_forward_search): Update line number to
9044 reflect new statement.
9045
9046Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9047
9048 * gdb.base/signals.exp: Reinitialize searched source directories
9049 after gdb_start call.
9050
9051Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9052
9053 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9054 * gdb.stabs/Makefile.in: Likewise.
9055
9056 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9057 change. Instead split the tests into smaller pieces.
9058 * gdb.disasm/hppa.s: Corresponding changes.
9059
9060Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9061
9062 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9063 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9064
9065 * gdb.base/funcargs.exp: Modify many tests so that every test
9066 either passes or fails. Make some test names unique.
9067
9068Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9069
9070 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9071 Call stty to set interrupt character.
9072
9073 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9074 for HP assembler versus GNU assembler based on actual behavior of
9075 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9076
9077 * TODO: Suggest a few more stepping tests.
9078
9079Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9080
9081 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9082 restart GDB for h8300 after a continue.
9083 (return): Add pattern to match a29k-udi behavior.
9084 * gdb.base/nodebug.exp: Remove obsolete comment.
9085 * gdb.base/regs.exp: New file, testing of register displays.
9086 * gdb.base/return.exp: Fix typo in reference to $objdir.
9087 * gdb.base/whatis.exp: Always start with a fresh GDB.
9088
9089Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9090
9091 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9092 higher, these tests generate a lot of output.
9093
9094Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9095
9096 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9097 code following the catch silently ignored some errors; without the
9098 catch they should be thrown like any other tcl error. Also, the
9099 catch used "" instead of {} which meant all the callers who wanted
9100 to include one of the characters "[]$ had to quote it an extra time.
9101 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9102 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9103 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9104 Remove extra quoting.
9105
9106Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9107
9108 * gdb.base/commands.exp: Make test names unique; every test either
9109 passes or fails. Update some comments.
9110
9111 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9112
9113Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9114
9115 The following fixes a FAIL caused by the fact that the alpha stabs
9116 configuration didn't use the ".if alpha" code in weird.def.
9117 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9118 bit pointer, so the 32 bit version works even on the alpha.
9119 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9120 Remove the stuff which allowed us to have separate versions for
9121 alpha and everything else.
9122
9123 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9124 regexp which "info func operator\[\](" is supposed to match. Fix
9125 string to send to GDB. Note that GDB still doesn't work right. Add a
9126 new test for "info func .perator\[\](" which GDB does handle correctly.
9127
9128 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9129
9130Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9131
9132 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9133 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9134 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9135 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9136 it makes the tests harder to understand and confuses test-o-matic.
9137 The preferred style is that each test provides a PASS or a FAIL,
9138 and has a unique message (e.g. "continue #54" not just "continue")
9139 which is the same for the pass and the fail.
9140 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9141 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9142 to lib/gdb.exp.
9143 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9144 prt_accept which was basically the same thing. Likewise for
9145 test_print_reject and prt_reject.
9146 * lib/gdb.exp (test_print_reject): Add some more error message
9147 patterns to match from the former printcmds.exp (prt_reject).
9148 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9149 One defect of the passcount stuff is that some of it failed to
9150 report XPASS where appropriate.
9151 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9152 stuff before and after arg in expected pattern.
9153 (test_paddr_operator_functions): Re-do test without print_addr_of;
9154 this is the only test which seems to want extra stuff there.
9155
9156Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9157
9158 * gdb.base/nodebug.exp: Update new tests to reflect improved
9159 wording of gdb output.
9160
9161 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9162 and "ptype" work on variables in files compiled without -g.
9163 Replaces commented out "maint print msymbol" tests.
9164
9165Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9166
9167 * gdb.base/setvar.c (dummy): Call malloc.
9168
9169 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9170 losing with the irix4 sed.
9171
9172 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9173 ALRM" on irix4.
9174
9175Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9176
9177 * TODO: Remove items about corefile.exp testing new exec-file and
9178 backtrace; both are now done. Add items about printing enums.
9179
9180Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9181
9182 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9183 "get signal $thissig" test fails.
9184
9185 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9186
9187Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9188
9189 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9190 compiler warning with dec alpha compiler.
9191
9192 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9193 extra \n from gdb_test call (this explains why the prompt test
9194 that I removed yesterday was there).
9195 (user_defined_command_test): Remove extra \n and prompt test.
9196
9197 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9198 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9199 doesn't exist.
9200 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9201 Also remove alpha workaround, which turns out to be because
9202 SIGABRT == SIGLOST.
9203
9204 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9205
9206 * gdb.base/help.exp: Don't test "help show".
9207
9208Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9209
9210 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9211 "set print address" is on.
9212 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9213 pass prompt to gdb_test; gdb_test already looks for the prompt.
9214
9215 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9216
9217 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9218 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9219 was to make sure that gdb can read a core file. But (a) the "read
9220 the corefile" part didn't make it to a1-selftest.exp, we just
9221 delete the corefile after creating it, and (b) we test reading
9222 corefiles in corefile.exp anyway. Also, this test left around a
9223 xgdb process on Solaris.
9224
9225 * gdb.base/corefile.exp: Also test backtrace.
9226
9227Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9228
9229 * gdb.base/commands.exp: Test a simple user defined command with
9230 arguments and if/while statements; verify the full user command is
9231 printed by "show user".
9232
9233 * gdb.base/commands.exp: Test if/while commands as part of a
9234 breakpoint command list; verify they appear in breakpoint
9235 information.
9236
9237Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9238
9239 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9240 than by dividing by zero.
9241
9242Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9243
9244 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9245 performing an inferior call with watchpoints enabled.
9246 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9247 call.
9248
9249Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9250
9251 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9252 of "file" command.
9253
9254 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9255 Add additional pattern for when "int operator int(void);" appears
9256 in a different order.
9257
9258Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9259
9260 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9261
9262 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9263 and "signal" with ".*".
9264
9265Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9266
9267 * TODO: Add note about "handle all nostop".
9268
9269 * gdb.base/{sigall.c, sigall.exp}: New test.
9270 * gdb.base/Makefile.in: Add it.
9271
9272Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9273
9274 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9275 when invoking GDB, suppresses any windowing interface.
9276
9277Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9278
9279 * config/sim-gdb: New file, simulator testing support.
9280
9281Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9282
9283 * gdb.base/interrupt.exp: Test calling func1 twice.
9284
9285Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9286
9287 * gdb.base/list.exp (test_forward_search): Set timeout higher
9288 when we'll be getting lots of output from gdb.
9289
9290 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9291 "init_malloc" to after the expect statement. Run it if that
9292 regexp is taken, but also for two others which happen if source
9293 cannot be found.
9294
9295Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9296
9297 * gdb.base/printcmds.exp: New test, for printing register before
9298 program is running.
9299
9300Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9301
9302 * gdb.base/list.exp: Correct some alternate expect patterns
9303 to reflect changes in list1.c.
9304
9305Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9306
9307 * TODO: Add item regarding large frames.
9308
9309 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9310
9311 * TODO: Remove item about enabling return.exp; it
9312 is enabled. Suggest a few more "return" tests.
9313
9314Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9315
9316 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9317 anonymous unions.
9318
9319Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9320
9321 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9322 and pr-5646.o, so "make" is the same as "make all", not "make
9323 pr-4975.o".
9324
9325Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9326
9327 * gdb.base/list.exp: Adjust expectations to reflect changes in
9328 list1.c.
9329 (test_forward_search): New test proc.
9330 * gdb.base/list1.c (long_line): New function, has long source line.
9331
9332Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9333
9334 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9335 additional line of code that was added.
9336
9337Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9338
9339 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9340 tests so as not to overflow expect's input buffers.
9341 * gdb.disasm/hppa.exp: Corresponding changes.
9342
9343Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9344
9345 Beginnings of template debugging tests.
9346 * gdb.c++/templ-info.cc: New file to test for template
9347 debugging capability of the compiler.
9348 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9349 templ-info.cc.
9350 * gdb.c++/templates.cc: Add explicit template instantiations
9351 to enable compiling with -fno-implicit-templates. Add destructor
9352 and 'value' method to T5 class for template tests.
9353 * gdb.c++/templates.exp: Add testcases for printing of template
9354 types, setting breakpoints on template methods and calling a
beb998c6 9355 template method.
c906108c
SS
9356
9357Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9358
9359 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9360 branch target since some assemblers (gas-2.5) may emit a
9361 relocation for the branch instead of resolving it in the
9362 assembler.
9363
9364Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9365
9366 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9367 through signal handler.
9368
9369Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9370
9371 * configure.in (*-*-netware): Use config/mt-netware.
9372
9373 * config/mt-netware: New file.
9374 * config/mt-i386-netware: Removed, separate configs for different
9375 netware architectures are no longer needed now that we have
9376 --with-headers.
9377
9378Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9379
9380 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9381 by the recent changes to use ANSI C arithmetic conversions.
9382
9383Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9384
9385 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9386 bug involving using inferior_pid to figure out whether to select a
9387 frame.
9388
9389Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9390
9391 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9392 match the current disassembler output.
9393
9394Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9395
9396 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9397 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9398 types, expect "int" as type of integer values (for now).
9399
9400Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9401
9402 * gdb.base/commands.exp: New tests for if/while commands.
9403
9404Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9405
9406 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9407 by .*, since hex values have different syntax in Chill mode.
9408
9409Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9410
9411 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9412 linefeed from expect pattern for repeated types with indices > 9.
9413
9414Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9415
9416 First part of Fortran test suite.
9417 * gdb.fortran: New directory.
9418 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9419
9420Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9421
9422 * gdb.base/default.exp: Update expect pattern for load command
9423 without arguments.
9424
9425Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9426
9427 * configure.in: Change i386 to i[345]86.
9428 * gdb.base/configure.in: Likewise.
9429 * gdb.c++/configure.in: Likewise.
9430 * gdb.chill/configure.in: Likewise.
9431
9432Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9433
9434 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9435 patterns, since that is not a valid context for comments.
9436
9437Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9438
9439 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9440 repeated types and repeated types with indices > 9.
9441
9442Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9443
9444 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9445 2417; old bug has been fixed.
9446
9447Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9448
9449 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9450 send the newline ourselves instead of assuming gdb_test will do
9451 so when passed an empty input string.
9452
9453 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9454 stabs testcode.
9455
9456Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9457
9458 * lib/gdb.exp (gdb_test): Don't send anything if the first
9459 argument is an empty string. This makes cases where we want to
9460 match output that is already in expect's buffers (for example,
9461 matching a breakpoint after gdb_run_cmd has been called) work
9462 reliably.
9463
9464Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9465
9466 * config/netware.exp: New file.
9467
9468Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9469
9470 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9471 the -B and -L prefixes so we can find the debugging stub.
9472
9473 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9474 there and we are using the gcc from the tree.
9475
9476 * gdb.base/types.c: Removed.
9477
9478 * gdb.base/configure.in: Look for makefile fragments in ../config.
9479 Recognize i386-*-netware.
9480 * gdb.c++/configure.in: Likewise.
9481
9482Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9483
9484 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9485 the correct TCL syntax.
9486
9487Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9488
9489 * gdb.base/opaque.exp: use runto instead of messing around with
9490 breakpoints. Simplify by using gdb_test.
9491
9492 * gdb.base/bitfields.exp: restart between tests on netware targets
9493 because breakpoints aren't relocated after target death. Run
9494 processes to completion.
9495
9496 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9497
9498Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9499
9500 * Makefile.in: Remove extra tabs that confuse some versions
9501 of "make". Use the newly built gdb to test with by default,
9502 rather than the first one in the tester's search path.
9503
9504Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9505
9506 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9507
9508 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9509 condition help.
9510
9511Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9512
9513 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9514
9515 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9516 running.
9517 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9518 * gdb.base/funcargs.exp: Likewise.
9519
9520 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9521 * gdb.base/funcargs.exp: Likewise.
9522
9523 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9524 message is "".
9525
9526Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9527
9528 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9529 return,signals,twice}.exp: Handle non-existant binaries
9530 consistantly.
9531
9532 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9533 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9534 might testing a cross development system.
9535
9536Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9537
9538 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9539 runtest script is relative to ${srcdir}, not ${rootdir}.
9540
9541Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9542
9543 * gdb.base/signals.exp: Allow for optionality of breakpoint
9544 address.
9545
9546Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9547
9548 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9549
9550Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9551
9552 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9553 for size_t definition.
9554 * gdb.c++/templates.cc: Likewise
9555
9556 * config/mt-i386-netware: New file.
9557
9558 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9559 defined.
9560
9561 * gdb.base/Makefile.in: Added support for systems that name core
9562 files by appending "core" to the program name.
9563 * gdb.base/a1-selftest.exp: Likewise.
9564
9565Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9566
9567 * gdb.base/return.exp: Add comment and message for `return double'
9568 test failure on Sparc Solaris.
9569
9570Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9571
9572 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9573
9574Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9575
9576 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9577 from optimizing them away.
9578 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9579 patterns to include default constructors and assignment operators,
9580 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9581 character in the output of the virtual base pointer.
9582
9583Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9584
9585 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9586 expression match in print_addr_of to avoid unintented matches.
9587 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9588 versions up to 2.5.8.
9589
9590Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9591
9592 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9593 included file to run under newer versions of expect.
9594 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9595 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9596 Remove xfail for the virtual table of BDDHookV.
9597
9598Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9599
9600 * lib/gdb.exp (string_to_regexp): Set a default result.
9601 (default_gdb_start): Fix misleading message.
9602
9603Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9604
9605 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9606 Remove all CC, etc definitions.
9607 * config/mt-hpux: New file.
9608 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9609 (CFLAGS, LDFLAGS): Define.
9610 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9611
9612 * Makefile.in (site.exp): Don't insert host_os, etc.
9613 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9614 (distclean): Check existence of subdir.
9615 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9616 * gdb.base/Makefile.in: General cleanup and simplification.
9617 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9618 to build executables. Use default rule to build .o files.
9619 (EXPECT, RUNTEST, CC): Fix relative pathname.
9620 (site.exp): Don't insert host_os, etc.
9621 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9622 and/or SIGUSR1 defined.
9623 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9624 * gdb.c++/Makefile.in: General cleanup and simplification.
9625 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9626 (CFLAGS): Remove.
9627 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9628
9629Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9630
9631 * gdb.base/recurse.exp: Misc changes to get tests running again
9632 after Kung's changes to the watchpoint code.
9633 * gdb.base/watchpoint.exp: Likewise.
9634
9635Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9636
9637 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9638
9639Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9640
9641 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9642 * lib/gdb.exp (default_gdb_start): Define.
9643 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9644 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9645 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9646 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9647 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9648 Don't call gdb_target_udi in between tests.
9649
9650Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9651
9652 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9653 (which was basically just a local version of the same thing). In
9654 addition to avoiding duplication, gdb_test_exact is faster.
9655 * lib/gdb.exp (gdb_test_exact): Fix typo.
9656
9657 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9658 don't give an error.
9659
9660 * gdb.base/term.exp: Call delete_breakpoints before starting.
9661
9662 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9663 (t10): Add comment.
9664
9665Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9666
9667 Reorganization of the GDB Test Suite.
9668
9669 * gdb.base: New directory, contains all the basic tests.
9670 * gdb.c++: New directory, tests specific to C++.
9671 * gdb.chill: New directory, tests specific to Chill.
9672 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9673 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9674 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9675 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9676 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9677 t30-31 to chill).
9678 * */gdbme.*: Rename to match appropriate expect scripts.
9679 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9680 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9681 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9682 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9683 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9684 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9685 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9686 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9687 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9688 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9689 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9690 gdb.c++/virtfunc.cc: New names of C++ files.
9691 * gdb.chill/chillvars.ch: New name of Chill file.
9692 * gdb.base/configure.in, gdb.c++/configure.in,
9693 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9694 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9695 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9696 * configure.in (configdirs): Update to reflect directory changes.
9697 (target_abbrev): No longer define for any configuration.
9698 * Makefile.in: Cosmetic improvements to header comments.
9699
9700Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9701
9702 Various changes to gdb.t31:
9703
9704 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9705 * gdbme.ch: Make all key-words and predefineds be upper-case.
9706 * chillvars.exp: Expect key-words and predefinds in upper-case.
9707
9708 * chillvars.exp: Use gdb_test_exact many places.
9709 Change expected output for arrays (which now includes index labels).
9710
9711 * pr-5020.exp, gdme.ch (module PR_5020):
9712 New test, for PR-5020.
9713
9714Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9715
9716 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9717 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9718
9719Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9720
9721 * Makefile.in: Fix bit-rot in definitions of CHILL,
9722 CHILL_FOR_TARGET and Chill_LIB.
9723 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9724 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9725 CHILL, and CHILL_LIB.
9726
9727Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9728
9729 * Revert the previous changes. Please see Rob's directory
9730 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9731
9732Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9733
9734 * Makefile.in, configure.in, config/mips-gdb.exp,
9735 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9736 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9737 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9738 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9739 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9740 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9741 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9742 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9743 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9744 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9745 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9746 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9747 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9748 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9749 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9750 changes from 94Q1.
9751
9752Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9753
9754 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9755 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9756 Rob's new testing fragments.
9757
9758Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9759
9760 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9761 lib/gdb.exp: Replace error proc calls with perror.
9762
9763Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9764
9765 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9766 version also, match on casted version strings, and match on
9767 gdb startup case where the line numbers might be messed up.
9768
9769Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9770
9771 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9772 (CFLAGS): Delete it from here.
9773
9774Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9775
9776 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9777
9778Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9779
9780 * Makefile.in (RUNTEST): Default to just "runtest".
9781
9782Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9783
9784 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9785 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9786 the code has been restructured.
9787
9788Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9789
9790 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9791 \n, not just one of each.
9792
9793 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9794 /bin/cc gives a warning if you do.
9795
9796Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9797
beb998c6 9798 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9799 __t10ListS_link1ZUiRCUiPT0
9800
9801Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9802
9803 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9804 on local variables in recursive functions.
9805
9806 * gdb.t07/Makefile.in: Build the new test.
9807
9808Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9809
9810 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9811 directly. Instead compare the return values from actual calls.
9812
9813Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9814
9815 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9816
9817Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9818
9819 * From Peter Schauer with minor modifications.
9820 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9821 stops in mid-line in the caller. Add xfail for returning a float
9822 value on X86 targets.
9823
9824Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9825
9826 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9827 to avoid expect lossage.
9828 (fmem_LRbug_tests): Likewise.
9829 * gdb.disasm/hppa.s: Corresponding changes.
9830
9831 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9832 conditions to work with latest dejagnu/expect.
9833
9834 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9835 expected to fail on the PA.
9836 (backtrace in call with trampolines): Explicitly require main
9837 to be frame #1 (no trampolines should show up in backtrace).
9838
9839 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9840 "continue -expect".
9841 * gdb.t06/break.exp: Likewise.
9842 * gdb.t07/watchpoint.exp: Likewise.
9843 * gdb.t13/bitfields.exp: Likewise.
9844 * gdb.t15/{funcargs,return}.exp: Likewise.
9845 * gdb.stabs/weird.exp: Likewise.
9846 * config/{mips,udi}-gdb.exp: Likewise.
9847
9848 * hppa.sed: Enclose comments within a sed command to avoid
9849 losing with the old OSF1 sed.
9850
9851Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9852
9853 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9854 sequent dynix.
9855 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9856 * gdb.t15/funcargs.exp: Conditionally step again to really
9857 finish from marker_call_with_trampolines. Handle the case where
9858 the first step from within call_with_trampolines already steps
9859 us back to main.
9860 * gdb.t15/gdbme.c: Add comment to closing brace of
9861 call_with_trampolines for funcargs.exp.
9862
9863Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9864
beb998c6 9865 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9866 Fix typo(s).
9867
9868Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9869
9870 * gdb.t07/gdbme.c: More code for watchpoint testing.
9871
9872 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9873 "Hardware watchpoint" throughout file.
9874 (test_watchpoint_triggered_in_syscall): New test.
9875 (test_complex_watchpoint): New test.
9876
9877Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9878
9879 * gdbme.c (call_with_trampolines): New function to try and step
9880 into. Tests trampoline problems on the PA.
9881
9882 * funcargs.exp (localvars_in_indirect_call): No longer expect
9883 stepping into indirect call to fail on PAs.
9884 (test_stepping_over_trampolines): New test.
9885
9886Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9887
9888 * TODO: Add suggestions for static member function tests, and
9889 completion tests.
9890
9891Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9892
9893 * TODO: Add suggestions for "p/a" tests.
9894
9895 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9896 (default_gdb_exit): Replace all the hair with sending "quit" to
9897 the process with a simple close.
9898
9899Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9900
9901 * TODO: Add suggestions for shared library tests.
9902
9903Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9904
9905 * TODO: Add suggestions for x/s tests.
9906
9907Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9908
9909 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9910 "enable once", and "enable breakpoints once" with ".*".
9911
9912Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9913
9914 * TODO: Add suggestions about structure passing tests.
9915
9916Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9917
9918 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9919 the primary1 test, use work around if __GNUC__ < 2.
9920 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9921 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9922 Test for bad output rather than waiting for timeout. Issue
9923 second continue only if first continue failed.
9924
9925Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9926
9927 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9928 operator[] test with gdb_test because the old code didn't seem to
9929 be getting the quoting right with the new dejagnu.
9930
9931Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9932
9933 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9934 one from the path.
9935 * Makefile.in: Use a fresh expect if there is one, use runtest
9936 from the src tree if there is one.
beb998c6 9937
c906108c
SS
9938Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9939
9940 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9941 next over recursive call. Revise the tests from that point on
9942 (which had been skipped) to match GDB's actual (correct) output.
9943
9944 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9945 with next over a breakpoint whose condition is false.
9946
9947 * gdb.t00/help.exp: Comment out "help set print" tests just like
9948 (and for same reason as) "help set" test.
9949
9950Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9951
9952 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9953 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9954
9955Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9956
9957 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9958 necessary gdb_target_udi.
9959
9960 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9961
9962 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9963 1838 and 2417; they are fixed.
9964
9965 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9966 gdb.t03/ptype.exp (ptype structure, ptype union):
9967 Remove xfails; the test is looser than when the xfails were added.
9968
9969 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9970 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9971
9972 * gdb.t01/run.exp: Only run shell test if isnative.
9973
9974 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9975 since "run" automatically loads if necessary. Call gdb_target_udi
9976 after the "file" since "file" kills any execution target.
9977
9978 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9979 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9980 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9981 argument for UDI.
9982
9983Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9984
9985 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9986
9987 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9988
9989Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9990
9991 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9992 properly quoting regexps. This makes the second argument to
9993 demangle a fixed string, which matches the callers, instead of a
9994 shell-style pattern which is what the previous implementation
9995 used. Update some of the callers.
9996
9997Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9998
9999 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10000 (comib_nullified_tests): Fix typo.
10001 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10002 strings. No longer expected to fail.
10003
10004 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10005 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10006 strings. No longer expected to fail.
10007
10008 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10009 string. No longer expected to fail.
10010
10011Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10012
10013 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10014 No longer expected to fail.
10015
10016 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10017 string. No longer expected to fail.
10018
10019Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10020
10021 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10022 only in the names (I probably got most of them). I was even
10023 generous with some which differed in underscores in names, and
10024 probably missed a few, and I *still* was able to remove almost a
10025 third of the file with almost no impact on testsuite coverage.
10026
10027Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10028
10029 * gdb.t00/default.exp: Match udi_attach error message as well as
10030 the one from child_attach.
10031
10032 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10033
10034 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10035
10036 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10037 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10038
10039 * Move test with enums and partial symbols back to
10040 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10041 Reverts the change of 26 May 93. Per today's change to
10042 stabs.texinfo, the behavior that weird.exp was expecting was
10043 unreasonable; what is important is that the compiler+gdb get
10044 things right, which happens with a recent gcc. Also fix the test
10045 to deal with native compilers which put out the stab gdb can't
10046 deal with.
10047
10048Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10049
10050 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10051 in the names. The main thing these accomplish is to slow things down.
10052 Many more such duplicates surely remain.
10053
10054 * gdb.t00/help.exp: Comment out "help support" test just like
10055 (and for same reason as) "help set" test.
10056
10057Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10058
10059 * gdb.t06/break.exp: Remove setup_xfails for
10060 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10061 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10062 about known bug in gcc to include up through 2.5.8.
10063 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10064 well as "_vb$".
10065 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10066 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10067 with latest gcc and gdb.
10068 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10069 well as "_vb$".
10070
10071Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10072
10073 * configure.in (hppa*-*-*): Also configure and build stabs-only
10074 tests.
10075
10076Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10077
10078 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10079 * gdb.t10/configure.in (hppa*-*-*): Use it.
10080
10081Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10082
10083 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10084
10085Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10086
10087 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10088 versions prior to 1.13.5.
10089
10090Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10091
10092 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10093 the prompt is at the start of a line.
10094
10095Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10096
10097 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10098 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10099 in the copr tests now.
10100 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10101 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10102 expected to fail.
10103
10104Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10105
10106 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10107 gdb.t31/chillvars.exp, lib/gdb.exp:
10108 Tweak to run under either version of expect.
10109 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10110 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10111 * gdb.t11/list.exp: Remove extraneous whitespace.
10112
10113Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10114
10115 * gdb.t16/printcmds.exp (test_print_strings): Accept
10116 "(unsigned char *) " before the string.
10117
10118 * TODO: Add notes about printing of fancy types and GDB expressions.
10119
10120Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10121
10122 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10123 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10124 if doing mips-idt-ecoff.
c906108c
SS
10125
10126Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10127
10128 * Most .exp files: Tweak to run under either version of expect.
10129
10130Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10131
10132 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10133 xfails; I'm not sure why they are failing, but not because of PR 1806.
10134
10135Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10136
10137 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10138 defined in lib/gdb.exp.
10139
10140Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10141
10142 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10143 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10144 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10145 have to be typeless.
10146
10147Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10148
10149 * TODO: Add suggestion for copyright year test.
10150
10151Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10152
10153 * configure.in (*-*-lynxos*): Add stabs tests.
10154
10155Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10156
10157 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10158 so insert a tab before any assembler directive in column zero.
10159
10160 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10161 stores.
10162 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10163 stores.
10164 (fpu_short_memory_tests): Likewise.
10165
10166Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10167
10168 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10169 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10170 .stabs directives in comments.
10171
10172Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10173
10174 * TODO: New file, describing tests we could write.
10175 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10176
10177Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10178
10179 * gdb.t06/signals.exp: Add kludge to force re-sync.
10180
10181 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10182 to xgdb instead of gdb, get out of gdb.
10183
10184Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10185
10186 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10187 for info.
10188
10189Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10190
10191 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10192 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10193 * gdb.stabs/hppa.sed: New sed script for the PA.
10194
10195Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10196
10197 * gdb.stabs: Re-write weird.def and configuration to use sed
10198 instead of cpp. sed is portable and POSIX; cpp is neither.
10199
10200Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10201
10202 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10203
10204Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10205
10206 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10207
10208Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10209
10210 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10211 "_vb$".
10212 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10213 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10214
10215Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10216
10217 * lib/gdb.exp: Comment out code which depends on non-existent
10218 `transform' procedure.
10219
10220Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10221
10222 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10223 * lib/gdb.exp: Transform tool name.
10224 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10225 1.1's new error handling system.
10226
10227Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10228
10229 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10230
10231Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10232
10233 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10234 They made pattern matching so slow that timeouts happened on
10235 heavily loaded systems. Now any output from "show print" which
10236 gets us back to the GDB prompt is a PASS.
10237
10238Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10239
10240 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10241
10242Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10243
10244 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10245
10246 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10247 It is not from PR 3220.
10248
10249Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10250
10251 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10252 just started failing because they depended on the order the
10253 subcommands are presented, or exact docstring text. This kind of
10254 test is a pain and has minimal benefit.
10255
10256Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10257
10258 * gdb.t09/corefile.exp: At end of test, use "core" command with
10259 no arguments.
10260
10261Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10262
10263 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10264 17}/Makefile.in: Make it possible to run the testsuite with Sun
10265 make and CC = cross gcc by adding explicit build rules for .o
10266 files.
10267
10268Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10269
10270 * gdb.t15/funcargs.exp: Don't put comments on same line as
10271 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10272
c906108c
SS
10273Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10274
10275 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10276
10277Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10278
10279 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10280 * gdb.t20/inherit.exp: remove three dumplicate entries.
10281
10282Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10283
10284 * gdb.t06/break.exp: For "next over recursive call", fail on any
10285 incorrect output, not just on "factorial (value=2)".
10286
10287Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10288
10289 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10290 working now. Add an xfail if accesing a bss variable causes
10291 a memory error if the target is not yet run.
10292
10293Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10294
10295 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10296 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10297 name of __st* demangling (2 strings). Did Kung really get the
10298 more than 95 others right without testing them?
10299
10300Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10301
10302 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10303
10304Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10305
10306 * configure.in (configdirs): Add gdb.disasm
10307 * gdb.disasm: New directory for GDB disassembler tests.
10308 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10309
10310Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10311
10312 * gdb.t00/help.exp: Don't test "help set".
10313
10314 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10315 from within expect statements. None of these happen anymore and
10316 they cause regressions to be silently unnoticed.
10317
10318 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10319 messages) about known failures with gcc cygnus-2.4.5-930417.
10320
10321 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10322 comp-info.exp so it gets built if it doesn't exist.
10323
10324 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10325 it is no longer used.
10326 * gdb.t13/comp-info.c: Removed.
10327
10328Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10329
10330 * gdb.t06/signals.exp: Add xfail for sun3.
10331
10332Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10333
10334 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10335 relevant because ^C doesn't get sent but failure can be reproduced
10336 interactively).
10337
10338Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10339
10340 * gdb.stabs/alpha.mt: New configuration file for alpha.
10341 * gdb.stabs/configure.in: Use it.
10342 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10343 sharing with alpha.mt, redefine long to word via preprocessor.
10344 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10345 for alpha.
10346 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10347 native cc.
10348 * gdb.t00/teststrategy.exp: Change expect string so that we
10349 consume the `(xgdb)' from the command echo and from the gdb prompt.
10350 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10351 gdb currently compares all values as long, so this failure probably
10352 applies to any configuration where LONGEST is bigger than a target int.
10353 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10354 with gcc.
10355 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10356 to handle opaque pointers, gcc is.
10357 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10358 as first argument. Include <sys/types.h> and change all operator
10359 new definitions to use size_t.
10360 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10361 now that we use size_t.
10362
10363Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10364
10365 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10366 a long or float array cast all array members to the same type.
10367 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10368 with 64 bit longs.
10369 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10370 on alpha.
10371 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10372
10373Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10374
10375 * gdb.t24 (demangle.exp): Constructors of templates have names like
10376 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10377 section 14.6 of the ARM.
10378
10379 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10380 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10381 accomplish little and slow down the testsuite.
10382
10383 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10384 Accept spaces various places.
10385
10386Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10387
10388 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10389 with watchpoint enabled.
10390
10391 * Makefile.in: Remove definition of CC and remove the second
10392 definition of CXX (the "CXX = gcc" one remains). These definitions
10393 were causing backquotes to be expanded within backquotes, which
10394 doesn't work.
10395
10396Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10397
10398 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10399
10400Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10401
10402 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10403 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10404 by mips cc and contains no stabs entries.
10405
10406Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10407
10408 * config/vx-gdb.exp: Use fake device to load files rather than
10409 NFS.
10410 * lib/gdb.exp: New proc to do "file" command.
10411 * config/unix-gdb.exp: Use new "file" proc.
10412
10413Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10414
10415 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10416 Rework board rebooting slightly.
10417 (gdb_exit): Don't exit from the remote shell; there isn't one.
10418 * gdb.stabs/weird.exp: If a program is being debugged already,
10419 kill it.
10420 * gdb.t04/setvar.exp: Stop and restart gdb.
10421 * gdb.t05/expr.exp: Likewise.
10422 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10423 restart gdb and reload the program.
10424 * gdb.t08/opaque.exp: Likewise.
10425 * gdb.t12/scope.exp: Likewise.
10426 * gdb.t13/bitfields.exp: Likewise.
10427 * gdb.t15/funcargs.exp: Likewise.
10428 * gdb.t20/classes.exp: Likewise.
10429 * gdb.t03/ptype.exp: Increase timeout.
10430 * gdb.t16/printcmds.exp (test_print_string_constants,
10431 test_print_array_constants): Likewise.
10432 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10433 * gdb.t20/classes.exp (do_tests): Likewise.
10434 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10435
10436Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10437
10438 * gdb.stabs: Renamed *wierd* to *weird*.
10439
10440Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10441
10442 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10443 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10444
10445Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10446
10447 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10448 (do_tests): Remove xfail for whatis on one_var and two_var.
10449
10450Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10451
10452 * Makefile.in: Made cross building work better by adding
10453 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10454
10455Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10456
10457 * gdb.t15/{return.c,return.exp,Makefile.in}:
10458 New test, currently commented out.
10459
10460Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10461
10462 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10463 still running and removes the leftover named socket so GDb can do
10464 clean restarts.
10465
10466Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10467
10468 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10469 console, not GDB.
10470 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10471 cross testing works better with "make check"
10472 * config/unix-gdb: Use default procedures for exit and version.
10473 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10474 with the newest VxWorks.
10475
10476Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10477
10478 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10479 old form.
10480
10481 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10482 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10483
10484 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10485
10486 * config/unix-gdb.exp: Remove this version of gdb_exit
10487 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10488 Rob says he'll look at it when he gets back to testing boards.
10489
10490Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10491
10492 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10493 an expected fail for certain ptype commands.
10494
10495 * gdb.t20/classes.exp: Update expected results of "ptype class
10496 Base1" to account for the constructor that now appears in the type.
10497
10498Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10499
10500 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10501 disappeared from list.
10502 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10503 "alldone" proc with call to cleanup and exit.
10504 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10505 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10506 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10507 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10508 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10509 "alldone" proc with simple returns that suppress remaining
10510 tests. The alldone proc went away many months ago.
10511
10512Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10513
10514 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10515
10516 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10517
10518Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10519
10520 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10521 as vax gdb will display them.
10522
10523Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10524
10525 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10526 optimizers.
10527
10528 * scope.exp: Change "bad value for localval" messages so each one
10529 is unique.
10530
10531 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10532 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10533
10534 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10535
10536Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10537
10538 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10539 doesn't exist (due to optimization).
10540
10541Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10542
10543 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10544 contains \r because the filename is long.
10545
10546 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10547 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10548
10549Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10550
10551 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10552 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10553 Ultrix.
10554 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10555 int tests.
10556 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10557
10558Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10559
10560 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10561
10562 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10563 to match does not match the passing case but still matches the
c906108c
SS
10564 failing case.
10565
10566Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10567
10568 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10569
10570Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10571
10572 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10573 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10574 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10575 Remove various versions of gdb_exit.
10576 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10577 gdb_exit.
10578 * config/unix-gdb.exp: gdb_exit remains here, and should override
10579 the generic version, since it's doing a lot of wierd stuff that
10580 the other versions aren't. FIXME, fold it in, or abandon this
10581 version.
10582
10583Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10584
10585 * gdb.t24/demangle.exp: Add tests for PR 3220.
10586
10587Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10588
10589 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10590
10591Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10592
10593 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10594 "i386-*-*". Works for i486 as well.
10595
10596 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10597 bug, and expand domain of xfail to all SVR4 systems, since the
10598 actual problem is likely to be in generic SVR4 /proc support.
10599
10600Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10601
10602 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10603
10604Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10605
10606 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10607 xfails for other systems. Match a missing 'Continuing.' as an
10608 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10609
10610 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10611 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10612 Only issue warning for missing executables if -all option is used.
10613
10614 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10615 file if -all option is used. It's like an unpredictable XFAIL.
10616
10617Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10618
10619 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10620 for dynamically linked binaries.
10621
10622 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10623
10624Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10625
10626 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10627 to state that this is a known bug in old versions of g++.
10628
10629Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10630
10631 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10632 while waiting for `Continuing'.
10633
10634Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10635
10636 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10637 in text, data, and bss.
10638 * gdb.t10/nodebug.c: Add local and global test variables for
10639 initialized and uninitialized data.
10640
10641Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10642
10643 * config/unix-gdb.exp (gdb_exit): Add "wait".
10644
10645Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10646
10647 * gdb.t06/signals.exp: xfail the continue from the handler for all
10648 targets.
10649
10650 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10651 function with watchpoints enabled, the i386 call dummy starts with
10652 a call.
10653
10654 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10655 386 bsd names its corefiles.
10656
10657Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10658
10659 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10660 compilers don't grok it.
10661 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10662 with small octal ints rather than character constants, which
10663 are signed and might not fit if first promoted to int.
10664
10665Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10666
10667 * gdb.t09/Makefile.in (clean): Remove corefile.
10668
10669Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10670
10671 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10672
10673Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10674 and Jim Kingdon (kingdon@cygnus.com)
10675
10676 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10677 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10678 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10679
10680Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10681
10682 * gdb.t17/interrupt.exp: Add xfail for hppa.
10683
10684Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10685
10686 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10687 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10688 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10689 to determine signed-ness of bitfields and use the result to setup
10690 the xfail.
10691 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10692 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10693 call line is reached if necessary.
10694
10695Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10696
10697 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10698
10699Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10700
10701 * gdb.t06/break.exp: Also test `clear' command.
10702
10703Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10704
10705 * gdb.t00/teststrategy.exp: Remove extra quote.
10706
10707 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10708 watchpoint enabled to be for all non-68k machines.
10709
10710 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10711
10712Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10713
10714 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10715 targets use aout.mt instead of ecoff.mt as gas understands
10716 standard aout format.
10717
10718Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10719
10720 * lib/gdb.exp (runto): Don't insist that function we are running to
10721 was compiled with -g.
10722
10723 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10724
10725 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10726 to get back into the read system call.
10727 Accept leading newline in case where we woke it up.
10728
10729Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10730
10731 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10732 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10733 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10734 enable ecoff configuration.
10735
10736Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10737
10738 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10739
10740Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10741
10742 * gdb.t16/printcmds.exp: Add another printf test.
10743
10744Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10745
10746 * configure.in: If configured -with-stabs on any target, add
10747 stabsdirs to configdirs.
10748
10749Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10750
10751 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10752 fun" so pattern does not match the command itself.
10753
10754Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10755
10756 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10757
10758Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10759
10760 * gdb.t17/interrupt.exp: Test for more things.
10761
10762Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10763
10764 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10765 compiler arranges the code and line numbers.
10766
10767 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10768
10769Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10770
10771 * gdb.t00/help.exp: Increase expect input buffer size.
10772
10773Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10774
10775 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10776
10777 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10778
10779 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10780
10781 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10782 [0-9]*, not just [0-9].
10783
10784Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10785
10786 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10787
10788 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10789
10790Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10791
10792 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10793
10794Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10795
10796 * gdb.t06/signals.c: Add xfails for sun3.
10797
10798 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10799
10800 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10801 test_stepping tests.
10802
10803Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10804
10805 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10806
10807 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10808
10809 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10810 rather than actually putting it through cpp twice.
10811
10812 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10813
10814Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10815
10816 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10817 no longer needed.
10818
10819Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10820
10821 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10822
10823 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10824 C++ features prints as "struct", make it a pass, not an xfail.
10825
10826Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10827
10828 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10829 Don't require VA to print as "class" rather than "struct".
10830
10831Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10832
10833 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10834
10835Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10836
10837 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10838
10839Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10840
10841 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10842 order.
10843
10844Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10845
10846 * gdb.t16/printcmds.exp: Add printf tests.
10847
10848 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10849
10850 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10851
10852Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10853
10854 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10855 pass counts, to counteract any existing or future setup_xfails.
10856
10857Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10858
10859 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10860 {BEGIN,END}_COMMON for common block instead of STAB.
10861 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10862
10863 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10864 intp_var should be N_GSYM not N_LSYM.
10865 wierd-aout.S: Use a label for the value of the N_SO.
10866 wierd.def: Remove all backslashes.
10867 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10868
10869Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10870
10871 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10872 get the expected next to inheritance3.
10873
10874Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10875
10876 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10877 now that gcc-2.4 gets it right.
10878
10879Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10880
10881 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10882
10883 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10884 generating comp-info.exp which works for cross-compilation.
10885
10886Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10887
10888 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10889 "*-*-sysv4.*".
10890
10891Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10892
10893 * gdb.t01/run.exp: Start with a fresh gdb.
10894 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10895 SVR4.x.
10896
10897Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10898
10899 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10900 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10901 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10902 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10903 things to remove.
10904
10905Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10906
10907 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10908 test cases from bug reports.
10909
10910Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10911
10912 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10913 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10914 avoid spurious xfails.
10915 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10916 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10917 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10918
10919Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10920
10921 * gdb.t00/teststrategy.exp: Rework to provide more useful
10922 description of each test, fix problem with systems that define
10923 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10924 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10925 results for "next over recursive call" so timeouts aren't taken
10926 by error.
10927
10928Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10929
10930 * gdb.t12/scope.exp: Test printing of variables before run.
10931
10932 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10933 printed in wrong order due to sorting.
10934
10935Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10936
10937 * gdb.t00/teststrategy.exp: Fix expected results for printing
10938 user entered string constant. Is array of char, prints with no
10939 address.
10940
10941 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10942 commands.
10943 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10944 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10945 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10946 of struct of char arrays.
10947 * gdb.t00/radix.exp: New tests for radix commands.
10948
10949Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10950
10951 * gdb.t16/printcmd.exp: Print a variable before running program
10952 (with xfail for AIX).
10953
10954Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10955
10956 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10957
10958 * gdb.t16/printcmd.exp: Don't print variables before running program.
10959
10960 * gdb.t06/break.exp: Don't require envp argument to main.
10961
10962 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10963
10964 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10965 Add xfails for rs6000.
10966
10967 * gdb.t02/whatis.exp: Change other tests not to re-test something
10968 we already tested.
10969
10970 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10971 each type used has a variable of that type.
10972
10973Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10974
10975 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10976
10977Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10978
10979 * configure.in: change srctrigger to be a file, not a directory
10980
10981Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10982
10983 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10984
10985 * gdb.t11/list.exp: Fixed a couple of typos.
10986
10987Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10988
10989 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10990 is fixed and PR is closed.
10991 * gdb.t16 (gdbme.c): Add simple test string variable.
10992 * gdb.t16 (printcmds.exp): Add tests with simple test string
10993 variable, primarily for boundaries on "set print elements".
10994
10995Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10996
10997 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10998 Make leading 0's optional and don't expect a tab in the middle
10999 of the number.
11000
11001 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11002
11003 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11004 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11005 don't end command passed to gdb_test with newline.
11006
11007 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11008 signed keyword away, don't expect signed bitfields to be signed.
11009
11010 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11011 printing with only as many 1's as are in the field as well as printing
11012 with 32 1's (see comment).
11013
11014Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11015
11016 * gdb.t00/default.exp: Start with a fresh gdb.
11017 * configure.in (configdirs): Remove gdb.t31 until the chill
11018 compiler works again. It no longer is able to find chillrt0
11019 since it isn't in libchill.a anymore.
11020 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11021 wierd.o, make more modular.
11022 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11023 spurious newlines that caused problems.
11024
11025Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11026
11027 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11028 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11029 gdb.stabs/wierd.{exp,def}: Many new tests.
11030
11031 * gdb.t00/default.exp: update info line for new message.
11032
11033 * gdb.t02/{whatis.exp,gdbme.c}:
11034 Test that "char *" doesn't print as "caddr_t".
11035
11036Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11037
11038 * gdb.t00/help.exp: Use .* in place of some help messages which
11039 just changed.
11040 gdb.t00/default.exp: Update "info frame" test for new message.
11041 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11042 Remove some xfails
11043
11044Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11045
11046 * gdb.t03/{gdbme.c,ptype.exp}:
11047 Add tests for typedef'd struct and union without tags.
11048 Also check "whatis" on a variable of a typedef'd enum without a tag.
11049
11050 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11051 PRMS 1823; the bug still exists but isn't reproduced by this test
11052 anymore), and remove rs6000 XFAIL (the bug is fixed).
11053
11054 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11055 duplicated from whatis.exp. For those that are left, accept
11056 "long", "long int", or "int" for long variables (whatis.exp already
11057 has an XFAIL for "int", so no need to fail it here).
11058
11059 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11060 Deal with GCC's names for types now that GDB uses the compiler's names.
11061
11062 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11063 setup_xfail's for sunos4. If we #defined the signed keyword away,
11064 don't expect GDB to know that char it is signed.
11065
11066 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11067
11068Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11069
11070 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11071 should work on any system, regardless of debugging format.
11072 * gdb.t21/demangle.exp: Move to gdb.t24.
11073 * gdb.t24/demangle.exp: Move from gdb.t21.
11074 * gdb.t24/{Makefile.in, configure.in}: New files.
11075
11076Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11077
11078 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11079 * gdb.stabs: New directory.
11080
11081Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11082
11083 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11084 not just "Quit anyway?".
11085
11086Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11087
11088 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11089 that all setup_xfails are immediately followed by clear_xfails.
11090
11091Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11092
11093 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11094 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11095 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11096 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11097 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11098 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11099 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11100 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11101 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11102 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11103 gdb.t31/chillvars.exp, lib/gdb.exp:
11104 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11105 bug-gdb@prep.ai.mit.edu.
11106
11107Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11108
11109 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11110 with 0.0, not integer 0.
11111
11112Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11113
11114 * gdb.t06/break.exp: Update for "Kill the program" message change.
11115
11116Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11117
11118 * Makefile.in (GDBFLAGS): Set to -nx.
11119 * Makefile.in (site.exp): Use GDBFLAGS.
11120
11121Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11122
11123 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11124 Makefiles.
11125 (check): depend on just-check.
11126 (just-check): added so that tests can be run without a noop
11127 build pass.
11128
11129Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11130
11131 Switch to using configure's configdirs.
11132 * Makefile.in (Makefile): add configure.in dependency.
11133 (SUBDIRS): removed redundant assignment.
11134 * configure.in: switch subdirs assignment to configdirs.
11135 * gdb.t*/configure.in: new files.
11136
11137Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11138
11139 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11140 works.
11141
11142Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11143
11144 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11145 in explicit rules. Apparently this is not supported by some makes.
11146
11147Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11148
11149 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11150
11151Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11152
11153 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11154 disappeared.
11155
11156Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11157
11158 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11159
11160Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11161
11162 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11163 watchpoint problem that is now fixed.
11164 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11165 uninitialized convenience variables.
11166 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11167 structures.
11168
11169Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11170
11171 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11172 which causes expect to get out of sync with gdb on long output
11173 from help set.
11174 * gdb.t09/corefile.exp: Make expected pattern for core file
11175 failing signal and frame output format less sun specific.
11176
11177Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11178
11179 * gdb.t31/chillvars.exp: Add and remove initial dummy
11180 breakpoint, so that symbol table is forced in.
11181 (Needed at least on Sunos4, though it seems not SVR4.)
11182 * gdb.t31/chillvars.exp: Update for changed output format.
11183
11184Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11185
11186 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11187
11188Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11189
11190 * Makefile.in: Added --srcdir when invoking runtest, removed the
11191 need for a local config file. (optional now)
11192
11193Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11194
11195 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11196 failure count used to force early termination. Add some more
11197 expected failures for gnu style demangling.
11198
11199Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11200
11201 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11202 pmi variable from gdb.t20/gdbme to get optimized away.
11203 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11204 Check for written corefile upon timeout _and_ eof.
11205
11206Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11207
11208 * config/unix-gdb.exp: Add missing return 0.
11209
11210Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11211
11212 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11213 test termination.
11214
11215Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11216
11217 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11218 disappeared.
11219
11220Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11221
11222 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11223 time as i860 support works.
11224
beb998c6 11225 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11226 "backtrace 100\r" rather than just "backtrace\r", to match last
11227 change.
11228
11229Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11230
11231 * config/udi-gdb.exp (gdb_exit): Remove close command.
11232 (gdb_target_udi): New procedure to set the UDI target.
11233 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11234 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11235 Added waits for prompts after several question responses. Added
11236 some more responses used by a29k-amd-udi-gdb.
11237 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11238 pass different arguments, restart UDI connection after program
11239 completion.
11240 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11241 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11242 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11243 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11244 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11245 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11246 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11247 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11248 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11249 after program completion.
11250 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11251 compiled with a SELECT_VECS setting.
11252 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11253 infinite recursion.
11254
11255 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11256 Added checks for COFF results, and made them expected failures for
11257 all targets. It would be better to make them expected failures
11258 for COFF targets only.
11259
11260Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11261
11262 * Makefile.in: add null dvi target, don't bother to recurse
11263 through test directories for info and install-info; rename
11264 $(datadir) to be dejagnu instead of deja-gnu
11265
11266Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11267
11268 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11269 compiler to coredump.
11270 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11271 code.
11272
11273Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11274
11275 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11276 coredump.
11277 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11278 code.
11279
11280Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11281
11282 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11283 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11284 which in a shell. Deletes xgdb when done.
11285 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11286 Tests the return from the "set height" or "set width" commands.
11287 Added a few return codes where needed.
11288
11289Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11290
11291 * Makefile.in (SUBDIRS): Add gdb.t17.
11292 * configure.in (subdirs): Add gdb.t17.
11293 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11294 files to test gdb's calling of functions in the inferior with
11295 the correct arguments and gdb's ability to retrieve any
11296 result returned.
11297
11298Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11299
11300 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11301 may be called after gdb goes away. Previous versions of expect
11302 needed these to avoid file descriptor leaks, but they cause
11303 errors with the current revision of expect.
11304 * gdb.t00/gdbvars.exp: Use -re on expected output after
11305 setting sevenbit-strings.
11306 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11307 to set sevenbit-strings consistent across tests.
11308 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11309 set sevenbit-strings consistent across tests.
11310
11311Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11312
11313 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11314 expected output to match current "expect" expectations.
11315
11316Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11317
11318 * gdb.t00/default.exp: Change expected output for default "source"
11319 command, to match new gdb behavior which requires a filename to
11320 source.
11321
11322Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11323
11324 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11325 expected fail for i486-*-* that misses the marker2 function.
11326 * gdb.t10/crossload.exp (bfddefault): Allow successful
11327 recognition of a format to pass even if no symbols are found.
11328 Explicitly catch failures where the format is not recognized
11329 or is ambiguous, and add the reason to the fail message.
11330 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11331 the cause is and invalid target and add reason to failure message.
11332 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11333 elf32-i386, elf32-sparc, and elf32-i860.
11334 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11335 Set up expected failure for 'filename'::variable scope resolution,
11336 which is now apparently broken on all targets.
11337 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11338 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11339 gdb.t23/templates.exp: Change failure for missing binfile into
11340 just a warning.
11341 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11342 references.
11343
11344Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11345
11346 * gdb.t00/default.exp: Add expected output for default "source"
11347 command, to match new gdb behavior.
11348 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11349
11350Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11351
11352 * config/*-gdb.exp: returns an error, rather than exiting on
11353 internal errors.
11354
11355Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11356
11357 * gdb.t03/gdbme.c: Add pointer to struct variable.
11358 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11359 referencing struct members.
11360
11361Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11362
11363 * configure.in (mips-idt-ecoff): New target.
11364 * config/mips-gdb.exp: New file for remote board using MIPS remote
11365 debugging protocol.
11366
11367 * Redid configuration scheme. Removed gdb.t*/configure.in.
11368 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11369 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11370 distclean targets. Built executables via .o files. Adjusted
11371 tests to account for source files in $(srcdir) rather than
11372 $(objdir).
11373 * lib/gdb.exp (runto): Don't expect () after the function name,
11374 because it may have arguments.
11375
11376Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11377
11378 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11379 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11380 expected failures for mips-idt-* and mips-sgi-*.
11381 * gdb.t00/default.exp (attach): Kill process if requested.
11382 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11383 that does not read core files.
11384 * gdb.t01/run.exp: Removed checks for exit status code.
11385 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11386 it is linked in.
11387 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11388 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11389 appropriate, rather than doing it by hand.
11390 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11391 execution.
11392 * gdb.t10/crossload.exp: Kill existing program if needed.
11393 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11394 appropriate, rather than doing it by hand. Always increase
11395 timeout for this test, not just for VxWorks.
11396
11397Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11398
11399 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11400 of Chill STRUCT types and STRUCT values.
11401 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11402 than "char".
11403 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11404 struct2): New struct definitions and initializations to test
c906108c
SS
11405 simple Chill STRUCT types.
11406
11407Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11408
11409 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11410 the null byte at the end of strings.
11411 * gdb.t00/default.exp: Make show version insensitive to copyright
11412 date.
11413 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11414 to avoid dependencies on target char signedness.
11415 * gdb.t16/printcmds.exp: Update expected results for explicitly
11416 unsigned char.
11417 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11418 now work.
11419 * gdb.t21/demangle.exp: Add many more patterns for template
11420 demangling, most of them being expected failures.
11421 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11422 string we are matching for, to match on the whole string.
11423 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11424 and fix a whole bunch that had incorrect expected output but were
11425 passing anyway because of the bug in "proc demangle".
11426 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11427 type.
11428 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11429
11430Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11431
11432 * gdb/testsuite: made modifications to testcases, etc., to allow
11433 them to work properly given the reorganization of deja-gnu and the
11434 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11435
11436Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11437
11438 * gdb/testsuite: Initial creation of gdb/testsuite.
11439 Migrated dejagnu testcases and support files for testing nm to
11440 gdb/testsuite from deja-gnu. These files were moved "as is"
11441 with no modifications. This migration is part of a major overhaul
11442 of dejagnu. The modifications to these testcases, etc., which
11443 will allow them to work with the new version of dejagnu will be
11444 made in a future update.
48efe704
AC
11445
11446For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11447\f
11448Local Variables:
ef043731 11449mode: change-log
c906108c
SS
11450left-margin: 8
11451fill-column: 74
11452version-control: never
11453End:
This page took 1.263089 seconds and 4 git commands to generate.