*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
d8679d84
PH
12004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
2
3 * gdb.base/chng-syms.exp: New file.
4 * gdb.base/chng-syms.c: New file.
5
0a55bc22
MC
62004-01-24 Michael Chastain <mec.gnu@mindspring.com>
7
8 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
9 Provide arms for current output in all my configurations.
10
94b8e876
MC
112004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12
13 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14 * lib/compiler.cc: Likewise.
15 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
16 get the right preprocessor. Eval the output directly. Remove
17 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
18 hp_f77_compiler and hp_f90_compiler completely.
19 (gdb_preprocess): Delete.
20 (get_compiler): Delete.
21
7cf03d44
MK
222004-01-24 Mark Kettenis <kettenis@gnu.org>
23
24 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
25 <string.h>.
26
68b6dce9
NR
272004-01-24 Nick Roberts <nick@nick.uklinux.net>
28
29 * gdb.mi/mi-stack.exp: Update copyright.
30
b368761e
DC
312004-01-23 David Carlton <carlton@kealia.com>
32
33 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
34 test for cp_lookup_transparent_type.
35 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
36 call them.
37
f2061b53
DJ
382004-01-23 Daniel Jacobowitz <drow@mvista.com>
39
40 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
41 after -var-update.
42
37fc574a
DC
432004-01-23 David Carlton <carlton@kealia.com>
44
45 * gdb.cp/namespace.cc (C::ensureRefs): New.
46 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
47
8e94b928
NR
482004-01-20 Nick Roberts <nick@nick.uklinux.net>
49
50 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
51 case "-stack-list-locals 2".
52 * gdb.mi/mi-var-child.exp: Test for case
53 "-var-list-children --all-values NAME".
54
997b0952
MC
552004-01-18 Michael Chastain <mec.gnu@mindspring.com>
56
57 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
58
52470da3
MK
592004-01-18 Mark Kettenis <kettenis@gnu.org>
60
7049b4b8
MK
61 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
62 used with gdb_test_multiple.
63
52470da3
MK
64 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
65 read at address 0. This fixes PR testsuite/1504.
66
da6012e5
DJ
672004-01-18 Daniel Jacobowitz <drow@mvista.com>
68
69 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
70 Remove downloading, guessing the host executable, the calls to
71 gdb_file_cmd and gdb_target_cmd, and "load" support.
72 (infer_host_exec): New function broken out from gdb_load.
73 (gdb_load): New wrapper for gdbserver_gdb_load.
74 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
75 gdb_target_cmd. Use -target-select.
76 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
77 Download binaries to the host. Clear last_mi_remote_file when
78 we load a new binary.
79 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
80 call gdbserver_gdb_load and mi_gdb_target_cmd.
81
32c70722
MC
822004-01-17 Michael Chastain <mec.gnu@mindspring.com>
83
84 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
85 type patterns.
86
b0cecf36
MC
872004-01-17 Michael Chastain <mec.gnu@mindspring.com>
88
89 * gdb.cp/templates.exp: Fix typo in test name of
90 "print Foo<volatile char*>::foo".
91
4120d7e6
MC
922004-01-15 Michael Chastain <mec.gnu@mindspring.com>
93
94 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
95
f679e530
BE
962004-01-16 Ben Elliston <bje@wasabisystems.com>
97
98 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
99 (clean mostlyclean): Remove empty rm.
100
091c48f6
MC
1012004-01-15 Michael Chastain <mec.gnu@mindspring.com>
102
103 * gdb.base/setvar.exp: Add copyright years.
104
3e5fc8d2
DC
1052004-01-14 David Carlton <carlton@bactrian.org>
106
107 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
108 PR c++/1511 and update coment.
109 * gdb.cp/templates.exp: Update patterns to match current output.
110 If changes involve something other than whitespace, KFAIL
111 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
112
63d06c5c
DC
1132004-01-14 David Carlton <carlton@kealia.com>
114
115 * gdb.cp/namespace.exp: Add tests involving classes defined within
116 namespaces.
117 * gdb.cp/namespace.cc (C::CClass): New.
118 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
119
a51dab88
EZ
1202004-01-14 Elena Zannoni <ezannoni@redhat.com>
121
122 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
123 what debug info we have. Print a better message if something goes
124 wrong while producing the separate debug info file.
125
a476ccc9
MC
1262004-01-14 Michael Chastain <mec.gnu@mindspring.com>
127
128 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
129
f453692c
MC
1302004-01-14 Michael Chastain <mec.gnu@mindspring.com>
131
132 * gdb.base/callfuncs.c: Add copyright notice.
133
f40063a5
MC
1342004-01-13 Michael Chastain <mec.gnu@mindspring.com>
135
136 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
137 inheritance. PR gdb/1498, PR gcc/13539.
138
19ac3974
EZ
1392004-01-13 Elena Zannoni <ezannoni@redhat.com>
140
141 * gdb.threads/gcore-thread.exp: Prefix name of binary with
142 test specific name.
143 * gdb.mi/gdb669.exp: Ditto.
144 * gdb.mi/mi-pthreads.exp: Ditto.
145 * gdb.mi/mi1-pthreads.exp: Ditto.
146 * gdb.mi/mi2-pthreads.exp: Ditto.
147
56c97c6e
MC
1482004-01-12 Michael Chastain <mec.gnu@mindspring.com>
149
150 * gdb.cp/member-ptr.cc: Add copyright notice.
151
a0644324
MC
1522004-01-12 Michael Chastain <mec.gnu@mindspring.com>
153
154 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
155 some patterns for recent versions of gcc and hpacc. Delete
156 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
157 Delete tests that access a NULL pointer-to-member-data. This
158 script is still disabled for gcc.
159
32fabe09
EZ
1602004-01-12 Elena Zannoni <ezannoni@redhat.com>
161
162 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
163 escaped correctly.
164
1f8a6abb
EZ
1652004-01-12 Elena Zannoni <ezannoni@redhat.com>
166
167 * gdb.base/sepdebug.exp: New file.
168 * gdb.base/sepdebug.c: New file.
169 * lib/gdb.exp (separate_debug_filename): New procedure.
170 (gdb_gnu_strip_debug): New procedure.
171
48efe704
AC
1722004-01-12 Andrew Cagney <cagney@redhat.com>
173
174 * gdb.mi/ChangeLog: Delete file. Renamed to ...
175 * gdb.mi/ChangeLog-1999-2003: New file.
176
a9415475
AC
1772004-01-12 Andrew Cagney <cagney@redhat.com>
178
179 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
180 "Renaming a directory to a non-empty directory returns ENOTEMPTY
181 or EEXIST", treat EBUSY as an XFAIL.
182
83b8cf9d
MC
1832004-01-11 Michael Chastain <mec.gnu@mindspring.com>
184
185 * gdb.base/scope.exp: Remove obsolete setup_xfail for
186 hp_cc_compiler.
187
9939d2a8
MC
1882004-01-10 Michael Chastain <mec.gnu@mindspring.com>
189
190 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
191 decorations.
192
1ff8cadf
MC
1932004-01-10 Michael Chastain <mec.gnu@mindspring.com>
194
195 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
196 and "(aCC)" decorations. Remove obsolete doco about old
197 test results.
198
6fa9022e
MC
1992004-01-09 Michael Chastain <mec.gnu@mindspring.com>
200
201 * gdb.cp/exception.exp: Fix typo in doco.
202
209721fe
MK
2032004-01-09 Mark Kettenis <kettenis@gnu.org>
204
205 * gdb.base/gdb1476.exp: Fix typo.
206
ef11303e
MC
2072004-01-09 Michael Chastain <mec.gnu@mindspring.com>
208
209 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
210 file.
211
041ab88c
MC
2122004-01-09 Michael Chastain <mec.gnu@mindspring.com>
213
214 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
215 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
216 Use gdb_compile. Remove restriction on gcc. Add some patterns
217 for recent version of gdb. Delete second half, which was a copy
218 of the first half with different build flags. This test is
219 still disabled because it is still not ready for production.
220
e36d075a
MC
2212004-01-08 Michael Chastain <mec.gnu@mindspring.com>
222
223 * gdb.cp/exception.cc: Add copyright notice.
224 * gdb.cp/exception.exp: Add a notice that this file is broken
225 because of line number changes caused by addition of copyright
226 notice.
227
42b190ad
MC
2282004-01-08 Michael Chastain <mec.gnu@mindspring.com>
229
230 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
231 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
232
8f25f06b
MC
2332004-01-08 Michael Chastain <mec.gnu@mindspring.com>
234
235 * gdb.cp/classes.exp: Accept gnu abi 2.
236 * gdb.cp/derivation.exp: Likewise.
237 * gdb.cp/overload.exp: Likewise.
238 * gdb.cp/virtfunc.exp: Likewise.
239
06ded8b8
MC
2402004-01-08 Michael Chastain <mec.gnu@mindspring.com>
241
242 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
243 semicolon after end of function.
244
77c26ae3
MC
2452004-01-07 Michael Chastain <mec.gnu@mindspring.com>
246
247 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
248 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
249 boilerplate code for compiling and running the program under
250 test. Add some string method tests.
251
20757486
MC
2522004-01-07 Michael Chastain <mec.gnu@mindspring.com>
253
254 * gdb.cp/bs15503.cc: Add copyright notice.
255 * gdb.cp/bs15503.exp: Adjust line number.
256
0fd3b503
MC
2572004-01-07 Michael Chastain <mec.gnu@mindspring.com>
258
259 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
260 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
261
10d1bea8
MC
2622004-01-07 Michael Chastain <mec.gnu@mindspring.com>
263
264 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
265 hp_cc_compiler.
266
2789202a
MC
2672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
268
269 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
270 * gdb.cp/ctti.exp: Use the marker instead of "next".
271 With gcc, run further before bailing.
272
b862f14c
MC
2732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
274
275 * gdb.cp/cttiadd.cc: Add copyright notice.
276 * gdb.cp/cttiadd1.cc: Likewise.
277 * gdb.cp/cttiadd2.cc: Likewise.
278 * gdb.cp/cttiadd3.cc: Likewise.
279
96da2469
MC
2802004-01-07 Michael Chastain <mec.gnu@mindspring.com>
281
282 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
283 Use gdb_test, gdb_test_multiple. Use floating-point values that
284 have exact representations in IEEE-ish formats.
285
053248ff
MC
2862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
287
288 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
289 compilers. Delete duplicate call to get_compiler_info.
290 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
291 * gdb.base/volatile.exp: Likewise.
292
84acecdd
MK
2932004-01-07 Mark Kettenis <kettenis@gnu.org>
294
295 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
296 memory at address 0.
297
fe11a27f
MC
2982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
299
300 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
301 to test for hp-ux assembler. Fix copyright years.
302
60ad077b
AC
3032004-01-07 Andrew Cagney <cagney@redhat.com>
304
305 * gdb.base/fileio.c (strerrno): Add "EBUSY".
306
1c9b8f33
AC
3072004-01-07 Andrew Cagney <cagney@redhat.com>
308
309 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
310 when creating the read-only file. From analysis by Roland McGrath
311 and Elena Zannoni.
312
753ccc7a
MC
3132004-01-06 Michael Chastain <mec.gnu@mindspring.com>
314
315 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
316
eca3e36b
MC
3172004-01-06 Michael Chastain <mec.gnu@mindspring.com>
318
319 * gdb.base/cvexpr.c: Be type-safe with function pointers and
320 data pointers.
321
f8d4bac4
MC
3222004-01-06 Michael Chastain <mec.gnu@mindspring.com>
323
324 * gdb.cp/m-static.exp: Compile one source file at a time.
325 Delete unused call to get_compiler_info.
326
9b4e0f94
MC
3272004-01-06 Michael Chastain <mec.gnu@mindspring.com>
328
329 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
330 * gdb.base/call-rt-st.exp: Likewise.
331 * gdb.base/nodebug.exp: Likewise.
332 * gdb.base/volatile.exp: Likewise.
333 * gdb.cp/ref-types.exp: Likewise.
334 * gdb.cp/templates.exp: Likewise.
335
023c1024
MK
3362004-01-05 Mark Kettenis <kettenis@gnu.org>
337
338 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
339
19703c4a
MC
3402004-01-05 Michael Chastain <mec.gnu@mindspring.com>
341
342 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
343 hppa*-hp-hpux*.
344
18b67037
MK
3452004-01-04 Mark Kettenis <kettenis@gnu.org>
346
ba6219c8
MK
347 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
348 x86_64-*-*.
349
18b67037
MK
350 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
351 sparc64-*-* and sparc*-solaris2*.
352
1bfbbb9d
MK
3532004-01-04 Mark Kettenis <kettenis@gnu.org>
354
355 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
356 return ${tests}" test. The ${tests} already mentions the
357 filename.
358
06846494
MC
3592004-01-02 Michael Chastain <mec.gnu@mindspring.com>
360
361 * gdb.cp/local.exp: Accept gcc abi 2.
362
3b0cb202
MC
3632004-01-02 Michael Chastain <mec.gnu@mindspring.com>
364
365 * gdb.cp/templates.exp: Accept gcc abi 2.
366
0643ec3f
MC
3672004-01-02 Michael Chastain <mec.gnu@mindspring.com>
368
369 * lib/compiler.cc: Remove supports_template_debugging.
370 * gdb.cp/templates.exp: Do not test supports_template_debugging.
371
d231d0b1
MC
3722004-01-01 Michael Chastain <mec.gnu@mindspring.com>
373
374 * gdb.cp/namespace.exp: Accept gcc abi 2.
375
44ffb27c
MC
3762004-01-01 Michael Chastain <mec.gnu@mindspring.com>
377
378 * gdb.cp/method.exp: Accept gcc abi 2.
379
184ad485
MC
3802004-01-01 Michael Chastain <mec.gnu@mindspring.com>
381
382 * gdb.cp/classes.exp: Generate identical results as old version.
383 * gdb.cp/derivation.exp: Likewise.
384 * gdb.cp/overload.exp: Likewise.
385 * gdb.cp/virtfunc.exp: Likewise.
386
116f09e7
MC
3872004-01-01 Michael Chastain <mec.gnu@mindspring.com>
388
389 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
390 mysterious bug with sourceware version of expect.
391
b1379776
MC
3922004-01-01 Michael Chastain <mec.gnu@mindspring.com>
393
394 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
395 current versions of gcc, including gcc abi 2. Remove gratuitous
396 restart of test program. Use gdb_test_multiple and gdb_test for
397 all tests. Add patterns to xfail missing "const" in "const char *"
398 and kfail PR gdb/1155.
399
6b7a4c0e
MC
4002004-01-01 Michael Chastain <mec.gnu@mindspring.com>
401
402 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
403 current versions of gcc, including gcc abi 2. Remove gratuitous
404 restart of test program. Use gdb_test_multiple and gdb_test for
405 all tests. Add patterns to kfail PR gdb/1498.
406
51615d72
MC
4072003-12-31 Michael Chastain <mec.gnu@mindspring.com>
408
409 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
410 current versions of gcc, including gcc abi 2. Use "breakpoint"
411 and "continue" instead of restarting the target program. Use
412 gdb_test_multiple and gdb_test for all tests.
413
7b79a9d7
MK
4142004-01-01 Mark Kettenis <kettenis@gnu.org>
415
416 * gdb.asm/asm-source.exp: Update copyright year. Link statically
417 for *-*-solaris2*.
418
1cd3489f
MC
4192003-12-31 Michael Chastain <mec.gnu@mindspring.com>
420
421 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
422 current versions of gcc, including gcc abi 2. Use "breakpoint"
423 and "continue" instead of restarting the target program several
424 times. Use gdb_test_multiple and gdb_test for all tests.
425
850742db
MC
4262003-12-18 Michael Chastain <mec.gnu@mindspring.com>
427
428 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
429 source files.
430
eb4bbda8
MC
4312003-12-16 Michael Chastain <mec.gnu@mindspring.com>
432
433 * gdb.base/environ.exp: Handle compiling test case from multiple
434 source files.
435
e42c7771
MC
4362003-12-16 Michael Chastain <mec.gnu@mindspring.com>
437
438 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
439
80e4b428
JB
4402003-12-17 Jim Blandy <jimb@redhat.com>
441
5f06973a
JB
442 * gdb.base/freebpcmd.c: Add copyright notice.
443
80e4b428
JB
444 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
445
0ab84fb7
MC
4462003-12-16 Michael Chastain <mec.gnu@mindspring.com>
447
448 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
449
1b3bb3d0
JB
4502003-12-13 Jim Blandy <jimb@redhat.com>
451
452 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
453
3a4c9371
KB
4542003-12-12 Kevin Buettner <kevinb@redhat.com>
455
456 * gdb.asm/frv.inc: New file.
457 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
458
a1dea79a
FF
4592003-12-09 Fred Fish <fnf@redhat.com>
460
461 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
462 functions to break1.c and leave prototypes behind. Add more
463 "set breakpoint NN here" comments.
464 * gdb.base/break1.c: New file.
465
466 * gdb.base/break.exp: Handle compiling test case from multiple
467 source files and change source file references as needed.
468 * gdb.base/completion.exp: Ditto.
469 * gdb.base/condbreak.exp: Ditto.
470 * gdb.base/define.exp: Ditto.
471 * gdb.base/ena-dis-br.exp: Ditto.
472 * gdb.base/info-proc.exp: Ditto.
473 * gdb.base/maint.exp: Ditto.
474 * gdb.base/until.exp: Ditto.
475
476 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
477 hardcoded line numbers.
478 * gdb.base/define.exp: Ditto.
479 * gdb.base/ena-dis-br.exp: Ditto.
480 * gdb.base/maint.exp: Ditto.
481 * gdb.base/until.exp: Ditto.
482
483 * gdb.base/completion.exp: Use "break1" for completion tests since
484 "break" is no longer a unique prefix.
485
5266b69c
AC
4862003-12-06 Andrew Cagney <cagney@redhat.com>
487
488 * gdb.base/structs.exp (test_struct_returns): When applicable, set
489 "return_value_unimplemented". When an unimplemented struct return
490 architecture, report incorrect values as a KFAIL
491
374451f0
MC
4922003-12-05 Michael Chastain <mec.gnu@mindspring.com>
493
494 * gdb.cp/rtti.exp: Accept new wording of warning from
495 cp_lookup_rtti_type.
496
ba9b20a7
MC
4972003-12-05 Michael Chastain <mec.gnu@mindspring.com>
498
499 Partial fix for PR testsuite/1456.
500 * gdb.base/scope.exp (test_at_main): Replace references to
501 gcc_compiled with calls to test_compiler_info.
502 (test_at_foo): Likewise.
503 (test_at_bar): Likewise.
504
b74b6d0b
MC
5052003-12-04 Michael Chastain <mec.gnu@mindspring.com>
506
507 Partial fix for PR testsuite/1456.
508 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
509 to test_compiler_info.
510
ccfa3402
MC
5112003-12-03 Michael Chastain <mec.gnu@mindspring.com>
512
513 * gdb.base/so-impl-ld.exp: Update copyright notice.
514
f6246aba
MC
5152003-12-02 Michael Chastain <mec.gnu@mindspring.com>
516
517 Partial fix for PR testsuite/1456.
518 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
519 to test_compiler_info.
520
13ae734a
MC
5212003-11-28 Michael Chastain <mec.gnu@mindspring.com>
522
523 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
524 from current versions of gdb. Clean up regular expressions.
525 Delete redundant timeout case.
526
d8e1cdee
MC
5272003-11-28 Michael Chastain <mec.gnu@mindspring.com>
528
529 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
530 from current versions of gdb. Clean up regular expressions.
531 Delete redundant timeout case.
532
96457b64
MC
5332003-12-01 Michael Chastain <mec.gnu@mindspring.com>
534
535 Partial fix for PR testsuite/1456.
536 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
537 gcc_compiled with call to test_compiler_info.
538
f35309fc
MC
5392003-11-30 Michael Chastain <mec.gnu@mindspring.com>
540
541 Partial fix for PR testsuite/1456.
542 * gdb.base/list.exp (test_list_function): Delete unused declaration
543 of gcc_compiled.
544
d7afdf9b
MC
5452003-11-29 Michael Chastain <mec.gnu@mindspring.com>
546
547 Partial fix for PR testsuite/1456.
548 * gdb.base/complex.exp: Replace reference to gcc_compiled with
549 call to test_compiler_info.
550
71507b56
MK
5512003-11-29 Mark Kettenis <kettenis@gnu.org>
552
553 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
554 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
555 it to create the appropriate note.inc.
556 * gdb.asm/asmsrc1.s: Include "note.inc".
557 * gdb.asm/netbsd.inc: New file.
558 * gdb.asm/empty.inc: New file.
559
f81f93f7
MC
5602003-11-28 Michael Chastain <mec.gnu@mindspring.com>
561
562 Partial fix for PR testsuite/1456.
563 * gdb.base/constvars.exp: Replace references to gcc_compiled with
564 calls to test_compiler_info.
565
9a77938e
MC
5662003-11-27 Michael Chastain <mec.gnu@mindspring.com>
567
568 Partial fix for PR testsuite/1456.
569 * gdb.base/volatile.exp: Replace references to gcc_compiled with
570 calls to test_compiler_info.
571
e8367dc7
MK
5722003-11-27 Mark Kettenis <kettenis@gnu.org>
573
574 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
575 pattern for the KFAILs.
576
526c61ee
AF
5772003-11-25 Adam Fedor <fedor@gnu.org>
578
579 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
580 * gdb.objc/objcdecode.m: New file.
581
28f2d600
AF
5822003-11-25 Adam Fedor <fedor@gnu.org>
583
584 * gdb.objc/nondebug.exp: Test for PR objc/1236.
585 * gdb.objc/nondebug.m: New file.
586
a3895cee
BE
5872003-11-26 Ben Elliston <bje@wasabisystems.com>
588
589 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
590 NetBSD as it does on FreeBSD. Modelled on a similar change by
591 Mark Kettenis on 2003-05-30.
592 (link-flags): Set to "--entry _start" regardless of target.
593 Special linker flags are to be appended to $link-flags.
594 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
595
c9f2c8a3
MC
5962003-11-25 Michael Chastain <mec.gnu@mindspring.com>
597
598 * gdb.cp/method.exp: Accept output of new demangler.
599
15a0587a 6002003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
601
602 * gdb/class2.exp: New file.
603 * gdb/class2.cc: New file.
604
3c00b570
MC
6052003-11-25 Michael Chastain <mec.gnu@mindspring.com>
606
607 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
608 of new demangler.
609
7027acc7
MK
6102003-11-23 Mark Kettenis <kettenis@gnu.org>
611
612 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
613 of gdb_test "run".
614
b0e1598a
MK
6152003-11-23 Mark Kettenis <kettenis@gnu.org>
616
617 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
618 "continue" into "run".
619
4d9eda44
MC
6202003-11-23 Michael Chastain <mec.gnu@mindspring.com>
621
622 Partial fix for PR testsuite/1456.
623 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
624 call to test_compiler_info.
625 * gdb.cp/ctti.exp: Likewise.
626 * gdb.cp/derivation.exp: Likewise.
627 * gdb.cp/member-ptr.exp: Likewise.
628 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
629 reference to gcc_compiled.
630
6312003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
632
633 Fix PR testsuite/1463.
634 * gdb.base/structs.exp (start_structs_test): Call
635 get_debug_format before using the debug format.
636
d422fe19
AC
6372003-11-22 Andrew Cagney <cagney@redhat.com>
638
639 * lib/gdb.exp (gdb_test_multiple): Add simple example.
640 * gdb.base/structs.exp: Use gdb_test_multiple.
641
039cf96d
AC
6422003-11-20 Andrew Cagney <cagney@redhat.com>
643
6882279b
AC
644 * gdb.base/structs.exp: Handle and recover from internal errors.
645 Replace "foo${n}" with "foo<n>" in test messages.
646
e53890ae
AC
647 * gdb.base/structs.exp: Update copyright. Rewrite.
648 * gdb.base/structs.c: Update copyright. Rewrite.
649
2b211c59
AC
650 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
651 resync count exceeded.
652
039cf96d
AC
653 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
654 from the internal error.
655 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
656 Original from Jim Blandy.
657 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 658
eac98b22
AC
6592003-11-19 Andrew Cagney <cagney@redhat.com>
660
661 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
662 KFAIL.
663
67455b2a
MK
6642003-11-17 Mark Kettenis <kettenis@gnu.org>
665
666 New testcase for PR backtrace/1435.
667 * gdb.arch/i386-unwind.exp: New file.
668 * gdb.arch/i386-unwind.c: New file.
669
853d6e5b
AC
6702003-11-17 Andrew Cagney <cagney@redhat.com>
671
672 * lib/gdb.exp (compiler_info): New global.
673 (test_compiler_info): New function.
674 (get_compiler_info): Set compiler_info.
675 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
676 "compiler_info" to gcc-<major>-<minor>.
677
38cf6e11
MC
6782003-11-15 Michael Chastain <mec.gnu@mindspring.com>
679
680 * gdb.trace/configure: Remove.
681
a50d3602
EZ
6822003-11-13 Elena Zannoni <ezannoni@redhat.com>
683
684 * gdb.base/break.c: Add comments to aid finding line numbers for
685 breakpoints.
686 * gdb.base/break.exp: Remove all references to explicit line
687 numbers.
688
d9407aaa
NC
6892003-11-11 Nick Clifton <nickc@redhat.com>
690
691 * gdb.base/shreloc.exp: Do not run for targets which do not
692 support shared objects.
693
db488fc1
CV
6942003-11-10 Corinna Vinschen <vinschen@redhat.com>
695
696 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
697 Don't run tests if nofileio flag is given.
698
6a90a18e
EZ
6992003-11-07 Elena Zannoni <ezannoni@redhat.com>
700
701 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
702 as well as 'Watchpoint'.
703
0b915e9c
EZ
7042003-11-06 Elena Zannoni <ezannoni@redhat.com>
705
706 Reported by Jim Ingham <jingham@apple.com>:
707 * gdb.base/annota1.exp: Match at least one occurrence of the
708 signal handler annotation.
709
d7e4b55f
EZ
7102003-11-06 Elena Zannoni <ezannoni@redhat.com>
711
712 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
713 as well as 'Watchpoint'.
714
2fe4e8d0
MC
7152003-11-05 Michael Chastain <mec@shout.net>
716
717 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
718
6ef88553
KW
7192003-11-03 Kris Warkentin <kewarken@qnx.com>
720
721 * gdb.arch/gdb1291.c: New test file.
722 * gdb.arch/gdb1291.exp: New test script.
723 * gdb.arch/gdb1431.c: New test file.
724 * gdb.arch/gdb1431.exp: New test script.
725
ae7dc4d8
MC
7262003-10-22 Michael Chastain <mec@shout.net>
727
728 * gdb.mi/pthreads.c: Add copyright notice.
729
c39d7427
MC
7302003-10-22 Michael Chastain <mec@shout.net>
731
732 * gdb.threads/pthreads.c: Add copyright notice.
733
8b7d96c1
MC
7342003-10-20 Michael Chastain <mec@shout.net>
735
736 * gdb.base/gdb1056.exp: New test script.
737
d1d69fdd
DJ
7382003-10-13 Daniel Jacobowitz <drow@mvista.com>
739
740 * gdb.threads/killed.exp: Use gdb_run_cmd.
741
7d605576
DJ
7422003-10-13 Daniel Jacobowitz <drow@mvista.com>
743
744 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
745 create a core file.
746 * gdb.threads/gcore-thread.exp: Likewise.
747
618ec112
CV
7482003-10-13 Corinna Vinschen <vinschen@redhat.com>
749
750 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
751 type, based on char type.
752 (struct bit_flags_short_t): New bitfield type, based on short type.
753 (init_bit_flags_char): New fuction.
754 (init_bit_flags_short): Ditto.
755 (print_bit_flags_char): Ditto.
756 (print_bit_flags_short): Ditto.
757 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
758
9367a73c
MC
7592003-10-11 Michael Chastain <mec@shout.net>
760
761 * gdb.base/call-rt-st.exp: Update copyright year.
762
1decf120
KI
7632003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
764
765 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
766 * gdb.disasm/sh3.s: Ditto.
767
5445b2ae
DJ
7682003-10-07 Daniel Jacobowitz <drow@mvista.com>
769
770 * gdb.threads/switch-threads.exp: New test.
771 * gdb.threads/switch-threads.c: New source file.
772
aec24853
CV
7732003-10-07 Corinna Vinschen <vinschen@redhat.com>
774
775 * gdb.base/ending-run.exp: Add sh specific case.
776
adc7428d
AC
7772003-10-06 Andrew Cagney <cagney@redhat.com>
778
779 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
780 * gdb.disasm/mn10200.exp: Delete obsolete file.
781
c9d37158
DJ
7822003-09-29 Daniel Jacobowitz <drow@mvista.com>
783
784 * ChangeLog: Correct an entry command.exp -> commands.exp.
785 * gdb.base/commands.exp (bp_deleted_in_command_test)
786 (temporary_breakpoint_commands): Check noargs.
787
79c2c32d
DC
7882003-09-25 David Carlton <carlton@kealia.com>
789
790 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
791 of some print tests, where appropriate. Add tests for C::D::cd,
792 E::ce, F::cXfX, G::XgX.
793 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
794
594e6d67
RE
7952003-09-25 Richard Earnshaw <rearnsha@arm.com>
796
797 * lib/java.exp (java_init): Import target_alias before using it.
798
10f0d451
DC
7992003-09-25 David Carlton <carlton@kealia.com>
800
801 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
802
274bcba0
EZ
8032003-09-23 Elena Zannoni <ezannoni@redhat.com>
804
805 * gdb.base/selftest.exp: Accomodate more instruction reordering
806 weirdness.
807
cdbf20f7
MC
8082003-09-17 Michael Chastain <mec@shout.net>
809
810 * gdb.cp/gdb1355.exp: New file.
811 * gdb.cp/gdb1355.c: New file.
812
71e06f80
CV
8132003-09-15 Corinna Vinschen <vinschen@redhat.com>
814
815 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
816 * gdb.asm/sh.inc: New file.
817
5c4e30ca
DC
8182003-09-11 David Carlton <carlton@kealia.com>
819
bd45b7af
DC
820 * gdb.cp/namespace.exp: Add tests for namespace types.
821 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
822 (test_namespace): New.
823
1c199746
EZ
8242003-09-11 Elena Zannoni <ezannoni@redhat.com>
825
826 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 827 * gdb.stabs/weird.exp: Ditto.
1c199746 828
04ed252f
MC
8292003-09-08 Michael Chastain <mec@shout.net>
830
831 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
832
d8a2d9e7
MC
8332003-09-07 Michael Chastain <mec@shout.net>
834
835 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
836 'parse error'.
837
161afb24
MK
8382003-09-07 Mark Kettenis <m.kettenis@osp.nl>
839
840 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
841
49f2741a
MC
8422003-08-30 Michael Chastain <mec@shout.net>
843
844 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
845 * gdb.gdb/observer.exp: Ditto.
846 * gdb.gdb/xfullpath.exp: Ditto.
847
8afa723e
MK
8482003-08-29 Mark Kettenis <kettenis@gnu.org>
849
850 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
851 *-*-*bsd*.
852
f31dfe3b
JJ
8532003-08-28 Jeff Johnston <jjohnstn@redhat.com>
854
855 * gdb.base/dump.exp: Skip for ia64.
856
4630e498
JJ
8572003-08-25 Jeff Johnston <jjohnstn@redhat.com>
858
859 * gdb.asm/asm-source.exp: Add ia64 support.
860 * gdb.asm/ia64.inc: New file.
861
1105b7ef
MC
8622003-08-22 Michael Chastain <mec@shout.net>
863
864 * gdb.cp: New directory.
865 * gdb.cp/*: Copy from gdb.c++/*.
866 * gdb.c++/*: Remove.
867 * Makefile.in: Change gdb.c++ to gdb.cp.
868 * configure.in: Ditto.
869 * configure: Regnerate.
870
c945b932
MK
8712003-08-18 Mark Kettenis <kettenis@gnu.org>
872
873 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
874 * gdb.arch/i386-prologue.c (gdb1338): Add function.
875
2b66634b
DJ
8762003-08-17 Daniel Jacobowitz <drow@mvista.com>
877
878 * mi-var-display.exp (-var-list-children weird): Accept function
879 pointers with argument types.
880 * mi1-var-display.exp (-var-list-children weird): Likewise.
881 * mi2-var-display.exp (-var-list-children weird): Likewise.
882
a356f73b
DJ
8832003-08-17 Daniel Jacobowitz <drow@mvista.com>
884
885 * gdb.base/annota3.exp: Add missing newline.
886
483417b8
MC
8872003-08-06 Michael Chastain <mec@shout.net>
888
889 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
890
c99c59c3
MS
8912003-08-12 Michael Snyder <msnyder@redhat.com>
892
893 * gdb.base/float.exp: Add test for SH.
894
55ed7501
MK
8952003-08-10 Mark Kettenis <kettenis@gnu.org>
896
897 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
898
1a371f2e
EZ
8992003-08-07 Elena Zannoni <ezannoni@redhat.com>
900
901 * gdb.base/completion.exp: Remove reduntant completion test
902 on filename.
903
e0f353ce
EZ
9042003-08-07 Elena Zannoni <ezannoni@redhat.com>
905
906 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
907 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
908 gdb.trace/save-trace.exp: Make sure that full pathnames are
909 escaped correctly.
910
5710a1af
EZ
9112003-08-07 Elena Zannoni <ezannoni@redhat.com>
912
913 * configure.in: Don't generate config.h from config.hin.
914 * configure: Regenerate.
915 * config.hin: Remove file.
916 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
917 * gdb.threads/pthreads.c: Ditto.
918
dcd81ce9
DJ
9192003-08-07 Daniel Jacobowitz <drow@mvista.com>
920
921 From Kei Sakamoto <sakamoto.kei@renesas.com>:
922 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
923 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
924 Replace ld24 with seth/add3.
925
6009d884
AC
9262003-08-02 Andrew Cagney <cagney@redhat.com>
927
928 * gdb.base/annota3.exp: New file.
929 * gdb.base/annota3.c: New file.
930 * gdb.c++/annota3.exp: New file.
931 * gdb.c++/annota3.cc: New file.
932
51514e06
MC
9332003-07-29 Michael Chastain <mec@shout.net>
934
935 * gdb.threads/tls.c (spin): Check errno only if sem_wait
936 actually failed.
937 (do_pass): Likewise.
938 * gdb.threads/tls.exp: Always initialize no_of_threads.
939
4ee6625b
DJ
9402003-07-27 Daniel Jacobowitz <drow@mvista.com>
941
942 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
943 pattern.
944 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
945 * gdb.threads/tls.exp: Recognize one case of the host library not
946 supporting TLS.
947
225f2bf6
AC
9482003-07-27 Andrew Cagney <cagney@redhat.com>
949
950 * gdb.base/fileio.exp: Use SH when running commands using
951 remote_exec.
952
bcb27c9f
DJ
9532003-07-24 Daniel Jacobowitz <drow@mvista.com>
954
955 From Kei Sakamoto <sakamoto.kei@renesas.com>:
956 * gdb.base/relocate.c (dummy): New padding array.
957
3d67be83
MS
9582003-07-22 Michael Snyder <msnyder@redhat.com>
959
960 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
961
962 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
963 patterns to be more general, accepting old and new output.
964 Some output chars (such as '+') also must be quoted.
965 Some addresses are displayed numerically instead of
966 symbolically.
967
57ba3b85
MS
9682003-07-23 Michael Snyder <msnyder@redhat.com>
969
686d097c
MS
970 * gdb.base/return2.exp: Don't test long-long return.
971
57ba3b85
MS
972 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
973 * gdb.disasm/t01_mov.exp: Ditto.
974 * gdb.disasm/t02_mova.s: Ditto.
975 * gdb.disasm/t02_mova.exp: Ditto.
976 * gdb.disasm/t03_add.s: Ditto.
977 * gdb.disasm/t03_add.exp: Ditto.
978 * gdb.disasm/t04_sub.s: Ditto.
979 * gdb.disasm/t04_sub.exp: Ditto.
980 * gdb.disasm/t05_cmp.s: Ditto.
981 * gdb.disasm/t05_cmp.exp: Ditto.
982 * gdb.disasm/t06_ari2.s: Ditto.
983 * gdb.disasm/t06_ari2.exp: Ditto.
984 * gdb.disasm/t07_ari3.s: Ditto.
985 * gdb.disasm/t07_ari3.exp: Ditto.
986 * gdb.disasm/t08_or.s: Ditto.
987 * gdb.disasm/t08_or.exp: Ditto.
988 * gdb.disasm/t09_xor.s: Ditto.
989 * gdb.disasm/t09_xor.exp: Ditto.
990 * gdb.disasm/t10_and.s: Ditto.
991 * gdb.disasm/t10_and.exp: Ditto.
992 * gdb.disasm/t11_logs.s: Ditto.
993 * gdb.disasm/t11_logs.exp: Ditto.
994 * gdb.disasm/t12_bit.s: Ditto.
995 * gdb.disasm/t12_bit.exp: Ditto.
996 * gdb.disasm/t13_otr.s: Ditto.
997 * gdb.disasm/t13_otr.exp: Ditto.
998
e00759ef
EZ
9992003-07-22 Elena Zannoni <ezannoni@redhat.com>
1000
1001 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1002
8bc2021f
EZ
10032003-07-22 Elena Zannoni <ezannoni@redhat.com>
1004
1005 * gdb.threads/tls.c : New file.
1006 * gdb.threads/tls.exp : New file.
1007 * gdb.threads/tls-main.c : New file.
1008 * gdb.threads/tls-shared.c : New file.
1009 * gdb.threads/tls-shared.exp : New file.
1010
89320c4c
AS
10112003-07-22 Andreas Schwab <schwab@suse.de>
1012
1013 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1014
180dea7c
AS
10152003-07-20 Andreas Schwab <schwab@suse.de>
1016
1017 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1018 due to insn reordering.
1019
0714963c
AC
10202003-07-15 Andrew Cagney <cagney@redhat.com>
1021
1022 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1023
98a23b3f
MC
10242003-07-15 Michael Chastain <mec@shout.net>
1025
1026 * gdb.base/gdb1250.exp: New file.
1027 * gdb.base/gdb1250.c: New file.
1028
27e417a2
ML
10292003-07-09 Michal Ludvig <mludvig@suse.cz>
1030
1031 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1032 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1033
8bc2021f
EZ
10342003-07-09 Elena Zannoni <ezannoni@redhat.com>
1035
1036 * gdb.threads/tls.c: New file.
1037 * gdb.threads/tls.exp: New file.
1038 * gdb.threads/tls-main.c: New file.
1039 * gdb.threads/tls-shared.c: New file.
1040 * gdb.threads/tls-shared.exp: New file.
1041
d99968dc
EZ
10422003-07-09 Elena Zannoni <ezannoni@redhat.com>
1043
1044 * gdb.base/annota1.exp: Make sure that we properly escape the
1045 full path of the source file. Xfail more permissive patterns,
1046 due to a compiler debug info problem.
1047
83876b3b
AS
10482003-07-07 Andreas Schwab <schwab@suse.de>
1049
2705e972
AS
1050 * gdb.asm/m68k.inc: New file.
1051 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1052
83876b3b
AS
1053 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1054 arguments"): Also match negative number.
1055
1056 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1057
3a871b37
DJ
10582003-07-03 Daniel Jacobowitz <drow@mvista.com>
1059
1060 * gdb.base/store.c (charest): New typedef.
1061 (add_char): Rename to add_charest, update.
1062 (wack_char): Rename to wack_charest, update types. Return l + r
1063 to keep r live across the call.
1064 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1065 (wack_double, wack_doublest): Return l + r to keep r live across
1066 the call.
1067 * gdb.base/store.exp: Accomodate store.c changes.
1068
b2a7f303
DC
10692003-06-30 David Carlton <carlton@kealia.com>
1070
1071 * gdb.c++/maint.exp (test_invalid_name): New.
1072 (test_first_component): Add tests for invalid names.
1073
3c6cb4a1
MC
10742003-06-29 Michael Chastain <mec@shout.net>
1075
1076 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1077 output of '<VTT for class>' for virtual base classes.
1078
f1c2644b
DJ
10792003-06-29 Daniel Jacobowitz <drow@mvista.com>
1080
1081 * gdb.base/completion.exp: Tab-complete "complet" instead of
1082 "compl".
1083 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1084
18080350
DJ
10852003-06-29 Daniel Jacobowitz <drow@mvista.com>
1086
1087 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1088 * gdb.base/volatile.exp: Likewise.
1089
f56973f8
DJ
10902003-06-29 Daniel Jacobowitz <drow@mvista.com>
1091
1092 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1093 gdb/1265.
1094
10952003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1096 Daniel Jacobowitz <drow@mvista.com>
1097
1098 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1099 initial line count of 'captured_main' from 26 to 32.
1100 (test_with_self): Allow xmalloc call to be interleaved with the
1101 preceding two lines.
1102
e766d4d6
JB
11032003-06-24 Joel Brobecker <brobecker@gnat.com>
1104
1105 * gdb.base/bang.exp: New testcase.
1106
f125c9a4
JB
11072003-06-23 Joel Brobecker <brobecker@gnat.com>
1108
1109 * gdb.base/langs.exp: Add some tests for the "minimal" language
1110 support.
1111
6e25beaf
EZ
11122003-06-23 Elena Zannoni <ezannoni@redhat.com>
1113
1114 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1115 the testcase.
1116
2f816dda
DJ
11172003-06-22 Daniel Jacobowitz <drow@mvista.com>
1118
1119 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1120 offset.
1121
db5a5748
DJ
11222003-06-22 Daniel Jacobowitz <drow@mvista.com>
1123
1124 * gdb.c++/pr-1210.cc: New file.
1125 * gdb.c++/pr-1210.exp: New file.
1126
1df0c130
DJ
11272003-06-21 Daniel Jacobowitz <drow@mvista.com>
1128
1129 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1130 000-exec-continue.
1131
a92feac0
MK
11322003-06-15 Mark Kettenis <kettenis@gnu.org>
1133
1134 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1135 on *-*-*bsd* instead of *-*-freebsd*.
1136
81a58f5b
AC
11372003-06-14 Andrew Cagney <cagney@redhat.com>
1138
1139 * gdb.base/store.exp: Test longest and doublest. Test all
1140 parameters. Weaken return statement match.
1141 * gdb.base/store.c: Add longest and doublest - aka long long and
1142 long double functions. Put all parameters into local register
1143 variables. Use negative values.
1144
b257a0d3
AC
11452003-06-14 Andrew Cagney <cagney@redhat.com>
1146
1147 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1148 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1149 exit status.
1150 * gdb.base/fileio.exp: Disable target when nointerrupts and
1151 noinferiorio, instead of limiting it to remote. Use remote_exec
1152 instead of system.
1153
21c38304
JJ
11542003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1155
1156 * gdb.base/float.exp: Add ia64 support.
1157
1bcdb424
CV
11582003-06-12 Corinna Vinschen <vinschen@redhat.com>
1159
1160 * gdb.base/fileio.exp: Run only on remote targets.
1161
6aeb981f
CV
11622003-06-10 Corinna Vinschen <vinschen@redhat.com>
1163
1164 * gdb.base/fileio.c: New file, testing File-I/O.
1165 * gdb.base/fileio.exp: Ditto.
1166
53df362e
RG
11672003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1168
1169 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1170 shared objects after relocation at load time (gdb PR/1132).
1171 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1172 as above, part of the shared object relocation test.
1173
ffee1b46
MK
11742003-06-08 Mark Kettenis <kettenis@gnu.org>
1175
b5ca3722
MK
1176 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1177 fully filled history list.
1178 * gdb.base/gdb_history: New file.
1179
03ed860d
MK
1180 * gdb.base/signals.exp: XFAIL "continue to func1" on
1181 i*86-*-freebsd*.
1182
ffee1b46
MK
1183 * gdb.base/attach.exp: When trying to attach to a nonexistent
1184 process, make it possible to specify the PID based on the target,
1185 and do so for *-*-freebsd*.
1186
d80dbb52
RH
11872003-06-02 Richard Henderson <rth@redhat.com>
1188
1189 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1190
6dd77b81
RH
11912003-06-02 Richard Henderson <rth@redhat.com>
1192
1193 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1194
f6347e16
RH
11952003-06-02 Richard Henderson <rth@redhat.com>
1196
1197 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1198
2c161407
DJ
11992003-06-01 Daniel Jacobowitz <drow@mvista.com>
1200
1201 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1202 of globalvar.
1203
572eb746
MK
12042003-06-01 Mark Kettenis <kettenis@gnu.org>
1205
1206 * gdb.asm/asm-source.exp: Check for memory read errors in
1207 disassembler test on *BSD too.
1208
9e9617a5
RH
12092003-06-01 Richard Henderson <rth@redhat.com>
1210
1211 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1212 for .frame.
1213 (gdbasm_call): Lose ldgp.
1214 (gdbasm_startup): Add frame information.
1215 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1216
7b34ad4e
MK
12172003-05-31 Mark Kettenis <kettenis@gnu.org>
1218
1219 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1220 i?86-*-*.
1221
10059fdf
MK
12222003-05-30 Mark Kettenis <kettenis@gnu.org>
1223
1224 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1225 FreeBSD.
1226
acf4b816
RH
12272003-05-29 Richard Henderson <rth@redhat.com>
1228
1229 * gdb.asm/alpha.inc: New file.
1230 * gdb.asm/asm-source.exp: Use it.
1231
e9ecd949
JB
12322003-05-29 Jim Blandy <jimb@redhat.com>
1233
1234 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1235 'core.PID'.
1236
e3e5a4f3
JB
12372003-05-22 Jim Blandy <jimb@redhat.com>
1238
1239 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1240 backtrace.
1241
72fe3d25
DC
12422003-05-20 David Carlton <carlton@math.stanford.edu>
1243
1244 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1245 this time.
1246
58da2eb2
DC
12472003-05-19 David Carlton <carlton@bactrian.org>
1248
1249 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1250 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1251
1fcb5155
DC
12522003-05-19 David Carlton <carlton@bactrian.org>
1253
1254 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1255 namespace tests.
1256 Bump copyright date.
1257 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1258 (main): Call C::D::marker2.
1259 * gdb.c++/namespace1.cc: New file.
1260
85e85163
JJ
12612003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1262
1263 Roland McGrath <roland@redhat.com>
1264 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1265 there is no manager thread.
1266
a25fbfec
JJ
12672003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1268
1269 * gdb.threads/schedlock.exp: Remove assumption that all threads
1270 will run in a particular small time slice. Also ensure we break
1271 in one of the child threads rather than the main thread.
1272
be375bae
JB
12732003-05-07 Jim Blandy <jimb@redhat.com>
1274
09bf6082
JB
1275 Add support for assembly source testing on the s390x.
1276 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1277 architecture.
1278 * gdb.asm/s390x.inc: New file.
1279
be375bae
JB
1280 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1281 succession of 'if' statements.
1282
00905d52
AC
12832003-05-05 Andrew Cagney <cagney@redhat.com>
1284
1285 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1286
b1e29e33
AC
12872003-05-05 Andrew Cagney <cagney@redhat.com>
1288
1289 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1290 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1291
e33d66ec
EZ
12922003-05-02 Elena Zannoni <ezannoni@redhat.com>
1293
1294 * gdb.base/charset.exp: Update based on new behavior of set/show
1295 charset commands.
1296
2b6fd0d8
AC
12972003-05-01 Andrew Cagney <cagney@redhat.com>
1298
1299 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1300 variable do not give memory errors.
1301
130cacce
AF
13022003-04-30 Adam Fedor <fedor@gnu.org>
1303
1304 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1305 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1306 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1307 gdb.objc/basicclass.m: : New files
1308
1309 * lib/gdb.exp (gdb_compile_objc): New procedure.
1310
bea71854
DJ
13112003-04-27 Daniel Jacobowitz <drow@mvista.com>
1312
1313 * gdb.base/signals.exp: Make backtrace tests more specific.
1314
0f20eeea
DC
13152003-04-23 David Carlton <carlton@bactrian.org>
1316
1317 * gdb.c++/maint.exp (test_first_component): Add tests for
1318 'operator' in more locations.
1319
c8c4d8dc
KB
13202003-04-16 Kevin Buettner <kevinb@redhat.com>
1321
1322 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1323
3fe60e3c
EZ
13242003-04-16 Elena Zannoni <ezannoni@redhat.com>
1325
1326 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1327 func marke' instead. Update test name.
1328
9219021c
DC
13292003-04-15 David Carlton <carlton@math.stanford.edu>
1330
1331 * gdb.c++/maint.exp: New file.
1332
5dd55bdd
EZ
13332003-04-14 Elena Zannoni <ezannoni@redhat.com>
1334
1335 * gdb.threads/schedlock.c: Change type of thread function argument
1336 to long, to avoid warnings on 64-bit platforms.
1337
00890572
EZ
13382003-04-14 Elena Zannoni <ezannoni@redhat.com>
1339
1340 * gdb.base/attach.exp: Add new message from ptrace in case of
1341 attaching to nonexistent process.
1342
93201743
JB
13432003-04-11 Jim Blandy <jimb@redhat.com>
1344
1345 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1346 gdb.c++/userdef.cc: Place comments on the lines to which the
1347 marker function might return.
1348 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1349 gdb.c++/userdef.exp: Look for those comments to check that we've
1350 returned to the right place, instead of checking line numbers.
1351
2a11c64d
EZ
13522003-04-11 Elena Zannoni <ezannoni@redhat.com>
1353
1354 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1355 match on sourcefile name, instead of directory name.
1356
68ab8fc5
EZ
13572003-04-10 Elena Zannoni <ezannoni@redhat.com>
1358
1359 * gdb.base/completion.exp: Use string_to_regexp to match the
1360 working directory name.
1361
5624293a
JB
13622003-04-09 Jim Blandy <jimb@redhat.com>
1363
1364 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1365 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1366 after an inferior function call, report the failure, but allow the
1367 test to continue.
1368
f1f02ee4
SC
13692003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1370
1371 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1372 with -DPROTOTYPES.
1373
6eb79af0
SC
13742003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1375
1376 * gdb.base/break.exp: Revert last patch.
1377
8dfb4cf0
SC
13782003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1379
1380 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1381 with -DPROTOTYPES.
1382
ed4c619a
AC
13832003-04-02 Andrew Cagney <cagney@redhat.com>
1384
1385 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1386 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1387 matching directories by the name breakpoint.
1388 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1389 Make "continue to marker1" consistent.
1390 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1391 message consistent.
1392 * lib/gdb.exp: Put "the program is no longer running", and "the
1393 program exited" in parenthesis.
1394 * lib/mi-support.exp: Ditto.
1395
4e35d5f0
BR
13962003-04-02 Bob Rossi <bob_rossi@cox.net>
1397
1398 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1399
71900fe8
AC
14002003-03-29 Andrew Cagney <cagney@redhat.com>
1401
1402 * gdb.base/sizeof.c (main): Print the value of '\377'.
1403 * gdb.base/sizeof.exp: Check the sign of '\377'.
1404
c0655a16
MC
14052003-03-27 Michael Chastain <mec@shout.net>
1406
1407 * gdb.base/gdb1090.exp: New file.
1408 * gdb.base/gdb1090.cc: New file.
1409
5b2a3989
JB
14102003-03-27 J. Brobecker <brobecker@gnat.com>
1411
1412 * gdb.gdb/observer.exp: New regression test.
1413
79876890
MC
14142003-03-27 Michael Chastain <mec@shout.net>
1415
1416 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1417 * gdb.base/ptype.exp: Likewise.
1418
6eac95e3
CV
14192003-03-27 Corinna Vinschen <vinschen@redhat.com>
1420
1421 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1422
e8c71839
MC
14232003-03-26 Michael Chastain <mec@shout.net>
1424
1425 * gdb.base/ptype.exp: Actually use some typedef'd types.
1426
71b10041
SC
14272003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1428
1429 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1430 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1431
2512cf80
CV
14322003-03-20 Corinna Vinschen <vinschen@redhat.com>
1433
1434 * gdb.base/default.exp: Fix regular expression.
1435
0d195a4f
CV
14362003-03-20 Corinna Vinschen <vinschen@redhat.com>
1437
1438 * gdb.base/args.exp: Fix regular expression.
1439
8a2dbca8
CV
14402003-03-20 Corinna Vinschen <vinschen@redhat.com>
1441
1442 * gdb.base/help.exp: Allow Win32 child process.
1443
bf028682
CV
14442003-03-20 Corinna Vinschen <vinschen@redhat.com>
1445
1446 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1447 when stepping out of main().
1448
182dbe85
CV
14492003-03-20 Corinna Vinschen <vinschen@redhat.com>
1450
1451 * gdb.base/default.exp: Check for win32 specific message when calling
1452 "run" without executable.
1453
d67a6ba5
CV
14542003-03-20 Corinna Vinschen <vinschen@redhat.com>
1455
1456 * gdb.base/args.exp: Expect .exe in output.
1457
a955b5bb
CV
14582003-03-20 Corinna Vinschen <vinschen@redhat.com>
1459
1460 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1461 Cygwin native.
1462
bf6bad4b
AC
14632003-03-17 Andrew Cagney <cagney@redhat.com>
1464
1465 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1466 vector registes.
1467 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1468 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1469
293e9a31
DC
14702003-03-17 David Carlton <carlton@math.stanford.edu>
1471
1472 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1473 test, for PR breakpoints/38.
1474 Call test_watchpoint_and_breakpoint.
1475 * gdb.base/watchpoint.c (func3): New function.
1476 (main): Call func3.
1477
5330f2db
DC
14782003-03-04 David Carlton <carlton@math.stanford.edu>
1479
1480 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1481 Garply<Garply<char> >:: garply".
1482 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1483 with respect to PR c++/1111; note also PR c++/1113.
1484 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1485 respect to PR c++/1062.
1486 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1487
6ece72da
DC
14882003-03-03 David Carlton <carlton@math.stanford.edu>
1489
1490 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1491 with respect to PR c++/57.
1492 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1493 c++/826.
1494 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1495 respect to PR c++/57.
1496
85ca1584
DC
14972003-03-03 David Carlton <carlton@math.stanford.edu>
1498
1499 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1500 respect to PR c++/33 into FAILs.
1501
98e9c5b8
MC
15022003-03-03 Michael Chastain <mec@shout.net>
1503
7bedbf27
MC
1504 * configure.in: Update copyright years.
1505
15062003-03-03 Michael Chastain <mec@shout.net>
1507
1508 * Makefile.in: Update copyright years.
98e9c5b8 1509
f683e100
DC
15102003-02-28 David Carlton <carlton@math.stanford.edu>
1511
1512 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1513 print class instead of struct and/or superfluous protection
1514 specifiers, as long as the resulting output is equivalent to the
1515 source code.
1516 Delete FIXME from end of messages on tests that don't need
1517 fixing.
1518
a9e0cf2c
DC
15192003-02-28 David Carlton <carlton@math.stanford.edu>
1520
1521 * gdb.c++/templates.exp (do_tests): Allow const in the two
1522 Foo<volatile char *>::foo tests.
1523
e8d359df
MS
15242003-02-27 Michael Snyder <msnyder@redhat.com>
1525
1526 * gdb.base/restore.c (main): Return zero, so exit code
1527 will be consistant.
1528
0b71dc91
DC
15292003-02-26 David Carlton <carlton@math.stanford.edu>
1530
1531 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1532 char *>::foo" test with respect to PR c++/33. Create a new test
1533 which is identical to that one except that it doesn't put the
1534 space between the "char" and the "*"; KFAIL it, too.
1535
dd14ab43
DC
15362003-02-26 David Carlton <carlton@math.stanford.edu>
1537
1538 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1539 template types into either PASSes or KFAILs (corresponding to PR
1540 c++/57). Tweak indentation. Update copyright.
1541
1146c7f1
SC
15422003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1543
1544 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1545
74641dfb
MC
15462003-02-13 Michael Chastain <mec@shout.net>
1547
1548 * gdb.base/exprs.exp: Remove i960 remnants.
1549 * gdb.base/funcargs.exp: Likewise.
1550 * gdb.base/list.exp: Likewise.
1551 * gdb.base/ptype.exp: Likewise.
1552
559cd2d0
DC
15532003-02-14 David Carlton <carlton@math.stanford.edu>
1554
1555 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1556 pEe->D::vg()" from XFAIL to KFAIL.
1557
c4f90d87
JM
15582003-02-13 Jason Molenda (jmolenda@apple.com)
1559
1560 * gdb.base/maint.exp: Update maint print statistics regexp to include
1561 new entries.
1562
cbc4d97c
MC
15632003-02-13 Michael Chastain <mec@shout.net>
1564
1565 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1566
40f235b7
MC
15672003-02-12 Michael Chastain <mec@shout.net>
1568
1569 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1570 * gdb.c++/inherit.exp: Likewise.
1571 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1572 * gdb.c++/templates.exp: Likewise.
1573 * gdb.c++/virtfunc.exp: Likewise.
1574
c56716b0
JM
15752003-02-06 Jason Molenda (jason-cl@molenda.com)
1576
1577 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1578 why the code is written that way.
1579
070afcf8
MC
15802003-02-05 Michael Chastain <mec@shout.net>
1581
1582 * gdb.base/dump.exp: Add missing copyright line.
1583
5d0331e5
JM
15842003-02-05 Jason Molenda (jason-cl@molenda.com)
1585
f7ae6d3e 1586 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1587 at the beginning so the breakpoint doesn't get set on the loop.
1588
92851186
MC
15892003-02-05 Michael Chastain <mec@shout.net>
1590
1591 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1592 output for configurations with gcc 2.95.3.
1593
cbf1e085
AC
15942003-02-05 Keith Seitz <keiths@redhat.com>
1595 Andrew Cagney <ac131313@redhat.com>
1596
1597 * gdb.mi/mi-cli.exp: New file.
1598
29518e1e
MC
15992003-02-04 Michael Chastain <mec@shout.net>
1600
1601 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1602 Call perror and then continue.
1603
5af1d5f3
MC
16042003-02-03 Michael Chastain <mec@shout.net>
1605
1606 * gdb.c++/pr-1023.cc: New file.
1607 * gdb.c++/pr-1023.exp: New file.
1608
6b549786
JB
16092003-02-05 Jim Blandy <jimb@redhat.com>
1610
1611 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1612 it's local to foobar. Check for it there, and check that it's not
1613 present in main.
1614 * gdb.c++/local.cc (marker2): New function.
1615 (foobar): Call marker1.
1616 (main): Call marker2 instead of marker1.
1617
67f16606
AC
16182003-02-04 Andrew Cagney <ac131313@redhat.com>
1619
1620 * gdb.disasm/mn10200.exp: Obsolete file.
1621 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1622 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1623 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1624
1c5cb38e
DC
16252003-02-04 David Carlton <carlton@math.stanford.edu>
1626
1627 * gdb.c++/overload.exp: Test intToChar(1).
1628 * gdb.c++/overload.cc (intToChar): New.
1629 (main): Call intToChar.
1630
d1fe6965
DC
16312003-02-03 David Carlton <carlton@math.stanford.edu>
1632
1633 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1634 'might_kfail' arg.
1635 KFAIL some of the continue_to_bp_overloaded calls, according to
1636 PR c++/1025.
1637
9ba61c5d
MC
16382003-02-01 Michael Chastain <mec@shout.net>
1639
1640 * gdb.base/advance.c (marker1): New marker function.
1641 * gdb.base/advance.exp: When the 'advance' command lands on the
1642 return breakpoint, it can legitimately stop on either the
1643 current line or the next line. Accommodate both outcomes.
1644 * gdb.base/until.exp: Likewise.
1645
e7494ffb
AC
16462003-02-02 Andrew Cagney <ac131313@redhat.com>
1647
1648 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1649 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1650 now a list, not a tuple.
1651 * gdb.mi/mi-var-display.exp: Ditto.
1652 * gdb.mi/gdb792.exp: Ditto.
1653
075559bc
AC
16542003-02-01 Andrew Cagney <ac131313@redhat.com>
1655
1656 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1657 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1658 stack backtraces.
1659 * gdb.mi/mi-syn-frame.c: Part of same.
1660
2bd4c7b1
MK
16612003-02-01 Mark Kettenis <kettenis@gnu.org>
1662
1663 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1664 gdb.mi/mi1-pthreads.exp: Return instead of calling
1665 gdb_suppress_entire_file.
1666
eabd8992
MS
16672003-02-01 Mark Salter <msalter@redhat.com>
1668
1669 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1670
71469e2f
MS
16712003-01-31 Mark Salter <msalter@redhat.com>
1672
1673 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1674 Support empty arg.
1675
38a94d44
MC
16762003-01-30 Michael Chastain <mec@shout.net>
1677
1678 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1679 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1680 has been fixed in gdb/readline on 2003-01-09.
1681
19ea9e73
MS
16822003-01-29 Michael Snyder <msnyder@redhat.com>
1683
e8d359df
MS
1684 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1685 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1686 * gdb.base/args.exp: Skip if target does not support args passing.
1687
2307bd6a
DJ
16882003-01-22 Daniel Jacobowitz <drow@mvista.com>
1689
19ea9e73 1690 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1691 gdb_test. Accept a list of expect arguments as the third
1692 parameter.
1693 (gdb_test): Use it.
1694
f2dd3617
EZ
16952003-01-20 Elena Zannoni <ezannoni@redhat.com>
1696
1697 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1698 allow for different test tree configurations. Update some
1699 tescases accordingly.
1700 * gdb.arch/altivec-regs.exp: Ditto.
1701 * gdb.asm/asm-source.exp: Ditto.
1702 * gdb.base/advance.exp: Ditto.
1703 * gdb.base/display.exp: Ditto.
1704 * gdb.base/long_long.exp: Ditto.
1705 * gdb.base/mips_pro.exp: Ditto.
1706 * gdb.base/overlays.exp: Ditto.
1707 * gdb.base/relocate.exp: Ditto.
1708 * gdb.base/setshow.exp: Ditto.
1709 * gdb.base/step-line.exp: Ditto.
1710 * gdb.base/step-test.exp: Ditto.
1711 * gdb.base/until.exp: Ditto.
1712 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1713
c71cdefd
DC
17142003-01-17 David Carlton <carlton@math.stanford.edu>
1715
1716 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1717 corresponding to PR c++/945.
1718 Update copyright.
1719
fdba05d7
DC
17202003-01-17 David Carlton <carlton@math.stanford.edu>
1721
1722 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1723 corresponding to PR c++/68.
1724
17252003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1726
1727 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1728 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1729 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1730
c362c33a
EZ
17312003-01-15 Elena Zannoni <ezannoni@redhat.com>
1732
0fbc361c
EZ
1733 * gdb.base/break.exp: Fix change of default location, because of
1734 removal of until tests.
1735 * gdb.base/help.exp: Update test for new 'until' help message.
1736 Add test for help on 'advance'.
c362c33a
EZ
1737 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1738
dabf8a35
MK
17392003-01-15 Mark Kettenis <kettenis@gnu.org>
1740
1741 * gdb.base/default.exp: Adapt "info float" test for recent changes
1742 to that command. Add test for "info vector".
1743 * gdb.base/float.exp: New file. Add test for "info float" that
1744 resembles the old test in gdb.base/default.exp.
1745
a1769aca
DC
17462003-01-15 David Carlton <carlton@math.stanford.edu>
1747
1748 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1749
82025e13
EZ
17502003-01-15 Elena Zannoni <ezannoni@redhat.com>
1751
1752 * gdb.base/break.exp: Move the tests of until command from here...
1753 * gdb.base/until.exp: ... to here. New file. Add other tests.
1754 * gdb.base/advance.c: New file.
1755 * gdb.base/advance.exp: New file.
1756
8f9ab801
EZ
17572003-01-14 Elena Zannoni <ezannoni@redhat.com>
1758
1759 * gdb.base/args.c: New file.
1760 * gdb.base/args.exp: New file.
1761
9ae66589
DJ
17622003-01-14 Daniel Jacobowitz <drow@mvista.com>
1763
1764 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1765
8d77e5c3
DJ
17662003-01-14 Daniel Jacobowitz <drow@mvista.com>
1767
1768 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1769
12d2f0a1
DJ
17702003-01-14 Daniel Jacobowitz <drow@mvista.com>
1771
1772 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1773 dates.
1774
6ca37014
DJ
17752003-01-13 Daniel Jacobowitz <drow@mvista.com>
1776
1777 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1778
b0023472
DJ
17792003-01-13 Daniel Jacobowitz <drow@mvista.com>
1780
1781 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1782 (ptype &*"foo").
1783 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1784
d6abaea5
DJ
17852002-01-13 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1788 * gdb.mi/mi1-console.exp: Likewise.
1789
dfd536a7
DJ
17902002-01-13 Daniel Jacobowitz <drow@mvista.com>
1791
1792 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1793 * gdb.mi/mi1-console.exp: Likewise.
1794
a1fb14a2
DJ
17952003-01-13 Daniel Jacobowitz <drow@mvista.com>
1796
1797 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1798
c4cf40b7
DJ
17992003-01-09 Daniel Jacobowitz <drow@mvista.com>
1800
1801 * gdb.base/detach.exp: New test.
1802
696d5a5b
DJ
18032003-01-09 Daniel Jacobowitz <drow@mvista.com>
1804
1805 * Makefile.in (ALL_SUBDIRS): New variable.
1806 (subdirs, clean, distclean): Use it.
1807 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1808 regenerating Makefile, since it is generated from the top level.
1809 * gdb.asm/Makefile.in: Likewise.
1810 * gdb.base/Makefile.in: Likewise.
1811 * gdb.c++/Makefile.in: Likewise.
1812 * gdb.disasm/Makefile.in: Likewise.
1813 * gdb.java/Makefile.in: Likewise.
1814 * gdb.mi/Makefile.in: Likewise.
1815 * gdb.threads/Makefile.in: Likewise.
1816 * gdb.trace/Makefile.in: Likewise.
1817
754533e4
DC
18182003-01-09 David Carlton <carlton@math.stanford.edu>
1819
1820 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1821 Add copyright year 2003.
1822
d8b3e9ee
MC
18232003-01-06 Michael Chastain <mec@shout.net>
1824
1825 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1826 When selecting a thread, 'line' and 'file' are optional.
1827 * gdb.mi/mi1-pthreads.exp: Likewise.
1828
8e9e0fe6
AS
18292003-01-06 Andreas Schwab <schwab@suse.de>
1830
1831 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1832 failures.
1833
b5ab8ff3
DJ
18342003-01-04 Daniel Jacobowitz <drow@mvista.com>
1835
1836 Fix PR gdb/844
1837 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1838 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1839
1840 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1841 instead of calling gdb_suppress_entire_file.
1842 * gdb.threads/print-threads.exp: Likewise.
1843 * gdb.threads/schedlock.exp: Likewise.
1844
1845 * gdb.threads/killed.exp: Return instead of calling
1846 gdb_suppress_entire_file.
1847 * gdb.threads/linux-dp.exp: Likewise.
1848 * gdb.threads/pthreads.exp: Likewise.
1849
1e698235
DJ
18502003-01-04 Daniel Jacobowitz <drow@mvista.com>
1851
1852 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1853 stabs.
1854 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1855 * gdb.base/whatis.exp: Always allow (void) after function names.
1856
147ff08c
DJ
18572003-01-04 Daniel Jacobowitz <drow@mvista.com>
1858
1859 * gdb.c++/casts.exp: Correct regexp.
1860
dc62bfc2
MK
18612003-01-04 Mark Kettenis <kettenis@gnu.org>
1862
1863 * configure.in: Call AC_CONFIG_HEADER. Don't call
1864 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1865 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1866 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1867 aforementioned directories in the AC_OUPUT call.
1868 * config.hin: New file.
1869 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1870 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1871 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1872 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1873 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1874 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1875 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1876 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1877 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1878 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1879 gdb.threads/configure.in, gdb.threads/configure,
1880 gdb.threads/config.in, gdb.trace/configure.in,
1881 gdb.trace/configure: Removed.
1882
77afa639
MC
18832003-01-03 Michael Chastain <mec@shout.net>
1884
1885 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1886 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1887
7634bb6e
DJ
18882003-01-03 Daniel Jacobowitz <drow@mvista.com>
1889
1890 * gdb.base/store.exp: Fix regular expressions.
1891
b39c905e
MK
18922002-12-28 Mark Kettenis <kettenis@gnu.org>
1893
1894 * configure.in: Rewrite.
1895 * configure: Regenerated.
1896
0a8551dd
DC
18972003-01-03 David Carlton <carlton@math.stanford.edu>
1898
1899 * gdb.base/psymtab.exp: New file.
1900 * gdb.base/psymtab1.c: Ditto.
1901 * gdb.base/psymtab2.c: Ditto.
1902
c60b7188
AF
19032002-12-23 Adam Fedor <fedor@gnu.org>
1904
1905 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1906
ee73db83
DC
19072002-12-23 David Carlton <carlton@math.stanford.edu>
1908
1909 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1910 and current_directory initialization.
1911
d6c1774e
JB
19122002-12-22 Jim Blandy <jimb@redhat.com>
1913
f0a847b8
JB
1914 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1915 rather than as part of the output file name.
1916
d6c1774e
JB
1917 * gdb.base/attach.exp: There's no need to copy the test program to
1918 /tmp; that was only ever necessary on HP/UX, and this test is
1919 entirely disabled there anyway.
1920
f0708dbb
JB
19212002-12-21 Jim Blandy <jimb@redhat.com>
1922
4c2acfea
JB
1923 * gdb.c++/psmang.exp: Doc fix.
1924
f0708dbb
JB
1925 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1926 test.
1927
9579e000
DC
19282002-12-20 David Carlton <carlton@math.stanford.edu>
1929
1930 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1931
d1810171
MC
19322002-12-18 Michael Chastain <mec@shout.net>
1933
1934 * gdb.c++/annota2.exp: Add copyright year 2002.
1935
76565097
DC
19362002-12-17 David Carlton <carlton@math.stanford.edu>
1937
1938 * gdb.c++/try_catch.cc: Add marker comments.
1939 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1940 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1941 * gdb.c++/m-static.cc: Ditto.
1942 * gdb.c++/m-static1.cc: Ditto.
1943 * gdb.c++/try_catch.cc: Ditto.
1944
da81390b
JJ
19452002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1946
1947 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1948 to see whether we are using the new -environment-directory
1949 command which resets via -r or the old version of the command
1950 which may prompt the user. Part of fix for gdb/741.
1951
b304d130
AC
19522002-12-13 Andrew Cagney <ac131313@redhat.com>
1953
1954 * gdb.fortran/types.exp: Update obsolete comment.
1955 * gdb.fortran/exprs.exp: Ditto.
1956 * lib/gdb.exp: Delete obsolete code.
1957 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1958 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1959 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1960 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1961 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1962 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1963 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1964 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1965 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1966 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1967 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1968 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1969 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1970 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1971 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1972 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1973 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1974 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1975 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1976 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1977 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1978 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1979 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1980 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1981 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1982 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1983 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1984 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1985 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1986 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1987 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1988 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1989 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1990 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1991 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1992 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1993 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1994
a23b6e6a
DC
19952002-12-11 David Carlton <carlton@math.stanford.edu>
1996
1997 * gdb.c++/m-data.exp: Add test for members that shadow global
1998 variables: see PR gdb/804.
1999 * gdb.c++/m-data.cc: Ditto.
2000
6604731b
DJ
20012002-12-10 Daniel Jacobowitz <drow@mvista.com>
2002
2003 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2004
de46ecd7
DC
20052002-12-06 David Carlton <carlton@math.stanford.edu>
2006
2007 * gdb.base/store.c: Don't declare functions static.
2008
27e829d0
AC
20092002-12-04 Andrew Cagney <ac131313@redhat.com>
2010
2011 * gdb.base/store.exp, gdb.base/store.c: New files.
2012
92806416
DJ
20132002-12-03 Daniel Jacobowitz <drow@mvista.com>
2014
2015 * gdb.base/selftest.exp: Update for current gdb.
2016
3bcbaac5
DJ
20172002-12-03 Daniel Jacobowitz <drow@mvista.com>
2018
2019 * gdb.base/maint.exp: Only dump symbols from one source file
2020 or objfile.
2021
f4f00b1f
DJ
20222002-12-03 Daniel Jacobowitz <drow@mvista.com>
2023
2024 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2025 function call.
2026
f1c8a949
JB
20272002-11-25 Jim Blandy <jimb@redhat.com>
2028
2029 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2030 function appearing in error message.
2031
9e297a97
DJ
20322002-11-21 Daniel Jacobowitz <drow@mvista.com>
2033
2034 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2035
1f312e79
JJ
20362002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2037
2038 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2039 for mi1 and current mi is in correct format. New mi startup message
2040 should be in mi console format. This is part of fix for PR gdb/604.
2041
83c31e7d
FN
20422002-09-18 Fernando Nasser <fnasser@redhat.com>
2043
2044 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2045 which explicitly prints the zero offset as "+0".
2046
322b3f65
DJ
20472002-10-22 Daniel Jacobowitz <drow@mvista.com>
2048
2049 * gdb.threads/schedlock.c (args): Make unsigned.
2050
20512002-10-21 Daniel Jacobowitz <drow@mvista.com>
2052
2053 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2054 numbers. Allow "foo2|selected stack frame".
2055 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2056 * gdb.asm/asmsrc2.s: Likewise.
2057 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2058 comments.
2059 * gdb.asm/mips.inc: New file.
2060
5e2fe5b8
AF
20612002-10-18 Adam Fedor <fedor@gnu.org>
2062
2063 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2064 * gdb.base/help.exp: Likewise.
2065
abe1a5d0
KB
20662002-10-17 Kevin Buettner <kevinb@redhat.com>
2067
2068 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2069 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2070
10abb1d4
JB
20712002-10-02 Jim Blandy <jimb@redhat.com>
2072
2073 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2074
1f609b42
AC
20752002-10-01 Andrew Cagney <ac131313@redhat.com>
2076
2077 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2078 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2079 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2080 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2081 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2082 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2083 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2084
0aee02e4
AC
20852002-09-29 Andrew Cagney <ac131313@redhat.com>
2086
2087 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2088 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2089 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2090 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2091 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2092 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2093 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2094
6fde09ad
KB
20952002-09-27 Kevin Buettner <kevinb@redhat.com>
2096
2097 * gdb.base/annota1.exp (info break): Make directory components of
2098 path optional since not all compilers emit this debug information.
2099
2100 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2101 step ends up stepping out of the function instead of stopping on
2102 the epilogue.
2103
9e8aab75
KS
21042002-09-26 Keith Seitz <keiths@redhat.com>
2105
2106 * lib/insight-support.exp (gdbtk_start): Figure out where
2107 the insight executable is based on where gdb is. Use this
2108 executable to start insight instead of gdb.
2109
e36180d7
AC
21102002-09-25 Andrew Cagney <cagney@redhat.com>
2111
2112 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2113
9dd34b2b
AC
21142002-09-24 Andrew Cagney <ac131313@redhat.com>
2115
2116 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2117 test_isolated_complaints.
2118 (test_empty_complaint): New function.
2119 (test_empty_complaints): New function. Check no output when no
2120 complaints.
2121
dea97812
KB
21222002-09-19 Jim Blandy <jimb@redhat.com>
2123
2124 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2125
54951bd7
AC
21262002-09-19 Andrew Cagney <ac131313@redhat.com>
2127
2128 * gdb.gdb/complaints.exp: New file.
2129
dec43320
AC
21302002-09-18 Andrew Cagney <ac131313@redhat.com>
2131
2132 * gdb.base/maint.exp: Check `help maint internal-warning'.
2133
e70d6e3f
DC
21342002-09-18 David Carlton <carlton@math.stanford.edu>
2135
2136 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2137 numbers, and replace them by a single breakpoint after the
2138 constructors are all finished.
2139 Add test 4.
2140 * gdb.c++/m-static.cc: Add test 4.
2141 * gdb.c++/m-static.h: New file.
2142 * gdb.c++/m-static1.cc: New file.
2143
2144 * gdb.c++/printmethod.exp: New file.
2145 * gdb.c++/printmethod.cc: New file.
2146
2147 * gdb.c++/pr-574.exp: New file.
2148 * gdb.c++/pr-574.cc: New file.
2149
afb5c968
CV
21502002-09-18 Corinna Vinschen <vinschen@redhat.com>
2151
2152 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2153 embedded targets which never actually exit.
2154
31e45dee
FN
21552002-09-18 Fernando Nasser <fnasser@redhat.com>
2156
2157 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2158 "don't step after run" as unresolved or unsupported, instead of xfail.
2159
a283c5a1
CV
21602002-09-18 Corinna Vinschen <vinschen@redhat.com>
2161
2162 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2163 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2164 Add newline to expected string in "step out of main (status wrapper)"
2165 case.
2166
11350d2a
CV
21672002-09-18 Corinna Vinschen <vinschen@redhat.com>
2168
2169 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2170 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2171
0deec7d6
TT
21722002-09-17 Tom Tromey <tromey@redhat.com>
2173
2174 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2175 \000, not \0, in double-quoted string.
2176
b2b4a1b5
CV
21772002-09-14 Corinna Vinschen <vinschen@redhat.com>
2178
c9d37158 2179 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2180 string after running the commands execution on breakpoint tests.
2181
1c56143a
CV
21822002-09-13 Corinna Vinschen <vinschen@redhat.com>
2183
2184 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2185
37f8da45
JB
21862002-09-12 Joel Brobecker <brobecker@gnat.com>
2187
2188 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2189
08b468e0
KS
21902002-09-10 Keith Seitz <keiths@redhat.com>
2191
2192 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2193 runto proc.
2194 (mi_run_to_main): Use mi_runto.
2195 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2196
dc360f58
KS
21972002-09-10 Keith Seitz <keiths@redhat.com>
2198
2199 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2200 regexp for stopping at main. Could have multiple event notifications.
2201 Don't assume that main was declared with no parameters.
2202 (mi_next): Use mi_step_to.
2203 (mi_step): Use mi_next_to.
2204
ce3abcfb
CV
22052002-09-09 Corinna Vinschen <vinschen@redhat.com>
2206
2207 * gdb.base/default.exp: Fix expected string in `info float' test.
2208
d1f5b980
BE
22092002-09-09 Ben Elliston <bje@redhat.com>
2210
2211 * config/mips.exp: Update comments.
2212 * config/mips-idt.exp: Likewise.
2213 * config/nind.exp: Likewise.
2214 * config/slite.exp: Likewise.
2215 * config/sparclet.exp: Likewise.
2216 * config/udi.exp: Likewise.
2217 * config/vx.exp: Likewise.
2218 * config/vxworks29k.exp: Likewise.
2219
2f71430b
JB
22202002-09-05 Jim Blandy <jimb@redhat.com>
2221
2222 * gdb.threads/killed.exp: Fix test failure message.
2223
7ddebc7e
KS
22242002-09-04 Keith Seitz <keiths@redhat.com>
2225
2226 * lib/mi-support.exp: Update copyright.
2227 (mi_gdb_test): Increase the priority of the expected pattern
2228 so that it matches gdb_test.
2229
0ae67eb3
KS
22302002-09-03 Keith Seitz <keiths@redhat.com>
2231
2232 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2233 Use integer comparison instead of string comparison for testing
2234 whether binary was built.
2235
38fc42c8
JB
22362002-09-03 Jim Blandy <jimb@redhat.com>
2237
2238 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2239
b6ff0e81
JB
22402002-08-29 Jim Blandy <jimb@redhat.com>
2241
2242 * gdb.threads/pthreads.exp: Move the portable thread compilation
2243 code into a function in lib/gdb.exp, and call that from here.
2244 * lib/gdb.exp (gdb_compile_pthreads): New function.
2245
07c98896
KS
22462002-08-29 Keith Seitz <keiths@redhat.com>
2247
2248 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2249 expect_out so that callers can get at it.
2250
0312286c
DJ
22512002-08-23 Daniel Jacobowitz <drow@mvista.com>
2252
2253 * gdb.threads/print-threads.c: New file.
2254 * gdb.threads/print-threads.exp: New file.
2255 * gdb.threads/schedlock.c: New file.
2256 * gdb.threads/schedlock.exp: New file.
2257
dd039bc4
EZ
22582002-08-22 Elena Zannoni <ezannoni@redhat.com>
2259
2260 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2261 not altivec.c.
2262
1f36144c
MK
22632002-08-17 Mark Kettenis <kettenis@gnu.org>
2264
2265 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2266 targets. The problem should be fixed now.
2267
16057ec7 22682002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2269
2270 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2271 2002-07-24 change that removes final dots from error messages.
2272
3c1499ad
TT
22732002-08-13 Tom Tromey <tromey@redhat.com>
2274
2275 * gdb.base/readline.exp: New file.
2276
a20ce2c3
AC
22772002-08-01 Andrew Cagney <ac131313@redhat.com>
2278
2279 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2280 supress message.
2281
db034ac5
AC
22822002-08-01 Andrew Cagney <cagney@redhat.com>
2283
2284 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2285 CHILL_FOR_TARGET and CHILL_LIB.
2286 * configure.in (configdirs): Remove gdb.chill.
2287 * configure: Regenerate.
2288 * lib/gdb.exp: Obsolete references to chill.
2289 * gdb.fortran/types.exp: Ditto.
2290 * gdb.fortran/exprs.exp: Ditto.
2291
3e000b18
KB
22922002-07-30 Kevin Buettner <kevinb@redhat.com>
2293
2294 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2295 set Irix-specific compile and link flags.
2296
28f4966b
KB
22972002-07-29 Kevin Buettner <kevinb@redhat.com>
2298
2299 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2300 source files. The ``-o'' option doesn't work with the ``-E'' option
2301 when using the Irix compiler.
2302
46c0d5a6
DJ
23032002-07-19 Daniel Jacobowitz <drow@mvista.com>
2304
2305 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2306 Improve support for reusing an exec file. Copy exec file
2307 to target, and run gdbserver on the target instead of on the host.
2308
eecf4bed
JB
23092002-07-18 Jim Blandy <jimb@redhat.com>
2310
0f815cdf
JB
2311 * gdb.base/ending-run.exp: Don't expect to see the program end in
2312 some orderly fashion when we're running on a real stand-alone
2313 board.
2314
eecf4bed
JB
2315 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2316 targets that don't support interrupts.
2317
52d309e4
JB
23182002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2319
2320 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2321 systems.
2322 Move comments in expect statements to inside the actions, so that they
2323 don't get matched against.
2324
ff683d9e
MK
23252002-07-10 Mark Kettenis <kettenis@gnu.org>
2326
2327 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2328 function when asleep" test.
2329
b5356753
AC
23302002-07-10 Andrew Cagney <ac131313@redhat.com>
2331
2332 * gdb.base/page.exp: Rewrite to handle problems with very long
2333 `info set' output. Update copyright.
2334
6aa4d13a
AC
23352002-06-26 Andrew Cagney <ac131313@redhat.com>
2336
2337 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2338 gdb.threads-hp.
2339 * gdb.hp/configure: Regenerate.
2340 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2341 * gdb.hp/gdb.threads-hp/configure: Delete file.
2342 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2343
8cf8c2b8
AC
23442002-06-22 Andrew Cagney <ac131313@redhat.com>
2345
2346 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2347 setlocale, bindtextdomain and textdomain.
2348
6827a8f8
JB
23492002-06-11 Jim Blandy <jimb@redhat.com>
2350
919d772c
JB
2351 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2352 preprocessor macro information is present.
2353
6827a8f8
JB
2354 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2355 tests.
2356
c15b0d21
MS
23572002-06-06 Michael Snyder <msnyder@redhat.com>
2358
c5984d70
MS
2359 * gdb.base/overlays.exp: Record addresses of overlay
2360 functions in TCL variables rather than in GDB variables,
2361 to avoid having GDB convert them to pointers (with loss
2362 of information).
2363
99a8512b
MS
2364 * gdb.base/d10v.ld: Merge in several years worth of
2365 default linker script changes.
c15b0d21
MS
2366 * gdb.base/long_long.exp: Add check for sizeof (long double).
2367
be26fe0d
ML
23682002-06-06 Michal Ludvig <mludvig@suse.cz>
2369
2370 * gdb.asm/asm-source.exp: Add x86-64 target.
2371 * gdb.asm/x86_64.inc: New.
2372
258093ca 23732002-05-30 Michael Chastain <mec@shout.net>
258093ca 2374
4b3153f1 2375 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2376 * gdb.c++/m-static.cc: New file.
2377 * gdb.c++/m-static.exp: New file.
2378
241264c6
MS
23792002-05-28 Michael Snyder <msnyder@redhat.com>
2380
2381 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2382 precision.
2383
9bba8c8f 23842002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2385
4b3153f1 2386 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2387 * gdb.c++/m-data.cc: New file.
2388 * gdb.c++/m-data.exp: New file.
2389
23902002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2391
4b3153f1 2392 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2393 * gdb.c++/try_catch.cc: New file.
2394 * gdb.c++/try_catch.exp: New file.
2395
def1b996
MC
23962002-05-27 Michael Chastain <mec@shout.net>
2397
2398 * gdb.c++/local.exp: Accept more nested types in output.
2399
522ba268
MC
24002002-05-26 Michael Chastain <mec@shout.net>
2401
2402 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2403
277254ba
MS
24042002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2405
2406 * lib/gdb.exp (gdb_wrapper_init): Just because
2407 gdb_wrapper_file exists, this does not mean that the file
2408 should not be rebuilt. That is what gdb_wrapper_initialized
2409 is for.
2410 (default_gdb_init): Reset gdb_wrapper_initialized.
2411
b61a8733
MS
24122002-05-23 Michael Snyder <msnyder@redhat.com>
2413
5bdb6d01
MS
2414 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2415 the precision of the floating point test results.
2416 * gdb.base/call-rt-st.exp: Ditto.
2417
b61a8733
MS
2418 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2419 * gdb.base/call-rt-st.exp: Ditto.
2420
56f6e910
MC
24212002-05-19 Michael Chastain <mec@shout.net>
2422
2423 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2424
ad0b0016
EZ
24252002-05-19 Elena Zannoni <ezannoni@redhat.com>
2426
2427 * configure.in (configdirs): Add gdb.arch.
2428 * configure: Regenerate.
2429
f617d2b6
JB
24302002-05-17 Jim Blandy <jimb@redhat.com>
2431
2432 * gdb.base/completion.exp: Recognize the more detailed error
2433 messages produced by the macro expander's lexical analyzer.
2434
eac2a696
EZ
24352002-05-14 Elena Zannoni <ezannoni@redhat.com>
2436
2437 * gdb.arch/altivec-abi.c: New file.
2438 * gdb.arch/altivec-abi.exp: New file.
2439 * gdb.arch/altivec-regs.c: New file.
2440 * gdb.arch/altivec-regs.exp: New file.
2441
2fdde8f8
DJ
24422002-05-14 Daniel Jacobowitz <drow@mvista.com>
2443
2444 * gdb.base/maint.exp (maint print type): Update for new type
2445 structure.
eac2a696 2446
e31f1a7c
EZ
24472002-05-14 Elena Zannoni <ezannoni@redhat.com>
2448
2449 * gdb.arch: New directory.
2450 * gdb.arch/configure.in: New file.
2451 * gdb.arch/configure: New file.
2452 * gdb.arch/Makefile.in: New file.
2453
db589741
CV
24542002-05-13 Corinna Vinschen <vinschen@redhat.com>
2455
2456 * gdb.asm/asm-source.exp: Add v850 as supported target.
2457 * gdb.asm/v850.inc: New file.
2458
8ce2a7dc
DJ
24592002-05-13 Daniel Jacobowitz <drow@mvista.com>
2460
2461 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2462
df763c7f
DJ
24632002-05-12 Daniel Jacobowitz <drow@mvista.com>
2464
2465 * gdb.base/break.exp: Check 'break "marker2"'.
2466
377daeed
MS
24672002-05-10 Michael Snyder <msnyder@redhat.com>
2468
2469 * gdb.base/long_long.exp: Fix typo.
2470
c4b7bc2b
JB
24712002-05-10 Jim Blandy <jimb@redhat.com>
2472
ecac9a4e
JB
2473 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2474 a bug.
2475
c4b7bc2b
JB
2476 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2477 Recognize more detailed error message produced by the macro
2478 expander's lexical analyzer.
2479 * lib/gdb.exp (test_print_reject): Same.
2480
e71019a1
MK
24812002-05-09 Mark Kettenis <kettenis@gnu.org>
2482
2483 * gdb.c++/method.exp: Fix typo.
2484
fedfc8e6
MS
24852002-05-08 Michael Snyder <msnyder@redhat.com>
2486
166a1957
MS
2487 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2488 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2489 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2490 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2491 Add iftarget clause for strongarm.
2492
f1c47eb2
MS
24932002-05-06 Michael Snyder <msnyder@redhat.com>
2494
cb9a9d3e
MS
2495 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2496 (gdb_continue_to_end): Accept output from status wrapper.
2497 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2498 Clean up fail messages to match pass messages.
2499
f1c47eb2
MS
2500 Enable the "needs_status_wrapper" testsuite feature.
2501 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2502 (gdb_compile): Conditionally call gdb_wrapper_init.
2503 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2504 * gdb.c++/method.exp: Recognize output from status wrapper.
2505
6079c749
BE
25062002-05-06 Ben Elliston <bje@redhat.com>
2507From Graydon Hoare <graydon@redhat.com>
2508
2509 * config/sid.exp: Include support for "rawsid" protocol.
2510
188baff3
JB
25112002-05-03 Jim Blandy <jimb@redhat.com>
2512
2513 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2514 * gdb.c++/hang3.C: New file.
2515
b9c07f0f
AC
25162002-05-04 Andrew Cagney <ac131313@redhat.com>
2517
2518 * gdb.base/default.exp: Remove obsolete code.
2519 * gdb.c++/misc.exp: Ditto. Update copyright.
2520 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2521 * gdb.base/whatis.exp: Ditto. Update copyright.
2522 * gdb.base/scope.exp: Ditto. Update copyright.
2523 * gdb.base/ptype.exp: Ditto. Update copyright.
2524 * gdb.base/printcmds.exp: Ditto. Update copyright.
2525 * gdb.base/opaque.exp: Ditto. Update copyright.
2526 * gdb.base/list.exp: Ditto.
2527 * gdb.base/funcargs.exp: Ditto. Update copyright.
2528 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2529 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2530 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2531 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2532 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2533 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2534
5c7a0397
MS
25352002-05-02 Michael Snyder <msnyder@redhat.com>
2536
d6dcc264 2537 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2538 * gdb.base/long_long.exp: Add xscale target.
2539 * gdb.base/default.exp: Add xscale target.
2540
eb7f1c48
JB
25412002-05-01 Jim Blandy <jimb@redhat.com>
2542
2543 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2544 gdb.c++/hang.exp: New test.
2545
a6befae8
FF
25462002-05-01 Fred Fish <fnf@redhat.com>
2547
2548 * gdb.base/completion.exp: Handle completions of "./Make" for
2549 more than one completion possibility, as is the case when we
2550 build and test in the source tree.
2551
0a310277
AG
25522002-04-29 Anthony Green <green@redhat.com>
2553
2554 * gdb.java/jmisc1.exp: New file.
2555 * gdb.java/jmisc2.exp: New file.
2556
6ff9af88
DJ
25572002-04-24 Daniel Jacobowitz <drow@mvista.com>
2558
2559 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2560
96b3d632
EZ
25612002-04-23 Elena Zannoni <ezannoni@redhat.com>
2562
2563 * gdb.base/help.exp: Change 'help status' to allow for target
2564 dependent output differences.
2565
5019bb54
MC
25662002-04-22 Michael Chastain <mec@shout.net>
2567
2568 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2569
a805a116
MC
25702002-04-22 Michael Chastain <mec@shout.net>
2571
2572 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2573
a1706bfd
DM
25742002-04-17 David S. Miller <davem@redhat.com>
2575
2576 * gdb.asm/sparc64.inc: New file.
2577 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2578
a73a20a2
EZ
25792002-04-19 Elena Zannoni <ezannoni@redhat.com>
2580
2581 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2582 instruction file directly into the build tree. Clean up at end of
2583 test.
2584
ba678339
DM
25852002-04-18 David S. Miller <davem@redhat.com>
2586
2587 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2588 handle 64-bit platforms correctly.
2589 * gdb.base/maint.exp: Likewise.
2590
b03399da
KB
25912002-04-18 Kevin Buettner <kevinb@redhat.com>
2592
2593 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2594 ``-fpic'' when compiling files comprising a shared library, but
2595 it does need additional linker flags in order to find shared
2596 libraries at run time.
2597
e2004992
KB
25982002-04-18 Kevin Buettner <kevinb@redhat.com>
2599
2600 * gdb.base/cvexpr.c (use): New function.
2601 (main): Invoke use() on all global variables to prevent
2602 some linkers from deleting these otherwise unused symbols.
2603
d8937120
MC
26042002-04-17 Michael Chastain <mec@shout.net>
2605From David S. Miller <davem@redhat.com>
2606
2607 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2608 handle 64-bit platforms correctly.
2609
ffd61a58
MS
26102002-04-12 Michael Snyder <msnyder@redhat.com>
2611From Jim Blandy <jimb@redhat.com>
2612 * gdb.base/foo.c (foox): Remove section attribute; the linker
2613 script can handle this instead.
2614 * gdb.base/bar.c (barx): Same.
2615 * gdb.base/baz.c (bazx): Same.
2616 * gdb.base/grbx.c (grbxx): Same.
2617
2618 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2619 manager doesn't automatically unmap overlays unnecessarily.
2620
6b8426a6
MH
26212002-04-10 Martin M. Hunt <hunt@redhat.com>
2622
2623 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2624 stepping out of main.
2625
34af4875
MC
26262002-04-09 Michael Chastain <mec@shout.net>
2627
2628 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2629 scope so that the nested scope tests will make sense.
2630 * gdb.c++/local.exp: Write patterns that actually work with gcc
2631 (the HP patterns "were never known to work with gcc").
2632 Keep the old aCC patterns too.
2633
2d1676a0
DJ
26342002-04-09 Daniel Jacobowitz <drow@mvista.com>
2635
2636 * gdb.base/attach.exp: Correct target board test.
2637
3a63e3f9
MC
26382002-04-08 Michael Chastain <mec@shout.net>
2639
2640 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2641 in a const method. Add some xfail and fail cases for configurations
2642 that do not emit the "const ...".
2643
f18dabd2
MC
26442002-04-07 Michael Chastain <mec@shout.net>
2645
2646 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2647 Accept "A * const" and "const A * const" as type of "this".
2648 Fix spelling of getFunky throughout. Make messages uniform.
2649
0fcddd82
EZ
26502002-04-07 Elena Zannoni <ezannoni@redhat.com>
2651
2652 Work around for PR gdb/285:
2653 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2654
16a8534a
EZ
26552002-04-07 Elena Zannoni <ezannoni@redhat.com>
2656
2657 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2658 instructions file at run time instead of configure time.
2659 Sometimes we run the test in a directory that is not the one we
2660 configured in.
2661 * gdb.asm/configure.in: Delete creation of symlink.
2662 * gdb.asm/configure: Regenerate.
2663
24181d81
JB
26642002-04-05 J. Brobecker <brobecker@gnat.com>
2665
2666 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2667 xfullpath () function.
2668
7cdb7107
DJ
26692002-04-04 Daniel Jacobowitz <drow@mvista.com>
2670
2671 * gdb.asm/Makefile.in: Correct dependencies.
2672
2673 * gdb.asm/powerpc.inc: New file.
2674 * gdb.asm/asm-source.exp: Add PowerPC.
2675 * gdb.asm/configure.in: Likewise.
2676 * gdb.asm/configure: Regenerated.
2677
a7d17088
DJ
26782002-04-04 Daniel Jacobowitz <drow@mvista.com>
2679
2680 * gdb.base/relocate.exp: New file.
2681 * gdb.base/relocate.c: New file.
2682
cd721503
FF
26832002-04-04 Fred Fish <fnf@redhat.com>
2684
2685 * gdb.base/step-test.exp: Update comment regarding stopping in
2686 memcpy/bcopy calls inserted as part of the compiler runtime.
2687
b22ad7a7
MS
26882002-04-04 Michael Snyder <msnyder@redhat.com>
2689
2690 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2691
5f279fa6
DJ
26922002-04-03 Daniel Jacobowitz <drow@mvista.com>
2693
2694 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2695 (gdb_expect): Remove $notransfer hack.
2696
dd0fd3ce
DJ
26972002-04-02 Daniel Jacobowitz <drow@mvista.com>
2698
2699 * gdb.c++/classes.exp ("calling method for small class"): Match
2700 updated register output.
2701
1e50cda1
DJ
27022002-03-30 Daniel Jacobowitz <drow@mvista.com>
2703
2704 Fix PR gdb/452
2705 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2706 when finished. Make gdb_file_cmd send "exec-file" when
2707 appropriate.
2708
24015922
DJ
27092002-03-30 Daniel Jacobowitz <drow@mvista.com>
2710
2711 * gdb.base/attach.exp: Remove extra setup_xfail.
2712
dd7dfd64
MS
27132002-03-26 Michael Snyder <msnyder@redhat.com>
2714
2715 * gdb.base/default.exp: Add tests for dump, append, and restore.
2716 * gdb.base/help.exp: Add tests for dump, append, and restore.
2717 * gdb.base/dump.exp: New file, test dump, append and restore.
2718 * gdb.base/dump.c: New file.
2719
48b2f8d7
MS
27202002-03-27 Michael Snyder <msnyder@redhat.com>
2721
2722 * gdb.base/help.exp: Modify expect strings to reflect
2723 clean-ups in help messages.
2724
05b4d525
FF
27252002-03-26 Fred Fish <fnf@redhat.com>
2726
2727 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2728 have debugging info for those functions and the compiler uses them
2729 internally to copy structs around.
2730
d7679631
FF
27312002-03-26 Fred Fish <fnf@redhat.com>
2732
2733 * gdb.base/list.exp: Revert the change made yesterday and add note
2734 about why we don't list the default lines for remote targets.
2735
523ac3f9
MS
27362002-03-25 Michael Snyder <msnyder@redhat.com>
2737
2738 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2739
754b2b8d
FF
27402002-03-25 Fred Fish <fnf@redhat.com>
2741
2742 * gdb.base/list.exp: This test works on remote targets so remove
2743 the short circuit for remote targets. Update copyright.
2744
33c3e192
FF
27452002-03-25 Fred Fish <fnf@redhat.com>
2746
2747 * gdb.base/attach.exp: Fix logic error that was suppressing this
2748 test for all non hppa*-*-hpux* targets, instead of the hp target.
2749 Move comments closer to the suppression point. Also now need to
2750 check that we are running natively.
2751
d43e73ee
MS
27522002-03-22 Michael Snyder <msnyder@redhat.com>
2753
882c8f02
MS
2754 * gdb.base/default.exp: Add test for gcore. Update copyright.
2755 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2756
04c12f60
FF
27572002-03-06 Fred Fish <fnf@redhat.com>
2758
2759 * gdb.base/funcargs.c: Remove extraneous ';' character.
2760 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2761
b43df995
MC
27622002-03-04 Michael Chastain <mec@shout.net>
2763
2764 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2765 accommodate gcc v3 function signature.
2766 * gdb.mi/mi0-var-cmd-exp: Ditto.
2767
92362027
AC
27682002-02-24 Andrew Cagney <ac131313@redhat.com>
2769
2770 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2771 ``GNU/Linux'' or ``Linux kernel''
2772 * testsuite/gdb.threads/pthreads.c: Ditto.
2773
258ad32d
MC
27742002-02-24 Michael Chastain <mec@shout.net>
2775
2776 * gdb.threads/pthreads.c (thread1): Add a return statement.
2777 (thread2): Likewise.
2778 (foo): Likewise.
2779
04c3b3d4
MC
27802002-02-23 Michael Chastain <mec@shout.net>
2781
2782 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2783 to placate gcc.
2784
5a2a0a20
MC
27852002-02-23 Michael Chastain <mec@shout.net>
2786
2787 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2788 test "ptype bint". The test passes on all my stabs configurations.
2789
a640f7fc
JB
27902002-02-21 Jim Blandy <jimb@redhat.com>
2791
27924826
JB
2792 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2793 filename at a time, and watch for the ones we want to see.
2794
a640f7fc
JB
2795 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2796 types of pointers to prototyped functions.
2797
edcc8c75
AC
27982002-02-20 Andrew Cagney <ac131313@redhat.com>
2799
2800 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2801 signed, unsigned and straight char.
2802 (padding_char, padding_short, padding_int, padding_long,
2803 padding_long_long, padding_float, padding_double,
2804 padding_long_double): New global variables.
2805 (fill, fill_structs): New functions.
2806
2807 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2808 for correctly sized writes. Update copyright.
2809 (get_valueof): New procedure.
2810 (get_sizeof): Call get_valueof.
2811 (check_valueof): New procedure.
2812 (check_padding): New procedure.
2813
ac57ea44
MC
28142002-02-20 Michael Chastain <mec@shout.net>
2815
2816 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2817 to setup_xfail. Document some of the remaining calls.
2818
7a10c941
MC
28192002-02-18 Michael Chastain <mec@shout.net>
2820
2821 * gdb.c++/userdef.exp: Update copyright year.
2822
fb8acdcc
DJ
28232002-02-18 Daniel Jacobowitz <drow@mvista.com>
2824
2825 * gdb.c++/userdef.exp: Test overloaded operators properly.
2826 Remove xfails.
2827
fda6ae12
MS
28282002-02-14 Michael Snyder <msnyder@redhat.com>
2829
2830 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2831
676a0442
DJ
28322002-02-14 Daniel Jacobowitz <drow@mvista.com>
2833
2834 * gdb.base/a2-run.exp: Check for a remote target properly.
2835 * gdb.base/annota1.exp: Likewise.
2836 * gdb.base/list.exp: Likewise.
2837 * gdb.base/reread.exp: Likewise.
2838 * gdb.base/scope.exp: Likewise.
2839 * gdb.base/shlib-call.exp: Likewise.
2840 * gdb.base/term.exp: Likewise.
2841 * gdb.c++/annota2.exp: Likewise.
2842
78b4f468
RE
28432002-02-13 Richard Earnshaw <rearnsha@arm.com>
2844
2845 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2846
9a81ba51
MC
28472002-02-10 Michael Chastain <mec@shout.net>
2848
2849 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2850 (call_after_alloca): Ditto.
2851
004af6c7
DJ
28522002-02-10 Daniel Jacobowitz <drow@mvista.com>
2853
2854 * gdb.base/ending-run.exp: Guard "cont" test with
2855 gdb_skip_stdio_test.
2856
37225f62
JB
28572002-02-06 Jim Blandy <jimb@redhat.com>
2858
2859 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2860 from here...
2861 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2862 To here. Disable this test on non-HP platforms. Add big comment.
2863
fe6fdd96
MS
28642002-02-04 Michael Snyder <msnyder@redhat.com>
2865
2866 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2867 other than d10v and m32r.
2868
036fad3f
RE
28692002-02-02 Richard Earnshaw <rearnsha@arm.com>
2870
2871 * gdb.base/default.exp: Rewrite test patterns to reduce time
2872 taken to match them.
2873
7148ab62
DJ
28742002-01-30 Daniel Jacobowitz <drow@mvista.com>
2875
2876 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2877 Allow a start function above main.
2878 * gdb.threads/linux-dp.exp: Fix copyright date.
2879
396cc255
DJ
28802002-01-30 Daniel Jacobowitz <drow@mvista.com>
2881
2882 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2883 (check_philosopher_stack): Check for manager thread before checking
2884 for a just-starting thread.
2885
f038d31b
DJ
28862002-01-30 Daniel Jacobowitz <drow@mvista.com>
2887
2888 From Neil Booth <neil@daikokuya.demon.co.uk>:
2889 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2890 warnings.
2891
b3ff9d9a
FF
28922002-01-21 Fred Fish <fnf@redhat.com>
2893
2894 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2895 not caller.
2896
39ad761d
JB
28972002-01-21 Jim Blandy <jimb@redhat.com>
2898
2899 * gdb.base/reread.exp: Check that GDB properly re-reads the
2900 executable file when it changes while no inferior is running.
2901
aaf320fa
FF
29022002-01-21 Fred Fish <fnf@redhat.com>
2903
2904 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2905 optionally accept the "shlib events" variation.
2906
808a31f5
JB
29072002-01-21 Jim Blandy <jimb@redhat.com>
2908
2909 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2910 call `fflush' after every `printf', so that the output is produced
2911 at predictable points, regardless of whatever buffering does (or
2912 doesn't) take place.
2913 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2914 at different points.
2915
4420d5e2
DJ
29162002-01-20 Daniel Jacobowitz <drow@mvista.com>
2917
2918 * gdb.c++/inherit.exp: Update copyright years.
2919 * gdb.c++/method.exp: Likewise.
2920
3e36a0f4
DJ
29212002-01-20 Daniel Jacobowitz <drow@mvista.com>
2922
2923 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2924 artificial methods/arguments.
2925 * gdb.c++/derivation.exp: Likewise.
2926 * gdb.c++/inherit.exp: Likewise.
2927 * gdb.c++/method.exp: Likewise.
2928 * gdb.c++/virtfunc.exp: Likewise.
2929
b4ceaee6
AC
29302002-01-18 Andrew Cagney <ac131313@redhat.com>
2931
2932 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2933 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2934 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2935 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2936 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2937 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2938
ecace851
JB
29392002-01-17 Jim Blandy <jimb@redhat.com>
2940
2941 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2942 anchoring the pattern matching the entry point symbol's name.
2943
375fc983
AC
29442002-01-17 Andrew Cagney <ac131313@redhat.com>
2945
2946 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2947 continue/quit query. Update copyright.
2948
fe6fdd96
MS
29492002-01-14 Michael Snyder <msnyder@redhat.com>
2950
2951 * gdb.base/gcore.exp: Remove extra debugging output.
2952
e017c81f
DJ
29532002-01-13 Daniel Jacobowitz <drow@mvista.com>
2954
2955 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2956 for slightly dubious v2 mangled string.
2957
37ab3bf8
DJ
29582002-01-13 Daniel Jacobowitz <drow@mvista.com>
2959
2960 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2961
1bc05c3a 29622002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2963
1bc05c3a 2964 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2965
1bc05c3a
JM
2966 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2967 constructors.
2968 * gdb.c++/derivation.exp: Likewise.
2969 * gdb.c++/templates.exp: Likewise.
2970 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2971
1bc05c3a
JM
29722002-01-10 Michael Snyder <msnyder@redhat.com>
2973
2974 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2975
a911c360
MS
29762002-01-08 Michael Snyder <msnyder@redhat.com>
2977
2978 * gdb.base/gcore.exp: New test for generate-core-file command.
2979 * gdb.base/gcore.c: Testcase for above.
2980 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2981
ea2119ec
JM
29822002-01-08 Jason Merrill <jason@redhat.com>
2983
2984 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2985
68203136
FF
29862002-01-07 Fred Fish <fnf@redhat.com>
2987
2988 * gdb.c++/overload.exp: Remove unconditional xfails for:
2989 print foo_instance1.overloadargs(1)
2990 print foo_instance1.overloadargs(1, 2)
2991 print foo_instance1.overloadargs(1, 2, 3)
2992 print foo_instance1.overloadargs(1, 2, 3, 4)
2993 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2994 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2995 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2996 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2997 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2998 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2999 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3000 print foo_instance1.overload1arg()
3001 print foo_instance1.overload1arg((char)arg2)
3002 print foo_instance1.overload1arg((signed char)arg3)
3003 print foo_instance1.overload1arg((unsigned char)arg4)
3004 print foo_instance1.overload1arg((int)arg7)
3005 print foo_instance1.overload1arg((unsigned int)arg8)
3006 print foo_instance1.overload1arg((float)arg11)
3007 print foo_instance1.overload1arg((double)arg12)
3008
21b9b5b1
MS
30092002-01-07 Michael Snyder <msnyder@redhat.com>
3010
3011 * gdb.base/huge.exp: New test. Print a very large target data object.
3012 (skip_huge_test): New test variable. Define if you want to skip this
3013 test. The test reads an 8 megabyte data object from the target, so it
3014 might be very time consuming on remote targets with a slow connection.
3015 * gdb.base/huge.c: New file. Test case for above.
3016
725f922e
FF
30172002-01-07 Fred Fish <fnf@redhat.com>
3018
3019 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3020 g_instance.bfoo, and g_instance.cfoo.
3021
634d57ec
JL
3022Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3023
f286b2c3
JL
3024 * gdb.base/break.c (multi_line_if_conditional): New function.
3025 (multi_ilne_while_conditional): Likewise.
3026 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3027 IF or WHILE condition puts the breakpoint at the start of
3028 the condition.
3029
634d57ec
JL
3030 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3031 hppa*-*-hpux* expected failure.
3032 * gdb.base/structs.exp (do_function_calls): Similarly.
3033
3034 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3035 watchpoints.
3036
9fbfe2dc
AC
30372002-01-06 Andrew Cagney <ac131313@redhat.com>
3038
3039 Fix PR gdb/66.
3040 * gdb.base/structs.exp: Replace skip for a29k with skip for
3041 gdb,cannot_call_functions.
3042 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3043 * gdb.base/callfuncs.exp: Ditto.
3044 * gdb.base/call-rt-st.exp: Ditto.
3045 * gdb.base/call-strs.exp: Ditto.
3046 * gdb.base/callfwmall.exp: Ditto.
3047 * gdb.base/scope.exp: Obsolete xfail a29k.
3048 * gdb.c++/misc.exp: Ditto.
3049 * gdb.c++/cplusfuncs.exp: Ditto.
3050 * gdb.base/ptype.exp: Ditto.
3051 * gdb.base/printcmds.exp: Ditto.
3052 * gdb.base/opaque.exp: Ditto.
3053 * gdb.base/list.exp: Ditto.
3054 * gdb.base/funcargs.exp: Ditto.
3055 * gdb.base/default.exp: Ditto.
3056
8ddad156
MS
30572002-01-04 Michael Snyder <msnyder@redhat.com>
3058
ca4976a6 3059 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3060 * gdb.base/maint.exp: Add tests for maint info sections options.
3061
1b074332
JL
3062Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3063
3064 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3065
7d159115
CV
30662001-12-20 Corinna Vinschen <vinschen@redhat.com>
3067
3068 * gdb.asm/arm.inc: New file.
3069 * gdb.asm/asm-source.exp: Add arm targets.
3070 * gdb.asm/configure.in: Ditto.
3071 * gdb.asm/configure: Recreated from configure.in.
3072
8fb87725
JL
3073Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3074
afabe08c
JL
3075 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3076 with HP's compiler.
3077 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3078 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3079 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3080 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3081
3082 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3083 either HP's compilers or GCC.
3084
db521deb
JL
3085 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3086 a SIGBUS or SIGSEGV.
3087
3088 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3089
3090 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3091 can be compiled with either HP's compiler or GCC.
3092
cfa88ab7
JL
3093 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3094 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3095 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3096
ca344dff
JL
3097 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3098 to match current gdb output. Update due to using auto-solib-limit
3099 for limiting instead of overloading auto-solib-add.
3100 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3101 test program.
3102
3f3c6e55 3103 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3104 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3105 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3106 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3107 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3108 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3109 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3110 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3111 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3112 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3113 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3114 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3115 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3116
8fb87725
JL
3117 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3118 a SIGTRAP to the inferior.
3119
cf599fa7
CV
31202001-12-19 Corinna Vinschen <vinschen@redhat.com>
3121
3122 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3123 Substitute call to target_link by call to gdb_compile.
3124
2cd045cd
JL
3125Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3126
3127 * gdb.base/break.exp: Fix HP specific search string when testing
3128 backtracing in a called function.
3129
3130 * gdb.base/constvars.exp: Only set lang to C++ if we're
3131 compiling the test with HP's compilers.
3132 * gdb.base/volatile.exp: Similarly.
3133
99ebe9ac
JB
31342001-12-19 Jim Blandy <jimb@redhat.com>
3135
3136 * gdb.base/printcmds.exp: Expect the null character to be printed
3137 as '\0', and the '\013' to be printed as '\v'.
3138 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3139 * gdb.base/setvar.exp: Same.
3140
b9891b29
JB
31412001-12-17 Jim Blandy <jimb@redhat.com>
3142
0eba65ab
JB
3143 * gdb.base/completion.exp: Rather than completing very long
3144 filenames, which can make the readline library produce output we
3145 don't recognize, cd to the directory first, and then complete
3146 using nice, short relative paths.
3147
6970b5b1
JB
3148 * gdb.base/completion.exp: On some systems, there is, in fact, a
3149 variable named `b' in scope, since GDB treats all static
3150 variables as being in scope. So use `no_var_named_this'
3151 instead of `b'.
3152
b9891b29
JB
3153 * gdb.base/corefile.exp: Recognize the message saying that GDB
3154 can't find the core file's registers as a failure.
3155
e6ccd35f
JSC
31562001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3157
3158 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3159 test expect string more specific.
3160
105ba819
CV
31612001-12-13 Corinna Vinschen <vinschen@redhat.com>
3162
3163 * gdb.asm/asm-source.exp: Add support for xstormy16.
3164 * gdb.asm/configure.in: Ditto.
3165 * gdb.asm/configure: Rebuild.
3166 * gdb.asm/xstormy16.inc: New file.
3167
e9e79dd9
FF
31682001-12-10 Fred Fish <fnf@redhat.com>
3169
3170 * gdb.base/maint.exp: Update to match changes in type dumping code.
3171
347dc97d
JB
31722001-12-10 Jim Blandy <jimb@redhat.com>
3173
3174 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3175 matching the entry point symbol's name at the beginning of the
3176 line.
3177
5178b9d6
DJ
31782001-12-07 Daniel Jacobowitz <drow@mvista.com>
3179
3180 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3181 gdb.c++/inherit.exp, gdb.c++/method.exp,
3182 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3183 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3184 and class layout support.
3185
af890c52
DJ
31862001-12-07 Daniel Jacobowitz <drow@mvista.com>
3187
3188 * gdb.c++/classes.exp: Add test for static member function.
3189 * gdb.c++/misc.cc: Add class with static member function.
3190
7a345fb3
JB
31912001-12-07 Jim Blandy <jimb@redhat.com>
3192
f2e54a80 3193 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3194 those tests as `unsupported'.
3195 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3196 Rewrite subsequent tests to use it.
3197
3198 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3199 those tests as `unsupported'.
3200 * gdb.base/structs.exp (call_struct_func): New function.
3201 (do_function_calls): Use call_struct_func to call the functions
3202 returning structs.
3203
0bc69509
JB
3204 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3205 whether functions are prototyped or not, so we can't possibly pass
3206 arguments to t_float_values2 properly.
3207
7a345fb3
JB
3208 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3209 value of `timeout' for targets other than the mips*tx39-*.
3210
edb6ede1
MS
32112001-12-06 Michael Snyder <msnyder@redhat.com>
3212
3213 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3214 and detect whether the start symbol has a leading underscore.
3215
2d842f13
JB
32162001-12-04 Jim Blandy <jimb@redhat.com>
3217
3218 * gdb.base/completion.exp: Clarify indentation.
3219
68550daf
JB
32202001-12-03 Jim Blandy <jimb@redhat.com>
3221
3222 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3223 variables on the S/390, not `.word'.
3224
cd5195a8
JB
32252001-11-30 Jim Blandy <jimb@redhat.com>
3226
3227 Add assembly-source tests for s390-ibm-linux.
3228 * gdb.asm/s390.inc: New file.
3229 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3230 the S/390 architecture.
3231 * gdb.asm/configure: Regenerated.
3232
ca9efc90
MS
32332001-11-30 Michael Snyder <msnyder@redhat.com>
3234
3235 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3236 next, info source, info sources, info line, global and static
3237 variables, and static functions.
3238 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3239 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3240 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3241 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3242 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3243 (gdbasm_leave): Restore frame pointer.
3244 (gdbasm_startup): Copy stack set-up from crt0.S.
3245
d0e66976
FN
32462001-11-26 Fernando Nasser <fnasser@redhat.com>
3247
3248 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3249 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3250 to a local (non-static) variable. Copy tstruct.a to a static buffer
3251 and return a pointer to that buffer.
3252 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3253
e2334072
MK
32542001-11-24 Mark Kettenis <kettenis@gnu.org>
3255
3256 * gdb.asm/configure.in: Fix recognition of ix86 target.
3257 * gdb.asm/configure: Regenerate.
3258
756caa3d
MS
32592001-11-21 Michael Snyder <msnyder@redhat.com>
3260
3261 * gdb.asm/sparc.inc: New file.
3262 * gdb.asm/asm-source.exp: Recognize sparc target.
3263 * gdb.asm/configure.in: Recognize sparc target.
3264 * gdb.asm/configure: Regenerate.
3265
9a4d72d5
MS
32662001-11-21 Michael Snyder <msnyder@redhat.com>
3267
3268 * gdb.asm/m32r.inc: New file.
3269 * gdb.asm/asm-source.exp: Recognize m32r target.
3270 * gdb.asm/configure.in: Recognize m32r target.
3271 * gdb.asm/configure: Regenerate.
3272
a773d1cd
MS
32732001-11-20 Michael Snyder <msnyder@redhat.com>
3274
017ac23d
MS
3275 * gdb.asm/i386.inc: New file.
3276 * gdb.asm/asm-source.exp: Recognize ix86 target.
3277 * gdb.asm/configure.in: Recognize ix86 target.
3278 * gdb.asm/configure: Regenerate.
3279
a773d1cd
MS
3280 * gdb.c++/namespace.exp: Fix quotes in output messages.
3281
bb632afb
MS
32822001-11-14 Michael Snyder <msnyder@redhat.com>
3283
25d559ca 3284 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3285 qualifier in a type cast expression, to designate an address
3286 in the instruction space (Harvard architecture).
3287
4749e309
MS
32882001-11-13 Michael Snyder <msnyder@redhat.com>
3289
3290 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3291 Tests for expressions using 'const' and 'volatile'.
3292
25050984
CV
32932001-11-13 Corinna Vinschen <vinschen@redhat.com>
3294
3295 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3296
1902c51f
DJ
32972001-11-12 Daniel Jacobowitz <drow@mvista.com>
3298
3299 * lib/mi-support.exp (mi_run_to_helper): Move comments
3300 outside of gdb_expect.
3301
dcf95b47
DJ
33022001-11-11 Daniel Jacobowitz <drow@mvista.com>
3303
3304 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3305 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3306 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3307 mi0_run_to): New functions.
3308 * gdb.mi/mi-simplerun.exp: Use them.
3309 * gdb.mi/mi0-simplerun.exp: Likewise.
3310 * gdb.mi/mi-var-cmd.exp: Likewise.
3311 * gdb.mi/mi0-var-cmd.exp: Likewise.
3312
45b074e1
AC
33132001-11-10 Andrew Cagney <ac131313@redhat.com>
3314
3315 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3316 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3317
bf50d346
AC
33182001-11-09 Andrew Cagney <ac131313@redhat.com>
3319
3320 * gdb.base/restore.exp: Include $expected value in restored test
3321 message.
3322
9383332c
AC
33232001-11-09 Andrew Cagney <ac131313@redhat.com>
3324
3325 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3326 implemented.
3327
db62520a
MS
33282001-11-08 Michael Snyder <msnyder@redhat.com>
3329
3330 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3331 Add pass/fail message for stop at breakpoint in call dummy function.
3332
b5703437
MS
33332001-11-07 Michael Snyder <msnyder@redhat.com>
3334
760f6330
MS
3335 * gdb.c++/templates.exp (test_template_breakpoints):
3336 If we get an overload menu, but it does not match what
3337 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3338 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3339 making the whitespace optional. Argument for "new" may be
3340 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3341 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3342 making the whitespace optional. Also replace "(void) with
3343 "((void|)), making the keyword "void" optional.
63f50499
MS
3344 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3345 making the whitespace optional. Also replace "(void) with
3346 "((void|)), making the keyword "void" optional.
3bf40917
MS
3347 * gdb.base/callfuncs.c (t_float_values): This function must
3348 _not_ be prototyped, and the following function (t_float_values2)
3349 must be prototyped (if the compiler supports it), so that GDB
3350 can be tested against both cases. Usually one case involves
3351 promotion of float to double, while the other does not.
3352 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3353 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3354 includes a stack frame for "start".
3355
c8ab4e6d
JB
33562001-11-05 Jim Blandy <jimb@redhat.com>
3357
3358 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3359 pointers are 32 bits long, and that offsets of relocs are always
3360 stored in the data (REL-style), and not in the reloc entry itself
3361 (RELA-style).
3362 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3363 stabs.
3364
3f08ced9
MS
33652001-11-01 Michael Snyder <msnyder@redhat.com>
3366
3367 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3368 and regular expression operators by using quoting.
3369
cbfa24cd
MS
33702001-10-31 Michael Snyder <msnyder@redhat.com>
3371
3372 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3373 depending on what the symbol table contains.
3374 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3375 the output of the ptype command. Similarly, accept both "const &"
3376 and "const&".
3377
aaa68313
CV
33782001-10-31 Corinna Vinschen <vinschen@redhat.com>
3379
3380 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3381 symbol `STORAGE' to allow to choose the storage class of
3382 the local datastructures.
3383 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3384 compiler directive.
3385
91740388
MS
33862001-10-30 Michael Snyder <msnyder@redhat.com>
3387
3388 * gdb.base/jump.exp: Allow it to run for all targets.
3389
1b7c05e7
CV
33902001-10-29 Corinna Vinschen <vinschen@redhat.com>
3391
3392 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3393 with new double_array size.
3394 (main): Change storage class of all local variables to static.
3395 Reduce size of double_array to 9.
3396 * gdb.base/call-ar-st.exp: Increase timeout value.
3397 Change expected output for double array to match new size in
3398 call-ar-st.c.
3399
36a22261
CV
34002001-10-29 Corinna Vinschen <vinschen@redhat.com>
3401
3402 * gdb.base/ending-run.exp: Create identical output when passing
3403 `step to end of run' case. Add regular expression branch satisfying
3404 Stormy16 target.
3405
92b8ae91
MK
34062001-10-28 Mark Kettenis <kettenis@gnu.org>
3407
3408 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3409 that we catch the expected failure under Linux/x86.
3410
cb135b83
OF
34112001-10-29 Orjan Friberg <orjanf@axis.com>
3412
3413 * gdb.base/setvar.exp: Escape curly braces.
3414 * gdb.stabs/weird.exp: Ditto.
3415
6884aa54
DJ
34162001-10-27 Daniel Jacobowitz <drow@mvista.com>
3417
3418 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3419 * gdm.mi/mi0-hack-cli.exp: Likewise.
3420
0398c9aa
AC
34212001-10-25 Andrew Cagney <ac131313@redhat.com>
3422
3423 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3424 messages.
3425
d20bf2e8
AC
34262001-10-21 Andrew Cagney <ac131313@redhat.com>
3427
3428 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3429 checking MI enabled.
3430
03dd63aa
CV
34312001-10-09 Corinna Vinschen <vinschen@redhat.com>
3432
3433 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3434
1d9d99f3
FCE
34352001-10-04 Frank Ch. Eigler <fche@redhat.com>
3436
3437 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3438 if gdb child process crashes, just signal an error.
3439
838ae6c4
JB
34402001-10-02 Jim Blandy <jimb@redhat.com>
3441
3442 * lib/gdb.exp (test_xfail_format): Simplify.
3443
3444 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3445 front of the variable name `format'. Simplify `if'.
3446
8f0cbc1c
DJ
34472001-10-01 Daniel Jacobowitz <drow@mvista.com>
3448
3449 * gdb.threads/pthreads.exp: Wait for output and delay
3450 before sending ^C.
3451
1f08dafd
DJ
34522001-10-01 Daniel Jacobowitz <drow@mvista.com>
3453
3454 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3455 some incorrect output instead of timing out.
3456 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3457
674f90ff
CV
34582001-09-28 Corinna Vinschen <vinschen@redhat.com>
3459
3460 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3461 check to allow additional `int'.
3462
9b284272
DJ
34632001-09-27 Daniel Jacobowitz <drow@mvista.com>
3464
3465 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3466 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3467
b55a4771
MS
34682001-09-27 Michael Snyder <msnyder@redhat.com>
3469
3470 * lib/gdb.exp (test_debug_format): New proc.
3471 (setup_xfail_format): Use new proc test_debug_format.
3472 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3473 proc; use new service proc test_debug_format.
3474 Replace all other "gcc_compiled" tests with this test.
3475 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3476 proc; use new service proc test_debug_format.
3477 Replace all other "gcc_compiled" tests with this test.
3478
34792001-09-27 Michael Snyder <msnyder@redhat.com>
3480
3481 * gdb.base/cvexpr.exp: New file.
3482 * gdb.base/cvexpr.c: New file
3483 Test for expressions using const and volatile keywords.
3484
4e6667ac
CV
34852001-09-26 Corinna Vinschen <vinschen@redhat.com>
3486
3487 * gdb.base/constvars.exp: Check for different orders of keywords
3488 and additional "int" strings in output.
3489
4f337972
AC
34902001-09-22 Andrew Cagney <ac131313@redhat.com>
3491
3492 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3493 responses from "help maint".
3494
2015650d
FCE
34952001-09-19 Frank Ch. Eigler <fche@redhat.com>
3496
3497 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3498 to localhost:NNN instead of :NNN, in case Xvfb is listening
3499 only on TCP.
3500
f3bcedc1
CV
35012001-09-19 Corinna Vinschen <vinschen@redhat.com>
3502
3503 * gdb.base/recurse.exp: When checking leaving the watchpoint
3504 scope, recognize when gdb is in function's epilogue and pass.
3505
6b819c92
KS
35062001-09-18 Keith Seitz <keiths@redhat.com>
3507
3508 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3509 support for running tests against sid targets.
3510 (gdbtk_done): Ditto.
3511
a10c9419
CV
35122001-09-18 Corinna Vinschen <vinschen@redhat.com>
3513
3514 * gdb.base/ending-run.c (main): Set stdout buffersize
3515 to the same reasonable value for any target.
3516 * gdb.base/ending-run.exp: Add a regular expression
3517 to make testsuite happy on Sanyo Stormy16 target.
3518
739d0d99
CV
35192001-09-17 Corinna Vinschen <vinschen@redhat.com>
3520
3521 * gdb.base/display.c (do_loops): Add float variable `f'.
3522 Increment f in loop.
3523 * gdb.base/display.exp: Increment timeout by 60 seconds.
3524 Change float display test to use variable `f'.
3525
1b8947f0
JB
35262001-09-17 Jim Blandy <jimb@redhat.com>
3527
3528 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3529 overflowing the limited breakpoint tables on some ROM monitors
3530 (like the ROM68K).
3531
9890ac81
FCE
35322001-09-15 Frank Ch. Eigler <fche@redhat.com>
3533
3534 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3535 the "-ac" (disable access control) flag.
3536
6db765ea
JH
35372001-08-30 Jeff Holcomb <jeffh@redhat.com>
3538
3539 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3540 ints.
3541
4c32cc04
KS
35422001-08-30 Keith Seitz <keiths@redhat.com>
3543
3544 * lib/gdb.exp: Move all insight-related functionality into
3545 separate file.
3546 * lib/insight-support.exp: New file.
3547
8d6e6f81
FCE
35482001-08-29 Frank Ch. Eigler <fche@redhat.com>
3549
3550 * config/sid.exp (sid_start): Never set sid verbosity; disable
3551 expect_background {} that consumed its stdout; tolerate </dev/null.
3552 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3553
6a90e1d0
AC
35542001-08-18 Andrew Cagney <ac131313@redhat.com>
3555
3556 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3557 CLI jump command to start it.
3558 (mi_run_to_main): Fail immediatly when unexpected output.
3559
1759b3c3
AC
35602001-08-18 Andrew Cagney <ac131313@redhat.com>
3561
3562 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3563 beginning of function. Fix PR gdb/191.
3564
61d11d80
FCE
35652001-08-16 Frank Ch. Eigler <fche@redhat.com>
3566
3567 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3568 what to force sid endianness to.
3569
942a4df2
KS
35702001-08-15 Keith Seitz <keiths@redhat.com>
3571
3572 * lib/gdb.exp (gdbtk_start): Don't set environment
3573 variables for TCL_LIBRARY and friends. Insight will
3574 now figure these out for itself.
3575
0521c418
MS
35762001-08-02 Michael Snyder <msnyder@redhat.com>
3577
3578 * gdb.base/completion.exp: Remove the symbol "a64l" from
3579 the expect string; this is target-specific, and not related
3580 to what is being tested.
3581
74a9a58a
DB
35822001-08-02 Dave Brolley <brolley@redhat.com>
3583
3584 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3585
c70819fa
MS
35862001-07-25 Michael Snyder <msnyder@redhat.com>
3587
c2b8fa57
MS
3588 * gdb.base/consecutive.exp: New file. Test stepping over
3589 breakpoints on consecutive instructions.
3590 * gdb.base/consecutive.c: New file.
3591
c70819fa
MS
3592 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3593 curly braces in regular expressions.
3594
2b1a1355
MS
35952001-07-25 Michael Snyder <msnyder@redhat.com>
3596
3597 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3598 legitimate output from stepping out of main.
3599
413eca6f
KS
36002001-07-22 Keith Seitz <keiths@redhat.com>
3601
3602 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3603 the empty string, do not run the tests.
3604
7e5a9322
SC
36052001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3606
3607 * gdb.base/long_long.exp: Detect size of pointer. Take into
3608 account 2-byte pointers when testing for p/a results.
3609
de58f10f
SC
36102001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3611
3612 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3613 and defined to 1K for m68hc11.
3614 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3615 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3616 (sizeof_random_data): New variable to tell the size of the data table;
3617 don't test past this size; always run to main.
3618
d6f5fea1
SC
36192001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3620
3621 * gdb.base/return2.exp: return of long long and double fails for
3622 68HC11; don't execute these tests on that platform.
3623 * gdb.base/return.exp: Return of a double fails for 68hc11.
3624
c477543d
SC
36252001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3626
3627 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3628 tests that print a float.
3629 * call-rt-st.exp: Likewise.
3630
63cf1c79
MK
36312001-07-12 Mark Kettenis <kettenis@gnu.org>
3632
3633 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3634 running this test on Linux.
3635
112f9ab5
MC
36362001-06-24 Michael Chastain <chastain@redhat.com>
3637
3638 * gdb.base/arithmet.exp: Remove some tests to make all test names
3639 unique.
3640
4970cb0f
MS
36412001-07-03 Michael Snyder <msnyder@redhat.com>
3642
3643 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3644 the output of the ptype command.
3645
d85da69f
MS
36462001-07-02 Michael Snyder <msnyder@redhat.com>
3647
4c8a82de
MS
3648 * gdb.base/completion.exp: Don't assume that break.c is the only
3649 source file that may contain functions named "marker".
d85da69f
MS
3650 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3651
8afc772b
AC
36522001-06-28 Andrew Cagney <ac131313@redhat.com>
3653
3654 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3655 of files to delete.
3656
3657 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3658 * gdb.disasm/h8300s.exp: New file.
3659 gdb.disasm/h8300s.s: Likewise.
3660
cff22675
AC
36612001-06-27 Andrew Cagney <ac131313@redhat.com>
3662
3663 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3664 empty breakpoint tables.
3665
68c81b54
AC
36662001-06-25 Andrew Cagney <ac131313@redhat.com>
3667
3668 * lib/mi-support.exp: Update args=... part of stop-reason
3669 patterns. Accept either a list or a tuple.
3670
2dd62704
AC
36712001-06-23 Andrew Cagney <ac131313@redhat.com>
3672
3673 * lib/mi-support.exp: Remove local emacs variable defining
3674 change-log-default-name.
3675
b4127474
MC
36762001-06-22 Michael Chastain <chastain@redhat.com>
3677
3678 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3679 This is operationally compatible with the previous version.
3680
8dbfb380
JB
36812001-06-13 Jim Blandy <jimb@redhat.com>
3682
3683 * lib/gdb.exp (gdb_test): Doc fix.
3684
f2d8c86d
MC
36852001-06-10 Michael Chastain <chastain@redhat.com>
3686
3687 * gdb.base/exprs.exp: Remove a duplicate test.
3688
81564d34
JB
36892001-06-06 Jim Blandy <jimb@redhat.com>
3690
3691 * gdb.base/return2.exp (main): Use values to test float and double
3692 returns that are not NaN's, to avoid being confused by IEEE
3693 comparison rules.
3694
da55addb
MS
36952001-06-04 Michael Snyder <msnyder@redhat.com>
3696
3697 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3698 non-zero if control_c fails. Terminate the test on failure,
3699 rather than wait for 12 more tests to time out.
3700
42c65987
JB
37012001-06-06 Jim Blandy <jimb@redhat.com>
3702
b18bced9
JB
3703 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3704 Don't forget to match the GDB prompt.
3705
42c65987
JB
3706 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3707
5b41e5f0
JB
37082001-06-04 Jim Blandy <jimb@redhat.com>
3709
3710 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3711 command.
3712
015e046f
KB
37132001-05-31 Kevin Buettner <kevinb@redhat.com>
3714
3715 * gdb.base/annota1.exp (info break): Match four or more spaces
3716 after "Address".
3717
fb1ffbbe
MC
37182001-05-31 Michael Chastain <chastain@redhat.com>
3719
3720 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3721 (dm_type_int_star): Likewise.
3722 (dm_type_long_star): Likewise.
3723 (dm_type_void_star): Likewise.
3724
5ea2a32c
KB
37252001-05-29 Kevin Buettner <kevinb@redhat.com>
3726
3727 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3728 to a known value in order to get consistent results regardless
3729 of the setting of INPUTRC or the presence or contents of .inputrc.
3730
ae23c492
MS
37312001-05-24 Michael Snyder <msnyder@redhat.com>
3732
ac55707e
MS
3733 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3734 Don't require that the main thread and the manager thread are the
3735 first in the list.
3736
ae23c492
MS
3737 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3738 debugging. If test fails, issue an "unsupported" not a "fail".
3739
400071f1
JB
37402001-05-24 Jim Blandy <jimb@redhat.com>
3741
3742 Don't assume that short is shorter than int.
3743 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3744 assume that shorts are smaller than ints. On a 16-bit machine,
3745 this isn't true.
3746 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3747 an int, is not equal to ~0 stored in an unsigned char. This tests
3748 the same thing that the previous test meant to, but works on
3749 16-bit machines, too.
3750 ("print unsigned char != (~0)"): Same test, complemented.
3751
0816a3e5
MS
37522001-05-24 Michael Snyder <msnyder@redhat.com>
3753
3754 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3755 test for (full_coverage == 0). This makes the test run faster,
3756 and prevents dejagnu getting out of step.
3757
f6dc23a9
KB
37582001-05-23 Kevin Buettner <kevinb@redhat.com>
3759
3760 * gdb.base/finish.exp (finish_void): Revise pattern for
3761 stopping on the call statement to not permit stopping at
3762 the start of the instructions comprising the call sequence.
3763
7dbd117d
MC
37642001-05-19 Michael Chastain <chastain@redhat.com>
3765
3766 * gdb.base/callfuncs.exp: Make all test names unique.
3767 * gdb.base/commands.exp: Make all test names unique.
3768 * gdb.base/condbreak.exp: Make all test names unique.
3769 * gdb.base/dbx.exp: Make all test names unique.
3770 * gdb.base/default.exp: Make all test names unique.
3771 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3772 and TIMEOUT messages to their corresponding PASS message.
3773 * gdb.base/ending-run.exp: Make all test names unique.
3774 * gdb.base/long_long.exp: Remove duplicate test.
3775
6b0b0a9e
KB
37762001-05-21 Kevin Buettner <kevinb@redhat.com>
3777
3778 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3779 stop on the call statement as well as the statement after the
3780 call.
3781
2caa35cb
MS
37822001-05-21 Michael Snyder <msnyder@redhat.com>
3783
3784 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3785
40713331
EZ
37862001-05-10 Elena Zannoni <ezannoni@redhat.com>
3787
3788 * gdb.base/completion.exp: Revamp test. Make it execute on all
3789 platforms.
3790
c2c1be8d
EZ
37912001-05-10 Elena Zannoni <ezannoni@redhat.com>
3792
2c9cd303
EZ
3793 * config/gdbserver.exp (gdb_load): Handle the case
3794 in which the arguments to gdbserver are given in the
3795 baseboard configuration file.
3796 Also handle the case in which the server needs to do a
3797 load.
3798
9671de48
KS
37992001-05-07 Keith Seitz <keiths@cygnus.com>
3800
3801 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3802 set up the display for testing.
3803 (gdbtk_start): Convert all paths to paths that tcl will like.
3804 Export target information to environment.
3805 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3806 necessary.
3807 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3808 (to_tcl_path): New proc to convert a given pathname into
3809 a path acceptible as an argument to a tcl command.
3810 (_gdbtk_export_target_info): New proc to export target info
3811 into the environment for gdbtk testing.
3812 (gdbtk_done): New proc to signal end-of-test.
3813
5a360f47
JB
38142001-05-06 Jim Blandy <jimb@redhat.com>
3815
3816 * restore.c: Make the code of caller0 correspond to its comment.
3817
66c756c6
MS
38182001-05-03 Michael Snyder <msnyder@redhat.com>
3819
3820 * config/sid.exp (gdb_target_sid): Check for error messages.
3821 On error or timeout, don't make expect exit (which will terminate
3822 all subsequent tests); instead just make gdb exit.
3823 (gdb_load): Check for error messages. On error or timeout,
3824 return a negative value.
3825
a966fde5
JB
38262001-04-24 Jim Blandy <jimb@redhat.com>
3827
851c18e0
JB
3828 * gdb.c++/templates.exp: If we see the prompt for the overload
3829 list, but we haven't recognized any of the longer patterns,
3830 arrange for this test to fail, not hang.
3831
a966fde5
JB
3832 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3833 variations.
3834
db144853
MC
38352001-04-22 Michael Chastain <chastain@redhat.com>
3836
3837 * gdb.c++/local.exp: Use the 'runto' library function.
3838 * gdb.c++/namespace.exp: Likewise.
3839 * gdb.c++/overload.exp: Likewise.
3840
3207ec21
KB
38412001-03-26 Kevin Buettner <kevinb@redhat.com>
3842
3843 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3844 * gdb.base/step-line.exp: New file. Test step/next in presence of
3845 #line directives.
3846 * gdb.base/step-line.c: New file. Test program for the above.
3847 * gdb.base/step-line.inp: New file. We pretend that this file has
3848 been transformed by some other tool into step-line.c.
3849
13b57657
JB
38502001-03-21 Jim Blandy <jimb@redhat.com>
3851
3852 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3853 unmangled operator names.
3854
754cbe1c
JB
38552001-03-20 Jim Blandy <jimb@redhat.com>
3856
3857 * gdb.threads/linux-dp.exp: Recognize an additional message
3858 generated by GDB when it doesn't understand how to debug threads
3859 on the target system.
3860
177495c9
AC
38612001-03-19 Andrew Cagney <ac131313@redhat.com>
3862
3863 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3864
f266096b
MC
38652001-03-12 Michael Chastain <chastain@redhat.com>
3866
3867 * gdb.c++/derivation.exp: Use the 'runto' library function.
3868
cac3c2ff
MC
38692001-03-12 Michael Chastain <chastain@redhat.com>
3870
3871 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3872
b6c11a24
MC
38732001-02-24 Michael Chastain <chastain@redhat.com>
3874
3875 * gdb.c++/ref-types.exp: Change handwritten code to library
3876 function 'runto'.
3877
6bae5bce
OF
38782001-03-16 Orjan Friberg <orjanf@axis.com>
3879
3880 * gdb.base/signals.exp: Set count to 0 explicitly.
3881
0015fd9a
MS
38822001-03-15 Mark Salter <msalter@redhat.com>
3883
3884 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3885 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3886 (gdb_load): Add support for additional target_info: gdb_download_size
3887 and gdb_load_timeout.
0015fd9a 3888
fc33412a
DT
3889Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3890
3891 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3892 file -- to prevent failing when the compile fails but we have no
3893 intention of running the tests anyway.
3894
3895 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3896 tests if set.
3897
3898 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3899 integers.
3900
3901 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3902 * gdb.c++/namespace.exp: Ditto.
3903
115f06de
OF
39042001-03-07 Orjan Friberg <orjanf@axis.com>
3905
3906 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3907 * gdb.base/pointers.exp: Relax pattern match of decimals.
3908
b6ba6518
KB
39092001-03-06 Kevin Buettner <kevinb@redhat.com>
3910
3911 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3912 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3913 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3914 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3915 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3916 config/sh.exp, config/sid.exp, config/slite.exp,
3917 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3918 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3919 config/vxworks.exp, config/vxworks29k.exp,
3920 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3921 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3922 gdb.base/arithmet.exp, gdb.base/assign.exp,
3923 gdb.base/async.exp, gdb.base/attach.exp,
3924 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3925 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3926 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3927 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3928 gdb.base/commands.exp, gdb.base/completion.exp,
3929 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3930 gdb.base/constvars.exp, gdb.base/corefile.exp,
3931 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3932 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3933 gdb.base/ending-run.exp, gdb.base/environ.exp,
3934 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3935 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3936 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3937 gdb.base/funcargs.exp, gdb.base/help.exp,
3938 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3939 gdb.base/logical.exp, gdb.base/long_long.exp,
3940 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3941 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3942 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3943 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3944 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3945 gdb.base/regs.exp, gdb.base/relational.exp,
3946 gdb.base/remote.exp, gdb.base/reread.exp,
3947 gdb.base/restore.exp, gdb.base/return2.exp,
3948 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3949 gdb.base/selftest.exp, gdb.base/setshow.exp,
3950 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3951 gdb.base/sigall.exp, gdb.base/signals.exp,
3952 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3953 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3954 gdb.base/step-test.exp, gdb.base/structs.c,
3955 gdb.base/structs.exp, gdb.base/structs2.exp,
3956 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3957 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3958 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3959 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3960 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3961 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3962 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3963 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3964 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3965 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3966 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3967 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3968 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3969 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3970 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3971 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3972 gdb.trace/circ.exp, gdb.trace/collection.exp,
3973 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3974 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3975 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3976 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3977 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3978 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3979 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3980 notices.
3981
dc96c6c7 39822001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3983
3984 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3985 first arg is int not float.
3986
dc96c6c7 39872001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3988
3989 * gdb.base/reread.exp: Unsupported for non-native targets;
3990 doesn't work for remote debugging.
3991
9b0c4aeb
FN
39922001-02-19 Fernando Nasser <fnasser@redhat.com>
3993
3994 From Drew Moseley <dmoseley@redhat.com>
3995 * gdb.base/ending-run.exp: Properly handle the BSP state when
3996 stepping past the end of main.
3997
02aa71d5
MC
39982001-02-19 John Moore <jmoore@redhat.com>
3999
4000 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4001 Converted HPUX fix for non-expected items following multiple
4002 step commands into general solution for all platforms.
4003
1fa449a4
MC
40042001-02-18 Michael Chastain <chastain@redhat.com>
4005
4006 * gdb.c++/classes.exp (do_tests): Change runto statements
4007 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4008 statements demangler agnostic.
4009 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4010 (gdb_virtfunc_restart): Likewise.
4011
b2f9ec70
MC
40122001-02-14 Michael Chastain <chastain@redhat.com>
4013
4014 * gdb.c++/inherit.exp (do_tests): Change runto statements
4015 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4016 statements demangler agnostic.
4017
cf74b8ca
AC
4018Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4019
4020 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4021 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4022 before calling common_routine 15 times'' tests.
4023
99f78f56
MC
40242001-02-11 Michael Chastain <chastain@redhat.com>
4025
4026 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4027 Helps the test script figure out which demangler is in use.
4028 (dm_type_foo_ref): Ditto.
4029 (dm_type_int_star): Ditto.
4030 (dm_type_long_star): Ditto.
4031 (dm_type_unsigned_int): Ditto.
4032 (dm_type_void): Ditto.
4033 (dm_type_void_star): Ditto.
99707966 4034 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4035 Probe the gdb demangler and set variables to accommodate
4036 formatting differences.
4037 (info_func_regexp): New function. Same as info_func, but
4038 matches against a regexp.
4039 (info_func): Match against a literal string.
4040 (print_addr_2): New function. Match against a literal string,
4041 which can be different from the input to gdb.
4042 (print_addr): Simply call print_addr_2 with the same argument twice.
4043 (test_lookup_operator_functions): Use demangler formatting variables.
4044 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4045 the tests in the same order as the C++ class declaration.
4046 (test_paddr_operator_functions): Ditto.
4047 (test_paddr_overloaded_functions): Ditto.
4048 (test_paddr_hairy_functions): Use demangler formatting variables.
4049 Add reference to gdb/19 for related tests.
4050 (do_tests): Call probe_demangler.
4051
1de8f023
KB
40522001-01-30 Kevin Buettner <kevinb@redhat.com>
4053
4054 * gdb.c++/templates.cc (printf): Remove unused function definition.
4055
ca3f91ed
MS
40562001-01-26 Felix Lee <flee@redhat.com>
4057
4058 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4059
40602001-01-25 matthew green <mrg@redhat.com>
4061
4062 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4063 up sid.
4064 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4065
40662001-01-25 matthew green <mrg@redhat.com>
4067
4068 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4069 Deprecate $sid_spawn_id.
4070 (sid_exit): Remove code necessary only for `spawn.'
4071
40722001-01-25 matthew green <mrg@redhat.com>
4073
4074 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4075
fb18ec4a
MC
40762001-01-28 Michael Chastain <chastain@redhat.com>
4077
4078 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4079 to call when tests fail. It takes gdb out of the overloaded
4080 function choice menu back to the main prompt, so that the test
4081 program stays synchronized.
4082 (set_bp_overloaded): New proc to collect all the common
4083 code for setting a breakpoint on an overloaded name. Calls
4084 take_gdb_out_of_choice_menu when needed.
4085 (menu_overload1arg): New variable to collect the repeated
4086 instances of the expected menu for an overloaded name. Change
4087 the regular expression to handle changes in g++ type encoding:
4088 "void" can be either "void" or "", and "unsigned int" can be
4089 either "unsigned int" or "unsigned".
4090 (continue_to_bp_overloaded): Change regular expressions to handle
4091 changes in g++ type encoding.
4092 (no proc): Call take_gdb_out_of_choice_menu when needed.
4093 Remove redundant calls to "info break". Accept either "canceled"
4094 or "cancelled". Change regular expressions in "info break"
4095 calls to handle changes in g++ type encoding. Give all tests
4096 unique strings.
4097
9c646a6e
BE
40982001-01-17 Ben Elliston <bje@redhat.com>
4099
4100 * config/sid.exp: New file.
4101
9549d9c1
AC
4102Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4103
4104 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4105
dc96c6c7 41062000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4107
4108 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4109 Add a RE to accept a non-ascii char if one is ever presented.
4110
b4df4f68
FN
41112000-12-20 Fernando Nasser <fnasser@redhat.com>
4112
297dd0fd 4113 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4114
dc96c6c7 41152000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4116
4117 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4118 in regexp. One '\' does not suffice on Linux.
4119
4a7bddb6
MC
41202000-12-09 Michael Chastain <chastain@redhat.com>
4121
4122 * gdb.base/break.exp (test_clear_command): Use a marker function
4123 rather than 'main' for the test function. Also move this
4124 test to an execution point where the marker function names are
4125 guaranteed to be bound to functions. (Executing tests after a
4126 'finish' from main runs into name conflicts with local names
4127 in __libc_start_main).
4128
dc96c6c7 41292000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4130
4131 * gdb.base/finish.exp: New test for gdb's "finish" command.
4132 * gdb.base/return2.exp: New test for gdb's "return" command.
4133 * gdb.base/return2.c: New source file for above.
4134
dc96c6c7 41352000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4136
4137 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4138 * gdb.base/miscexprs.exp: Ditto.
4139 * gdb.base/pointers.exp: Ditto.
4140 * gdb.c++/derivation.exp: Ditto.
4141 * gdb.c++/local.exp: Ditto.
4142 * gdb.c++/namespace.exp: Ditto.
4143 * gdb.c++/overload.exp: Ditto.
4144 * gdb.c++/ref-types.exp: Ditto.
4145
dc96c6c7 41462000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4147
4148 * gdb.base/constvars.exp: Test result of "up" command.
4149 * gdb.base/miscexprs.exp: Ditto.
4150 * gdb.base/pointers.exp: Ditto.
4151 * gdb.base/scope.exp: Ditto.
4152 * gdb.c++/derivation.exp: Ditto.
4153 * gdb.c++/local.exp: Ditto.
4154 * gdb.c++/namespace.exp: Ditto.
4155 * gdb.c++/overload.exp: Ditto.
4156 * gdb.c++/ref-types.exp: Ditto.
4157
44097287
FN
41582000-11-22 Michael Chastain <chastain@redhat.com>
4159
4160 * mips_pro.exp: Accept either "middle -> top -> main" or
4161 "middle -> main" in the backtrace, because gcc can optimize
4162 tail calls to jumps. Remove setup_xfail for the hppa case.
4163 Add a comment with the original warning messages from PR 3016,
4164 which was filed in 1993, to preserve them for posterity.
4165
9d2e1bab
ND
41662000-11-17 Nick Duffek <nsd@redhat.com>
4167
4168 * lib/gdb.exp (gdb_test): Override timeout with board info.
4169
1aca8eb7
ND
41702000-11-17 Nick Duffek <nsd@redhat.com>
4171
4172 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4173 the second kill and detach messages.
4174
93076499
ND
41752000-11-17 Nick Duffek <nsd@redhat.com>
4176
4177 * configure.in: Add AC_EXEEXT.
4178 * configure: Regenerate.
4179 * Makefile.in (just-check): Export EXEEXT.
4180 * lib/gdb.exp ($EXEEXT): Import from environment.
4181 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4182 expect "maint dump-me" on Cygwin.
4183 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4184 $EXEEXT.
4185
30e87cd3
ND
41862000-11-17 Nick Duffek <nsd@redhat.com>
4187
4188 * gdb.base/break.exp: Test backtrace and finish from called
4189 function on all platforms, not just HP-UX.
4190
dc96c6c7 41912000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4192
4193 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4194 code from gdb_target_monitor, so it can be used independantly
4195 for gdbserver. Also comment out an unnecessary PUTS.
4196
dc96c6c7 41972000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4198
4199 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4200 * gdb.base/corefile.exp: Expect the message "Program is being
4201 debugged already" when we send the "corefile" command, since
4202 the preceeding gdb_load may have connected gdb to a remote target.
4203 * gdb.base/display.exp: Disable hardware watchpoints if new
4204 board info variable "no_hardware_watchpoints" is true.
4205 Replace single-letter commands with more readable ones.
4206 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4207 if new board info variable "no_hardware_watchpoints" is true.
4208 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4209 to see if stdio (printf) testing is possible.
4210 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4211 board info variable "no_hardware_watchpoints" is true. Use new
4212 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4213
39124dea
FN
42142000-11-13 Fernando Nasser <fnasser@redhat.com>
4215
4216 From Orjan Friberg <orjanf@axis.com>:
4217 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4218 in array print pattern match.
4219
a9e2e984
FN
42202000-11-09 Fernando Nasser <fnasser@redhat.com>
4221
4222 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4223 spelling "cancelled" to U.S. spelling "canceled" to match changes
4224 made to gdb.
4225 * gdb.c++/ovldbreak.exp: Ditto.
4226
c7db355b
PS
42272000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4228
4229 * gdb.base/callfuncs.c (main): Moved to end of file, call
4230 t_double_values to initialize the FPU before inferior calls are made.
4231 * gdb.base/callfuncs.exp: Test for register preservation after calling
4232 inferior functions. Add tests for continuining, finishing and
4233 returning from a stop in a call dummy.
4234
dc96c6c7 42352000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4236
4237 * gdb.base/commands.exp: Break up long lines, and re-indent.
4238
dc96c6c7 42392000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4240
4241 * config/gdbserver.exp: Rewritten from the ground up, to make it
4242 compatible with the current dejagnu tree, and to make it work with
4243 the new "gdbserver" in libremote.
4244
dc96c6c7 42452000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4246
4247 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4248 * gdb.base/varargs.exp: Skip entire test if no printf support.
4249 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4250 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4251
dc96c6c7 42522000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4253
4254 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4255 no floating point support.
4256 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4257 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4258 * gdb.base/call-rt-st.exp: Ditto.
4259 * gdb.base/call-strs.exp: Ditto.
4260
bac5fc66
JG
42612000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4262
4263 * gdb.base/sizeof.c: include <stdio.h>.
4264
4265 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4266 'finish', otherwise uncaptured gdb_prompt would potentially
4267 throw remaining test points out of sync.
4268
b22a6027
SB
42692000-07-26 Scott Bambrough <scottb@netwinder.org>
4270
4271 * gdb.base/recurse.exp: Run tests for all targets.
4272 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4273 gnu-oldld case on ARM.
4274 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4275 for ARM targets.
4276
d8231941
AG
4277Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4278
4279 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4280 * gdb.java/configure: Rebuild.
4281
8caabe69
AG
4282Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4283
4284 * gdb.java/jv-exp.exp: New file.
4285
9d273ca3
AG
4286Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4287
4288 * configure: Rebuilt.
4289 * configure.in (configdirs): Add gdb.java.
4290 * gdb.java/jmisc.java: New file.
4291 * gdb.java/jmisc.exp: New file.
4292 * gdb.java/Makefile.in: New file.
4293 * gdb.java/configure: Rebuilt.
4294 * gdb.java/configure.in: New file.
4295 * lib/java.exp: New file.
4296
4f823a66
AC
4297Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4298
4299 * gdb.base/exprs.exp: Test casts to a pointer including over and
4300 underflow.
4301
2391e11d
AC
4302Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4303
4304 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4305 and the compilers sizes.
4306
54602222
ND
43072000-07-09 Nick Duffek <nsd@redhat.com>
4308
4309 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4310 (use_methods): New function.
4311 (main): Call use_methods().
4312 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4313 (do_tests): Call test_method_param_class.
4314
2bec0572
ND
43152000-07-09 Nick Duffek <nsd@redhat.com>
4316
4317 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4318 spelling.
4319 (test_enums): New procedure. Move enum tests from end of script
4320 to here. Set breakpoint on function name instead of line number.
4321 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4322 (enums2): New marker function.
4323 (enums1): New function.
4324 (main): Call enums1(). Move enum tests to enums1().
4325
78492fde
AC
4326Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4327
4328 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4329 compile/link program. Update line numbers.
4330 * gdb.asm/d10v.inc: Define ``startup''.
4331 * gdb.asm/asmsrc1.s: Add definition of _start.
4332
49a2cef8
AC
4333Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4334
4335 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4336
3e6c8688
EZ
43372000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4338
4339 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4340 of 'help maint print' command.
4341
9ff5cbe9
AC
4342Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4343
4344 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4345 they use gdb_expect_list.
4346
17c579bd
AC
4347Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4348
4349 * gdb.base/commands.exp: Use ``set remote
4350 memory-read-packet-size'' instead of ``set endian big'' to test
4351 long commands.
4352
e6d71bf3
DB
43532000-06-03 Daniel Berlin <dan@cgsoftware.com>
4354
4355 * gdb.c++/templates.exp (do_tests): Make all of these work under
4356 g++, and stop skipping them.
4357
4358 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4359 work under g++.
4360
e5f9ba7b
MS
4361 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4362 initialization.
4363
dc96c6c7 43642000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4365
4366 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4367 the regular expression: accept an (almost) arbitrary sequence of
4368 "frames-invalid" and "breakpoints-invalid" messages both before
4369 and after the "starting" message.
4370
dc96c6c7 43712000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4372
4373 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4374
dc96c6c7 43752000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4376
4377 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4378 Relax the regular expression a little, make it pass on Solaris 8.
4379
8216cda9
KB
43802000-05-12 Kevin Buettner <kevinb@redhat.com>
4381
4382 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4383 a call, do not require that gdb stop on the line after the call.
4384 Instead, it is permissible for gdb to stop on the line of the
4385 call itself.
4386
1a570b2f
MS
43872000-05-12 Michael Snyder <msnyder@.cygnus.com>
4388
4389 * gdb.base/break.exp (bp on small function, optimized file):
4390 Add a second pass pattern. The behavior differs here between stabs
4391 and dwarf for one-line functions. Stabs preserves two line symbols
4392 (one before the prologue and one after) with the same line number,
4393 but dwarf regards these as duplicates and discards one of them.
4394 Therefore the address after the prologue (where the breakpoint is)
4395 has no exactly matching line symbol, and GDB reports the breakpoint
4396 as if it were in the middle of a line rather than at the beginning.
4397
dc96c6c7 43982000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4399
4400 * gdb.base/interrupt.exp: Make "pass" message say "send"
4401 rather than "send_gdb" (for consistancy).
4402
7d418785
AC
4403Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4404
4405 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4406 * gdb.c++/templates.cc: Properly check for GCC version number.
4407 * lib/compiler.cc: Likewise
4408
dc96c6c7 44092000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4410
4411 * gdb.base/break.exp: When compiled with -O2 optimization,
4412 gdb may not stop at the first line of main, due to code motion.
4413
dc96c6c7 44142000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4415
4416 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4417 This test depends on parsing the printf output from the target.
4418 Since the sparclet stub doesn't do stdio, this will never work.
4419 * gdb.base/call-rt-st.exp: ditto.
4420 * gdb.base/call-strs: ditto.
4421
dc96c6c7 44222000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4423
4424 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4425
4426 * gdb.base/ending-run.exp: After connecting to a remote target,
4427 but before running, the target will appear to be in a random
4428 location. Specify both a file and a line for breakpoints.
4429 Also, the function that calls main may be called 'init'
4430 rather than 'start'.
4431
a5a51225
EZ
44322000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4433
4434 * gdb.base/help.exp: Update output for add-symbol-file command.
4435
7930cc7c
FN
44362000-04-10 Fernando Nasser <fnasser@cygnus.com>
4437
4438 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4439 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4440
23e37ab1
C
44412000-04-07 J.T. Conklin <jtc@redback.com>
4442
e93c542c
C
4443 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4444
23e37ab1
C
4445 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4446
591b8fa3
PDM
4447Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4448
4449 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4450 values that can be represented exactly.
4451 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4452 above change, and to not check against the directory part of the source
4453 file name.
4454 (step into print_long_arg_list): Likewise.
4455 (print print_small_structs from print_long_arg_list): Likewise.
4456 (print print_long_arg_list): Likewise.
4457
7a495180
EZ
44582000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4459
30b53638 4460 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4461
beb998c6
AC
4462Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4463
4464 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4465
1c689132
DB
44662000-03-25 Daniel Berlin <dan@cgsoftware.com>
4467
4468 * gdb.base/commands.exp (deprecated_command_test): Add test for
4469 deprecate with no arguments.
4470
c1790a9d
JL
44712000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4472
4473 * gdb.base/break.exp: Add new test for setting breakpoints on
4474 optimized code so we can test breakpoints work even when function
4475 prologues may be optimized away
4476
003ba290
FN
44772000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4478
4479 From David Whedon <dwhedon@gordian.com>
4480 * gdb.base/commands.exp : Added command deprecator tests.
4481
6837a0a2
DB
44822000-03-22 Daniel Berlin <dan@cgsoftware.com>
4483
4484 * gdb.base/help.exp: Added test for new apropos command.
4485
b9593231
KB
44862000-03-21 Kevin Buettner <kevinb@redhat.com>
4487
4488 * gdb.base/pointers.c (usevar): New function.
4489 (main): Make sure that global variables v_int_pointer2, rptr,
4490 and y are all referenced someplace in the program by calling
4491 usevar() on them. [Some linkers delete symbols which are
4492 never referenced. The space remains, but there's no way to
4493 get a (symbolic) handle on the variable from the debugger.]
4494
751a959b
EZ
44952000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4496
4497 * gdb.base/printcmds.c: Add typedeffed arrays.
4498
4499 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4500 procedure to test arrays that are typedef'd.
4501
73a93a32
JI
45022000-03-13 James Ingham <jingham@leda.cygnus.com>
4503
4504 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4505 the library directories.
73a93a32 4506
fb40c209
AC
4507Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4508
4509 * configure.in (configdirs): Add sub directory gdb.mi.
4510 * configure: Re-generate.
4511
4512 * gdb.mi: New directory.
beb998c6 4513
ee4dd2c9
AC
45142000-02-25 Scott Bambrough <scottb@netwinder.org>
4515
4516 * gdb.base/long_long.exp: Correct test suite failure when printing
4517 a long long value as a double on ARM platforms.
4518
70f0cc22
JB
45192000-02-16 Jim Blandy <jimb@redhat.com>
4520
4521 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4522 default source file is set properly before running this test.
4523
853819b8
EZ
45242000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4525
4526 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4527 gdbtk/library directory, not in gdbtcl2.
4528
dfcd3bfb
JM
45292000-02-04 Jim Blandy <jimb@redhat.com>
4530
4531 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4532 backslash from regexp pattern.
4533
4534 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4535 procedure. Use it to run all the "continue to bp overloaded"
4536 tests. Note that this changes the names of the tests slightly.
4537 If the breakpoint hit message includes a hex PC value, because
4538 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4539 from the real source code, still consider that a pass.
4540
4541 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4542 XFAIL here if the breakpoint message contains a hex address. Note
4543 similar change on 1999-11-02.
4544
4545 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4546
4547 * gdb.base/ptype.exp: Establish a default source file before
4548 calling get_debug_format.
4549
45502000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4551
4552 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4553
8b93c638
JM
45542000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4555
4556 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4557 of successive stepi commands -- while in the prologue we should see
4558 the function entry bracket.
4559
45602000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4561
4562 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4563 reach __change_mode() when stepping through the end of main().
4564
c5394b80
JM
45652000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4566
4567 * gdb.base/default.exp: Fix expected pattern.
4568 * gdb.base/help.exp: Same.
4569
0d06e24b
JM
45702000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4571
4572 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4573 Don't use xfail's because that affects only the following test.
beb998c6 4574
0d06e24b
JM
4575 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4576 solaris or linux.
4577
4578 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4579
dc96c6c7 45802000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4581
beb998c6 4582 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4583 "A syntax error" rather than "A parse error". Accept both.
4584
45852000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4586
4587 * gdb.base/default.exp: Remove OS dependent string from "target
4588 remote" test.
4589 * gdb.base/help.exp: Same for "help target remote" test.
4590
c3f6f71d
JM
45912000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4592
4593 From Jim Kingdon <kingdon@redhat.com>:
4594
4595 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4596 prompt (cleanup rather than necessity, but still might keep output
4597 from spilling to next test).
4598
45992000-01-02 Fred Fish <fnf@cygnus.com>
4600
4601 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4602 AIX, which defines them in <sys/types.h>.
4603
ed9a39eb 46041999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4605
ed9a39eb
JM
4606 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4607 float" test.
4608
46091999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4610
ed9a39eb 4611 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4612
4613 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4614 outermost frame disallowed".
4615
46161999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4617
4618 * gdb.base/setvar.exp: New tests for setting the value of a struct
4619 with a constant list.
4620
46211999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4622
4623 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4624 require the user to type a cast before setting the value of a struct.
4625
de57eccd
JM
46261999-12-06 Jim Blandy <jimb@cygnus.com>
4627
4628 * gdb.base/default.exp: Expect the new 'info float' command on
4629 all i386 platforms.
4630
4631 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4632 LinuxThreads libraries that don't support debugging.
4633
c2d11a7d
JM
4634Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4635
4636 * gdb.base/remote.c: Fill the buffer with truely random data.
4637 Change the buffer type to ``unsigned char'' to simplify size
4638 arithmetic.
4639
4640 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4641 stub only handles 400-1 byte packets. Verify that the download
4642 worked.
4643
46441999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4645
4646 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4647 tests, using UNRESOLVED for the untested cases. Also, does not wait
4648 for a timeout if the prompt was received before a recognizable pattern.
4649
46501999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4651
4652 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4653
46541999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4655
4656 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4657 watchpoints.
4658
46591999-11-24 Jason Merrill <jason@casey.cygnus.com>
4660
4661 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4662
4663 * gdb.c++/local.exp: Be more flexible in recognizing local class
4664 name mangling. Don't allow horribly truncated method names.
4665 * gdb.c++/derivation.exp: Expect protected inheritance.
4666 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4667 * gdb.c++/virtfunc.exp: Likewise.
4668 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4669 when printing a nested enum.
4670
46711999-11-22 Jim Blandy <jimb@cygnus.com>
4672
4673 * gdb.base/step-test.exp: Properly await GDB's response to setting
4674 a breakpoint on the call to large_struct_by_value.
4675
4676 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4677 just because we have debug info for the `start' function.
4678
46791999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4680
4681 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4682 "Unknown signal" messages, which indicate (on LinuxThreads) that
4683 GDB doesn't know how to debug threads on this system. This is
4684 better than hanging while philosopher 0 dumps chatter into gdb.log.
4685
46861999-11-18 Tom Tromey <tromey@cygnus.com>
4687
4688 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4689
46901999-11-18 Fred Fish <fnf@cygnus.com>
4691
4692 * gdb.base/coremaker2.c: Add sample program for generating
4693 cores that is more self contained than coremaker.c. Eventually
4694 I'll add more code to this and tie it into the testsuite.
4695
4ce44c66
JM
46961999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4697
4698 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4699
47001999-11-10 Jimmy Guo <guo@cup.hp.com>
4701
4702 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4703 from $srcdir/lib/.
4704 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4705 and gdb.c++/.
4706
4707 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4708
beb998c6 4709 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4710 'continue with watch' test point.
4711
47121999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4713
4714 Merged from p2linux-990323-branch:
beb998c6 4715
4ce44c66
JM
4716 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4717
11cf8741
JM
4718Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4719
4720 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4721 {limit,fixed}''. Test ``set download-write-size''.
4722
4723Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4724
4725 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4726 gdb_expect_list.
4727
4728Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4729
4730 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4731
47321999-11-03 Mark Salter <msalter@cygnus.com>
4733
4734 * gdb.base/break.exp: Fix "stub continue" pattern.
4735
47361999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4737
4738 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4739
47401999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4741
4742 * gdb.base/display.exp ("finish"): Add timeout clause.
4743
4744 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4745 plain prompt clause, so this doesn't have to time out in order to
4746 fail.
4747
4748 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4749 breakpoint hit messages include an address.
4750
4751 * gdb.base/display.exp: Don't forget to escape parens in regular
4752 expressions. Unix regexp notatation sucks.
4753
47541999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4755
4756 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4757 order for 'signalled' message.
4758
5c44784c
JM
47591999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4760
4761 From Jimmy Guo <guo@cup.hp.com>:
4762 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4763 * gdb.base/annota1.c: Add code for tests to work with.
4764
47651999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4766
4767 * gdb.base/remote.exp: New test for remote downloading settings.
4768 * gdb.base/remote.c: New file with large .data.
4769
917317f4
JM
47701999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4771
4772 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4773 for LinuxThreads support, merged from the Code Fusion branch.
4774
4775Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4776
4777 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4778 containing exp_continue into a while within an expect. Don't
4779 attempt a start more than three times. Check return value from
4780 gdb_load.
beb998c6 4781
2df3850c
JM
4782Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4783
4784 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4785 a pass case.
4786
2acceee2
JM
47871999-10-01 Kevin Buettner <kevinb@cygnus.com>
4788
4789 * gdb.base/break.c (main): Added a statement that we can step
4790 off of.
4791 * gdb.base/break.exp: Added tests for setting a breakpoint
4792 at an offset and stepping onto a breakpoint.
4793
47941999-10-01 Fred Fish <fnf@cygnus.com>
4795
beb998c6 4796 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4797 gdb output.
4798
c2c6d25f
JM
47991999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4800
4801 * gdb.base/break.exp: Code locations are in hex, don't forget!
4802 (For HP-UX.)
4803
48041999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4805
4806 * condbreak.exp: Use break.c as test program.
4807 * condbreak.c: Remove, redundant with break.c.
4808
48091999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4810
4811 * config/monitor.exp (gdb_target_monitor): Disable X- and
4812 Z-packets if the target needs it.
4813
48141999-09-13 James Ingham <jingham@leda.cygnus.com>
4815
4816 * gdb.c++/overload.exp: Added tests for listing overloaded
4817 functions with function pointers in the arg, explicitly calling
4818 out the version you want.
4819
cff3e48b
JM
48201999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4821
4822 * long_long.exp: Add variations of test cases that work for
4823 targets with 16-bit ints and 32-bit doubles.
4824
d4f3574e
SS
48251999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4826
4827 * break.c (main): Compare a possibly-uninitialized argc with an
4828 unlikely value that fits in 16 bits.
4829
48301999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4831
4832 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4833 0xfeeb, don't want negative numbers if ints are 16 bits.
4834
4835 * lib/gdb.exp (skip_cplus_tests): New proc.
4836 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4837 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4838 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4839 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4840 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4841 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4842 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4843 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4844
4845 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4846
4847Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4848
4849 * gdb.base/corefile.exp (up): Allow a parameter to appear
4850 in the frame that we're going up to.
4851
4852 From Jim Blandy <jimb@cygnus.com>:
4853
4854 * gdb.base/default.exp (info float): Expect some output now.
4855
4856 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4857 returning floating-point values to fail on the x86.
4858 * gdb.base/callfwmall.exp (do_function_calls): Same.
4859
4860 * gdb.base/list.exp (test_listsize): Correct expectations for
4861 listing line 1 with listsize 2. Also, listing a single line
4862 works now, as does listing three lines. [Kevin's note: There
4863 were a number of other cases fixed too where the expectations
4864 differed...]
4865
48661999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4867
4868 * gdb.base/selftest.exp: Add case for when version prints as
4869 constant string instead of char pointer.
4870
104c1213
JM
48711999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4872
4873 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4874 stepping out of main.
4875
4876 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4877 G++ used.
4878
4879 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4880 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4881
4882 * gdb.c++/ovldbreak.exp: Update match string in test that
4883 includes a warning of multiple breakpoints.
4884
48851999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4886
4887 * gdb.base/display.exp: Improve precision of step-after-finish
4888 added yesterday.
4889
4890 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4891 test.
4892
4893 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4894 configs when using G++, not just hppa*.
4895
48961999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4897
4898 * gdb.base/async.c: New file.
4899 * gdb.base/async.exp: New file.
4900
4901Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4902
4903 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4904 PA64.
4905
53a5351d
JM
4906Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4907
104c1213
JM
4908 * gdb.base/display.exp: "finish" can leave us mid-line on many
4909 targets, deal with it. Add a small constant to main, instead of
4910 1000 since main+1000 may not be a valid address in the target.
4911
53a5351d
JM
4912 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4913 on hpux11.
4914
4915 * gdb.base/attach.exp: Handle another hpux11 error message variant
4916 when attaching to a process that does not exist.
4917
49181999-08-19 J.T. Conklin <jtc@redback.com>
4919
4920 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4921 characters in 'continue to 1241' test.
4922
49231999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4924
4925 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4926 stop in print_long_arg_list, define and use a whitespace
4927 variable in print_small_structs test, add an XFAIL for Solaris.
4928 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4929 interested enough to fix.
4930
7be570e7
JM
49311999-08-13 Keith Seitz <keiths@cygnus.com>
4932
4933 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4934 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4935 proc knows about targets other than the natives.
4936 (test_assign): Use "gdb_run_cmd" to "run" the target.
4937 Check that we've actually hit the breakpoint at main.
4938 When we attempt to assign a value to a local variable, check
4939 that the variable is in the current scope, i.e., don't use
4940 a test with an empty result.
4941
4942Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4943
4944 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4945 command.
4946
49471999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4948
4949 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4950 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4951 gdb.compat, gdb.threads-hp.
4952 gdb.hp/configure, gdb.hp/configure.in: New files.
4953 gdb.hp/Makefile.in: Recurse into new subdirs.
4954 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4955 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4956 in object files.
4957 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4958
96baa820
JM
49591999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4960
4961 * gdb.base/display.exp: Help expect by putting a newline in the
4962 funky printf, remove a bogus p/a test.
4963
49641999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4965
4966 * gdb.base/display.exp: Make sure that when we say 'run', we are
4967 connected to the target. This is necessary when running not
4968 natively.
4969
49701999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4971
4972 * gdb.base/step-test.exp: Removed some extraneous messages.
4973
4974 * gdb.base/long_long.exp: Don't run memory examination tests
4975 on little-endian targets (they will need a different set of
4976 results to match).
4977
49781999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4979
4980 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4981 until somebody decides to fix GDB.
4982
4983 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4984 constant as "ULL".
4985 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4986 matches for a couple x/2 commands.
4987
a0b3c4fd
JM
49881999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4989
4990 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4991 by merging in ref-types2 tests.
4992 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4993
4994 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4995 * gdb.c++/Makefile.in: Add standard actions.
4996 (EXECUTABLES): Rename from PROGS, update list.
4997 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4998 from gdb.hp.
4999 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5000 foo and bar locals.
5001 * gdb.c++/anon-union.exp: Fix tests to match.
5002 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5003 expect matches to handle output variations.
5004 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5005 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5006 output, add HP alternatives for new and delete prints.
5007 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5008 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5009 * gdb.c++/demangle.exp: Use $style when reporting failure.
5010 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5011 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5012 match alternatives.
5013 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5014 compilers.
5015 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5016 * gdb.c++/method.exp: Add match alternatives.
5017 * gdb.c++/misc.cc: Add bool types.
5018 * gdb.c++/misc.exp: Add tests for bool types.
5019 * gdb.c++/overload.exp: Add xfails.
5020 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5021 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5022 add some more template parameter tests (only for HP currently).
5023 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5024 * gdb.c++/virtfunc.cc: Add return type and value for main.
5025 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5026 match alternatives.
beb998c6 5027
a0b3c4fd
JM
50281999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5029
5030 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5031
50321999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5033
5034 * gdb.base/signals.exp: Don't expect getting a backtrace from
5035 within a signal handler to fail on Linux.
5036
50371999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5038
5039 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5040 * lib/gdb.exp: Remove some gratuitious semicolons.
5041 (delete_breakpoints): Increase timeout.
5042 (gdb_expect): Add -notransfer option.
5043 (gdb_test): Use -notransfer option.
5044 (get_compiler_info): Add f77 case.
5045 (get_compiler): New proc, split out from gdb_preprocess, add f77
5046 case.
5047 (gdb_preprocess): Call get_compiler.
5048
5049 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5050 * gdb.base/attach.exp, gdb.base/display.exp,
5051 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5052 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5053 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5054 third arg to gdb_test.
5055 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5056 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5057 HP-UX xfails, add others.
5058 * gdb.base/completion.exp: Reflect name change of self-test.
5059 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5060 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5061 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5062 HP failure number.
5063 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5064 useless HP-UX 10.30 references.
5065 * gdb.base/maint.exp: Loosen matches.
5066 * gdb.base/pointers.c (main): Declare more_code.
5067 * gdb.base/pointers.exp: Match on output of a `next'.
5068 * gdb.base/structs.c: Add prototypes.
5069 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5070 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5071
50721999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5073
5074 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5075 command.
5076
50771999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5078
5079 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5080 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
5081
5082 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5083 debug info. Deal with lack of signal hanlder info in stack.
5084
5085 From Jim Kingdon <kingdon@redhat.com>:
5086 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5087
5a2468f5
JM
50881999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5089
5090 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5091 gdb.base/foll-vfork.exp: Don't run for crosses.
5092
adf40b2e
JM
5093Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5094
5095 * gdb.base/configure.in: Check for gdbvars.exp instead of
5096 a1-selftest.exp.
5097 * gdb.base/configure: Re-generate.
5098
50991999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5100
5101 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5102 in trying to run first and name is too long.
5103
5104 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5105 pointers2.c and pointers2.exp, respectively.
5106 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5107 doschk happier.
5108
43e526b9
JM
51091999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5110
5111 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5112 callfuncs2.c and callfuncs2.exp.
5113
5114 * gdb.base/list.exp: Remove mistaken xfails.
5115 * gdb.base/list0.h: Add optional prototypes.
5116
9846de1b
JM
5117Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5118
5119 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5120 calling malloc.
5121 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5122 * ptype.exp: Move test for get_debug_format to before its first
5123 use.
5124
51251999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5126
5127 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5128 * gdb.base/annota2.cc, annota2.exp: Move from here.
5129 * gdb.c++/annota2.cc, annota2.exp: To here.
5130 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5131
43ff13b4
JM
5132Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5133
5134 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5135 a consistent format.
5136
085dd6e6
JM
51371999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5138
5139 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5140 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5141 HP compilers, also set the globals $true and $false.
5142
5143 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5144 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5145 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5146 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5147 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5148 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5149 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5150 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5151 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5152 whatis.c} Add C++ compatible function definitions and return
5153 types, add includes for library functions.
5154 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5155 * gdb.base/step-test.c (myglob): Rename from glob.
5156 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5157 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5158 files, move here from gdb.hp.
5159 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5160 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5161 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5162 Adjust line numbers in regexps.
5163
5164 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5165 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5166 instead of 0/1.
5167
5168 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5169 foll-vfork.exp: New files, move here from gdb.hp.
5170 * gdb.base/page.exp: New file, test of pagination command.
5171
5172 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5173 recursion test.
5174 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5175
5176 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5177 gdb.base/solib.exp: Fix compiler invocation process.
5178
5179 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5180 HP-UX 11, turn off overload resolution explicitly.
5181 * gdb.base/commands.exp: Set argument list explicitly, add
5182 watchpoint test.
5183 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5184 them work.
5185 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5186 expressions properly.
5187 * gdb.base/corefile.exp: Loosen the match slightly.
5188 * gdb.base/default.exp: Allow "Error accessing memory" message
5189 also.
5190 * gdb.base/display.exp: Skip over x/0 j if PA64.
5191 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5192 * gdb.base/interrupt.exp: Ditto.
5193 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5194 in use.
5195 * gdb.base/list.exp: Add xfails for HP-UX.
5196 * gdb.base/long_long.exp: Refine some of the numeric matches.
5197 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5198 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5199 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5200 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5201 * gdb.base/ptype.exp: Succeed on more varieties of output.
5202 * gdb.base/scope.exp: Add xfails for HP-UX.
5203 * gdb.base/sect-cmd.exp: Add more cases.
5204 * gdb.base/setvar.exp: Add xfails for HP-UX.
5205 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5206 * gdb.base/signals.exp: Match on void symbolically.
5207 * gdb.base/step-test.exp: Add case for PA64.
5208 * gdb.base/term.exp: Add exit and restart.
5209 * gdb.base/twice.exp: Clean up after self.
5210 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5211 * gdb.base/whatis.exp: Allow more ways to pass tests.
5212
5213 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5214 no longer useful.
5215
5216Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5217
5218 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5219 list of patterns.
5220 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5221 print_double_array(double_array)", "continuing to breakpoint
5222 1018", "print print_double_array(array_d)" and "continuing to
5223 1034" tests.
beb998c6 5224
085dd6e6
JM
52251999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5226
5227 * Makefile.in: Add empty html and install-html targets.
5228
52291999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5230
5231 * config/mt-*: Remove, these haven't been used since 1996.
5232
52331999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5234
5235 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5236 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5237 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5238
9e0b60a8
JM
52391999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5240
5241 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5242 simpler match case for the ptype of the big class.
5243
52441999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5245
5246 * gdb.exp: Fix test for gdb_prompt existence.
5247
52481999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5249
5250 * gdb.exp (gdb_test): Add fail after calls to perror.
5251
52521999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5253
5254 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5255
52561999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5257
5258 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5259
0f71a2f6
JM
5260Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5261
5262 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5263 malloc() is linked in.
5264
52651999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5266
5267 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5268 step at end.
5269
5270 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5271
52721999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5273
5274 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5275
cce74817
JM
5276Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5277
5278 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5279 * gdb.base/mips_pro.exp: Likewise.
5280
52811999-06-02 Keith Seitz <keiths@cygnus.com>
5282
5283 * gdb.c++/templates.cc: Change all "new" operators to throw
5284 an exception.
5285 * gdb.c++/cplusfuncs.cc: Likewise.
5286
5287 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5288
5289Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5290
5291 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5292 * gdb.base/ending-run.exp: When stepping out of main, accept a
5293 step into an arbitrary assembler file.
5294
392a587b
JM
52951999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5296
beb998c6 5297 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5298 "breakpoint-invalid" to be printed.
beb998c6 5299 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5300 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5301 * gdb.base/annota2.cc: Initialize a.x to 0.
5302
9e086581
JM
53031999-05-17 Keith Seitz <keiths@cygnus.com>
5304
5305 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5306 when "skip_float_tests" set.
5307 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5308 "print print_ten_doubles", and "step into print_long_arg_list".
5309 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5310 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5311 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5312 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5313 "skip_float_tests" is set.
5314 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5315 when "skip_float_tests" set.
beb998c6 5316
cd0fc7c3
SS
53171999-05-06 Keith Seitz <keiths@cygnus.com>
5318
5319 * gdb.base/annota2.cc: Include stdio.h.
5320
5321Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5322
5323 * gdb.base/crossload.exp: Remove, this has been disabled ever
5324 since BFD stopped including all targets, and cross-GDB gets
5325 plenty of testing anyway.
5326 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5327 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5328 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5329 * gdb.base/README: Remove, was doc for this.
5330 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5331 needed.
5332
b83266a0
SS
53331999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5334
5335 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5336 output.
5337
5338 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5339 * gdb.base/annota2.exp: New file. More annotation tests.
5340 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5341 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5342
53431999-04-23 Angela Marie Thomas <angela@cygnus.com>
5344
5345 * config/cfdbug.exp: New file.
5346
7a292a7a
SS
53471999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5348
5349 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5350 Marcus Daniel's and Dale Hawkins's demangler crashes.
5351
5352 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5353 test_lucid_style_demangling, test_arm_style_demangling,
5354 test_hp_style_demangling): Try Tom Tromey's core-dumping
5355 identifier under each demangling style.
5356
53571999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5358
5359 * gdb.c++/demangle.exp: Include the current demangling style
5360 in all test names.
5361 (current_demangling_style): New global variable.
5362 (set_demangling_style, test_demangling_core, test_demangling,
5363 test_demangling_exact): New functions.
5364 (test_gnu_style_demangling, test_lucid_style_demangling,
5365 test_arm_style_demangling, test_hp_style_demangling): Use those,
5366 instead of calling gdb_test and gdb_test_exact directly.
5367 (catch_demangling_errors): New function, which reports errors
5368 signalled by the demangling test functions in an orderly way.
5369 (do_tests): Use catch_demangling_errors.
5370
53711999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5372
5373 * gdb.base/signals.exp (test_handle_all_print): Use () for
5374 grouping in expressions, not {}.
5375
5376 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5377 initialized yet.
5378
53791999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5380
5381 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5382 are listed.
5383
53841999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5385
5386 * gdb.stabs/weird.exp: Test for CC being defined before
5387 looking at its value.
5388
53891999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5390
5391 * gdb.base/call-ar-st.exp: Remove stray '#'.
5392 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5393 "short int" and "long int".
5394 * gdb.c++/overload.cc: Cast the string added in the previous
5395 change, to mollify finicky HP compiler.
5396 * gdb.hp/reg-test.exp (testfile): Fix file name.
5397 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5398
7a292a7a
SS
5399 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5400 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5401 alternate form of enum ptype.
5402
c906108c
SS
54031999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5404
7a292a7a
SS
5405 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5406 * gdb.hp/*.exp: Change all to run compiler probe only after
5407 passing skip_hp_tests, so as not to waste time on guaranteed
5408 failure.
5409
c906108c
SS
5410 * gdb.c++/overload.cc: Pass string instead of char addr, always
5411 init ccpfoo.
5412 * gdb.c++/templates.cc: Fix syntax error.
5413
7a292a7a
SS
5414Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5415
5416 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5417 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5418 command.
5419
54201999-03-18 James Ingham <jingham@cygnus.com>
5421
5422 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5423
5424 * gdb.c++/method.exp: It was testing an uninitialized int on the
5425 stack and assuming it was positive.
5426
5427 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5428
5429 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5430 keep it from killing the rest of the tests.
7a292a7a
SS
5431 Use gdb_continue_to_end.
5432
5433 * gdb.base/sigall.exp: use gdb_continue_to_end.
5434
5435 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5436
5437 * gdb.base/display.exp: use runto_main, not run.
5438
beb998c6
AC
5439 * gdb.base/default.exp: Check for the current error message in the
5440 r abbreviation test.
7a292a7a
SS
5441 Add strongarm to the targets that know info float.
5442
beb998c6 5443 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5444 run which doesn't work with monitors.
5445
5446 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5447
5448 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5449
5450 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5451 program. Traps the case (in Cygmon) when the program never really
5452 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5453 more places, so I used my name. Sorry Mark...
5454
5455 * config/monitor.exp (gdb_target_monitor): added another
5456 target_info parameter: remotebinarydownload. This will set the
5457 remotebinarydownload flag if this is causing some boards trouble.
5458
54591999-03-18 Mark Salter <msalter@cygnus.com>
5460
5461 * lib/gdb.exp (continue_to_exit): New function.
5462
5463 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5464 * gdb.base/ending-run.exp: Ditto.
5465 * gdb.base/step-test.exp: Ditto.
5466
54671999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5468
5469 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5470 (suggested by Art Haas <ahaas@neosoft.com>).
5471
54721999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5473
5474 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5475
5476Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5477
5478 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5479 descriptions of types (short unsigned int vs unsigned short, etc).
5480
54811999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5482
5483 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5484 a call to strlen; sometimes we do have sources.
5485
54861999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5487
5488 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5489 character, so GDB won't print garbage after its end.
beb998c6 5490
c906108c
SS
5491 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5492 breakpoint there instead. Sometimes GCC emits memcpy to handle
5493 the large structures being passed by value, so we step into that
5494 instead of sum_array_print, which obscures what we're really testing.
5495 * gdb.base/step-test.exp: However, we do want a test that notices
5496 the bizarre steps into memcpy, so do that here. Add check for
5497 stepping into function calls that pass large structures by value.
5498 ("Is that a noun clause, or are you just happy to see me?")
5499 Remove all references to specific line numbers.
5500 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5501 New type and function.
5502 (main): Call large_struct_by_value, passing it a large struct by value.
5503 * lib/gdb.exp (gdb_get_line_number): New function.
5504
5505 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5506 more portable.
5507
7a292a7a
SS
55081999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5509
c906108c
SS
5510 * lib/gdb.exp: Doc fixes.
5511
7a292a7a
SS
55121999-03-05 Nick Clifton <nickc@cygnus.com>
5513
beb998c6 5514 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5515
55161999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5517
c906108c
SS
5518 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5519 commands. They're not germane to this test, and they don't work
5520 that way on remote targets.
5521
3fc11d3e
JM
55221999-03-01 James Ingham <jingham@cygnus.com>
5523
5524 * Changelog entries merged over from gdb development branch.
5525
3fc11d3e
JM
5526 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5527
5528 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5529 for outputting results of test run.
5530
2d4a1622 5531 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5532
5533 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5534
7a292a7a
SS
55351999-02-25 Felix Lee <flee@cygnus.com>
5536
5537 * lib/gdb.exp (debug_format): initialize
5538
c906108c
SS
55391999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5540
5541 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5542 * gdb.base/call-rt-st.c: Ditto.
5543
c906108c
SS
55441999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5545
5546 * gdb.threads/pthreads.exp (horiz): New variable.
5547 (test_startup): Fix regexps that capture thread numbers.
5548
55491999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5550
5551 * gdb.base/smoke.exp: Disambiguate two test case names (both
5552 called ``print'').
5553
5554Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5555
5556 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5557 compilation.
5558
55591999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5560
5561 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5562 actual output formatting.
5563 * gdb.base/smoke.exp: GDB removes leading 0's.
5564 * gdb.base/volatile.exp: Don't check type of remuneration;
5565 that variable is no longer defined in constvars.c.
5566 * gdb.base/step-test.c (main): Exit with explicit exit code.
5567 * gdb.base/step-test.exp: Remove two nexti checks--they are
5568 not portable.
5569
55701999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5571
5572 * gdb.base/help.exp ("help delete display"): Fix test to match
5573 gdb's output.
5574
5575 * gdb.base/long_long.c (known_types): Initialize values to zero.
5576 * gdb.base/long_long.exp: Step one more line
5577 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5578 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5579 unique test case names.
5580
5581Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5582
beb998c6 5583 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5584
5585 * gdb.c++/method.exp: Add missing close brace.
5586
55871999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5588
5589 * gdb.base/maint.exp: Use 'set height 0' to disable page
5590 prompting, not 'set height 400'.
5591
5592 Fix a bunch of timeouts.
5593 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5594 four separate tests, so expect doesn't take forever to match a ton
5595 of text against a regexp with lots of .* forms.
5596 ("maint print psymbols", "maint print symbols"): Make some of
5597 these greps more selective, so that expect doesn't try to wade
5598 through huge piles of output and time out.
5599
5600 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5601
5602 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5603 tests: one which doesn't expect shlib events to be reported, and
5604 another which does, but is XFAIL for all platforms other than
5605 HP/UX.
5606
5607 * gdb.base/break.exp: Teach the test suite that the `catch
5608 fork', `catch vfork', and `catch exec' commands produce error
5609 messages on platforms that don't provide these features.
5610
5611Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5612
5613 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5614 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5615 (shortening names from solib_threshold.exp etc), won't run on
5616 anything but HP-UX for the foreseeable future.
5617 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5618 reflect move.
5619
5620Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5621
5622 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5623 gdb.trace/Makefile.in (clean): Remove all test executables.
5624
5625Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5626
5627 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5628 successfully re-sets breakpoints in shared libraries.
5629 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5630
5631Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5632
beb998c6
AC
5633 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5634 and compiled w/o GCC.
c906108c
SS
5635
5636 * gdb.hp/watch-cmd.exp: ditto.
5637
5638 * gdb.hp/watch-hp.exp: ditto.
5639
5640 * gdb.hp/xdb1.exp: ditto.
5641
5642 * gdb.hp/xdb2.exp: ditto.
5643
5644 * gdb.hp/dbx.exp: ditto.
5645
5646Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5647
5648 * constvars.c: Remove C++-isms.
5649 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5650 with GCC.
5651
5652Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5653
5654 The following changes are part of the HP merge.
5655
5656 * gdb.base/break.exp: new tests to verify that catchpoints for
5657 fork, vfork, and exec don't trigger inappropriately.
5658
5659 * gdb.base/opaque.exp: compile one file at a time, then link.
5660
5661 * gdb.base/signals.exp: be more restrictive about which hppa
5662 systems receive a setup_xfail. new tests.
5663
5664 * gdb.base/solib_threshold.build: new file.
5665 * gdb.base/solib_threshold.exp: new file.
5666 * gdb.base/solib_threshold.link_opts: new file.
5667 * gdb.base/solib_threshold.mk: new file.
5668 * gdb.base/gen_solib_threshold.c: new file.
5669
5670 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5671 tests. New tests for enums inside classes.
5672
5673 * gdb.c++/compiler.cc: indicate support of template debugging.
5674
5675 * gdb.c++/demangle.exp: run hp style demangling tests.
5676
5677 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5678 tests.
5679
5680 * gdb.c++/misc.cc: changes to support new tests.
5681
5682 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5683 to support new tests.
5684
5685 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5686 gcc, then skip these tests.
5687
5688Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5689
5690 The following files are part of the HP merge; some had longer
5691 names at HP, but have been renamed to be no more than 14
5692 characters in length.
5693
5694 * gdb.hp/ambiguous.cc: new file.
5695 * gdb.hp/ambiguous.exp: new file.
5696 * gdb.hp/attach.exp: new file.
5697 * gdb.hp/attach2.exp: new file.
5698 * gdb.hp/classes-hp.exp: new file.
5699 * gdb.hp/ctti.exp: new file.
5700 * gdb.hp/ctti-add.cc: new file.
5701 * gdb.hp/ctti-add1.cc: new file.
5702 * gdb.hp/ctti-add2.cc: new file.
5703 * gdb.hp/ctti-add3.cc: new file.
5704 * gdb.hp/dbx.exp: new file.
5705 * gdb.hp/exception.cc: new file.
5706 * gdb.hp/exception.exp: new file.
5707 * gdb.hp/foll-exec.c: new file.
5708 * gdb.hp/foll-exec.exp: new file.
5709 * gdb.hp/foll-fork.c: new file.
5710 * gdb.hp/foll-fork.exp: new file.
5711 * gdb.hp/foll-vfork.c: new file.
5712 * gdb.hp/foll-vfork.exp: new file.
5713 * gdb.hp/inherit-hp.exp: new file.
5714 * gdb.hp/more-steps.exp: new file.
5715 * gdb.hp/namespace.cc: new file.
5716 * gdb.hp/namespace.exp: new file.
5717 * gdb.hp/optimize.exp: new file.
5718 * gdb.hp/pxdb.c: new file.
5719 * gdb.hp/pxdb.exp: new file.
5720 * gdb.hp/quicksort.exp: new file.
5721 * gdb.hp/reg-test.exp: new file.
5722 * gdb.hp/reg-test.s: new file.
5723 * gdb.hp/sized-enum.c: new file.
5724 * gdb.hp/sized-enum.exp: new file.
5725 * gdb.hp/start-stop.exp: new file.
5726 * gdb.hp/templ-hp.cc: new file.
5727 * gdb.hp/templ-hp.exp: new file.
5728 * gdb.hp/thr-lib.c: new file.
5729 * gdb.hp/thr-lib.exp: new file.
5730 * gdb.hp/thr-lib.h: new file.
5731 * gdb.hp/thr-liblib.c: new file.
5732 * gdb.hp/virtfun-hp.c: new file.
5733 * gdb.hp/virtfun-hp.exp: new file.
5734 * gdb.hp/watch-cmd.exp: new file.
5735 * gdb.hp/watch-hp.exp: new file.
5736 * gdb.hp/xdb1.exp: new file.
5737 * gdb.hp/xdb2.exp: new file.
5738 * gdb.hp/xdb3.exp: new file.
5739
5740Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5741
5742 The following files are part of the HP merge; some had longer
5743 names at HP, but have been renamed to be no more than 14
5744 characters in length.
5745
5746 * gdb.base/ss.h: new file.
5747 * gdb.base/call-ar-st.c: new file.
5748 * gdb.base/call-ar-st.exp: new file.
5749 * gdb.base/call-rt-st.c: new file.
5750 * gdb.base/call-rt-st-exp: new file.
5751 * gdb.base/call-strs.exp: new file.
5752 * gdb.base/ena-dis-br.exp: new file.
5753 * gdb.base/environ.exp: new file.
5754 * gdb.base/long_long.exp: new file.
5755 * gdb.base/sect-cmd.exp: new file.
5756 * gdb.base/shlib-cl2.exp: new file.
5757 * gdb.base/smoke.exp: new file.
5758 * gdb.base/so-impl-ld.c: new file.
5759 * gdb.base/so-impl-ld.exp: new file.
5760 * gdb.base/so-indr-cl.c: new file.
5761 * gdb.base/so-indr-cl.exp: new file.
5762 * gdb.base/varargs.exp: new file.
5763 * gdb.base/volatile.exp: new file.
5764 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5765 * gdb.base/display.exp: new file.
c906108c
SS
5766 * gdb.c++/derivation.exp: new file.
5767 * gdb.c++/local.exp: new file.
5768 * gdb.c++/member-ptr.exp: new file.
5769 * gdb.c++/overload.exp: new file.
5770 * gdb.c++/ovldbreak.exp: new file.
5771 * gdb.c++/ref-types.exp: new file.
5772 * gdb.c++/ref-types2.exp: new file.
5773 * gdb.c++/userdef.exp: new file.
beb998c6 5774
c906108c
SS
5775Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5776
5777 * gdb.base/default.exp: Reflect wording change in remote.c.
5778
dc96c6c7 5779Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5780
5781 * gdb.base/help.exp: Update to reflect current text.
5782
5783Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5784
5785 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5786 they're stack variables and contain garbage.
5787 * gdb.c++/anon-union.exp: new file.
5788
5789 The following changes were made by David Taylor
5790 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5791 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5792 in changes by HP.
5793
5794 * gdb.base/bitops.exp: new file.
5795 * gdb.base/default.exp: change expected messages for catch and
5796 info catch tests to reflect HP merge changes.
5797 * gdb.base/enable-disable-break.exp
5798 * gdb.base/ending-run.c: new file.
5799 * gdb.base/long_long.c: new file.
5800 * gdb.base/maint.exp: new file.
5801 * gdb.base/pointers2.exp: new file.
5802 * gdb.base/shlib-call2.exp: new file.
5803 * gdb.base/solib.exp: new file.
5804 * gdb.base/step-test.c: new file.
5805 * gdb.c++/anon-union.cc: new file.
5806 * gdb.c++/local.cc: new file.
5807 * gdb.c++/member-pointer.cc: new file.
5808 * gdb.c++/method.cc: new file.
5809 * gdb.c++/ref-types.cc: new file.
5810 * gdb.c++/ref-types2.cc: new file.
5811 * gdb.c++/userdef.cc: new file.
beb998c6 5812
c906108c
SS
5813 * gdb.base/scope.exp: compile one file at a time, then link.
5814 * gdb.base/langs.exp: ditto.
5815 * gdb.base/list.exp: ditto.
beb998c6 5816
c906108c
SS
5817Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5818
5819 The following changes were made by David Taylor
5820 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5821 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5822 in changes by HP.
beb998c6 5823
c906108c
SS
5824 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5825 skip tests. When compiling pass c++ flag to gdb_compile.
5826 * gdb.c++/
beb998c6 5827
c906108c
SS
5828 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5829 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5830 (skip_hp_tests): new function.
5831 (gdb_preprocess): new function.
5832
5833 * configure.in (hpdir): decide whether to configure gdb.hp.
5834 * configure: regenerated.
5835
5836 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5837 to delete on clean.
5838 (EXECUTABLES): update to reflect new additions.
5839 * gdb.base/commands.exp: update message expected.
5840 * gdb.base/default.exp: add copyright notice.
5841 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5842 * gdb.base/help.exp: update messages to reflect current text.
5843 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5844 targets for recurse tests.
5845 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5846 skip this file.
5847
5848 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5849 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5850 compilation.
5851 * gdb.c++/misc.exp: ditto.
5852 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5853 run the tests. tell gdb_compile that it's a c++ compilation.
5854
5855 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5856
c906108c
SS
5857 * gdb.base/all-bin.exp: new file.
5858 * gdb.base/arithmet.exp: new file.
5859 * gdb.base/assign.exp: new file.
5860 * gdb.base/completion.exp: new file.
5861 * gdb.base/cond-expr.exp: new file.
5862 * gdb.base/condbreak.exp: new file.
5863 * gdb.base/define.exp: new file.
5864 * gdb.base/dollar.exp: new file.
5865 * gdb.base/environment.exp: new file.
5866 * gdb.base/eval-skip.exp: new file.
5867 * gdb.base/jump.exp: new file.
5868 * gdb.base/logical.exp: new file.
5869 * gdb.base/pointers.exp: new file.
5870 * gdb.base/relational.exp: new file.
5871 * gdb.base/section_command.exp: new file.
5872 * gdb.base/whatis-expr.exp: new file.
5873
5874 * gdb.base/all-types.c: new file.
5875 * gdb.base/call-array-struct.c: new file.
5876 * gdb.base/call-return-struct.c: new file.
5877 * gdb.base/call-strings.c: new file.
5878 * gdb.base/callfuncs2.c: new file.
5879 * gdb.base/condbreak.c: new file.
5880 * gdb.base/constvars.c: new file.
5881 * gdb.base/display.c: new file.
5882 * gdb.base/int-type.c: new file.
5883 * gdb.base/jump.c: new file.
5884 * gdb.base/miscexprs.c: new file.
5885 * gdb.base/pointers.c: new file.
5886 * gdb.base/pointers2.c: new file.
5887 * gdb.base/shmain.c: new file.
5888 * gdb.base/shr1.c: new file.
5889 * gdb.base/shr2.c: new file.
5890 * gdb.base/solib.c: new file.
5891 * gdb.base/solib1.c: new file.
5892 * gdb.base/solib2.c: new file.
5893 * gdb.base/varargs.c: new file.
5894 * gdb.c++/derivation.cc: new file.
5895 * gdb.c++/overload.cc: new file.
5896 * gdb.c++/ovldbreak.cc: new file.
5897 * gdb.hp/attach.c: new file.
5898 * gdb.hp/attach2.c: new file.
5899 * gdb.hp/average.c: new file.
5900 * gdb.hp/compiler.c: new file.
5901 * gdb.hp/compiler.cc: new file.
5902 * gdb.hp/execd-program.c: new file.
5903 * gdb.hp/follow-exec.c: new file.
5904 * gdb.hp/follow-fork.c: new file.
5905 * gdb.hp/follow-vfork-and-exec.c: new file.
5906 * gdb.hp/misc-hp.cc: new file.
5907 * gdb.hp/more-steps.c: new file.
5908 * gdb.hp/optimize.c: new file.
5909 * gdb.hp/quicksort.c: new file.
5910 * gdb.hp/run-hp.c: new file.
5911 * gdb.hp/start-stop.c: new file.
5912 * gdb.hp/sum.c: new file.
5913 * gdb.hp/templates-hp.cc: new file.
5914 * gdb.hp/thread-local-in-lib.c: new file.
5915 * gdb.hp/thread-local-in-lib.h: new file.
5916 * gdb.hp/thread-local-in-lib.lib.c: new file.
5917 * gdb.hp/vforked-program.c: new file.
5918 * gdb.hp/virtfunc-hp.cc: new file.
5919 * gdb.hp/watchpoint-hp.c: new file.
5920 * gdb.hp/xdb.c: new file.
5921 * gdb.hp/xdb0.c: new file.
5922 * gdb.hp/xdb0.h: new file.
5923 * gdb.hp/xdb1.c: new file.
5924
5925Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5926
5927 The following change was made by Edith Epstein
5928 <eepstein@cygnus.com> as part of a project to merge in changes
5929 originally made by HP; HP did not create ChangeLog entries.
5930
5931 * gdb.c++/demangle.exp: changed the expected output for some
5932 ARM-style mangling -- removed second reference to datatype.
5933 For example, maint demangle __dt__11T1__pt__2_cFv
5934 T1<char>::~T1<char>(void)
5935 becomes,
5936 maint demangle __dt__11T1__pt__2_cFv
5937 T1<char>::~T1(void)
5938
5939 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5940
c906108c
SS
5941Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5942
5943 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5944 * gdb.trace/backtrace.exp: Likewise.
5945 * gdb.trace/circ.exp: Likewise.
5946 * gdb.trace/collection.exp: Likewise.
5947 * gdb.trace/deltrace.exp: Likewise.
5948 * gdb.trace/infotrace.exp: Likewise.
5949 * gdb.trace/limits.exp: Likewise.
5950 * gdb.trace/packetlen.exp: Likewise.
5951 * gdb.trace/passc-dyn.exp: Likewise.
5952 * gdb.trace/passcount.exp: Likewise.
5953 * gdb.trace/report.exp: Likewise.
5954 * gdb.trace/save-trace.exp: Likewise.
5955 * gdb.trace/tfind.exp: Likewise.
5956 * gdb.trace/tracecmd.exp: Likewise.
5957 * gdb.trace/while-dyn.exp: Likewise.
5958 * gdb.trace/while-stepping.exp: Likewise.
5959
59601998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5961
5962 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5963
5964Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5965
5966 From Brendan Kehoe:
5967 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5968 int return types.
5969
5970Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5971
5972 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5973 remote dos host testing right.
5974
5975Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5976
5977 * gdb.base/corefile.exp: remove some xfails.
5978
5979Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5980
5981 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5982 have different timestamps.
5983
5984Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5985
5986 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5987 gdb.base/default.exp: Replace "exec" with "executable".
5988
5989Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5990
5991 * gdb.base/default.exp: Change else if to elseif from previous
5992 delta.
5993
5994Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5995
5996 * gdb.base/default.exp: Add brace missing from previous delta.
5997
5998Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5999
6000 * gdb.base/default.exp: Support test for info float for all
6001 varieties of arm toolchain.
6002
dc96c6c7 6003Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6004
6005 * gdb.trace/*.exp: remove "remote_download" command.
6006
dc96c6c7 6007Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6008
6009 * gdb.trace/*.exp: remove -gdwarf from compile.
6010
6011Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6012
6013 * gdb.trace/configure.in(AC_INIT): typo
6014 * gdb.trace/configure: regenerated
6015
dc96c6c7 6016Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6017
6018 * config/m68k-emc.exp: New file.
6019 * lib/<emc-support.exp trace-support.exp}: New files.
6020 * configure.in: add new test directory gdb.trace.
6021 * gdb.trace/{configure configure.in Makefile.in}: New files.
6022 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6023 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6024 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6025 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6026 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6027 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6028 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 6029
dc96c6c7 6030Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6031
6032 * gdb.c++/classes.exp: Change all regular expressions to match
6033 arbitrary combinations of newline/carriage-return, so that they
6034 will work equally well on Unix and Windows.
6035 * gdb.c++/inherit.exp: ditto.
6036 * gdb.c++/virtfunc.exp: ditto.
6037
60381998-08-11 Dawn Perchik <dawn@cygnus.com>
6039
6040 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6041
c2d11a7d
JM
6042Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6043
6044 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6045 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6046 to use a0-a3/d0-d3 as needed.
6047
6048Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6049
6050 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6051 * gdb.disasm/am33.exp: Corresponding changes.
6052
c906108c
SS
60531998-07-11 Felix Lee <flee@cygnus.com>
6054
6055 * gdb.base/callfuncs.exp: add cmp10 test.
6056 * gdb.base/callfuncs.c (cmp10): new function.
6057
6058Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6059
beb998c6 6060 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6061 into two parts to get around a synchronization problem in expect.
6062
3fc11d3e
JM
6063Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6064
6065 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6066
6067 * configure.in: Add options for gdbtk testsuite.
6068
6069 * configure: Regenerate.
6070
6071 * gdb.gdbtk: New directory to hold gdbtk tests.
6072
c906108c
SS
6073Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6074
6075 * gdb.fortran/types.exp: Escape brackets in expect patterns
6076 for test_float_literal_types_accepted tests.
6077 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6078 before run test.
6079
c2d11a7d
JM
6080Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6081
6082 * am33.exp: Just compile, do not link the testcase.
6083 * am33.s: Add ".am33" pseudoop to force am33 mode.
6084
c906108c
SS
60851998-06-25 Felix Lee <flee@cygnus.com>
6086
6087 * gdb.base/setshow.exp: make sure $pc is sane.
6088
6089 * gdb.stabs/weird.exp: split expect patterns properly.
6090
c2d11a7d
JM
6091Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6092
6093 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6094 * gdb.disasm/am33.exp: Run it.
6095
dc96c6c7 6096Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6097
6098 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6099 match processing (and eliminate spurious timeouts when running).
6100
dc96c6c7 6101Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6102
6103 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6104 exception test, but conditionalize it on target [mach | gnu].
6105
dc96c6c7 6106Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6107
6108 * gdb.base/overlays.exp: fixup compile line for linker script.
6109
6110Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6111
6112 * gdb.fortran/types.exp: don't guess at float size.
6113
6114Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6115
6116 * gdb.base/exprs.exp: delete test that depends on int size.
6117
6118Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6119
6120 * config/sim.exp: Removed checks for target triplets.
6121 (gdb_target_sim): Use gdb,target_sim_options.
6122
6123Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6124
6125 * gdb.base/reread.exp: New file.
6126 * gdb.base/reread1.c: New file.
6127 * gdb.base/reread2.c: New file.
6128
6129Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6130
6131 * config/sim.exp: Use 'target sim -sparclite' when running
6132 SPARClite programs.
6133
6134Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6135
6136 * gdb.base/structs2.exp: New file.
6137 * gdb.base/structs2.c: New file.
6138
6139Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6140
6141 * gdb.asm/common.inc: New file.
6142 * gdb.asm/d10v.inc: New file.
6143 * asm-source.exp: Pass -I's to gas to find .inc files.
6144 Update line numbers in expected output.
6145 * asmsrc1.s: Rewrite.
6146 * asmsrc2.s: Rewrite.
6147 * configure.in: Create arch.inc symlink.
6148 * configure: Regenerate.
6149 * Makefile.in (distclean): Delete arch.inc.
6150
6151Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6152
6153 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6154 (t_enum_value2): ditto
6155 (t_enum_value3): ditto
6156 (main): ditto
6157Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6158
6159 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6160 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6161 change.
6162 Use gdb_test instead of send_gdb/gdb_expect sequences.
6163
6164Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6165
6166 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6167 not void.
6168
6169Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6170
6171 * gdb.base/branches.c: Code with lots of loops and
6172 subroutines. Used to test gdbs ability to single step through PC
6173 changes, especially to test mips-tdep.c:mips_next_pc
6174
6175Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6176
6177 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6178 more rigorous EGCS C++ error checking.
6179
6180Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6181
6182 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6183 tests.
c906108c 6184 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6185 function when asleep.
c906108c 6186 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6187 for i*86 Linux and SVR4 signal handling problems.
6188 Remove linux xfail for `next to handler in signals_tests_1', fixed
6189 by recent infrun.c change.
c906108c 6190 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6191 stack backtraces.
c906108c
SS
6192 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6193 target.[ch] change.
6194
6195Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6196
6197 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6198 for a newline from gdb before continuing.
6199 (default_gdb_exit): Just look for y or n.
6200 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6201 it does, fail the rests of the tests in the file.
6202
6203Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6204
6205 * config/cygmon.exp: New file.
6206
6207Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6208
6209 * gdb.base/list.exp: Fix problem with "list default lines around
6210 main" test on remote targets.
6211
6212 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6213 run test on remote targets.
6214
6215Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6216
6217 * gdb.asm: New directory.
6218 * configure.in: Configure it.
6219 * configure: Regenerate.
6220 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6221 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6222
6223Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6224
6225 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6226
dc96c6c7 6227Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6228
c906108c
SS
6229 * gdb.base/overlays (several files): Merge the two overlay
6230 managers into one. Change variables (foox, barx, bazx, grbxx)
6231 back into ints but force them to load in their proper sections.
6232
6233Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6234
6235 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6236 on-chip insn memory and IMAP1 to upper 128k.
6237 (D10VCopy): Handle memory regions crossing 16k boundaries.
6238 (D10VCopy): Transfer data in 32 bit chunks.
6239
6240Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6241
6242 * gdb.base/overlays.c (main): Exit normally when result is
6243 correct.
6244
6245 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6246 map. Include space for printf in .text segment.
6247
6248 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6249 updated d10v memory VMA/LMA map.
6250 (D10VCopy): Call D10VTranslate.
beb998c6 6251
c906108c
SS
6252Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6253
6254 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6255
6256 * gdb.base/bar.c (barx, bar): Change variable to small array so
6257 that it won't be put into the .sdata - small data -
6258 section. Update reference.
6259 * gdb.base/baz.c (bazx, baz): Ditto.
6260 * gdb.base/foo.c (foox, foo): Ditto.
6261 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6262
6263 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6264 to be arrays.
beb998c6 6265
dc96c6c7 6266Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6267
c906108c
SS
6268 * gdb.base/overlays.exp: fix up and get working again.
6269 Add tests for backtraces from an overlay function.
beb998c6 6270
c906108c
SS
6271Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6272
6273 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6274 "calling function with watchpoint enabled".
6275
6276Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6277
6278 * gdb.base/break.exp (test_next_with_recursion): Remove
6279 gdb_suppress_tests for d10v-*-*.
6280 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6281 pending review of whether it is useful or not.
6282
6283Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6284
6285 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6286
6287Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6288
6289 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6290 * config/dve.exp: New file to support Densan boards.
6291
6292Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6293
6294 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6295 reads and BSD.
6296
6297Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6298
6299 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6300 response.
6301
6302 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6303
6304Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6305
6306 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6307 test.
6308
6309 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6310 target_sizeof_long and target_bigendian_p.
6311 (structs_by_value, structs_by_reference): Check values according
6312 to targets word size and endianess.
beb998c6 6313
c906108c
SS
6314Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6315
6316 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6317 output.
6318
6319Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6320
6321 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6322 Update test of set args help to match source change.
6323
6324Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6325
6326 * gdb.base/default.exp: Expect help system output to be in
6327 alphabetical order.
6328 * gdb.base/help.exp: Ditto.
6329
6330Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6331
6332 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6333 "i*86-pc-linux-gnu*".
6334 * gdb.base/interrupt.exp: Ditto.
6335 * gdb.base/corefile.exp: Ditto.
6336
6337 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6338 define vxworks when building the testcase.
6339
6340 * gdb.base/ptype.exp: Fix testnames to be unique.
6341 * gdb.base/radix.exp: Ditto.
6342 * gdb.base/term.exp: Ditto.
6343 * gdb.base/whatis.exp: Ditto.
6344 * gdb.c++/classes.exp: Ditto.
6345
6346Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6347
6348 * gdb.base/callfuncs.exp: Fix indentation.
6349
6350 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6351 suppress_flag has been set.
6352 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6353 target feature.
6354
6355Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6356
6357 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6358 the testcase.
6359
6360 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6361 set_debug_traps() and breakpoint().
6362 * gdb.c++/misc.cc (main): Ditto.
6363 * gdb.c++/templates.cc (main): Ditto.
6364 * gdb.c++/virtfunc.cc (main): Ditto.
6365
6366Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6367
6368 * lib/gdb.exp(gdb_step_for_stub): New function.
6369 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6370 exists, reload the executable and do a "continue" instead of
6371 doing a jump.
6372 (runto_main): Use gdb_step_for_stub.
beb998c6 6373
c906108c
SS
6374 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6375 tests to have unique names.
6376 * gdb.base/callfuncs.exp: Ditto.
6377 * gdb.base/commands.exp: Ditto.
6378 * gdb.base/default.exp: Ditto.
6379 * gdb.base/help.exp: Ditto.
6380 * gdb.base/list.exp: Ditto.
6381 * gdb.base/opaque.exp: Ditto.
6382 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6383 similar tests.
beb998c6 6384
c906108c
SS
6385 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6386 * gdb.c++/cplusfuncs.cc: Ditto.
6387 * gdb.c++/virtfunc.cc: Ditto.
6388
6389 * config/monitor.exp: Keep track of the last file we saw, rather
6390 than trying to get the info from gdb.
6391
6392 * gdb.fortran/types.exp: Move comment to previous line.
6393
6394Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6395
6396 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6397 target mode.
6398
6399Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6400
6401 From Bob Manson:
6402 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6403 string from GDB when it connects.
6404
6405 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6406
6407Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6408
6409 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6410 if we can't get a debug format from GDB (we may be testing an
6411 older GDB). Use a 10 second timeout when checking for the format.
6412
6413 * gdb.stabs/weird.exp: Fix quoting.
6414
6415 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6416
6417Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6418
6419 * config/arm-ice.exp: New file.
6420
6421Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6422
6423 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6424 until it has been modified to work with the new testsuite.
6425
99707966 6426 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6427 testcase won't compile, cause all of the testcases in the file to
6428 fail instead.
6429
6430 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6431 (gdb_clear_suppressed): New procedure.
6432 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6433 it contains a positive value.
6434
6435Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6436
6437 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6438
6439 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6440
6441Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6442
6443 * lib/gdb.exp (setup_xfail_format): New function.
6444 (get_debug_format): New function to get debug format.
6445 (debug_format): New global variable to hold last value set
6446 by get_debug_format.
6447 * gdb.base/list.exp: Call get_debug_format and expect some
6448 tests to fail for DWARF 1 and COFF formats.
6449 * gdb.c++/ptype.exp: Ditto.
6450 * gdb.c++/classes.exp: Ditto.
6451 * gdb.c++/cplusfuncs.exp: Ditto.
6452 * gdb.c++/inherit.exp: Ditto.
6453 * gdb.c++/templates.exp: Ditto.
6454 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6455
c906108c
SS
6456Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6457
6458 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6459 host doesn't have a currently-open connection.
6460
6461 * config/sparclet.exp: Cleanups and fixes to make it generic for
6462 any gdb stub target. Handle cases where gdb doesn't respond when
6463 interrupted in a sane fashion.
6464
6465 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6466 same thing in a totally different way.
6467
6468 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6469 setting "timeout".
6470 (gdb_start): We set the global gdb_prompt variable in
6471 default_gdb_init now.
6472
6473Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6474
6475 * gdb.base/printcmds.exp: Fix "check for floating addition"
6476 regexp to accept results within approx +/- .01 of exact value.
6477 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6478
6479Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6480
6481 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6482 properly.
6483 (gdb_expect): Add optional timeout parameter, and add timeout
6484 value to various calls.
6485 (gdb_suppress_tests): Only give one warning message per group.
6486
6487Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6488
6489 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6490 global variables. Handle getting a value for $timeout more
6491 gracefully.
6492
6493Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6494
6495 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6496 initialize.
6497 (default_gdb_init): New procedure; allow gdb_init to be overridden
6498 by a target configuration file.
6499 (gdb_expect): Pass the timeout to remote_expect.
6500
6501 * config/monitor.exp(gdb_load): Fix typo in regexp.
6502
6503Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6504
6505 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6506
6507Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6508
6509 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6510 here. Call gdb_target_exec before rebooting the target, to make
6511 sure the connection to the target is closed.
6512 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6513 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6514 Also detect "Timeout reading from remote" error.
6515
6516 * config/gdbserver.exp: Pass the executable being loaded to
6517 gdb_target_monitor. Don't call gdb_file_cmd here; let
6518 gdb_target_monitor do it.
6519
6520 * gdb.disasm/hppa.exp: Don't use exec_output.
6521
6522Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6523
6524 * gdb.base/list.exp: If we're debugging a non-native target,
6525 try to set the pc register to point to the start of the
6526 program before doing the first list command.
6527
6528 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6529 test_calls after restarting.
6530
6531 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6532 reloading.
6533
6534 * gdb.base/watchpoint.exp: Fix typo.
6535
6536 * gdb.base/setshow.exp: Check for use_gdb_stub.
6537
6538 * gdb.base/break.exp: Fix continue until exit test for the gdb
6539 stub case.
6540 * gdb.base/langs.exp: Ditto.
6541
6542 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6543 gdb_load_offset. If we weren't given a file to load, figure out
6544 what the current file is and use it.
6545
6546 * config/i386-bozo.exp: New file.
6547
6548Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6549
6550 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6551 feature.
6552
6553 * config/proelf.exp: New entry.
6554
6555Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6556
6557 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6558 of regexps.
6559
6560 * gdb.base/watchpoint.exp: Don't run the test_stepping
6561 tests if gdb can't call functions on the target.
6562
6563 * gdb.base/setshow.exp: Don't run the set prompt tests if
6564 the board has gdb_prompt set.
6565
6566Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6567
6568 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6569 * gdb.base/commands.exp: Likewise.
6570 * gdb.base/setshow.exp: Likewise.
6571
6572Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6573
6574 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6575 feature.
6576
6577 * config/i960.exp: New file.
6578
6579Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6580
6581 * gdb.base/funcargs.exp: Check for gdb,short_int target
6582 feature instead of looking for explicit target triplets.
6583
dc96c6c7 6584Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6585
beb998c6 6586 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6587 "p 123DEADBEEF", to check parse_number.
6588 * top.c: change "to enable to enable" to "to enable" in a couple
6589 of help strings.
6590
6591Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6592
6593 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6594 on the mn10300.
beb998c6 6595
c906108c
SS
6596Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6597
6598 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6599 where the test executable is run with explicit args.
6600 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6601
6602Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6603
6604 * gdb.base/run.c: Use FAKEARGV to build test executable that
6605 does not require a command line arg, since most simulators
6606 don't currently support passing such an arg into the simulated
6607 program.
6608 * gdb.base/commands.exp: Change tests to insert the proper
6609 value as the arg to the first recursive factorial call. Change
6610 compilation line to define FAKEARGV at compile time.
6611
6612Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6613
6614 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6615 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6616 function with watchpoint enabled" test.
6617
6618Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6619
6620 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6621 Don't call gdb_test when the command doesn't return to a gdb prompt.
6622
6623 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6624 "Tests restarted" messages.
6625
6626Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6627
6628 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6629
dc96c6c7 6630Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6631
6632 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6633 for INFO SYMBOL; add help tests for OVERLAY commands.
6634 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6635 add tests for OVERLAY commands
6636 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6637 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6638 * gdb.base/sigall.c: add usestubs code frag
6639 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6640
c906108c
SS
6641Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6642
6643 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6644 failures.
6645 (gdb_stop_suppressing_tests): Note that tests have restarted.
6646
6647Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6648
6649 * config/h8300.exp: New file.
6650
6651Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6652
6653 * gdb.base/setshow.exp: Check for the existence of a
6654 feature, not its value.
6655
6656Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6657
6658 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6659
6660 * gdb.base/scope.exp: It's now init0(), not init().
6661
6662 * gdb.base/scope0.c: For now, change init() to be init0().
6663
6664 * config/monitor.exp: Use gdb_serial in preference to serial
6665 or netport.
6666
6667 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6668 and it's not already set.
6669
6670Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6671
6672 * gdb.base/setshow.exp: Only test the run command if the target
6673 isn't using a stub and if it supports argument passing.
6674
6675Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6676
6677 * config/udi.exp(gdb_start): Make sure UDICONF is set
6678 properly before starting gdb.
6679
6680Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6681
6682 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6683 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6684 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6685
6686Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6687
6688 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6689 specialized code to reboot the board, use remote_reboot instead.
6690
6691 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6692
6693 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6694
6695 * config/monitor.exp: Make sure we disconnect from the target.
6696 Also, try a reboot/reload cycle instead of failing if the
6697 load fails.
6698
6699Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6700
6701 * gdb.base/default.exp: Don't set match_max.
6702 * gdb.base/help.exp: Ditto.
6703 * gdb.base/list.exp: Ditto.
6704 * gdb.base/signals.exp: Ditto.
6705
6706 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6707 set, use remote_ld to download the testcase instead of
6708 the GDB loader.
6709
6710Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6711
6712 * config/vr5000.exp: New file.
6713
6714 * config/monitor.exp(gdb_target_monitor): Add pattern for
6715 "Ending remote" to detect errors in connecting.
6716
6717 * gdb.base/setshow.exp: Add .* within auto language test.
6718
6719 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6720 target feature.
6721
6722 * config/monitor.exp(gdb_load): Check for a failure when loading,
6723 and reboot the board if necessary.
6724
6725 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6726 a set of tests. Remove print.* from the patterns being checked.
6727
6728Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6729
6730 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6731 refer to gdb_spawn_id.
6732
6733 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6734 longer used.
6735 * config/sparclet.exp: Ditto.
6736 * config/sparclet-old.exp: Ditto.
6737 * config/slite.exp: Ditto.
6738 * config/sim.exp: Ditto.
6739 * gdb.base/funcargs.exp: Ditto.
6740
6741 * lib/gdb.exp:Remove references to gdb_spawn_id.
6742 (gdb_expect): Move to remote.exp.
6743
6744Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6745
6746 * config/monitor.exp: Detect the "Couldn't establish connection"
6747 message from GDB.
6748
6749Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6750
6751 * gdb.base/bitfields.exp: Use runto instead of explicit
6752 gdb_run_cmd/gdb_expect sequences.
6753
6754 * gdb.base/break.exp(text_next_with_recursion): Add match for
6755 gdb_expect call.
6756
6757 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6758 We also need to handle the "A program is being debugged already"
6759 prompt from gdb. Use gdb_test to set the baud rate.
6760
6761 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6762 to 20000. Really. I mean it.
6763
6764Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6765
6766 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6767 fails. If suppress_flag is set, skip perror message about not
6768 being able to send to GDB.
6769 (send_gdb): If suppress_flag is set, don't try to send commands to
6770 GDB.
6771 (gdb_expect): If suppress_flag is set, always fail immediately.
6772 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6773 (gdb_init): Call gdb_stop_suppressing_tests.
6774 (default_gdb_exit): Ditto.
6775 (default_gdb_start): Ditto.
6776
6777 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6778 gdb_stop_suppressing_tests as appropriate.
6779 * gdb.base/break.exp: Ditto.
6780 * gdb.base/callfuncs.exp: Ditto.
6781 * gdb.base/commands.exp: Ditto.
6782 * gdb.base/exprs.exp: Ditto.
6783 * gdb.base/funcargs.exp: Ditto.
6784 * gdb.base/list.exp: Ditto.
6785 * gdb.base/recurse.exp: Ditto.
6786 * gdb.base/scope.exp: Ditto.
6787 * gdb.base/structs.exp: Ditto.
6788 * gdb.c++/inherit.exp: Ditto.
6789
6790Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6791
6792 * config/vr4300.exp: New file.
6793
99707966
MC
6794 * gdb.*/*.exp: Call gdb_expect instead of expect.
6795
6796 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6797
6798Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6799
6800 * lib/gdb.exp(gdb_init): New function.
6801
6802 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6803 for each individual variable set.
6804
6805 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6806 name.
6807
6808 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6809
6810 * gdb.base/scope.exp: Use gdb_test.
6811
6812 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6813 aborting; the testsuite driver will do that for us (see
6814 gdb_finish). Also, use gdb_test in a few more places.
6815
6816Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6817
6818 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6819
6820Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6821
6822 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6823 and "add_tests" are not at the same address.
6824
6825Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6826
6827 * gdb.base/ptype.exp: Use gdb_test.
6828
6829Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6830
6831 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6832 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6833 left in. No longer expect them to fail.
6834
6835 * gdb.stabs/*.mt; Deleted, no longer used.
6836 * gdb.stabs/configure.in: Remove references to target makefile
6837 frags.
6838 * gdb.stabs/configure: Rebuilt.
6839
6840 * gdb.disasm/*.mt: Deleted, no longer used.
6841 * gdb.disasm/configure.in: Remove references to target makefile
6842 frags. Use "sh3.s" as the unique filename for this directory.
6843 * gdb.disasm/configure: Rebuilt.
6844
6845 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6846 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6847 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6848
6849Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6850
6851 * config/udi.exp: Use mondfe,name instead of remote_host.
6852
6853Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6854
6855 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6856 a function with a watchpoint enabled on the mn10200.
6857
6858 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6859 before trying to create it!
6860
6861Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6862
6863 * config/vx.exp: Use hostname instead of netport.
6864
6865 * config/vxworks.exp: New file.
6866
6867 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6868
6869 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6870 gdb before assuming everything worked. Send a ^C if a timeout
6871 occurs.
6872
6873 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6874 $gdb_spawn_id directly.
6875 (gdb_run_cmd): Try _start as well as start. Use the target feature
6876 gdb,start_symbol as the symbol to start from when jumping.
6877
6878Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6879
6880 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6881 redundant) test.
6882
6883 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6884 it doesn't lose for 16bit integer systems.
6885
6886Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6887
6888 * gdb.fortran/types.exp: If the target doesn't support "double"
6889 data types, then expect "real" types to only be 4 bytes.
6890
6891 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6892 call tests if the target doesn't support inferior function calls.
6893
6894 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6895 in printf tests.
6896
6897Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6898
6899 * gdb.base/help.exp: Disable "help set", "help show", and
6900 "help support". Simplify regexp for "help stack".
6901
6902 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6903 to 60 seconds. Temporarily set match_max to 15000 around the
6904 "info copying" test.
6905
6906 * gdb.base/nodebug.exp: Don't try to do an inferior function
6907 call if the target doesn't support them.
6908 * gdb.base/printcmds.exp: Likewise.
6909 * gdb.base/setvar.exp: Likewise.
6910 * gdb.base/structs.exp: Likewise.
6911 * gdb.c++/templates.exp: Likewise.
6912 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6913
6914 * gdb.base/recurse.exp: Enable for the mn10200.
6915
6916 * configure.in: Do configure gdb.stabs directory for *-*-elf
6917 targets.
6918 * configure: Rebuilt.
6919
6920 * gdb.base/break.exp: Check for gdb,noresults before testing
6921 exit status and/or results from the target.
6922 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6923 * lib/gdb.exp: Remove old (now bogus) initialization of
6924 noinferior, noargs, noresults and nosignals.
6925
6926Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6927
6928 * config/sh.exp: New file.
6929
6930 * config/slite.exp: Try to connect multiple times to the board
6931 before rebooting. Only send a "monitor run" if need_monitor_run
6932 is set.
6933
6934 * gdb.base/break.exp: Don't do the "stub continue" test if
6935 the target has gdb_stub set.
6936
6937 * gdb.base/callfuncs.exp: Increase the timeout.
6938
6939 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6940 if the target has gdb,noinferiorio set.
6941
6942 * gdb.base/list.exp: Increase match_max to 10000 characters.
6943
6944 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6945
6946 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6947 target.
6948
6949 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6950
6951Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6952
6953 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6954 trying to delete the copy of gdb. Catch the file delete so we
6955 don't die if the delete fails; also, the file should be copied to
6956 the host, not to the build.
6957
6958Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6959
6960 * lib/gdb.exp(gdb_test): Surround the result pattern with
6961 parenthesis in case it contains multiple regexps separated
6962 with |.
6963
6964 * gdb.base/watchpoint.exp: Use gdb_test.
6965 * gdb.base/default.exp: Ditto.
6966
6967Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6968
99707966 6969 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6970
c906108c
SS
6971 * gdb.base/scope.exp: Use gdb_test.
6972 * gdb.c++/classes.exp: Ditto.
6973 * gdb.c++/inherit.exp: Ditto.
6974
6975Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6976
6977 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6978 remote_exec instead.
6979 * gdb.base/corefile.exp: Don't be ridiculous.
6980 * gdb.base/*.c: Add missing stub invocations.
6981
6982Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6983
6984 * config/slite.exp: Miscellaneous fixes.
6985
6986 * lib/gdb.exp: Fix runto.
6987
6988 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6989 the target.
6990
6991 * gdb.base/watchpoint.exp: Fix regexp.
6992
6993 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6994 close and wait commands, as the descriptor may now be
6995 invalid. Always call "remote_close host".
6996
6997Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6998
6999 Major rewrite for testsuite revision.
beb998c6 7000
c906108c
SS
7001 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7002 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7003 instead of relying on spawn_id to always contain a valid
7004 spawn id.
7005 (get_compiler_info): New procedure to build the ${binfile}.ci
7006 file, instead of replicating this in N different places.
7007 (gdb_compile): New procedure.
beb998c6 7008
c906108c
SS
7009 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7010 appropriate arguments) instead of compile. Use gdb_test in a lot
7011 more places. Use send_gdb instead of send. Always run gdb_start
7012 at the start of a testcase, as this is no longer done magically.
7013
7014 config/*-gdb.exp: Rename without the -gdb suffix.
7015
7016 config/mips.exp: Use remote_close instead of exit_remote_shell.
7017 config/monitor.exp: Use target_info instead of looking at
7018 baud, timeout, etc.
7019 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7020
7021Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7022
7023 * gdb.c++/templates.exp (test_ptype_of_templates),
7024 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7025 Update expect patterns for destructors and assignment operators
7026 to match corresponding c-typeprint.c changes.
7027 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7028 to destructor breakpoint test, GDB should be able to set the
7029 destructor breakpoint without specifying arguments.
7030
7031Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7032
7033 * gdb.threads/pthreads.exp: Change result for failure to compile due
7034 to lack of pthreads runtime support from an error to simply an
7035 unsupported test, per dejagnu standards.
7036
7037Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7038
7039 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7040 where GDB exits to reduce pattern match time.
7041 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7042
7043 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7044
dc96c6c7 7045Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7046
7047 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7048 * gdb.base/default.exp: ditto.
7049 * gdb.base/nodebug.exp: ditto.
7050 * gdb.base/printcmds.exp: ditto.
7051 * gdb.base/ptype.exp: ditto.
7052 * gdb.base/setvar.exp: ditto.
7053 * gdb.base/structs.exp: ditto.
7054 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7055
7056Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7057
7058 * configure, */configure: Rebuild with autoconf 2.12.
7059
7060Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7061
7062 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7063 use new i*86-pc-linux*-gnu quads.
7064 * gdb.base/corefile.exp: Ditto.
7065 * gdb.base/signals.exp: Ditto.
7066 * gdb.base/sigall.exp: Ditto.
7067 * gdb.base/interrupt.exp: Ditto.
7068
7069 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7070 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7071 RedHat 4.0.
beb998c6 7072
c906108c
SS
7073 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7074 linux. This allows the test case to at least compile on latest
7075 linux, but still not run due to missing the threads runtime library.
7076
7077Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7078
7079 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7080 directory to search gdb directory. Accept and step over conditional
7081 stack alignment code. Consume $prompt in failure cases.
7082 Reset timeout to $oldtimeout instead of some arbitrary value.
7083 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7084 timeout problems with infinite stack backtraces.
7085 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7086 Accept function parameters for linkfunc member.
7087
7088Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7089
7090 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7091 (CXXFLAGS): Remove, unreferenced.
7092 (B_OPTIONS): Add for -B options and add code to initialize with
7093 previous -B options and also add -B option to pick up cross compiled
7094 runtime.
7095 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7096 doing cross compiles.
7097 (target_alias): Declare global.
7098 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7099 to verify that gcc exists in build tree, and if so set CC to that
7100 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7101
c906108c
SS
7102Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7103
7104 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7105 ptype test for anonymous union. Fixup testcase to match
7106 current gcc debug output.
7107
7108Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7109
7110 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7111 force argument to an unsigned long type.
7112
7113Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7114
7115 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7116 tests and anonymous union print/ptype tests.
7117 * gdb.base/list.exp (test_forward-search): Increase timeout by
7118 5 minutes for the "search extremely long line" case.
7119 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7120 completely optional and that the pass/fail messages use the command as
7121 the message if that third arg is a null string.
7122 (gdb_test_exact): Arrange that a null string pattern means match a
7123 null string output rather than any output, which might include random
7124 errors.
7125 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7126 backtrace test.
7127 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7128 always failing and failure is now exposed by gdb.exp changes.
7129
7130Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7131
7132 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7133 weren't being noted.
7134
7135Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7136
7137 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7138 * gdb.stabs/weird.exp: Remove v_comb xfails.
7139
dc96c6c7 7140Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7141
7142 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7143 list.exp scope.exp watchpoint.exp]
7144 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7145
dc96c6c7 7146Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7147
7148 * config/monitor.exp: Increase download timeout to 1000 seconds.
7149
dc96c6c7 7150Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7151
7152 * config/m32r.exp: Increase timeout to 120 seconds.
7153
7154Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7155
7156 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7157 and accept older ordering as obsolescent gcc or gdb.
7158 * gdb.c++/templates.exp: Ditto.
7159 * gdb.c++/virtfunc.exp: Ditto.
7160
7161Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7162
7163 * gdb.base/coremaker.c: Add code to mmap some data so we
7164 can check that it ends up in the core file.
7165 * gdb.base/corefile.exp: Add test to read mmapped data
7166 from core file.
7167
dc96c6c7 7168Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7169
7170 * config/m32r.exp: New file.
7171
7172Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7173
7174 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7175 that cflags can contains -gstabs, and work correctly for other tests.
7176
dc96c6c7 7177Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7178
7179 * gdb.base/setshow.exp: New file, tests show and set.
7180 * gdb.base/setshow.c: New file, tests show and set.
7181 * gdb.base/help.exp: Add test for help set|show annotate.
7182 * gdb.base/default.exp: Add test for set|show annotate.
7183
7184Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7185
7186 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7187 errors unique.
7188 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7189 explicitly.
7190
7191Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7192
7193 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7194 and width commands. This is done elsewhere.
7195 * (gdb_start): Don't call gdb_start_sim here. That's already
7196 done in gdb_load. This fixes lots of failures in default.exp.
7197
7198Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7199
7200 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7201 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7202 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7203 in the same we we treat other failures (since it may be an expected
7204 condition), rather than as an error.
7205 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7206 old test format.
7207
7208Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7209
7210 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7211 (distclean maintainer-clean realclean): No need to remove files
7212 twice. Nuke the duplicates.
7213 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7214 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7215 Remove config.h along with other config files.
7216
7217Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7218
7219 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7220 "p func1 ()" and note that rests of tests are skipped.
7221 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7222 setup_xfails for "print func2::coremaker_local".
7223 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7224 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7225 affected by the previous run test.
7226 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7227 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7228 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7229 "pass int powerset tuple" and "pass modeless int powerset tuple".
7230 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7231 "real write 4" and "real write 8".
7232 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7233 setup_xfails for "print vs1 after tuple assign 2",
7234 "print \$i after tuple assign 2", and
7235 "print vs2 after tuple assign 2".
7236 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7237 meaningful error message and return -1 so the caller can
7238 suppress further tests and avoid a cascade of errors.
beb998c6 7239
c906108c
SS
7240Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7241
7242 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7243 format for printing version.
7244 * gdb.base/default.exp: Ditto.
7245 * gdb.base/interrupt.exp: Fix problem with cascade of
7246 errors if child process dies while calling a function.
beb998c6 7247
c906108c
SS
7248Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7249
7250 * Makefile.in (VPATH): Add
7251 * Makefile.in (Makefile, config.status): Fix rules so things get
7252 remade when necessary.
7253
7254Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7255
7256 * Makefile.in (just-check): Add path to sibling expect dir
7257 to environment variable specified by RPATH_ENVVAR.
7258
7259Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7260
7261 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7262 (just-check): Add shared library paths for libstdc++, tk,
7263 tcl, bfd, and opcodes to the environment variable specified
7264 in RPATH_ENVVAR.
7265 * configure.in: Add support to recognize --enable-shared flag
7266 and generate correct value for RPATH_ENVVAR.
7267 * configure: Regenerated with autoconf.
7268
7269Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7270
7271 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7272 include all osf versions.
7273 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7274 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7275 when target is linux. When failing to build pthreads test
7276 executable, give more meaningful message.
7277 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7278 arg for pthread_create.
beb998c6 7279
c906108c
SS
7280Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7281
7282 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7283 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7284 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7285 and -lpthreads (everybody else).
7286 (test_startup): Fail gracefully if threads are not supported.
7287 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7288 "p/c array_index("abcdef",2)" when not gcc compiled.
7289 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7290 "print func2::coremaker_local" when not gcc compiled.
7291 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7292 "ptype on opaque struct tagname (statically)",
7293 "ptype on opaque struct tagname (dynamically) 1", and
7294 "ptype on opaque struct tagname (dynamically) 2"
7295 for not compiled with gcc.
7296 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7297 backtrace when compiled with gcc.
beb998c6 7298 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7299 than always return success.
7300
7301Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7302
7303 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7304
7305Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7306
7307 * gdb.base/structs.exp: Undo last change.
7308
7309Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7310
7311 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7312 encapsulate all the steps/nexts done during self test, starting
7313 at main, and makes them less sensitive to optimization issues.
7314 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7315 signal handler" test.
7316 * gdb.threads/pthreads.exp: Only run this for native configs.
7317 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7318 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7319 tests.
7320 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7321 for "runto test_calls(void)" test.
beb998c6 7322
c906108c
SS
7323Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7324
7325 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7326 and don't expect address info in breakpoint confirmations.
7327
7328Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7329
7330 * gdb.base/list.exp (test_forward_search): Increase timeout
7331 temporarily by 60 seconds for searching extremely long line,
7332 and then reset to old value when done. Increase expect input
7333 buffer to 10000.
7334
7335Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7336
7337 * gdb.base/list.exp (test_forward_search): Fix to handle very
7338 long source line without overflowing expect's input buffer.
7339
7340Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7341
7342 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7343 "buffer_full".
7344
7345 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7346 "buffer_full".
7347
7348 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7349 "buffer_full".
7350
7351 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7352 "buffer_full".
7353
7354Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7355
7356 * configure.in (configdirs): Add gdb.threads.
7357 * configure: Regenerated with autoconf.
7358 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7359 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7360 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7361
c906108c
SS
7362Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7363
7364 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7365
7366Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7367
7368 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7369 each signal's status in the output of "handle all print".
7370 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7371 the \r\n sequence that immediately precedes the gdb prompt.
7372 * gdb.base/a1-selftest.exp: Save original timeout and restore
7373 after test.
7374
7375Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7376
7377 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7378 symbol.
7379
7380Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7381
7382 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7383
7384Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7385
7386 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7387 timeout by 60 seconds.
7388
7389Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7390
7391 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7392 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7393 error return.
7394
7395Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7396
7397 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7398 gdb initialization, also report how long dejagnu waited. Restore
7399 old timeout before doing error return. Temporarily increase timeout
7400 by 3 minutes to allow for slow startups over heavy NFS use.
7401
7402Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7403
7404 * lib/gdb.exp: Report timeout value for verbosity level 2.
7405 * config/gdbserver.exp: Ditto.
7406 * config/hppro.exp: Ditto.
7407 * config/mips-gdb.exp: Ditto.
7408 * config/monitor.exp: Ditto.
7409 * config/netware.exp: Ditto.
7410 * config/sim-gdb.exp: Ditto.
7411 * config/slite-gdb.exp: Ditto.
7412 * config/udi-gdb.exp: Ditto.
7413 * config/unix-gdb.exp: Ditto.
7414 * config/vx-gdb.exp: Ditto.
7415 * gdb.base/a1-selftest.exp: Ditto.
7416 * gdb.base/a2-run.exp: Ditto.
7417 * gdb.base/break.exp: Ditto.
7418 * gdb.base/corefile.exp: Ditto.
7419 * gdb.base/list.exp: Ditto.
7420 * gdb.base/recurse.exp: Ditto.
7421 * gdb.base/scope.exp: Ditto.
7422 * gdb.base/signals.exp: Ditto.
7423
7424Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7425
7426 * gdb.threads/Makefile.in (docdir): Removed.
7427
7428Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7429
7430 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7431 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7432 @srcdir@.
beb998c6 7433 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7434 autoconf 2.5 or higher.
7435 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7436
7437Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7438
7439 * configure: Regenerated.
7440 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7441 avoid name clashes with SunOS headers.
7442
7443Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7444
7445 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7446
7447Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7448
7449 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7450 prototype information ends up in the compiler info file.
7451
7452Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7453
7454 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7455 attempting to regenerate it. Eliminate use of a temporary file
7456 and just generate the info file directly. Source it immediately,
7457 for consistency of use.
7458 * gdb.base/corefile.exp: Ditto
7459 * gdb.base/exprs.exp: Ditto.
7460 * gdb.base/funcargs.exp: Ditto.
7461 * gdb.base/langs.exp: Ditto.
7462 * gdb.base/list.exp: Ditto.
7463 * gdb.base/mips_pro.exp: Ditto.
7464 * gdb.base/nodebug.exp: Ditto.
7465 * gdb.base/opaque.exp: Ditto.
7466 * gdb.base/ptype.exp: Ditto.
7467 * gdb.base/scope.exp: Ditto.
7468 * gdb.base/setvar.exp: Ditto.
7469 * gdb.base/signals.exp: Ditto.
7470 * gdb.base/whatis.exp: Ditto.
7471 * gdb.c++/templates.exp: Ditto.
7472 * gdb.c++/virtfunc.exp: Ditto.
7473 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7474 whether or not to add -lstdc++ to the compile command line args.
7475
7476Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7477
7478 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7479 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7480 Increase timeout, a lot of single stepping might be needed if the
7481 target has no hardware watchpoints.
7482
7483Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7484
7485 * gdb.base/break.exp: Ignore compiler warnings when compiling
7486 break.c.
7487 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7488 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7489 from remote-sim.
7490 * gdb.base/exprs.exp: Add h8300 xfails.
7491 * gdb.base/funcargs.exp: Likewise.
7492 * gdb.base/nodebug.exp: Likewise.
7493 * gdb.base/printcmds.exp: Likewise.
7494 * gdb.base/ptype.exp: Likewise.
7495 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7496 h8300 xfails.
beb998c6 7497 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7498 on the h8300.
7499 * gdb.base/funcargs.c: Explicitly make last constant argument to
7500 call_after_alloca_subr an unsigned long type.
7501 * gdb.base/return.c: Include stdio.h.
7502
7503Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7504
7505 * config/abug.exp: New file for the older Motorola Bug monitor
7506 that runs on the mvme13x series VME boards.
7507 * config/monitor.exp: Use the new config array for target settings
7508 if they exist.
7509
7510Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7511
7512 * sim-gdb.exp: Make the SH simulator allocate less space when
7513 it is targeted.
7514
7515Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7516
7517 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7518 test.
7519
7520Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7521
7522 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7523 "rs6000-*-*" for "list function in include file" when gcc compiled.
7524 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7525 for "p ctable1[120]".
7526 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7527 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7528 Remove setup_xfail for "rs6000-*-*" for
7529 "print 'scope0.c'::filelocal before run".
7530 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7531 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7532 since some compilers don't allow both options to be given
7533 on the same command line. Create object file and move it.
beb998c6 7534
c906108c
SS
7535Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7536
7537 * gdb.base/corefile.exp: Always regenerate the core file, since
7538 we always regenerate the coremaker program. Detect special case
7539 where registers cannot be read from core file.
beb998c6 7540
c906108c
SS
7541Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7542
7543 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7544 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7545 * gdb.c++/templates.exp: Only match on basename of file since
7546 some formats like xcoff don't encode directory information.
7547 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7548 and rs6000 AIX xcoff targets.
7549 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7550 * configure: Regenerate.
7551 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7552 here, rather than in distclean.
beb998c6 7553
c906108c
SS
7554Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7555
7556 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7557 defined, and use it to compile the test case with -O2. The
7558 native compilation still uses no optimization.
7559 * gdb.base/mips_pro.c: Remove inline assembly code since
7560 it is compiled PIC by default, which results in assembler
7561 warnings that make the testsuite think the compilation
7562 was unsuccessful.
7563
7564Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7565
7566 * gdb.c++/misc.exp: Add note to message for
7567 "print s.a for foo struct" that this is a known gcc 2.7.2
7568 and earlier bug.
7569
7570Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7571
7572 * gdb.base/break.exp: Fix pattern for matching "Delete all
7573 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7574 setup_xfail for deleting all breakpoints test. Fix various
7575 timeout messages to include "(timeout)".
7576 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7577 for "p t_float_values2(3.14159,float_val2)".
7578 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7579 for "continue to call2g" when gcc compiled.
7580 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7581 "up to foo in langs.exp", "show language at foo in langs.exp",
7582 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7583 and "show language at fsub in langs.exp".
7584 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7585 "list line 1 in include file", "list message for lines past EOF",
7586 "list function in include file", "list list0.h:foo", and
7587 "list filename:function; nonexistant function".
7588 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7589 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7590 and "ptype t_char_array" to be for native cc only.
beb998c6 7591
c906108c
SS
7592Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7593
beb998c6 7594 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7595 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7596 "print func2::coremaker_local", and "backtrace in corefile.exp".
7597
7598Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7599
7600 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7601 "bt in signals.exp". This problem only appears when running
7602 the testsuite, and then only intermittently.
7603
7604Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7605
7606 * gdb.base/return.exp (return_tests): Differentiate between
7607 two tests of continuing.
7608
7609Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7610
7611 * */Makefile.in (maintainer-clean): Remove config.log.
7612 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7613 * gdb.c++/Makefile.in (PROGS): Add inherit.
7614 (clean): Remove *.ci.
7615
7616Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7617
7618 * gdb.c++/misc.cc: Add test code from Mike Stump.
7619 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7620
7621Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7622
7623 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7624 to "alpha-*-osf2*" and add comment.
7625 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7626 setup_xfail for "step over execarg initialization" and
7627 "step over corearg initialization".
7628 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7629 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7630 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7631 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7632 "print func2::coremaker_local", and "backtrace in corefile.exp".
7633 * gdb.base/signals.exp: Build and source signals.ci.
7634 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7635 to be for gcc only.
7636 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7637
c906108c
SS
7638Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7639
7640 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7641 Feb 3 procfs.c change.
7642
7643Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7644
7645 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7646
7647Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7648
7649 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7650 from dejagnu's apparent default of 10 seconds, which gives random
7651 results when running the tests over NFS on moderately loaded systems.
7652 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7653
7654Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7655
7656 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7657 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7658 result reports.
7659
7660Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7661
7662 * configure.in (CY_AC_PATH_TCLH): Remove.
7663 * configure: Regenerate.
7664
7665Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7666
7667 * gdb.c++/Makefile.in (clean): Add missing '{'.
7668
7669Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7670
7671 * lib/gdb.exp: Provide a default value for noinferior.
7672
7673 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7674 Load libgloss.exp.
7675
7676Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7677
7678 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7679 the executable, not the .o to run the tests from.
7680
7681Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7682
7683 * gdb.base/break.exp: Don't test for program exit or exit status
7684 if $noresults if nonzero.
7685 * gdb.base/langs.exp: Likewise.
7686 * gdb.base/watchpoint.exp: Likewise.
7687
7688 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7689 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7690 trying to compile the testcase.
7691
7692Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7693
7694 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7695 * gdb.base/signals.exp (continue to handler): Likewise.
7696
7697Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7698
7699 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7700
7701 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7702
7703Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7704
7705 * gdb.base/corefile.exp: Recognize "not found" as failure
7706 when trying to determine if a core file was generated.
7707 If no core file was generate the first time, try again without
7708 the ulimit -c to work around braindamaged shells.
7709
7710Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7711
7712 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7713 [] tests with "test" and enclose string in quotes.
7714 * gdb.stabs/configure: Rebuild
beb998c6 7715
c906108c
SS
7716Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7717
7718 Changes in sync with expect:
7719 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7720 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7721 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7722 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7723 argument to AC_REQUIRE.
7724 * configure: Regenerated.
7725
7726Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7727
7728 * gdb.base/corefile.exp: When generating a core, discard any
7729 error messages about ulimit not found and the "core dumped"
7730 message from the shell that runs the coredumper.
7731
7732Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7733
7734 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7735
7736 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7737 which sed script to run. Expect failure for v_comb test
7738 on PA targets too.
beb998c6 7739
c906108c
SS
7740Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7741
7742 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7743 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7744
7745Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7746
7747 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7748 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7749 "sparc-sun-solaris*" xfails for "p v_comb".
7750 * lib/gdb.exp (default_gdb_start): Fix typo.
7751 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7752 messages to not include the full program name that caused
7753 the core dump since some systems (such as solaris) apparently
7754 truncate this path to about 80 characters.
7755 When generating a core file first try increasing the core file
7756 size limit to unlimited since some systems may default it to
7757 zero, and it is harmless to try it. Move the test for failing
7758 to generate a core file to where it will actually get executed.
7759 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7760 new gdb result from g++ debug info improvements and make old
7761 pattern obsolescent. Also account for size_t differences
7762 (may be int or long).
7763 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7764 initialization before function call is placed in the delay slot
7765 and thus appears to be skipped over by commands such as "next".
7766
7767Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7768
7769 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7770
7771Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7772
7773 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7774 input source file; fix code to compile test to deal with this
7775 convention.
7776 * gdb.c++/*.exp: Likewise.
7777
7778Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7779
7780 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7781 "bt in signals.exp".
7782
7783Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7784
7785 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7786 "step over execarg initialization" and
7787 "step over corearg initialization".
7788
7789Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7790
7791 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7792 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7793
7794Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7795
7796 From Rob Savoye (rob@poseidon.cygnus.com)
7797 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7798 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7799 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7800 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7801 configure.in}: Major reworking for autoconfig.
7802 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7803 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7804 New files.
7805 * config/unix-gdb.exp: Make GDB global.
7806 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7807 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7808 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7809 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7810 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7811 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7812 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7813 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7814 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7815 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7816 pr-8136.exp, result.exp, string.exp, tuples.exp},
7817 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7818 to returns as necessary, arrange for test to compile own testcase
7819 executable.
7820 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7821
c906108c
SS
7822Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7823
7824 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7825 clear_xfail at end of test which might not call either pass or fail.
7826 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7827 "backtrace through signal handler".
7828
7829Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7830
7831 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7832 continuing from a job control stop signal.
7833 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7834
7835Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7836
7837 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7838 * gdb.base/corefile.exp: Likewise.
7839 * gdb.base/funcargs.exp: Likewise.
7840
7841Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7842
7843 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7844 * config/monitor.exp: Add support for setting baud rate.
7845
7846Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7847
7848 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7849 i*86-*-linux* xfails for "backtrace through signal handler".
7850 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7851 "print func2::coremaker_local".
7852 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7853 alpha-dec-osf2* xfail for
7854 "delete all breakpoints when none".
7855
7856Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7857
7858 * gdb.base/break.exp: Change test that deletes all breakpoints
7859 when no user breakpoints are installed. A post 4.15 change
7860 causes gdb to no longer prompt in this case.
7861
7862Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7863
7864 * gdb.base/return.exp (return_tests): Change xfail for test
7865 "correct value returned double test" to stop xfailing at
7866 Solaris 2.5. Apparently the bug has been fixed.
7867
7868Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7869
7870 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7871 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7872
7873Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7874
7875 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7876 * gdb.disasm/hppa.s: Corresponding changes.
7877
7878Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7879
7880 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7881 makefile fragment.
7882 * config/mt-hpux: Deleted.
7883
7884Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7885
beb998c6 7886 * Many files: When warning about suppressed tests due to a
c906108c
SS
7887 nonexistant test binary, avoid incrementing the warning count.
7888
7889Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7890
7891 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7892
c906108c
SS
7893Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7894
7895 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7896 "sparc-*-solaris2*".
7897
7898Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7899
7900 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7901 Add global and local variables and initialize them.
7902 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7903 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7904 extracts the file name and terminating signal from the core file.
7905 * TODO: Remove note about tests for correct mapping of corefile.
7906 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7907 from optimizing it away.
7908 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7909 handles common blocks.
7910
7911Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7912
7913 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7914 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7915
7916Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7917
7918 * Makefile.in (maintainer-clean): New target, synonym for
7919 realclean.
7920 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7921 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7922 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7923 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7924 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7925 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7926
7927Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7928
7929 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7930 xfails when not gcc compiled for "print foo::funclocal".
7931 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7932 "print foo::funclocal at foo",
7933 "print 'scope1.c'::foo::funclocal at foo",
7934 "print foo::funclocal_bss at foo",
7935 "print 'scope1.c'::foo::funclocal_bss at foo",
7936 "print foo::funclocal_ro at foo",
7937 "print 'scope1.c'::foo::funclocal_ro at foo",
7938 "print bar::funclocal at foo" and
7939 "print 'scope1.c'::bar::funclocal at foo".
7940 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7941 gcc compiled for "print foo::funclocal at bar".
7942 Expand all messages to ensure that they identify that
7943 the test is at bar().
7944 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7945 gcc compiled for:
7946 "ptype on opaque struct pointer (statically)",
7947 "ptype on opaque struct tagname (statically)",
7948 "ptype on opaque struct pointer (dynamically) 1",
7949 "ptype on opaque struct tagname (dynamically) 1",
7950 "ptype on opaque struct pointer (dynamically) 2" and
7951 "ptype on opaque struct tagname (dynamically) 2
7952 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7953 gcc compiled for:
7954 "p datalocal"
7955 "whatis datalocal",
7956 "ptype datalocal",
7957 "p bsslocal",
7958 "whatis bsslocal", and
7959 "ptype bsslocal".
7960 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7961 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7962 when not gcc compiled.
7963 * gdb.base/funcargs.exp (float_and_integral_args): Add
7964 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7965 compiled.
7966 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7967 "backtrace from call6a" when not gcc compiled.
7968 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7969 "backtrace from call7a" when not gcc compiled.
7970 * gdb.base/callfuncs.exp (do_function_calls):
7971 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7972 "p t_char_array_values(char_array_val2,char_array_val1)",
7973 "p t_char_array_values(char_array_val1,char_array_val2)",
7974 "p t_char_array_values("carray 1","carray 2")",
7975 "p t_char_array_values("carray 1",char_array_val2)",
7976 "p t_char_array_values(char_array_val1,"carray 2")",
7977 "p sum_args(1,{2})",
7978 "p sum_args(2,{2,3})",
7979 "p sum_args(3,{2,3,4})",
7980 "p sum_args(4,{2,3,4,5})"
7981 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7982 "backtrace in corefile.exp" when not gcc compiled.
7983
7984Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7985
7986 * gdb.base/signals.exp: Rewrite `handle all print' test as
7987 a procedure. Accept blanks or TABs as whitespace, increase
7988 timeout and expect input buffer size for the large output
7989 from the command. Remove "i*86-*-bsdi2.0" xfail.
7990
7991Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7992
7993 * gdb.base/setvar.exp: Add new testcases for truncation when
7994 assigning invalid values to bitfields.
7995
7996Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7997
beb998c6 7998 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7999 mips-sgi-irix* xfail for
8000 "call inferior func with struct - returns char *"
8001 and fix test so that an optional (unsigned char *) cast is
8002 accepted in the result.
8003
8004Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8005
8006 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8007 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8008 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8009 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8010 that accidentally got checked in.
8011
8012Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8013
beb998c6 8014 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8015 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8016 compiled test.
8017 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8018 Add mips-sgi-irix5* xfail for not gcc compiled.
8019 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8020 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8021 "p top", "whatis top", "p middle", and "whatis middle".
8022 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8023 "whatis signed char" for not gcc compiled.
8024 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8025 "set variable signed char=-1 (-1)" and
8026 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8027 * gdb.base/funcargs.exp (float_and_integral_args):
8028 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8029 Add mips-sgi-irix* xfail when not gcc compiled for
8030 "continue to call2b".
8031 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8032 "continue to call2g".
8033 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8034 "backtrace from call6a"
8035 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8036 "backtrace from call7k".
8037 Add mips-sgi-irix5* xfail when not gcc compiled for
8038 "backtrace from call7a".
8039 (localvars_after_alloca): Fix gdb_test cmds for
8040 "print * after runto ...".
8041 Remove rs6000-*-* xfails for
8042 "print i after runto localvars_after_alloca" and
8043 "print l after runto localvars_after_alloca"
8044 for all compilers.
8045 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8046 when not compiled with gcc, for:
8047 "print signed char == (minus)",
8048 "print signed char != (minus)",
8049 "print signed char < (minus)",
8050 "print signed char > (minus)".
8051 * gdb.base/callfuncs.exp (do_function_calls):
8052 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8053 "call inferior func with struct - returns char *".
beb998c6 8054 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8055 "correct value returned double test" to include Solaris 2.4.
8056 * gdb.base/funcargs.exp (float_and_integral_args):
8057 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 8058
c906108c
SS
8059Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8060
8061 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8062 enumeration bitfields if compiling with GNU C.
8063 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8064 to empty' prompt.
8065
8066Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8067
8068 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8069 test for PRO targets.
8070
8071 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8072 breakpoints in the inferior at any given time by making
8073 two groups of breakpoints for call2*, call6* and call7*
8074 tests.
8075
8076Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8077
8078 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8079 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8080 from optimizing it away.
8081 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8082 "call inferior func with struct".
8083
8084Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8085
8086 * configure.in: Only configure gdb.chill for particular targets.
8087
8088Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8089
8090 * gdb.base/Makefile.in: Add action to .c.o transformation
8091 rule that generates a .ci file for each .o file and remove
8092 explicit .c.o rules except for callfuncs.o.
8093 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8094 generates a .ci file for each .o file and remove explicit
8095 .cc.o rules.
8096 (clean): Remove *.tmp *.ci files.
8097 (EXECUTABLES): Remove templ-info.exp.
8098 * gdb.base/compiler.c: New file.
8099 * gdb.c++/compiler.cc: New file
8100 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8101 Change rs6000-*-* xfail for
8102 "print 'scope0.c'::filelocal_ro" and
8103 "print 'scope1.c'::filelocal" and
8104 "print 'scope1.c'::filelocal_bss" and
8105 "print 'scope1.c'::filelocal_ro" and
8106 "print 'scope1.c'::foo::funclocal" and
8107 "print 'scope1.c'::foo::funclocal_ro" and
8108 "print 'scope1.c'::bar::funclocal" and
8109 "print 'scope0.c'::filelocal_ro" and
8110 "print 'scope1.c'::filelocal at foo" and
8111 "print 'scope1.c'::filelocal_bss at foo" and
8112 "print 'scope1.c'::filelocal_ro at foo" and
8113 "print 'scope1.c'::foo::funclocal at foo" and
8114 "print 'scope1.c'::foo::funclocal_bss at foo" and
8115 "print 'scope1.c'::foo::funclocal_ro at foo" and
8116 "print 'scope1.c'::bar::funclocal at foo" and
8117 "print 'scope0.c'::filelocal_ro" and
8118 "print 'scope1.c'::filelocal" and
8119 "print 'scope1.c'::filelocal_bss" and
8120 "print 'scope1.c'::filelocal_ro" and
8121 "print 'scope1.c'::foo::funclocal" and
8122 "print 'scope1.c'::foo::funclocal_bss" and
8123 "print 'scope1.c'::foo::funclocal_ro" and
8124 "print 'scope1.c'::bar::funclocal" and
8125 "print 'scope1.c'::bar::funclocal_bss"
8126 to only be xfail'd when not compiled with gcc.
beb998c6 8127 Add rs6000-*-* xfail for
c906108c
SS
8128 "print 'scope0.c'::filelocal_bss before run"
8129 when compiled with gcc.
8130 (test_at_main): Add rs6000-*-* xfail for
8131 "print filelocal_ro in test_at_main"
8132 when compiled with gcc.
8133 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8134 Add rs6000-*-aix* xfail for
c906108c
SS
8135 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8136 "ptype t_char_array", not compiled with gcc.
8137 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8138 xfail for "list foo (in include file)" when gcc compiled.
8139 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8140 (integral_args): Add rs6000-*-* xfail for
8141 "run to call0a" if not compiled with gcc.
8142 (unsigned_integral_args): Add rs6000-*-* xfail for
8143 "run to call1a" if not compiled with gcc.
8144 (float_and_integral_args): Add rs6000-*-* xfail for
8145 "run to call2a" if not compiled with gcc and for
8146 "continue to call2b" for any compiler.
8147 Add rs6000-*-* xfail to
8148 "print f1 after run to call2a" for gcc compiled.
8149 (discard_and_shuffle): Add rs6000-*-* xfail for
8150 "run to call6a".
8151 (shuffle_round_robin): Add rs6000-*-* xfail for
8152 "backtrace from call7a" if not compiled with gcc.
8153 Add rs6000-*-* xfail for
8154 "backtrace from call7b" if compiled with gcc.
8155 (call_after_alloca): Add rs6000-*-* xfail for
8156 "print c in call_after_alloca" and
8157 "print s in call_after_alloca" and
8158 "backtrace from call_after_alloca_subr"
8159 if not compiled with gcc.
8160 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8161 "print c in localvars_in_indirect_call" and
8162 "print c in localvars_in_indirect_call" and
8163 "backtrace in indirectly called function" and
8164 "stepping into indirectly called function"
8165 if not compiled with gcc.
8166 (localvars_after_alloca): Add rs6000-*-* xfail for
8167 "print c after runto localvars_after_alloca" and
8168 "print s after runto localvars_after_alloca" and
8169 "print i after runto localvars_after_alloca" and
8170 "print l after runto localvars_after_alloca"
8171 for all compilers.
8172 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8173 than whatis-info.exp.
8174 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8175 than opaque-info.exp.
8176 Setup rs6000-*-* xfail for
beb998c6 8177 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8178 "ptype on opaque struct pointer (dynamically)" when
8179 not compiled with gcc.
8180 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8181 rather than callf-info.exp.
8182 (do_function_calls): Add clear_xfail for rs6000-*-* for
8183 "p t_float_values2(3.14159,float_val2)". Seems to work
8184 fine there, both with xlc and gcc. Need to find out what
8185 it is doing right and fix other platforms.
8186 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8187 "call inferior func with struct - returns int",
8188 "call inferior func with struct - returns long",
8189 "call inferior func with struct - returns float",
8190 "call inferior func with struct - returns double",
8191 "call inferior func with struct - returns char *",
8192 but only if not gcc compiled (presumes xlc compiled).
8193 Change rs6000-*-* xfails for
8194 "call inferior func with struct - returns char" and
8195 " call inferior func with struct - returns short" to only
8196 xfail if not using gcc.
8197 (clean mostlyclean): Remove *.ci and *.tmp files.
8198 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8199 than templ-info.exp.
8200 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8201 Add rs6000-*-* xfail for "up to foo in langs.exp"
8202 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8203 when not gcc compiled.
beb998c6 8204
c906108c
SS
8205Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8206
8207 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8208 * gdb.base/corefile.exp: Likewise.
8209 * gdb.base/list.exp: Likewise.
8210 * gdb.base/scope.exp: Likewise.
8211 * gdb.base/siganls.exp: Likewise.
8212
8213 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8214 compiler output.
8215 * gdb.base/whatis.exp: Likewise.
8216
8217Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8218
8219 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8220 failure (opcode table has been fixed to match reality).
8221
8222Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8223
8224 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8225 "call inferior func with struct - returns char",
8226 "call inferior func with struct - returns short"
8227
8228 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8229 "print 'scope0.c'::filelocal at main",
8230 "print 'scope0.c'::filelocal_bss in test_at_main",
8231 "print 'scope0.c'::filelocal at foo",
8232 "print 'scope0.c'::filelocal_bss in test_at_foo",
8233 "print 'scope0.c'::filelocal at bar",
8234 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8235
c906108c
SS
8236 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8237 in source file 1". This bug seems to have been fixed with both
8238 gcc and native cc (was native assembler bug?).
8239
8240Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8241
8242 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8243 "backtrace through signal handler" to "i*86-*-sysv4*".
8244 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8245 continue" case. Add "known SVR4 bug" to fail message.
8246 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8247 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8248 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8249 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8250 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8251 "up to foo in langs.exp", "show language at foo in
8252 langs.exp", "up to cppsub_ in langs.exp", "show
8253 language at cppsub_ in langs.exp", "up to fsub in
8254 langs.exp", and "show language at fsub in langs.exp".
8255 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8256 "bactrace in corefile.exp".
8257 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8258 "call inferior function with struct - returns float" and
8259 "call inferior function with struct - returns double".
beb998c6 8260
c906108c
SS
8261Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8262
8263 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8264 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8265 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8266 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8267
8268Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8269
8270 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8271 (or overriden) "CHILL" macro rather then bare "gcc".
8272 Also look for ../../gcc/xgcc since that is what we will
8273 actually need, not "Makefile". Remove following assignment
8274 of CHILL to CHILL_FOR_TARGET because that results in
8275 recursive definition.
8276
8277Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8278
8279 * gdb.base/corefile.exp: Change xfail for backtrace in
8280 corefile.exp from linuxaout to all linux.
8281 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8282 cases where we miss the breakpoint at the signal handler
8283 for some reason. Setup xfail for linuxoldld/linuxaout and
8284 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8285 hitting SIGURG breakpoint.
8286 * gdb.base/signals.exp: Setup xfail for "next" acting like
8287 continue to add linuxoldld. Setup xfail for all linux for
8288 "next to handler in signals_tests_1", "backtrace in
8289 signals_tests_1", "continue to func1", "pass SIGUSR1",
8290 and continue to handler".
8291
8292Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8293
8294 * Update all FSF addresses except those in COPYING* files.
8295
8296Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8297
8298 * gdb.base/a2-run.exp: Change messages to be more explicit about
8299 the status of args, and quote binfile in results.
8300
8301Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8302
8303 * gdb.base/callfuncs.exp: Add tests for passing structs to
8304 inferior functions and return various types.
8305 * gdb.base/callfuncs.c: Add functions to receive a struct
8306 and return a member of the struct, in various types.
8307
8308Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8309
8310 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8311
8312Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8313
8314 * config/vxworks29k.exp: New file, sources vxworks.exp.
8315
8316Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8317
8318 * config/gdbremote.exp: New file. Testing framework using
8319 gdbserver.
8320
8321Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8322
8323 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8324 "call function when asleep" and "send end of file".
8325 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8326 for "backtrace in corefile.exp".
8327 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8328 for "backtrace through signal handler".
8329 * gdb.base/corefile.exp: Make sure we actually generate a core file
8330 before trying the core tests. Some systems allow the user to suppress
8331 generation of core files and default to that (linux for example).
8332 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8333 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8334
8335Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8336
8337 * gdb.threads: New directory with some crude multi-threaded
8338 gdb tests (step.exp and step2.exp).
8339 * config/mt-lynx (STEP_EXECUTABLE): Define.
8340 (THREADFLAGS): Define.
8341
8342Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8343
8344 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8345
8346 * gdb.base/signals.exp: Disable whole file for lynx until
8347 further notice.
8348
8349 * gdb.base/signals.exp: xfail test where "next" acts like
8350 "continue" for lynx.
8351
8352 * gdb.base/interrupt.exp: xfail test for calling function while
8353 inferior is asleep for lynx.
8354
8355 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8356 than one cr-lf after each command.
8357
8358Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8359
8360 * configure.in: Reinstate setting of stabsdirs variable, fix
8361 typo in setting up configdirs for native builds.
8362
8363 * gdb.base/return.exp: Fix typo in return double test.
8364 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8365 compiler from optimizing them away.
8366
8367Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8368
8369 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8370 sequences to be echo'd by gdb when using gdb_test.
8371 * gdb.chill/chexp.exp: Likewise.
8372 * gdb.fortran/exprs.exp: Likewise
8373
8374Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8375
8376 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8377 after the inferior gdb has started.
8378
8379 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8380 after each command.
8381 * gdb.base/funcargs.exp: Likewise.
8382 * gdb.base/gdbvars.exp: Likewise.
8383 * gdb.base/interrupt.exp: Likewise.
8384 * gdb.base/list.exp: Likewise.
8385 * gdb.base/watchpoint.exp: Likewise.
8386 * gdb.c++/demangle.exp: Likewise.
8387 * gdb.c++/inherit.exp: Likewise.
8388 * gdb.chill/chexp.exp: Likewise.
8389 * gdb.fortran/exprs.exp: Likewise.
8390
8391 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8392 test if we can't handle IO to/from the inferior.
8393
8394 * gdb.c++/misc.exp: Always check for a program already being
8395 started after sending a "run" command to gdb.
8396
8397 * gdb.base/twice.exp: Start with a fresh gdb.
8398
8399 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8400 only depend on gdb's expression code, not the chill runtime.
8401
8402 * gdb.base/return.c: Put return values into variables so we
8403 can have gdb print them rather than depending on the program
8404 to print them.
8405 * gdb.base/return.exp: Corresponding changes.
8406
8407 * lib/gdb.exp: Provide default value for noinferiorio.
8408 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8409 the inferior.
8410
8411 * gdb.base/break.exp: Always check for a program already being
8412 started after sending a "run" command to gdb.
8413 (text_next_with_recursion): Don't check the output from the
8414 program's printf statement. Instead just make sure the program
8415 exited.
8416
8417 * gdb.base/commands.exp: Protect tests which need arguments with
8418 $noargs conditionals.
8419
8420Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8421
8422 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8423 of structure member arrays to match gdb/valops.c:value_addr change.
8424
8425Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8426
8427 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8428 cases.
8429
8430Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8431
8432 * configure.in (configdirs): Remove gdb.chill from default list
8433 of subdirs and then add it back in only if doing a native build.
8434 The current chill compiler does not yet work in any cross build.
8435 * Revert all signal changes from Jul 6.
8436 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8437 for sh-hms targets, allowing these tests to link, with no other
8438 changes. Testing is suppressed by setting "nosignals" in site.exp.
8439
8440Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8441
8442 * configure.in (signaldirs): Define and add to configdirs for all
8443 targets except some specific ones that are known to not support signals.
8444 Also clean up formatting.
8445 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8446 (signals, sigall): Remove rules to build.
8447 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8448 Moved to new gdb.signals directory.
8449 * gdb.signals: New test directory.
8450 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8451 signals.c signals.exp}: New or moved files.
8452
8453Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8454
8455 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8456
8457Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8458
8459 * gdb.base/return.exp: Xfail `return double' test failure
8460 on at least Solaris 2.3 and handle future/past versions on
8461 a case by case basis as appropriate. Also update message
8462 to include i*86 failures.
8463
8464Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8465
8466 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8467
8468 * lib/gdb.exp: Fix comment which erroneously identified
8469 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8470 gdb_file_cmd not gdb_load).
8471 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8472
8473 * gdb.base/setvar.exp: Make test names consistent between pass and
8474 fail cases. Use gdb_test more.
8475
8476Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8477
8478 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8479
8480Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8481
8482 * gdb.base/help.exp: Fix expected help string for `show commands'.
8483
8484Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8485
8486 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8487
8488 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8489 of a text section.
8490
8491Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8492
8493 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8494 that loop eventually terminates. Fix Connection refused logic so
8495 that testsuite will expire nicely.
8496
8497Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8498
8499 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8500 config/rom68k.exp: New tcl glue for the appropriate monitors.
8501 These all just end up calling monitor.exp.
8502 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8503 refused' by retrying. Cleanup some timeout issues.
8504 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8505 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8506 callers don't have to set/restore global timeout variable.
8507
8508 * The following set of changes centralizes management of the global
8509 timeout variable. This way, it can be set in one target dependent
8510 place instead of dozens of places scattered throughout the test suite.
8511 If you need to lengthen a timeout, then you should either set timeout
8512 in one of the config/{target}.exp files, or multiply it by a factor.
8513 Setting it to an absolute value is always going to lose for some
8514 targets.
8515 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8516 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8517 * gdb.base/funcargs.exp: Don't set timeout.
8518 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8519 * gdb.base/printcmds.exp (test_print_string_constants
8520 test_print_array_constants): Don't set timeout.
8521 * gdb.base/ptype.exp: Don't set timeout.
8522 * gdb.base/recurse.exp: Don't set timeout.
8523 * gdb.base/return.exp: Don't set timeout.
8524 * gdb.base/watchpoint.exp: Don't set timeout.
8525 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8526 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8527
8528Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8529
8530 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8531
8532Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8533
8534 * lib/gdb.exp: Disable chill tests for irix5.
8535
8536Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8537
8538 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8539 each test pass or fail.
8540
8541Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8542
8543 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8544 xlc not gcc.
8545
8546Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8547
8548 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8549
8550Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8551
8552 * config/est.exp: Fix copyright and comments. Remove dead code.
8553 Use targetname, serialport and baud variables instead of fixed
8554 constants.
8555 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8556 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8557
8558Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8559
8560 * gdb.base/watchpoint.exp: Don't run
8561 test_watchpoint_triggered_in_syscall for sunos.
8562
8563Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8564
8565 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8566 they don't seem to exist. Do include stdio.h.
8567
8568Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8569
8570 * gdb.base/a1-selftest.exp: Add alpha xfail.
8571
8572Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8573
8574 * gdb.base/watchpoint.c (main): Prompt before calling read().
8575 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8576 Revise accordingly. Remove cruft about sending "123" several
8577 times, until it gets noticed. Clean up the "print buf[0]" stuff
8578 so that it passes or fails, and waits for prompts in the usual way.
8579
8580Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8581
8582 * gdb.base/recurse.exp: Fix comment.
8583
8584 * TODO: Remove item about printing variables in nodebug.exp. Add
8585 item about enabling tests which are only run on some targets.
8586
8587 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8588 fail, make test names unique, use new gdb_test convention
8589 regarding pattern, use gdb_test more, etc.).
8590
8591 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8592 fail, make test names unique, etc.).
8593
8594Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8595
8596 * gdb.base/nodebug.c: Change return type of top and middle to
8597 short.
8598 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8599 are fixed by the recent mdebugread.c changes. Allow `short ()'
8600 as type for top and middle.
8601
8602Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8603
8604 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8605 nearly as I can tell, the whole thing was an accident in Stu's
8606 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8607 to replace a send/expect pair with gdb_test, but ended up only
8608 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8609 of 30 Mar 1995 took care of it, but left this vestigial comment
8610 which I am now nuking.
8611
8612Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8613
8614 * gdb.base/break.exp: Look for different line number for
8615 breakpoint at main depending on usestubs.
8616
8617Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8618
8619 * gdb.base/list.exp: Adjust some alternate expect patterns to
8620 match recent list0.c change. Add alternate expect pattern for
8621 output from `list default lines around main' for optimizing
8622 compilers.
8623
8624Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8625
8626 * lib/gdb.exp: If nosignals is not set, set it to 0.
8627
8628Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8629
8630 * config/slite-gdb.exp: Responds to load symbol table prompt.
8631 * gdb.base/break.exp: Adjust line number, fix rerun.
8632 * gdb.base/langs0.c: Add #ifdef usestubs.
8633
8634Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8635
8636 * gdb.base/list.exp: Adjust line contents after adding new lines in
8637 list0.c. Also fix a syntax error.
8638
8639 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8640 * gdb.base/break.exp: ditto.
8641 * gdb.base/list.exp: ditto.
8642 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8643 * gdb.base/run.c: ditto.
8644 * gdb.base/list0.c: ditto.
8645 * gdb.base/funcargs.c: ditto.
8646
8647Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8648
8649 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8650 $targetname, $serialport and $baud instead of hardwired variables.
8651 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8652 target doesn't support signals.
8653
8654Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8655
8656 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8657
8658Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8659
8660 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8661 Don't rely on the value of an auto variable before it has been
8662 initialized. Use gdb_test more.
8663
8664Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8665
8666 * lib/gdb.exp (default_gdb_version): A version number must start
8667 with a digit, but other than that contains all characters up to
8668 the first whitespace character.
8669
8670Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8671
8672 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8673
8674Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8675
8676 * gdb.c++/*.exp: Warn if executable does not exist. The original
8677 reason for skipping the warning was that configure.in sometimes
8678 intentionally skipped building the executables but the tcl code
8679 had no way of knowing. That (a) was always bogus with respect to
8680 error handling, (b) is no longer true (right now there is no way
8681 to skip C++ tests).
8682
8683 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8684
8685Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8686
8687 * gdb.base/list.exp: Add expect patterns for output from
8688 SunPRO compiled executables.
8689 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8690 types.
8691
8692Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8693
8694 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8695 number (we are already testing that the correct source line text
8696 gets printed).
8697
8698 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8699 that is what is intended, but something needed to be done to get
8700 sunos4 native working again.
8701
8702 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8703
8704 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8705 apparently went with a (very) old xfail.
8706
8707Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8708
8709 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8710 runto_main is a proc in gdb.exp that will do 'step' for target use
8711 stubs.
8712 * gdb.base/exprs.exp: ditto.
8713 * gdb.base/interrupt.exp: ditto.
8714 * gdb.base/opaque.exp: ditto.
8715 * gdb.base/printcmds.exp: ditto.
8716 * gdb.base/ptype.exp: ditto.
8717 * gdb.base/scope.exp: ditto.
8718 * gdb.base/setvar.exp: ditto.
8719 * gdb.base/signals.exp: ditto.
8720 * gdb.base/twice.exp: ditto.
8721 * gdb.c++/classes.exp: ditto.
8722 * gdb.c++/inherit.exp: ditto.
8723 * gdb.c++/templates.exp: ditto.
8724 * gdb.base/break.exp: no run and hit main for stubs. Change line
8725 numbers for breakpoints and info breakpoint.
8726 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8727 breakpoint().
8728 * gdb.base/callfuncs.c: ditto.
8729 * gdb.base/exprs: ditto.
8730 * gdb.base/interrupt.c: ditto.
8731 * gdb.base/opaque0.c: ditto.
8732 * gdb.base/printcmds.c: ditto.
8733 * gdb.base/ptype.c: ditto.
8734 * gdb.base/scope0.c: ditto.
8735 * gdb.base/setvar.c: ditto.
8736 * gdb.base/signals.c: ditto.
8737 * gdb.base/twice.c: ditto.
8738 * gdb.c++/misc.cc: ditto.
8739 * gdb.c++/templates.cc: ditto.
8740
8741Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8742
8743 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8744
8745 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8746 somewhere between `read' and `main.c'. I'm pretty sure the
8747 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8748 and it isn't particularly useful.
8749
8750 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8751
8752Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8753
8754 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8755
8756Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8757
8758 * config/mt-slite: add LIBS and -nostdlib.
8759 * config/slite-gdb.exp: add this new file to support sparclite target.
8760
8761Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8762
8763 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8764
8765 * gdb.base/a2-run.exp: Change argument to istarget from
8766 "*-*-vxworks" to "*-*-vxworks*".
8767 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8768
8769Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8770
8771 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8772 will not runto main but do a 'step' to step out of breakpoint().
8773 * config/mt-slite: add -Dusestubs.
8774
8775Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8776
8777 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8778 instead of just @.
8779
8780 * gdb.base/signals.exp: Add test for "handle all print".
8781 * TODO: Remove "handle all print". Also remove item about
8782 checking copyright date (I don't like the idea of a spurious FAIL
8783 based on when we run the tests).
8784
8785 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8786 for SunOS4 (reason for failure not investigated). Remove
8787 redundant test for $binfile.
8788
8789 * gdb.base/nodebug.c (array_index): Call malloc.
8790
8791 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8792
8793Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8794
8795 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8796 conventions and slightly simplify the matching regexp.
8797
8798Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8799
8800 * gdb.base/break.exp: Update gdb_test invocation to use new
8801 convention.
8802
8803 * lib/gdb.exp: If noargs is not set, set it to 0.
8804
8805 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8806 tests unique.
8807
8808 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8809
8810Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8811
8812 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8813 one argument of type "<non-float parameter>".
8814
8815Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8816
8817 * config/rom68k.exp: New file to support Motorola IDP board.
8818 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8819 * gdb.base/break.c: Change things around so that this program
8820 doesn't depend upon args. This is necessary to make remote
8821 targets work (in general, they can't take args).
8822 * gdb.base/break.exp: Don't try to send args to program. Don't
8823 expect output. Also, replace lots of code with gdb_test.
8824
8825Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8826
8827 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8828 printing of '\'' (which is what the comment says we are testing,
8829 even though we were not), not '''.
8830 (test_integer_literals_rejected): Test that printing ''' is an error.
8831
8832 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8833 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8834 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8835 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8836 Use gdb_test not test_print_accept.
8837 * lib/gdb.exp: Remove test_print_accept.
8838
8839 * gdb.base/signals.exp (signal_tests_1): Make pass message
8840 consistent with fail message.
8841
8842 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8843 unsigned char; the bug (PR 1821) is fixed.
8844
8845 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8846
8847 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8848 successful tests--makes xfailing them work right.
8849
8850Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8851
8852 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8853 only \r\n, not .*. The test can pass .* as the last thing in
8854 $pattern if that is what it wants. In addition to providing this
8855 flexibility, this change should speed up pattern matching in cases
8856 where the pattern already ended with .* (there were a number of
8857 them). This change also helps catch bad patterns--in the old
8858 scheme the typo "char \*" instead of "char \\*" would pass. Now
8859 it is caught.
8860 * Many .exp files: Update callers.
8861
8862 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8863 clearer and does not spuriously match multiple ('s. Likewise for
8864 ) and *.
8865
8866 * gdb.base/nodebug.exp: Test ability to call a function and pass
8867 it a string (even with no debugging info).
8868
8869 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8870 "p '\'", which is the same as "p ''" once tcl gets done with
8871 quoting, to "p '\\'", which I suspect is what is intended (one
8872 backslash gets sent to GDB).
8873
8874 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8875
8876Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8877
8878 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8879 1817) was fixed literally years ago.
8880
8881Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8882
8883 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8884 test, it causes stepping out of call_after_alloca_subr with
8885 optimizing compilers.
8886 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8887 fails.
8888
8889 * gdb.c++/templates.exp: Source templ-info.exp only if
8890 the templates executable exists.
8891
8892 * gdb.c++/misc.cc (class Contains_static_instance,
8893 class Contains_nested_static_instance),
8894 gdb.c++/classes.exp (test_static_members): Test printing of
8895 a class that contains a static instance of the class.
8896
8897Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8898
8899 * gdb.base/langs2.c (cppsub_): Don't prototype.
8900 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8901 only, I believe).
8902
8903Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8904
8905 * lib/gdb.exp (skip_chill_tests): New procedure.
8906
8907 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8908
8909Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8910
8911 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8912 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8913
8914Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8915
8916 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8917
8918 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8919 disassemble 8, not 16, instructions for part 4.
8920
8921 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8922 support the latter anymore.
8923
8924 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8925 -DNO_PROTOTYPES.
8926 * gdb.base/callfuncs.c: Control use of prototypes based on
8927 NO_PROTOTYPES, not __STDC__.
8928 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8929 t_float_values2 tests if prototypes in use.
8930
8931 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8932 t_double_values): When checking differences against DELTA, check
8933 that difference is within the range (-DELTA,DELTA), not just
8934 (-infinity,DELTA).
8935
8936Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8937
8938 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8939 'file' command firts, then 'target', then 'load', this is due to gdb
8940 target set up.
8941 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8942
8943Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8944
8945 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8946 FP load/store variants.
8947 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8948
8949Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8950
8951 * gdb.base/term.exp: Do not give a warning if not native, it is
8952 not an abnormal condition.
8953
8954Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8955
8956 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8957 t_char_array".
8958
8959Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8960
8961 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8962 are getting the version number.
8963
8964 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8965 if not native, it is not an abnormal condition.
8966
8967Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8968
8969 * lib/gdb.exp: Just use "file exists", rather than undocumented
8970 dejagnu procedure "findfile".
8971
8972Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8973
8974 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8975 (LDFLAGS): Set to -Xlinker -Ur.
8976
8977 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8978 Removed, these values are set by lib/gdb.exp.
8979
8980 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8981
8982Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8983
8984 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8985 of replicating gdb startup code.
8986
8987 * config/mt-vxworks (LDFLAGS): Set to -r.
8988 (CFLAGS_FOR_TARGET): Removed.
8989
8990 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8991 (gdb) and gdb for vxworks uses (vxgdb).
8992
8993 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8994 executable is not in the tree and host != target, use sed and
8995 program_transform_name to determine the gdb name used by the
8996 target.
8997
8998 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8999 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9000
9001Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9002
9003 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9004 floats, chars, and shorts where there are ANSI-style function
9005 definitions.
9006
9007 * gdb.base/langs.exp, gdb.base/langs*: New test.
9008 * gdb.base/Makefile.in: Build it.
9009 * TODO: Remove item about checking that C names don't get C++
9010 demangling applied; this test tests it.
9011
9012Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9013
9014 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9015 went with the const70 xfail. The xfail went away a year ago.
9016
9017 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9018
9019 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9020 for hp300.
9021
9022 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9023
9024 * gdb.base/a1-selftest.exp: Don't run on hp300.
9025
9026Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9027
9028 * Makefile.in (site.exp): Set host_alias and target_alias as well
9029 as host_triplet and target_triplet.
9030
9031Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9032
9033 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9034
9035 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9036 places as other ecoff systems).
9037
9038 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9039 ultrix.
9040
9041Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9042
9043 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9044 remove them.
9045 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9046 variable and "variable" in addition to "data variable".
9047 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9048
9049 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9050 2.
9051 * gdb.base/list1.c (long_line): Add additional statement at start
9052 of function.
9053 * gdb.base/list.exp (test_forward_search): Update line number to
9054 reflect new statement.
9055
9056Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9057
9058 * gdb.base/signals.exp: Reinitialize searched source directories
9059 after gdb_start call.
9060
9061Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9062
9063 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9064 * gdb.stabs/Makefile.in: Likewise.
9065
9066 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9067 change. Instead split the tests into smaller pieces.
9068 * gdb.disasm/hppa.s: Corresponding changes.
9069
9070Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9071
9072 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9073 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9074
9075 * gdb.base/funcargs.exp: Modify many tests so that every test
9076 either passes or fails. Make some test names unique.
9077
9078Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9079
9080 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9081 Call stty to set interrupt character.
9082
9083 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9084 for HP assembler versus GNU assembler based on actual behavior of
9085 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9086
9087 * TODO: Suggest a few more stepping tests.
9088
9089Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9090
9091 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9092 restart GDB for h8300 after a continue.
9093 (return): Add pattern to match a29k-udi behavior.
9094 * gdb.base/nodebug.exp: Remove obsolete comment.
9095 * gdb.base/regs.exp: New file, testing of register displays.
9096 * gdb.base/return.exp: Fix typo in reference to $objdir.
9097 * gdb.base/whatis.exp: Always start with a fresh GDB.
9098
9099Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9100
9101 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9102 higher, these tests generate a lot of output.
9103
9104Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9105
9106 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9107 code following the catch silently ignored some errors; without the
9108 catch they should be thrown like any other tcl error. Also, the
9109 catch used "" instead of {} which meant all the callers who wanted
9110 to include one of the characters "[]$ had to quote it an extra time.
9111 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9112 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9113 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9114 Remove extra quoting.
9115
9116Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9117
9118 * gdb.base/commands.exp: Make test names unique; every test either
9119 passes or fails. Update some comments.
9120
9121 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9122
9123Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9124
9125 The following fixes a FAIL caused by the fact that the alpha stabs
9126 configuration didn't use the ".if alpha" code in weird.def.
9127 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9128 bit pointer, so the 32 bit version works even on the alpha.
9129 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9130 Remove the stuff which allowed us to have separate versions for
9131 alpha and everything else.
9132
9133 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9134 regexp which "info func operator\[\](" is supposed to match. Fix
9135 string to send to GDB. Note that GDB still doesn't work right. Add a
9136 new test for "info func .perator\[\](" which GDB does handle correctly.
9137
9138 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9139
9140Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9141
9142 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9143 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9144 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9145 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9146 it makes the tests harder to understand and confuses test-o-matic.
9147 The preferred style is that each test provides a PASS or a FAIL,
9148 and has a unique message (e.g. "continue #54" not just "continue")
9149 which is the same for the pass and the fail.
9150 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9151 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9152 to lib/gdb.exp.
9153 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9154 prt_accept which was basically the same thing. Likewise for
9155 test_print_reject and prt_reject.
9156 * lib/gdb.exp (test_print_reject): Add some more error message
9157 patterns to match from the former printcmds.exp (prt_reject).
9158 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9159 One defect of the passcount stuff is that some of it failed to
9160 report XPASS where appropriate.
9161 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9162 stuff before and after arg in expected pattern.
9163 (test_paddr_operator_functions): Re-do test without print_addr_of;
9164 this is the only test which seems to want extra stuff there.
9165
9166Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9167
9168 * gdb.base/nodebug.exp: Update new tests to reflect improved
9169 wording of gdb output.
9170
9171 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9172 and "ptype" work on variables in files compiled without -g.
9173 Replaces commented out "maint print msymbol" tests.
9174
9175Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9176
9177 * gdb.base/setvar.c (dummy): Call malloc.
9178
9179 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9180 losing with the irix4 sed.
9181
9182 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9183 ALRM" on irix4.
9184
9185Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9186
9187 * TODO: Remove items about corefile.exp testing new exec-file and
9188 backtrace; both are now done. Add items about printing enums.
9189
9190Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9191
9192 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9193 "get signal $thissig" test fails.
9194
9195 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9196
9197Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9198
9199 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9200 compiler warning with dec alpha compiler.
9201
9202 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9203 extra \n from gdb_test call (this explains why the prompt test
9204 that I removed yesterday was there).
9205 (user_defined_command_test): Remove extra \n and prompt test.
9206
9207 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9208 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9209 doesn't exist.
9210 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9211 Also remove alpha workaround, which turns out to be because
9212 SIGABRT == SIGLOST.
9213
9214 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9215
9216 * gdb.base/help.exp: Don't test "help show".
9217
9218Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9219
9220 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9221 "set print address" is on.
9222 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9223 pass prompt to gdb_test; gdb_test already looks for the prompt.
9224
9225 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9226
9227 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9228 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9229 was to make sure that gdb can read a core file. But (a) the "read
9230 the corefile" part didn't make it to a1-selftest.exp, we just
9231 delete the corefile after creating it, and (b) we test reading
9232 corefiles in corefile.exp anyway. Also, this test left around a
9233 xgdb process on Solaris.
9234
9235 * gdb.base/corefile.exp: Also test backtrace.
9236
9237Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9238
9239 * gdb.base/commands.exp: Test a simple user defined command with
9240 arguments and if/while statements; verify the full user command is
9241 printed by "show user".
9242
9243 * gdb.base/commands.exp: Test if/while commands as part of a
9244 breakpoint command list; verify they appear in breakpoint
9245 information.
9246
9247Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9248
9249 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9250 than by dividing by zero.
9251
9252Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9253
9254 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9255 performing an inferior call with watchpoints enabled.
9256 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9257 call.
9258
9259Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9260
9261 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9262 of "file" command.
9263
9264 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9265 Add additional pattern for when "int operator int(void);" appears
9266 in a different order.
9267
9268Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9269
9270 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9271
9272 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9273 and "signal" with ".*".
9274
9275Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9276
9277 * TODO: Add note about "handle all nostop".
9278
9279 * gdb.base/{sigall.c, sigall.exp}: New test.
9280 * gdb.base/Makefile.in: Add it.
9281
9282Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9283
9284 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9285 when invoking GDB, suppresses any windowing interface.
9286
9287Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9288
9289 * config/sim-gdb: New file, simulator testing support.
9290
9291Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9292
9293 * gdb.base/interrupt.exp: Test calling func1 twice.
9294
9295Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9296
9297 * gdb.base/list.exp (test_forward_search): Set timeout higher
9298 when we'll be getting lots of output from gdb.
9299
9300 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9301 "init_malloc" to after the expect statement. Run it if that
9302 regexp is taken, but also for two others which happen if source
9303 cannot be found.
9304
9305Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9306
9307 * gdb.base/printcmds.exp: New test, for printing register before
9308 program is running.
9309
9310Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9311
9312 * gdb.base/list.exp: Correct some alternate expect patterns
9313 to reflect changes in list1.c.
9314
9315Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9316
9317 * TODO: Add item regarding large frames.
9318
9319 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9320
9321 * TODO: Remove item about enabling return.exp; it
9322 is enabled. Suggest a few more "return" tests.
9323
9324Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9325
9326 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9327 anonymous unions.
9328
9329Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9330
9331 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9332 and pr-5646.o, so "make" is the same as "make all", not "make
9333 pr-4975.o".
9334
9335Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9336
9337 * gdb.base/list.exp: Adjust expectations to reflect changes in
9338 list1.c.
9339 (test_forward_search): New test proc.
9340 * gdb.base/list1.c (long_line): New function, has long source line.
9341
9342Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9343
9344 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9345 additional line of code that was added.
9346
9347Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9348
9349 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9350 tests so as not to overflow expect's input buffers.
9351 * gdb.disasm/hppa.exp: Corresponding changes.
9352
9353Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9354
9355 Beginnings of template debugging tests.
9356 * gdb.c++/templ-info.cc: New file to test for template
9357 debugging capability of the compiler.
9358 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9359 templ-info.cc.
9360 * gdb.c++/templates.cc: Add explicit template instantiations
9361 to enable compiling with -fno-implicit-templates. Add destructor
9362 and 'value' method to T5 class for template tests.
9363 * gdb.c++/templates.exp: Add testcases for printing of template
9364 types, setting breakpoints on template methods and calling a
beb998c6 9365 template method.
c906108c
SS
9366
9367Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9368
9369 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9370 branch target since some assemblers (gas-2.5) may emit a
9371 relocation for the branch instead of resolving it in the
9372 assembler.
9373
9374Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9375
9376 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9377 through signal handler.
9378
9379Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9380
9381 * configure.in (*-*-netware): Use config/mt-netware.
9382
9383 * config/mt-netware: New file.
9384 * config/mt-i386-netware: Removed, separate configs for different
9385 netware architectures are no longer needed now that we have
9386 --with-headers.
9387
9388Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9389
9390 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9391 by the recent changes to use ANSI C arithmetic conversions.
9392
9393Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9394
9395 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9396 bug involving using inferior_pid to figure out whether to select a
9397 frame.
9398
9399Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9400
9401 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9402 match the current disassembler output.
9403
9404Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9405
9406 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9407 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9408 types, expect "int" as type of integer values (for now).
9409
9410Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9411
9412 * gdb.base/commands.exp: New tests for if/while commands.
9413
9414Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9415
9416 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9417 by .*, since hex values have different syntax in Chill mode.
9418
9419Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9420
9421 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9422 linefeed from expect pattern for repeated types with indices > 9.
9423
9424Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9425
9426 First part of Fortran test suite.
9427 * gdb.fortran: New directory.
9428 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9429
9430Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9431
9432 * gdb.base/default.exp: Update expect pattern for load command
9433 without arguments.
9434
9435Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9436
9437 * configure.in: Change i386 to i[345]86.
9438 * gdb.base/configure.in: Likewise.
9439 * gdb.c++/configure.in: Likewise.
9440 * gdb.chill/configure.in: Likewise.
9441
9442Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9443
9444 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9445 patterns, since that is not a valid context for comments.
9446
9447Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9448
9449 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9450 repeated types and repeated types with indices > 9.
9451
9452Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9453
9454 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9455 2417; old bug has been fixed.
9456
9457Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9458
9459 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9460 send the newline ourselves instead of assuming gdb_test will do
9461 so when passed an empty input string.
9462
9463 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9464 stabs testcode.
9465
9466Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9467
9468 * lib/gdb.exp (gdb_test): Don't send anything if the first
9469 argument is an empty string. This makes cases where we want to
9470 match output that is already in expect's buffers (for example,
9471 matching a breakpoint after gdb_run_cmd has been called) work
9472 reliably.
9473
9474Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9475
9476 * config/netware.exp: New file.
9477
9478Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9479
9480 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9481 the -B and -L prefixes so we can find the debugging stub.
9482
9483 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9484 there and we are using the gcc from the tree.
9485
9486 * gdb.base/types.c: Removed.
9487
9488 * gdb.base/configure.in: Look for makefile fragments in ../config.
9489 Recognize i386-*-netware.
9490 * gdb.c++/configure.in: Likewise.
9491
9492Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9493
9494 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9495 the correct TCL syntax.
9496
9497Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9498
9499 * gdb.base/opaque.exp: use runto instead of messing around with
9500 breakpoints. Simplify by using gdb_test.
9501
9502 * gdb.base/bitfields.exp: restart between tests on netware targets
9503 because breakpoints aren't relocated after target death. Run
9504 processes to completion.
9505
9506 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9507
9508Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9509
9510 * Makefile.in: Remove extra tabs that confuse some versions
9511 of "make". Use the newly built gdb to test with by default,
9512 rather than the first one in the tester's search path.
9513
9514Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9515
9516 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9517
9518 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9519 condition help.
9520
9521Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9522
9523 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9524
9525 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9526 running.
9527 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9528 * gdb.base/funcargs.exp: Likewise.
9529
9530 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9531 * gdb.base/funcargs.exp: Likewise.
9532
9533 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9534 message is "".
9535
9536Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9537
9538 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9539 return,signals,twice}.exp: Handle non-existant binaries
9540 consistantly.
9541
9542 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9543 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9544 might testing a cross development system.
9545
9546Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9547
9548 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9549 runtest script is relative to ${srcdir}, not ${rootdir}.
9550
9551Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9552
9553 * gdb.base/signals.exp: Allow for optionality of breakpoint
9554 address.
9555
9556Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9557
9558 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9559
9560Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9561
9562 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9563 for size_t definition.
9564 * gdb.c++/templates.cc: Likewise
9565
9566 * config/mt-i386-netware: New file.
9567
9568 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9569 defined.
9570
9571 * gdb.base/Makefile.in: Added support for systems that name core
9572 files by appending "core" to the program name.
9573 * gdb.base/a1-selftest.exp: Likewise.
9574
9575Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9576
9577 * gdb.base/return.exp: Add comment and message for `return double'
9578 test failure on Sparc Solaris.
9579
9580Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9581
9582 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9583
9584Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9585
9586 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9587 from optimizing them away.
9588 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9589 patterns to include default constructors and assignment operators,
9590 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9591 character in the output of the virtual base pointer.
9592
9593Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9594
9595 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9596 expression match in print_addr_of to avoid unintented matches.
9597 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9598 versions up to 2.5.8.
9599
9600Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9601
9602 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9603 included file to run under newer versions of expect.
9604 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9605 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9606 Remove xfail for the virtual table of BDDHookV.
9607
9608Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9609
9610 * lib/gdb.exp (string_to_regexp): Set a default result.
9611 (default_gdb_start): Fix misleading message.
9612
9613Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9614
9615 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9616 Remove all CC, etc definitions.
9617 * config/mt-hpux: New file.
9618 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9619 (CFLAGS, LDFLAGS): Define.
9620 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9621
9622 * Makefile.in (site.exp): Don't insert host_os, etc.
9623 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9624 (distclean): Check existence of subdir.
9625 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9626 * gdb.base/Makefile.in: General cleanup and simplification.
9627 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9628 to build executables. Use default rule to build .o files.
9629 (EXPECT, RUNTEST, CC): Fix relative pathname.
9630 (site.exp): Don't insert host_os, etc.
9631 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9632 and/or SIGUSR1 defined.
9633 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9634 * gdb.c++/Makefile.in: General cleanup and simplification.
9635 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9636 (CFLAGS): Remove.
9637 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9638
9639Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9640
9641 * gdb.base/recurse.exp: Misc changes to get tests running again
9642 after Kung's changes to the watchpoint code.
9643 * gdb.base/watchpoint.exp: Likewise.
9644
9645Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9646
9647 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9648
9649Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9650
9651 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9652 * lib/gdb.exp (default_gdb_start): Define.
9653 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9654 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9655 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9656 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9657 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9658 Don't call gdb_target_udi in between tests.
9659
9660Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9661
9662 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9663 (which was basically just a local version of the same thing). In
9664 addition to avoiding duplication, gdb_test_exact is faster.
9665 * lib/gdb.exp (gdb_test_exact): Fix typo.
9666
9667 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9668 don't give an error.
9669
9670 * gdb.base/term.exp: Call delete_breakpoints before starting.
9671
9672 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9673 (t10): Add comment.
9674
9675Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9676
9677 Reorganization of the GDB Test Suite.
9678
9679 * gdb.base: New directory, contains all the basic tests.
9680 * gdb.c++: New directory, tests specific to C++.
9681 * gdb.chill: New directory, tests specific to Chill.
9682 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9683 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9684 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9685 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9686 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9687 t30-31 to chill).
9688 * */gdbme.*: Rename to match appropriate expect scripts.
9689 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9690 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9691 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9692 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9693 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9694 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9695 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9696 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9697 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9698 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9699 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9700 gdb.c++/virtfunc.cc: New names of C++ files.
9701 * gdb.chill/chillvars.ch: New name of Chill file.
9702 * gdb.base/configure.in, gdb.c++/configure.in,
9703 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9704 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9705 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9706 * configure.in (configdirs): Update to reflect directory changes.
9707 (target_abbrev): No longer define for any configuration.
9708 * Makefile.in: Cosmetic improvements to header comments.
9709
9710Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9711
9712 Various changes to gdb.t31:
9713
9714 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9715 * gdbme.ch: Make all key-words and predefineds be upper-case.
9716 * chillvars.exp: Expect key-words and predefinds in upper-case.
9717
9718 * chillvars.exp: Use gdb_test_exact many places.
9719 Change expected output for arrays (which now includes index labels).
9720
9721 * pr-5020.exp, gdme.ch (module PR_5020):
9722 New test, for PR-5020.
9723
9724Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9725
9726 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9727 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9728
9729Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9730
9731 * Makefile.in: Fix bit-rot in definitions of CHILL,
9732 CHILL_FOR_TARGET and Chill_LIB.
9733 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9734 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9735 CHILL, and CHILL_LIB.
9736
9737Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9738
9739 * Revert the previous changes. Please see Rob's directory
9740 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9741
9742Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9743
9744 * Makefile.in, configure.in, config/mips-gdb.exp,
9745 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9746 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9747 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9748 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9749 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9750 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9751 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9752 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9753 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9754 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9755 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9756 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9757 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9758 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9759 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9760 changes from 94Q1.
9761
9762Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9763
9764 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9765 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9766 Rob's new testing fragments.
9767
9768Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9769
9770 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9771 lib/gdb.exp: Replace error proc calls with perror.
9772
9773Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9774
9775 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9776 version also, match on casted version strings, and match on
9777 gdb startup case where the line numbers might be messed up.
9778
9779Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9780
9781 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9782 (CFLAGS): Delete it from here.
9783
9784Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9785
9786 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9787
9788Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9789
9790 * Makefile.in (RUNTEST): Default to just "runtest".
9791
9792Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9793
9794 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9795 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9796 the code has been restructured.
9797
9798Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9799
9800 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9801 \n, not just one of each.
9802
9803 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9804 /bin/cc gives a warning if you do.
9805
9806Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9807
beb998c6 9808 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9809 __t10ListS_link1ZUiRCUiPT0
9810
9811Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9812
9813 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9814 on local variables in recursive functions.
9815
9816 * gdb.t07/Makefile.in: Build the new test.
9817
9818Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9819
9820 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9821 directly. Instead compare the return values from actual calls.
9822
9823Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9824
9825 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9826
9827Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9828
9829 * From Peter Schauer with minor modifications.
9830 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9831 stops in mid-line in the caller. Add xfail for returning a float
9832 value on X86 targets.
9833
9834Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9835
9836 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9837 to avoid expect lossage.
9838 (fmem_LRbug_tests): Likewise.
9839 * gdb.disasm/hppa.s: Corresponding changes.
9840
9841 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9842 conditions to work with latest dejagnu/expect.
9843
9844 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9845 expected to fail on the PA.
9846 (backtrace in call with trampolines): Explicitly require main
9847 to be frame #1 (no trampolines should show up in backtrace).
9848
9849 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9850 "continue -expect".
9851 * gdb.t06/break.exp: Likewise.
9852 * gdb.t07/watchpoint.exp: Likewise.
9853 * gdb.t13/bitfields.exp: Likewise.
9854 * gdb.t15/{funcargs,return}.exp: Likewise.
9855 * gdb.stabs/weird.exp: Likewise.
9856 * config/{mips,udi}-gdb.exp: Likewise.
9857
9858 * hppa.sed: Enclose comments within a sed command to avoid
9859 losing with the old OSF1 sed.
9860
9861Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9862
9863 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9864 sequent dynix.
9865 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9866 * gdb.t15/funcargs.exp: Conditionally step again to really
9867 finish from marker_call_with_trampolines. Handle the case where
9868 the first step from within call_with_trampolines already steps
9869 us back to main.
9870 * gdb.t15/gdbme.c: Add comment to closing brace of
9871 call_with_trampolines for funcargs.exp.
9872
9873Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9874
beb998c6 9875 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9876 Fix typo(s).
9877
9878Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9879
9880 * gdb.t07/gdbme.c: More code for watchpoint testing.
9881
9882 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9883 "Hardware watchpoint" throughout file.
9884 (test_watchpoint_triggered_in_syscall): New test.
9885 (test_complex_watchpoint): New test.
9886
9887Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9888
9889 * gdbme.c (call_with_trampolines): New function to try and step
9890 into. Tests trampoline problems on the PA.
9891
9892 * funcargs.exp (localvars_in_indirect_call): No longer expect
9893 stepping into indirect call to fail on PAs.
9894 (test_stepping_over_trampolines): New test.
9895
9896Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9897
9898 * TODO: Add suggestions for static member function tests, and
9899 completion tests.
9900
9901Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9902
9903 * TODO: Add suggestions for "p/a" tests.
9904
9905 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9906 (default_gdb_exit): Replace all the hair with sending "quit" to
9907 the process with a simple close.
9908
9909Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9910
9911 * TODO: Add suggestions for shared library tests.
9912
9913Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9914
9915 * TODO: Add suggestions for x/s tests.
9916
9917Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9918
9919 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9920 "enable once", and "enable breakpoints once" with ".*".
9921
9922Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9923
9924 * TODO: Add suggestions about structure passing tests.
9925
9926Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9927
9928 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9929 the primary1 test, use work around if __GNUC__ < 2.
9930 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9931 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9932 Test for bad output rather than waiting for timeout. Issue
9933 second continue only if first continue failed.
9934
9935Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9936
9937 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9938 operator[] test with gdb_test because the old code didn't seem to
9939 be getting the quoting right with the new dejagnu.
9940
9941Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9942
9943 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9944 one from the path.
9945 * Makefile.in: Use a fresh expect if there is one, use runtest
9946 from the src tree if there is one.
beb998c6 9947
c906108c
SS
9948Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9949
9950 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9951 next over recursive call. Revise the tests from that point on
9952 (which had been skipped) to match GDB's actual (correct) output.
9953
9954 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9955 with next over a breakpoint whose condition is false.
9956
9957 * gdb.t00/help.exp: Comment out "help set print" tests just like
9958 (and for same reason as) "help set" test.
9959
9960Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9961
9962 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9963 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9964
9965Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9966
9967 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9968 necessary gdb_target_udi.
9969
9970 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9971
9972 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9973 1838 and 2417; they are fixed.
9974
9975 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9976 gdb.t03/ptype.exp (ptype structure, ptype union):
9977 Remove xfails; the test is looser than when the xfails were added.
9978
9979 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9980 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9981
9982 * gdb.t01/run.exp: Only run shell test if isnative.
9983
9984 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9985 since "run" automatically loads if necessary. Call gdb_target_udi
9986 after the "file" since "file" kills any execution target.
9987
9988 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9989 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9990 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9991 argument for UDI.
9992
9993Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9994
9995 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9996
9997 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9998
9999Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10000
10001 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10002 properly quoting regexps. This makes the second argument to
10003 demangle a fixed string, which matches the callers, instead of a
10004 shell-style pattern which is what the previous implementation
10005 used. Update some of the callers.
10006
10007Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10008
10009 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10010 (comib_nullified_tests): Fix typo.
10011 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10012 strings. No longer expected to fail.
10013
10014 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10015 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10016 strings. No longer expected to fail.
10017
10018 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10019 string. No longer expected to fail.
10020
10021Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10022
10023 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10024 No longer expected to fail.
10025
10026 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10027 string. No longer expected to fail.
10028
10029Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10030
10031 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10032 only in the names (I probably got most of them). I was even
10033 generous with some which differed in underscores in names, and
10034 probably missed a few, and I *still* was able to remove almost a
10035 third of the file with almost no impact on testsuite coverage.
10036
10037Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10038
10039 * gdb.t00/default.exp: Match udi_attach error message as well as
10040 the one from child_attach.
10041
10042 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10043
10044 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10045
10046 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10047 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10048
10049 * Move test with enums and partial symbols back to
10050 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10051 Reverts the change of 26 May 93. Per today's change to
10052 stabs.texinfo, the behavior that weird.exp was expecting was
10053 unreasonable; what is important is that the compiler+gdb get
10054 things right, which happens with a recent gcc. Also fix the test
10055 to deal with native compilers which put out the stab gdb can't
10056 deal with.
10057
10058Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10059
10060 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10061 in the names. The main thing these accomplish is to slow things down.
10062 Many more such duplicates surely remain.
10063
10064 * gdb.t00/help.exp: Comment out "help support" test just like
10065 (and for same reason as) "help set" test.
10066
10067Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10068
10069 * gdb.t06/break.exp: Remove setup_xfails for
10070 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10071 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10072 about known bug in gcc to include up through 2.5.8.
10073 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10074 well as "_vb$".
10075 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10076 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10077 with latest gcc and gdb.
10078 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10079 well as "_vb$".
10080
10081Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10082
10083 * configure.in (hppa*-*-*): Also configure and build stabs-only
10084 tests.
10085
10086Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10087
10088 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10089 * gdb.t10/configure.in (hppa*-*-*): Use it.
10090
10091Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10092
10093 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10094
10095Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10096
10097 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10098 versions prior to 1.13.5.
10099
10100Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10101
10102 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10103 the prompt is at the start of a line.
10104
10105Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10106
10107 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10108 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10109 in the copr tests now.
10110 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10111 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10112 expected to fail.
10113
10114Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10115
10116 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10117 gdb.t31/chillvars.exp, lib/gdb.exp:
10118 Tweak to run under either version of expect.
10119 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10120 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10121 * gdb.t11/list.exp: Remove extraneous whitespace.
10122
10123Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10124
10125 * gdb.t16/printcmds.exp (test_print_strings): Accept
10126 "(unsigned char *) " before the string.
10127
10128 * TODO: Add notes about printing of fancy types and GDB expressions.
10129
10130Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10131
10132 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10133 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10134 if doing mips-idt-ecoff.
c906108c
SS
10135
10136Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10137
10138 * Most .exp files: Tweak to run under either version of expect.
10139
10140Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10141
10142 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10143 xfails; I'm not sure why they are failing, but not because of PR 1806.
10144
10145Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10146
10147 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10148 defined in lib/gdb.exp.
10149
10150Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10151
10152 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10153 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10154 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10155 have to be typeless.
10156
10157Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10158
10159 * TODO: Add suggestion for copyright year test.
10160
10161Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10162
10163 * configure.in (*-*-lynxos*): Add stabs tests.
10164
10165Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10166
10167 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10168 so insert a tab before any assembler directive in column zero.
10169
10170 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10171 stores.
10172 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10173 stores.
10174 (fpu_short_memory_tests): Likewise.
10175
10176Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10177
10178 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10179 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10180 .stabs directives in comments.
10181
10182Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10183
10184 * TODO: New file, describing tests we could write.
10185 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10186
10187Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10188
10189 * gdb.t06/signals.exp: Add kludge to force re-sync.
10190
10191 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10192 to xgdb instead of gdb, get out of gdb.
10193
10194Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10195
10196 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10197 for info.
10198
10199Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10200
10201 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10202 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10203 * gdb.stabs/hppa.sed: New sed script for the PA.
10204
10205Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10206
10207 * gdb.stabs: Re-write weird.def and configuration to use sed
10208 instead of cpp. sed is portable and POSIX; cpp is neither.
10209
10210Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10211
10212 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10213
10214Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10215
10216 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10217
10218Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10219
10220 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10221 "_vb$".
10222 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10223 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10224
10225Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10226
10227 * lib/gdb.exp: Comment out code which depends on non-existent
10228 `transform' procedure.
10229
10230Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10231
10232 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10233 * lib/gdb.exp: Transform tool name.
10234 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10235 1.1's new error handling system.
10236
10237Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10238
10239 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10240
10241Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10242
10243 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10244 They made pattern matching so slow that timeouts happened on
10245 heavily loaded systems. Now any output from "show print" which
10246 gets us back to the GDB prompt is a PASS.
10247
10248Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10249
10250 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10251
10252Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10253
10254 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10255
10256 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10257 It is not from PR 3220.
10258
10259Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10260
10261 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10262 just started failing because they depended on the order the
10263 subcommands are presented, or exact docstring text. This kind of
10264 test is a pain and has minimal benefit.
10265
10266Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10267
10268 * gdb.t09/corefile.exp: At end of test, use "core" command with
10269 no arguments.
10270
10271Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10272
10273 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10274 17}/Makefile.in: Make it possible to run the testsuite with Sun
10275 make and CC = cross gcc by adding explicit build rules for .o
10276 files.
10277
10278Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10279
10280 * gdb.t15/funcargs.exp: Don't put comments on same line as
10281 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10282
c906108c
SS
10283Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10284
10285 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10286
10287Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10288
10289 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10290 * gdb.t20/inherit.exp: remove three dumplicate entries.
10291
10292Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10293
10294 * gdb.t06/break.exp: For "next over recursive call", fail on any
10295 incorrect output, not just on "factorial (value=2)".
10296
10297Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10298
10299 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10300 working now. Add an xfail if accesing a bss variable causes
10301 a memory error if the target is not yet run.
10302
10303Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10304
10305 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10306 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10307 name of __st* demangling (2 strings). Did Kung really get the
10308 more than 95 others right without testing them?
10309
10310Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10311
10312 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10313
10314Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10315
10316 * configure.in (configdirs): Add gdb.disasm
10317 * gdb.disasm: New directory for GDB disassembler tests.
10318 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10319
10320Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10321
10322 * gdb.t00/help.exp: Don't test "help set".
10323
10324 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10325 from within expect statements. None of these happen anymore and
10326 they cause regressions to be silently unnoticed.
10327
10328 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10329 messages) about known failures with gcc cygnus-2.4.5-930417.
10330
10331 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10332 comp-info.exp so it gets built if it doesn't exist.
10333
10334 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10335 it is no longer used.
10336 * gdb.t13/comp-info.c: Removed.
10337
10338Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10339
10340 * gdb.t06/signals.exp: Add xfail for sun3.
10341
10342Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10343
10344 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10345 relevant because ^C doesn't get sent but failure can be reproduced
10346 interactively).
10347
10348Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10349
10350 * gdb.stabs/alpha.mt: New configuration file for alpha.
10351 * gdb.stabs/configure.in: Use it.
10352 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10353 sharing with alpha.mt, redefine long to word via preprocessor.
10354 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10355 for alpha.
10356 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10357 native cc.
10358 * gdb.t00/teststrategy.exp: Change expect string so that we
10359 consume the `(xgdb)' from the command echo and from the gdb prompt.
10360 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10361 gdb currently compares all values as long, so this failure probably
10362 applies to any configuration where LONGEST is bigger than a target int.
10363 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10364 with gcc.
10365 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10366 to handle opaque pointers, gcc is.
10367 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10368 as first argument. Include <sys/types.h> and change all operator
10369 new definitions to use size_t.
10370 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10371 now that we use size_t.
10372
10373Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10374
10375 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10376 a long or float array cast all array members to the same type.
10377 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10378 with 64 bit longs.
10379 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10380 on alpha.
10381 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10382
10383Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10384
10385 * gdb.t24 (demangle.exp): Constructors of templates have names like
10386 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10387 section 14.6 of the ARM.
10388
10389 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10390 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10391 accomplish little and slow down the testsuite.
10392
10393 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10394 Accept spaces various places.
10395
10396Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10397
10398 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10399 with watchpoint enabled.
10400
10401 * Makefile.in: Remove definition of CC and remove the second
10402 definition of CXX (the "CXX = gcc" one remains). These definitions
10403 were causing backquotes to be expanded within backquotes, which
10404 doesn't work.
10405
10406Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10407
10408 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10409
10410Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10411
10412 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10413 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10414 by mips cc and contains no stabs entries.
10415
10416Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10417
10418 * config/vx-gdb.exp: Use fake device to load files rather than
10419 NFS.
10420 * lib/gdb.exp: New proc to do "file" command.
10421 * config/unix-gdb.exp: Use new "file" proc.
10422
10423Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10424
10425 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10426 Rework board rebooting slightly.
10427 (gdb_exit): Don't exit from the remote shell; there isn't one.
10428 * gdb.stabs/weird.exp: If a program is being debugged already,
10429 kill it.
10430 * gdb.t04/setvar.exp: Stop and restart gdb.
10431 * gdb.t05/expr.exp: Likewise.
10432 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10433 restart gdb and reload the program.
10434 * gdb.t08/opaque.exp: Likewise.
10435 * gdb.t12/scope.exp: Likewise.
10436 * gdb.t13/bitfields.exp: Likewise.
10437 * gdb.t15/funcargs.exp: Likewise.
10438 * gdb.t20/classes.exp: Likewise.
10439 * gdb.t03/ptype.exp: Increase timeout.
10440 * gdb.t16/printcmds.exp (test_print_string_constants,
10441 test_print_array_constants): Likewise.
10442 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10443 * gdb.t20/classes.exp (do_tests): Likewise.
10444 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10445
10446Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10447
10448 * gdb.stabs: Renamed *wierd* to *weird*.
10449
10450Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10451
10452 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10453 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10454
10455Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10456
10457 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10458 (do_tests): Remove xfail for whatis on one_var and two_var.
10459
10460Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10461
10462 * Makefile.in: Made cross building work better by adding
10463 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10464
10465Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10466
10467 * gdb.t15/{return.c,return.exp,Makefile.in}:
10468 New test, currently commented out.
10469
10470Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10471
10472 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10473 still running and removes the leftover named socket so GDb can do
10474 clean restarts.
10475
10476Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10477
10478 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10479 console, not GDB.
10480 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10481 cross testing works better with "make check"
10482 * config/unix-gdb: Use default procedures for exit and version.
10483 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10484 with the newest VxWorks.
10485
10486Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10487
10488 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10489 old form.
10490
10491 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10492 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10493
10494 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10495
10496 * config/unix-gdb.exp: Remove this version of gdb_exit
10497 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10498 Rob says he'll look at it when he gets back to testing boards.
10499
10500Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10501
10502 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10503 an expected fail for certain ptype commands.
10504
10505 * gdb.t20/classes.exp: Update expected results of "ptype class
10506 Base1" to account for the constructor that now appears in the type.
10507
10508Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10509
10510 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10511 disappeared from list.
10512 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10513 "alldone" proc with call to cleanup and exit.
10514 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10515 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10516 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10517 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10518 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10519 "alldone" proc with simple returns that suppress remaining
10520 tests. The alldone proc went away many months ago.
10521
10522Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10523
10524 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10525
10526 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10527
10528Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10529
10530 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10531 as vax gdb will display them.
10532
10533Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10534
10535 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10536 optimizers.
10537
10538 * scope.exp: Change "bad value for localval" messages so each one
10539 is unique.
10540
10541 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10542 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10543
10544 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10545
10546Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10547
10548 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10549 doesn't exist (due to optimization).
10550
10551Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10552
10553 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10554 contains \r because the filename is long.
10555
10556 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10557 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10558
10559Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10560
10561 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10562 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10563 Ultrix.
10564 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10565 int tests.
10566 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10567
10568Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10569
10570 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10571
10572 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10573 to match does not match the passing case but still matches the
c906108c
SS
10574 failing case.
10575
10576Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10577
10578 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10579
10580Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10581
10582 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10583 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10584 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10585 Remove various versions of gdb_exit.
10586 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10587 gdb_exit.
10588 * config/unix-gdb.exp: gdb_exit remains here, and should override
10589 the generic version, since it's doing a lot of wierd stuff that
10590 the other versions aren't. FIXME, fold it in, or abandon this
10591 version.
10592
10593Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10594
10595 * gdb.t24/demangle.exp: Add tests for PR 3220.
10596
10597Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10598
10599 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10600
10601Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10602
10603 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10604 "i386-*-*". Works for i486 as well.
10605
10606 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10607 bug, and expand domain of xfail to all SVR4 systems, since the
10608 actual problem is likely to be in generic SVR4 /proc support.
10609
10610Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10611
10612 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10613
10614Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10615
10616 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10617 xfails for other systems. Match a missing 'Continuing.' as an
10618 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10619
10620 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10621 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10622 Only issue warning for missing executables if -all option is used.
10623
10624 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10625 file if -all option is used. It's like an unpredictable XFAIL.
10626
10627Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10628
10629 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10630 for dynamically linked binaries.
10631
10632 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10633
10634Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10635
10636 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10637 to state that this is a known bug in old versions of g++.
10638
10639Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10640
10641 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10642 while waiting for `Continuing'.
10643
10644Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10645
10646 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10647 in text, data, and bss.
10648 * gdb.t10/nodebug.c: Add local and global test variables for
10649 initialized and uninitialized data.
10650
10651Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10652
10653 * config/unix-gdb.exp (gdb_exit): Add "wait".
10654
10655Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10656
10657 * gdb.t06/signals.exp: xfail the continue from the handler for all
10658 targets.
10659
10660 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10661 function with watchpoints enabled, the i386 call dummy starts with
10662 a call.
10663
10664 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10665 386 bsd names its corefiles.
10666
10667Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10668
10669 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10670 compilers don't grok it.
10671 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10672 with small octal ints rather than character constants, which
10673 are signed and might not fit if first promoted to int.
10674
10675Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10676
10677 * gdb.t09/Makefile.in (clean): Remove corefile.
10678
10679Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10680
10681 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10682
10683Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10684 and Jim Kingdon (kingdon@cygnus.com)
10685
10686 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10687 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10688 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10689
10690Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10691
10692 * gdb.t17/interrupt.exp: Add xfail for hppa.
10693
10694Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10695
10696 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10697 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10698 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10699 to determine signed-ness of bitfields and use the result to setup
10700 the xfail.
10701 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10702 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10703 call line is reached if necessary.
10704
10705Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10706
10707 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10708
10709Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10710
10711 * gdb.t06/break.exp: Also test `clear' command.
10712
10713Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10714
10715 * gdb.t00/teststrategy.exp: Remove extra quote.
10716
10717 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10718 watchpoint enabled to be for all non-68k machines.
10719
10720 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10721
10722Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10723
10724 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10725 targets use aout.mt instead of ecoff.mt as gas understands
10726 standard aout format.
10727
10728Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10729
10730 * lib/gdb.exp (runto): Don't insist that function we are running to
10731 was compiled with -g.
10732
10733 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10734
10735 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10736 to get back into the read system call.
10737 Accept leading newline in case where we woke it up.
10738
10739Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10740
10741 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10742 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10743 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10744 enable ecoff configuration.
10745
10746Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10747
10748 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10749
10750Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10751
10752 * gdb.t16/printcmds.exp: Add another printf test.
10753
10754Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10755
10756 * configure.in: If configured -with-stabs on any target, add
10757 stabsdirs to configdirs.
10758
10759Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10760
10761 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10762 fun" so pattern does not match the command itself.
10763
10764Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10765
10766 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10767
10768Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10769
10770 * gdb.t17/interrupt.exp: Test for more things.
10771
10772Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10773
10774 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10775 compiler arranges the code and line numbers.
10776
10777 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10778
10779Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10780
10781 * gdb.t00/help.exp: Increase expect input buffer size.
10782
10783Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10784
10785 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10786
10787 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10788
10789 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10790
10791 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10792 [0-9]*, not just [0-9].
10793
10794Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10795
10796 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10797
10798 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10799
10800Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10801
10802 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10803
10804Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10805
10806 * gdb.t06/signals.c: Add xfails for sun3.
10807
10808 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10809
10810 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10811 test_stepping tests.
10812
10813Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10814
10815 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10816
10817 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10818
10819 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10820 rather than actually putting it through cpp twice.
10821
10822 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10823
10824Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10825
10826 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10827 no longer needed.
10828
10829Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10830
10831 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10832
10833 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10834 C++ features prints as "struct", make it a pass, not an xfail.
10835
10836Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10837
10838 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10839 Don't require VA to print as "class" rather than "struct".
10840
10841Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10842
10843 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10844
10845Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10846
10847 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10848
10849Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10850
10851 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10852 order.
10853
10854Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10855
10856 * gdb.t16/printcmds.exp: Add printf tests.
10857
10858 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10859
10860 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10861
10862Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10863
10864 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10865 pass counts, to counteract any existing or future setup_xfails.
10866
10867Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10868
10869 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10870 {BEGIN,END}_COMMON for common block instead of STAB.
10871 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10872
10873 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10874 intp_var should be N_GSYM not N_LSYM.
10875 wierd-aout.S: Use a label for the value of the N_SO.
10876 wierd.def: Remove all backslashes.
10877 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10878
10879Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10880
10881 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10882 get the expected next to inheritance3.
10883
10884Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10885
10886 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10887 now that gcc-2.4 gets it right.
10888
10889Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10890
10891 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10892
10893 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10894 generating comp-info.exp which works for cross-compilation.
10895
10896Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10897
10898 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10899 "*-*-sysv4.*".
10900
10901Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10902
10903 * gdb.t01/run.exp: Start with a fresh gdb.
10904 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10905 SVR4.x.
10906
10907Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10908
10909 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10910 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10911 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10912 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10913 things to remove.
10914
10915Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10916
10917 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10918 test cases from bug reports.
10919
10920Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10921
10922 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10923 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10924 avoid spurious xfails.
10925 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10926 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10927 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10928
10929Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10930
10931 * gdb.t00/teststrategy.exp: Rework to provide more useful
10932 description of each test, fix problem with systems that define
10933 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10934 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10935 results for "next over recursive call" so timeouts aren't taken
10936 by error.
10937
10938Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10939
10940 * gdb.t12/scope.exp: Test printing of variables before run.
10941
10942 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10943 printed in wrong order due to sorting.
10944
10945Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10946
10947 * gdb.t00/teststrategy.exp: Fix expected results for printing
10948 user entered string constant. Is array of char, prints with no
10949 address.
10950
10951 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10952 commands.
10953 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10954 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10955 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10956 of struct of char arrays.
10957 * gdb.t00/radix.exp: New tests for radix commands.
10958
10959Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10960
10961 * gdb.t16/printcmd.exp: Print a variable before running program
10962 (with xfail for AIX).
10963
10964Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10965
10966 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10967
10968 * gdb.t16/printcmd.exp: Don't print variables before running program.
10969
10970 * gdb.t06/break.exp: Don't require envp argument to main.
10971
10972 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10973
10974 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10975 Add xfails for rs6000.
10976
10977 * gdb.t02/whatis.exp: Change other tests not to re-test something
10978 we already tested.
10979
10980 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10981 each type used has a variable of that type.
10982
10983Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10984
10985 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10986
10987Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10988
10989 * configure.in: change srctrigger to be a file, not a directory
10990
10991Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10992
10993 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10994
10995 * gdb.t11/list.exp: Fixed a couple of typos.
10996
10997Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10998
10999 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11000 is fixed and PR is closed.
11001 * gdb.t16 (gdbme.c): Add simple test string variable.
11002 * gdb.t16 (printcmds.exp): Add tests with simple test string
11003 variable, primarily for boundaries on "set print elements".
11004
11005Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11006
11007 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11008 Make leading 0's optional and don't expect a tab in the middle
11009 of the number.
11010
11011 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11012
11013 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11014 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11015 don't end command passed to gdb_test with newline.
11016
11017 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11018 signed keyword away, don't expect signed bitfields to be signed.
11019
11020 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11021 printing with only as many 1's as are in the field as well as printing
11022 with 32 1's (see comment).
11023
11024Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11025
11026 * gdb.t00/default.exp: Start with a fresh gdb.
11027 * configure.in (configdirs): Remove gdb.t31 until the chill
11028 compiler works again. It no longer is able to find chillrt0
11029 since it isn't in libchill.a anymore.
11030 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11031 wierd.o, make more modular.
11032 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11033 spurious newlines that caused problems.
11034
11035Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11036
11037 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11038 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11039 gdb.stabs/wierd.{exp,def}: Many new tests.
11040
11041 * gdb.t00/default.exp: update info line for new message.
11042
11043 * gdb.t02/{whatis.exp,gdbme.c}:
11044 Test that "char *" doesn't print as "caddr_t".
11045
11046Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11047
11048 * gdb.t00/help.exp: Use .* in place of some help messages which
11049 just changed.
11050 gdb.t00/default.exp: Update "info frame" test for new message.
11051 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11052 Remove some xfails
11053
11054Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11055
11056 * gdb.t03/{gdbme.c,ptype.exp}:
11057 Add tests for typedef'd struct and union without tags.
11058 Also check "whatis" on a variable of a typedef'd enum without a tag.
11059
11060 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11061 PRMS 1823; the bug still exists but isn't reproduced by this test
11062 anymore), and remove rs6000 XFAIL (the bug is fixed).
11063
11064 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11065 duplicated from whatis.exp. For those that are left, accept
11066 "long", "long int", or "int" for long variables (whatis.exp already
11067 has an XFAIL for "int", so no need to fail it here).
11068
11069 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11070 Deal with GCC's names for types now that GDB uses the compiler's names.
11071
11072 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11073 setup_xfail's for sunos4. If we #defined the signed keyword away,
11074 don't expect GDB to know that char it is signed.
11075
11076 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11077
11078Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11079
11080 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11081 should work on any system, regardless of debugging format.
11082 * gdb.t21/demangle.exp: Move to gdb.t24.
11083 * gdb.t24/demangle.exp: Move from gdb.t21.
11084 * gdb.t24/{Makefile.in, configure.in}: New files.
11085
11086Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11087
11088 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11089 * gdb.stabs: New directory.
11090
11091Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11092
11093 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11094 not just "Quit anyway?".
11095
11096Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11097
11098 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11099 that all setup_xfails are immediately followed by clear_xfails.
11100
11101Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11102
11103 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11104 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11105 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11106 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11107 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11108 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11109 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11110 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11111 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11112 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11113 gdb.t31/chillvars.exp, lib/gdb.exp:
11114 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11115 bug-gdb@prep.ai.mit.edu.
11116
11117Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11118
11119 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11120 with 0.0, not integer 0.
11121
11122Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11123
11124 * gdb.t06/break.exp: Update for "Kill the program" message change.
11125
11126Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11127
11128 * Makefile.in (GDBFLAGS): Set to -nx.
11129 * Makefile.in (site.exp): Use GDBFLAGS.
11130
11131Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11132
11133 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11134 Makefiles.
11135 (check): depend on just-check.
11136 (just-check): added so that tests can be run without a noop
11137 build pass.
11138
11139Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11140
11141 Switch to using configure's configdirs.
11142 * Makefile.in (Makefile): add configure.in dependency.
11143 (SUBDIRS): removed redundant assignment.
11144 * configure.in: switch subdirs assignment to configdirs.
11145 * gdb.t*/configure.in: new files.
11146
11147Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11148
11149 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11150 works.
11151
11152Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11153
11154 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11155 in explicit rules. Apparently this is not supported by some makes.
11156
11157Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11158
11159 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11160
11161Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11162
11163 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11164 disappeared.
11165
11166Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11167
11168 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11169
11170Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11171
11172 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11173 watchpoint problem that is now fixed.
11174 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11175 uninitialized convenience variables.
11176 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11177 structures.
11178
11179Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11180
11181 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11182 which causes expect to get out of sync with gdb on long output
11183 from help set.
11184 * gdb.t09/corefile.exp: Make expected pattern for core file
11185 failing signal and frame output format less sun specific.
11186
11187Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11188
11189 * gdb.t31/chillvars.exp: Add and remove initial dummy
11190 breakpoint, so that symbol table is forced in.
11191 (Needed at least on Sunos4, though it seems not SVR4.)
11192 * gdb.t31/chillvars.exp: Update for changed output format.
11193
11194Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11195
11196 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11197
11198Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11199
11200 * Makefile.in: Added --srcdir when invoking runtest, removed the
11201 need for a local config file. (optional now)
11202
11203Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11204
11205 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11206 failure count used to force early termination. Add some more
11207 expected failures for gnu style demangling.
11208
11209Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11210
11211 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11212 pmi variable from gdb.t20/gdbme to get optimized away.
11213 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11214 Check for written corefile upon timeout _and_ eof.
11215
11216Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11217
11218 * config/unix-gdb.exp: Add missing return 0.
11219
11220Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11221
11222 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11223 test termination.
11224
11225Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11226
11227 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11228 disappeared.
11229
11230Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11231
11232 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11233 time as i860 support works.
11234
beb998c6 11235 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11236 "backtrace 100\r" rather than just "backtrace\r", to match last
11237 change.
11238
11239Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11240
11241 * config/udi-gdb.exp (gdb_exit): Remove close command.
11242 (gdb_target_udi): New procedure to set the UDI target.
11243 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11244 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11245 Added waits for prompts after several question responses. Added
11246 some more responses used by a29k-amd-udi-gdb.
11247 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11248 pass different arguments, restart UDI connection after program
11249 completion.
11250 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11251 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11252 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11253 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11254 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11255 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11256 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11257 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11258 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11259 after program completion.
11260 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11261 compiled with a SELECT_VECS setting.
11262 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11263 infinite recursion.
11264
11265 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11266 Added checks for COFF results, and made them expected failures for
11267 all targets. It would be better to make them expected failures
11268 for COFF targets only.
11269
11270Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11271
11272 * Makefile.in: add null dvi target, don't bother to recurse
11273 through test directories for info and install-info; rename
11274 $(datadir) to be dejagnu instead of deja-gnu
11275
11276Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11277
11278 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11279 compiler to coredump.
11280 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11281 code.
11282
11283Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11284
11285 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11286 coredump.
11287 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11288 code.
11289
11290Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11291
11292 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11293 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11294 which in a shell. Deletes xgdb when done.
11295 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11296 Tests the return from the "set height" or "set width" commands.
11297 Added a few return codes where needed.
11298
11299Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11300
11301 * Makefile.in (SUBDIRS): Add gdb.t17.
11302 * configure.in (subdirs): Add gdb.t17.
11303 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11304 files to test gdb's calling of functions in the inferior with
11305 the correct arguments and gdb's ability to retrieve any
11306 result returned.
11307
11308Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11309
11310 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11311 may be called after gdb goes away. Previous versions of expect
11312 needed these to avoid file descriptor leaks, but they cause
11313 errors with the current revision of expect.
11314 * gdb.t00/gdbvars.exp: Use -re on expected output after
11315 setting sevenbit-strings.
11316 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11317 to set sevenbit-strings consistent across tests.
11318 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11319 set sevenbit-strings consistent across tests.
11320
11321Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11322
11323 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11324 expected output to match current "expect" expectations.
11325
11326Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11327
11328 * gdb.t00/default.exp: Change expected output for default "source"
11329 command, to match new gdb behavior which requires a filename to
11330 source.
11331
11332Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11333
11334 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11335 expected fail for i486-*-* that misses the marker2 function.
11336 * gdb.t10/crossload.exp (bfddefault): Allow successful
11337 recognition of a format to pass even if no symbols are found.
11338 Explicitly catch failures where the format is not recognized
11339 or is ambiguous, and add the reason to the fail message.
11340 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11341 the cause is and invalid target and add reason to failure message.
11342 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11343 elf32-i386, elf32-sparc, and elf32-i860.
11344 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11345 Set up expected failure for 'filename'::variable scope resolution,
11346 which is now apparently broken on all targets.
11347 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11348 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11349 gdb.t23/templates.exp: Change failure for missing binfile into
11350 just a warning.
11351 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11352 references.
11353
11354Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11355
11356 * gdb.t00/default.exp: Add expected output for default "source"
11357 command, to match new gdb behavior.
11358 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11359
11360Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11361
11362 * config/*-gdb.exp: returns an error, rather than exiting on
11363 internal errors.
11364
11365Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11366
11367 * gdb.t03/gdbme.c: Add pointer to struct variable.
11368 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11369 referencing struct members.
11370
11371Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11372
11373 * configure.in (mips-idt-ecoff): New target.
11374 * config/mips-gdb.exp: New file for remote board using MIPS remote
11375 debugging protocol.
11376
11377 * Redid configuration scheme. Removed gdb.t*/configure.in.
11378 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11379 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11380 distclean targets. Built executables via .o files. Adjusted
11381 tests to account for source files in $(srcdir) rather than
11382 $(objdir).
11383 * lib/gdb.exp (runto): Don't expect () after the function name,
11384 because it may have arguments.
11385
11386Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11387
11388 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11389 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11390 expected failures for mips-idt-* and mips-sgi-*.
11391 * gdb.t00/default.exp (attach): Kill process if requested.
11392 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11393 that does not read core files.
11394 * gdb.t01/run.exp: Removed checks for exit status code.
11395 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11396 it is linked in.
11397 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11398 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11399 appropriate, rather than doing it by hand.
11400 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11401 execution.
11402 * gdb.t10/crossload.exp: Kill existing program if needed.
11403 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11404 appropriate, rather than doing it by hand. Always increase
11405 timeout for this test, not just for VxWorks.
11406
11407Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11408
11409 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11410 of Chill STRUCT types and STRUCT values.
11411 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11412 than "char".
11413 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11414 struct2): New struct definitions and initializations to test
c906108c
SS
11415 simple Chill STRUCT types.
11416
11417Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11418
11419 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11420 the null byte at the end of strings.
11421 * gdb.t00/default.exp: Make show version insensitive to copyright
11422 date.
11423 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11424 to avoid dependencies on target char signedness.
11425 * gdb.t16/printcmds.exp: Update expected results for explicitly
11426 unsigned char.
11427 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11428 now work.
11429 * gdb.t21/demangle.exp: Add many more patterns for template
11430 demangling, most of them being expected failures.
11431 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11432 string we are matching for, to match on the whole string.
11433 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11434 and fix a whole bunch that had incorrect expected output but were
11435 passing anyway because of the bug in "proc demangle".
11436 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11437 type.
11438 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11439
11440Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11441
11442 * gdb/testsuite: made modifications to testcases, etc., to allow
11443 them to work properly given the reorganization of deja-gnu and the
11444 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11445
11446Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11447
11448 * gdb/testsuite: Initial creation of gdb/testsuite.
11449 Migrated dejagnu testcases and support files for testing nm to
11450 gdb/testsuite from deja-gnu. These files were moved "as is"
11451 with no modifications. This migration is part of a major overhaul
11452 of dejagnu. The modifications to these testcases, etc., which
11453 will allow them to work with the new version of dejagnu will be
11454 made in a future update.
48efe704
AC
11455
11456For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11457\f
11458Local Variables:
ef043731 11459mode: change-log
c906108c
SS
11460left-margin: 8
11461fill-column: 74
11462version-control: never
11463End:
This page took 1.027326 seconds and 4 git commands to generate.