*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
abbab9d3
DJ
12004-01-31 Daniel Jacobowitz <drow@mvista.com>
2
3 * gdb.base/chng-syms.exp: Remove stray newline.
4
53904d1e
MK
52004-01-31 Mark Kettenis <kettenis@gnu.org>
6
7 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
8 *-*-openbsd*.
9 * gdb.asm/openbsd.inc: New file.
10
3a4b3aac
MK
112004-01-30 Mark Kettenis <kettenis@gnu.org>
12
13 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
14 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15 *-*solaris2*. Remove commented out default settings for
16 asm-flags. Replace gdb_compile with target_link.
17
ebac27b4
MC
182004-01-29 Michael Chastain <mec.gnu@mindspring.com>
19
20 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21 for all tests. Remove old hp-ux and cygnus xfail cases.
22
d8679d84
PH
232004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
24
25 * gdb.base/chng-syms.exp: New file.
26 * gdb.base/chng-syms.c: New file.
27
0a55bc22
MC
282004-01-24 Michael Chastain <mec.gnu@mindspring.com>
29
30 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
31 Provide arms for current output in all my configurations.
32
94b8e876
MC
332004-01-24 Michael Chastain <mec.gnu@mindspring.com>
34
35 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
36 * lib/compiler.cc: Likewise.
37 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
38 get the right preprocessor. Eval the output directly. Remove
39 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
40 hp_f77_compiler and hp_f90_compiler completely.
41 (gdb_preprocess): Delete.
42 (get_compiler): Delete.
43
7cf03d44
MK
442004-01-24 Mark Kettenis <kettenis@gnu.org>
45
46 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
47 <string.h>.
48
68b6dce9
NR
492004-01-24 Nick Roberts <nick@nick.uklinux.net>
50
51 * gdb.mi/mi-stack.exp: Update copyright.
52
b368761e
DC
532004-01-23 David Carlton <carlton@kealia.com>
54
55 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
56 test for cp_lookup_transparent_type.
57 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
58 call them.
59
f2061b53
DJ
602004-01-23 Daniel Jacobowitz <drow@mvista.com>
61
62 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
63 after -var-update.
64
37fc574a
DC
652004-01-23 David Carlton <carlton@kealia.com>
66
67 * gdb.cp/namespace.cc (C::ensureRefs): New.
68 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
69
8e94b928
NR
702004-01-20 Nick Roberts <nick@nick.uklinux.net>
71
72 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
73 case "-stack-list-locals 2".
74 * gdb.mi/mi-var-child.exp: Test for case
75 "-var-list-children --all-values NAME".
76
997b0952
MC
772004-01-18 Michael Chastain <mec.gnu@mindspring.com>
78
79 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
80
52470da3
MK
812004-01-18 Mark Kettenis <kettenis@gnu.org>
82
7049b4b8
MK
83 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
84 used with gdb_test_multiple.
85
52470da3
MK
86 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
87 read at address 0. This fixes PR testsuite/1504.
88
da6012e5
DJ
892004-01-18 Daniel Jacobowitz <drow@mvista.com>
90
91 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
92 Remove downloading, guessing the host executable, the calls to
93 gdb_file_cmd and gdb_target_cmd, and "load" support.
94 (infer_host_exec): New function broken out from gdb_load.
95 (gdb_load): New wrapper for gdbserver_gdb_load.
96 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
97 gdb_target_cmd. Use -target-select.
98 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
99 Download binaries to the host. Clear last_mi_remote_file when
100 we load a new binary.
101 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
102 call gdbserver_gdb_load and mi_gdb_target_cmd.
103
32c70722
MC
1042004-01-17 Michael Chastain <mec.gnu@mindspring.com>
105
106 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
107 type patterns.
108
b0cecf36
MC
1092004-01-17 Michael Chastain <mec.gnu@mindspring.com>
110
111 * gdb.cp/templates.exp: Fix typo in test name of
112 "print Foo<volatile char*>::foo".
113
4120d7e6
MC
1142004-01-15 Michael Chastain <mec.gnu@mindspring.com>
115
116 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
117
f679e530
BE
1182004-01-16 Ben Elliston <bje@wasabisystems.com>
119
120 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
121 (clean mostlyclean): Remove empty rm.
122
091c48f6
MC
1232004-01-15 Michael Chastain <mec.gnu@mindspring.com>
124
125 * gdb.base/setvar.exp: Add copyright years.
126
3e5fc8d2
DC
1272004-01-14 David Carlton <carlton@bactrian.org>
128
129 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
130 PR c++/1511 and update coment.
131 * gdb.cp/templates.exp: Update patterns to match current output.
132 If changes involve something other than whitespace, KFAIL
133 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
134
63d06c5c
DC
1352004-01-14 David Carlton <carlton@kealia.com>
136
137 * gdb.cp/namespace.exp: Add tests involving classes defined within
138 namespaces.
139 * gdb.cp/namespace.cc (C::CClass): New.
140 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
141
a51dab88
EZ
1422004-01-14 Elena Zannoni <ezannoni@redhat.com>
143
144 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
145 what debug info we have. Print a better message if something goes
146 wrong while producing the separate debug info file.
147
a476ccc9
MC
1482004-01-14 Michael Chastain <mec.gnu@mindspring.com>
149
150 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
151
f453692c
MC
1522004-01-14 Michael Chastain <mec.gnu@mindspring.com>
153
154 * gdb.base/callfuncs.c: Add copyright notice.
155
f40063a5
MC
1562004-01-13 Michael Chastain <mec.gnu@mindspring.com>
157
158 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
159 inheritance. PR gdb/1498, PR gcc/13539.
160
19ac3974
EZ
1612004-01-13 Elena Zannoni <ezannoni@redhat.com>
162
163 * gdb.threads/gcore-thread.exp: Prefix name of binary with
164 test specific name.
165 * gdb.mi/gdb669.exp: Ditto.
166 * gdb.mi/mi-pthreads.exp: Ditto.
167 * gdb.mi/mi1-pthreads.exp: Ditto.
168 * gdb.mi/mi2-pthreads.exp: Ditto.
169
56c97c6e
MC
1702004-01-12 Michael Chastain <mec.gnu@mindspring.com>
171
172 * gdb.cp/member-ptr.cc: Add copyright notice.
173
a0644324
MC
1742004-01-12 Michael Chastain <mec.gnu@mindspring.com>
175
176 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
177 some patterns for recent versions of gcc and hpacc. Delete
178 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
179 Delete tests that access a NULL pointer-to-member-data. This
180 script is still disabled for gcc.
181
32fabe09
EZ
1822004-01-12 Elena Zannoni <ezannoni@redhat.com>
183
184 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
185 escaped correctly.
186
1f8a6abb
EZ
1872004-01-12 Elena Zannoni <ezannoni@redhat.com>
188
189 * gdb.base/sepdebug.exp: New file.
190 * gdb.base/sepdebug.c: New file.
191 * lib/gdb.exp (separate_debug_filename): New procedure.
192 (gdb_gnu_strip_debug): New procedure.
193
48efe704
AC
1942004-01-12 Andrew Cagney <cagney@redhat.com>
195
196 * gdb.mi/ChangeLog: Delete file. Renamed to ...
197 * gdb.mi/ChangeLog-1999-2003: New file.
198
a9415475
AC
1992004-01-12 Andrew Cagney <cagney@redhat.com>
200
201 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
202 "Renaming a directory to a non-empty directory returns ENOTEMPTY
203 or EEXIST", treat EBUSY as an XFAIL.
204
83b8cf9d
MC
2052004-01-11 Michael Chastain <mec.gnu@mindspring.com>
206
207 * gdb.base/scope.exp: Remove obsolete setup_xfail for
208 hp_cc_compiler.
209
9939d2a8
MC
2102004-01-10 Michael Chastain <mec.gnu@mindspring.com>
211
212 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
213 decorations.
214
1ff8cadf
MC
2152004-01-10 Michael Chastain <mec.gnu@mindspring.com>
216
217 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
218 and "(aCC)" decorations. Remove obsolete doco about old
219 test results.
220
6fa9022e
MC
2212004-01-09 Michael Chastain <mec.gnu@mindspring.com>
222
223 * gdb.cp/exception.exp: Fix typo in doco.
224
209721fe
MK
2252004-01-09 Mark Kettenis <kettenis@gnu.org>
226
227 * gdb.base/gdb1476.exp: Fix typo.
228
ef11303e
MC
2292004-01-09 Michael Chastain <mec.gnu@mindspring.com>
230
231 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
232 file.
233
041ab88c
MC
2342004-01-09 Michael Chastain <mec.gnu@mindspring.com>
235
236 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
237 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
238 Use gdb_compile. Remove restriction on gcc. Add some patterns
239 for recent version of gdb. Delete second half, which was a copy
240 of the first half with different build flags. This test is
241 still disabled because it is still not ready for production.
242
e36d075a
MC
2432004-01-08 Michael Chastain <mec.gnu@mindspring.com>
244
245 * gdb.cp/exception.cc: Add copyright notice.
246 * gdb.cp/exception.exp: Add a notice that this file is broken
247 because of line number changes caused by addition of copyright
248 notice.
249
42b190ad
MC
2502004-01-08 Michael Chastain <mec.gnu@mindspring.com>
251
252 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
253 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
254
8f25f06b
MC
2552004-01-08 Michael Chastain <mec.gnu@mindspring.com>
256
257 * gdb.cp/classes.exp: Accept gnu abi 2.
258 * gdb.cp/derivation.exp: Likewise.
259 * gdb.cp/overload.exp: Likewise.
260 * gdb.cp/virtfunc.exp: Likewise.
261
06ded8b8
MC
2622004-01-08 Michael Chastain <mec.gnu@mindspring.com>
263
264 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
265 semicolon after end of function.
266
77c26ae3
MC
2672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
268
269 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
270 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
271 boilerplate code for compiling and running the program under
272 test. Add some string method tests.
273
20757486
MC
2742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
275
276 * gdb.cp/bs15503.cc: Add copyright notice.
277 * gdb.cp/bs15503.exp: Adjust line number.
278
0fd3b503
MC
2792004-01-07 Michael Chastain <mec.gnu@mindspring.com>
280
281 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
282 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
283
10d1bea8
MC
2842004-01-07 Michael Chastain <mec.gnu@mindspring.com>
285
286 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
287 hp_cc_compiler.
288
2789202a
MC
2892004-01-07 Michael Chastain <mec.gnu@mindspring.com>
290
291 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
292 * gdb.cp/ctti.exp: Use the marker instead of "next".
293 With gcc, run further before bailing.
294
b862f14c
MC
2952004-01-07 Michael Chastain <mec.gnu@mindspring.com>
296
297 * gdb.cp/cttiadd.cc: Add copyright notice.
298 * gdb.cp/cttiadd1.cc: Likewise.
299 * gdb.cp/cttiadd2.cc: Likewise.
300 * gdb.cp/cttiadd3.cc: Likewise.
301
96da2469
MC
3022004-01-07 Michael Chastain <mec.gnu@mindspring.com>
303
304 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
305 Use gdb_test, gdb_test_multiple. Use floating-point values that
306 have exact representations in IEEE-ish formats.
307
053248ff
MC
3082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
309
310 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
311 compilers. Delete duplicate call to get_compiler_info.
312 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
313 * gdb.base/volatile.exp: Likewise.
314
84acecdd
MK
3152004-01-07 Mark Kettenis <kettenis@gnu.org>
316
317 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
318 memory at address 0.
319
fe11a27f
MC
3202004-01-07 Michael Chastain <mec.gnu@mindspring.com>
321
322 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
323 to test for hp-ux assembler. Fix copyright years.
324
60ad077b
AC
3252004-01-07 Andrew Cagney <cagney@redhat.com>
326
327 * gdb.base/fileio.c (strerrno): Add "EBUSY".
328
1c9b8f33
AC
3292004-01-07 Andrew Cagney <cagney@redhat.com>
330
331 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
332 when creating the read-only file. From analysis by Roland McGrath
333 and Elena Zannoni.
334
753ccc7a
MC
3352004-01-06 Michael Chastain <mec.gnu@mindspring.com>
336
337 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
338
eca3e36b
MC
3392004-01-06 Michael Chastain <mec.gnu@mindspring.com>
340
341 * gdb.base/cvexpr.c: Be type-safe with function pointers and
342 data pointers.
343
f8d4bac4
MC
3442004-01-06 Michael Chastain <mec.gnu@mindspring.com>
345
346 * gdb.cp/m-static.exp: Compile one source file at a time.
347 Delete unused call to get_compiler_info.
348
9b4e0f94
MC
3492004-01-06 Michael Chastain <mec.gnu@mindspring.com>
350
351 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
352 * gdb.base/call-rt-st.exp: Likewise.
353 * gdb.base/nodebug.exp: Likewise.
354 * gdb.base/volatile.exp: Likewise.
355 * gdb.cp/ref-types.exp: Likewise.
356 * gdb.cp/templates.exp: Likewise.
357
023c1024
MK
3582004-01-05 Mark Kettenis <kettenis@gnu.org>
359
360 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
361
19703c4a
MC
3622004-01-05 Michael Chastain <mec.gnu@mindspring.com>
363
364 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
365 hppa*-hp-hpux*.
366
18b67037
MK
3672004-01-04 Mark Kettenis <kettenis@gnu.org>
368
ba6219c8
MK
369 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
370 x86_64-*-*.
371
18b67037
MK
372 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
373 sparc64-*-* and sparc*-solaris2*.
374
1bfbbb9d
MK
3752004-01-04 Mark Kettenis <kettenis@gnu.org>
376
377 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
378 return ${tests}" test. The ${tests} already mentions the
379 filename.
380
06846494
MC
3812004-01-02 Michael Chastain <mec.gnu@mindspring.com>
382
383 * gdb.cp/local.exp: Accept gcc abi 2.
384
3b0cb202
MC
3852004-01-02 Michael Chastain <mec.gnu@mindspring.com>
386
387 * gdb.cp/templates.exp: Accept gcc abi 2.
388
0643ec3f
MC
3892004-01-02 Michael Chastain <mec.gnu@mindspring.com>
390
391 * lib/compiler.cc: Remove supports_template_debugging.
392 * gdb.cp/templates.exp: Do not test supports_template_debugging.
393
d231d0b1
MC
3942004-01-01 Michael Chastain <mec.gnu@mindspring.com>
395
396 * gdb.cp/namespace.exp: Accept gcc abi 2.
397
44ffb27c
MC
3982004-01-01 Michael Chastain <mec.gnu@mindspring.com>
399
400 * gdb.cp/method.exp: Accept gcc abi 2.
401
184ad485
MC
4022004-01-01 Michael Chastain <mec.gnu@mindspring.com>
403
404 * gdb.cp/classes.exp: Generate identical results as old version.
405 * gdb.cp/derivation.exp: Likewise.
406 * gdb.cp/overload.exp: Likewise.
407 * gdb.cp/virtfunc.exp: Likewise.
408
116f09e7
MC
4092004-01-01 Michael Chastain <mec.gnu@mindspring.com>
410
411 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
412 mysterious bug with sourceware version of expect.
413
b1379776
MC
4142004-01-01 Michael Chastain <mec.gnu@mindspring.com>
415
416 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
417 current versions of gcc, including gcc abi 2. Remove gratuitous
418 restart of test program. Use gdb_test_multiple and gdb_test for
419 all tests. Add patterns to xfail missing "const" in "const char *"
420 and kfail PR gdb/1155.
421
6b7a4c0e
MC
4222004-01-01 Michael Chastain <mec.gnu@mindspring.com>
423
424 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
425 current versions of gcc, including gcc abi 2. Remove gratuitous
426 restart of test program. Use gdb_test_multiple and gdb_test for
427 all tests. Add patterns to kfail PR gdb/1498.
428
51615d72
MC
4292003-12-31 Michael Chastain <mec.gnu@mindspring.com>
430
431 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
432 current versions of gcc, including gcc abi 2. Use "breakpoint"
433 and "continue" instead of restarting the target program. Use
434 gdb_test_multiple and gdb_test for all tests.
435
7b79a9d7
MK
4362004-01-01 Mark Kettenis <kettenis@gnu.org>
437
438 * gdb.asm/asm-source.exp: Update copyright year. Link statically
439 for *-*-solaris2*.
440
1cd3489f
MC
4412003-12-31 Michael Chastain <mec.gnu@mindspring.com>
442
443 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
444 current versions of gcc, including gcc abi 2. Use "breakpoint"
445 and "continue" instead of restarting the target program several
446 times. Use gdb_test_multiple and gdb_test for all tests.
447
850742db
MC
4482003-12-18 Michael Chastain <mec.gnu@mindspring.com>
449
450 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
451 source files.
452
eb4bbda8
MC
4532003-12-16 Michael Chastain <mec.gnu@mindspring.com>
454
455 * gdb.base/environ.exp: Handle compiling test case from multiple
456 source files.
457
e42c7771
MC
4582003-12-16 Michael Chastain <mec.gnu@mindspring.com>
459
460 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
461
80e4b428
JB
4622003-12-17 Jim Blandy <jimb@redhat.com>
463
5f06973a
JB
464 * gdb.base/freebpcmd.c: Add copyright notice.
465
80e4b428
JB
466 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
467
0ab84fb7
MC
4682003-12-16 Michael Chastain <mec.gnu@mindspring.com>
469
470 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
471
1b3bb3d0
JB
4722003-12-13 Jim Blandy <jimb@redhat.com>
473
474 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
475
3a4c9371
KB
4762003-12-12 Kevin Buettner <kevinb@redhat.com>
477
478 * gdb.asm/frv.inc: New file.
479 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
480
a1dea79a
FF
4812003-12-09 Fred Fish <fnf@redhat.com>
482
483 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
484 functions to break1.c and leave prototypes behind. Add more
485 "set breakpoint NN here" comments.
486 * gdb.base/break1.c: New file.
487
488 * gdb.base/break.exp: Handle compiling test case from multiple
489 source files and change source file references as needed.
490 * gdb.base/completion.exp: Ditto.
491 * gdb.base/condbreak.exp: Ditto.
492 * gdb.base/define.exp: Ditto.
493 * gdb.base/ena-dis-br.exp: Ditto.
494 * gdb.base/info-proc.exp: Ditto.
495 * gdb.base/maint.exp: Ditto.
496 * gdb.base/until.exp: Ditto.
497
498 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
499 hardcoded line numbers.
500 * gdb.base/define.exp: Ditto.
501 * gdb.base/ena-dis-br.exp: Ditto.
502 * gdb.base/maint.exp: Ditto.
503 * gdb.base/until.exp: Ditto.
504
505 * gdb.base/completion.exp: Use "break1" for completion tests since
506 "break" is no longer a unique prefix.
507
5266b69c
AC
5082003-12-06 Andrew Cagney <cagney@redhat.com>
509
510 * gdb.base/structs.exp (test_struct_returns): When applicable, set
511 "return_value_unimplemented". When an unimplemented struct return
512 architecture, report incorrect values as a KFAIL
513
374451f0
MC
5142003-12-05 Michael Chastain <mec.gnu@mindspring.com>
515
516 * gdb.cp/rtti.exp: Accept new wording of warning from
517 cp_lookup_rtti_type.
518
ba9b20a7
MC
5192003-12-05 Michael Chastain <mec.gnu@mindspring.com>
520
521 Partial fix for PR testsuite/1456.
522 * gdb.base/scope.exp (test_at_main): Replace references to
523 gcc_compiled with calls to test_compiler_info.
524 (test_at_foo): Likewise.
525 (test_at_bar): Likewise.
526
b74b6d0b
MC
5272003-12-04 Michael Chastain <mec.gnu@mindspring.com>
528
529 Partial fix for PR testsuite/1456.
530 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
531 to test_compiler_info.
532
ccfa3402
MC
5332003-12-03 Michael Chastain <mec.gnu@mindspring.com>
534
535 * gdb.base/so-impl-ld.exp: Update copyright notice.
536
f6246aba
MC
5372003-12-02 Michael Chastain <mec.gnu@mindspring.com>
538
539 Partial fix for PR testsuite/1456.
540 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
541 to test_compiler_info.
542
13ae734a
MC
5432003-11-28 Michael Chastain <mec.gnu@mindspring.com>
544
545 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
546 from current versions of gdb. Clean up regular expressions.
547 Delete redundant timeout case.
548
d8e1cdee
MC
5492003-11-28 Michael Chastain <mec.gnu@mindspring.com>
550
551 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
552 from current versions of gdb. Clean up regular expressions.
553 Delete redundant timeout case.
554
96457b64
MC
5552003-12-01 Michael Chastain <mec.gnu@mindspring.com>
556
557 Partial fix for PR testsuite/1456.
558 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
559 gcc_compiled with call to test_compiler_info.
560
f35309fc
MC
5612003-11-30 Michael Chastain <mec.gnu@mindspring.com>
562
563 Partial fix for PR testsuite/1456.
564 * gdb.base/list.exp (test_list_function): Delete unused declaration
565 of gcc_compiled.
566
d7afdf9b
MC
5672003-11-29 Michael Chastain <mec.gnu@mindspring.com>
568
569 Partial fix for PR testsuite/1456.
570 * gdb.base/complex.exp: Replace reference to gcc_compiled with
571 call to test_compiler_info.
572
71507b56
MK
5732003-11-29 Mark Kettenis <kettenis@gnu.org>
574
575 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
576 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
577 it to create the appropriate note.inc.
578 * gdb.asm/asmsrc1.s: Include "note.inc".
579 * gdb.asm/netbsd.inc: New file.
580 * gdb.asm/empty.inc: New file.
581
f81f93f7
MC
5822003-11-28 Michael Chastain <mec.gnu@mindspring.com>
583
584 Partial fix for PR testsuite/1456.
585 * gdb.base/constvars.exp: Replace references to gcc_compiled with
586 calls to test_compiler_info.
587
9a77938e
MC
5882003-11-27 Michael Chastain <mec.gnu@mindspring.com>
589
590 Partial fix for PR testsuite/1456.
591 * gdb.base/volatile.exp: Replace references to gcc_compiled with
592 calls to test_compiler_info.
593
e8367dc7
MK
5942003-11-27 Mark Kettenis <kettenis@gnu.org>
595
596 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
597 pattern for the KFAILs.
598
526c61ee
AF
5992003-11-25 Adam Fedor <fedor@gnu.org>
600
601 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
602 * gdb.objc/objcdecode.m: New file.
603
28f2d600
AF
6042003-11-25 Adam Fedor <fedor@gnu.org>
605
606 * gdb.objc/nondebug.exp: Test for PR objc/1236.
607 * gdb.objc/nondebug.m: New file.
608
a3895cee
BE
6092003-11-26 Ben Elliston <bje@wasabisystems.com>
610
611 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
612 NetBSD as it does on FreeBSD. Modelled on a similar change by
613 Mark Kettenis on 2003-05-30.
614 (link-flags): Set to "--entry _start" regardless of target.
615 Special linker flags are to be appended to $link-flags.
616 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
617
c9f2c8a3
MC
6182003-11-25 Michael Chastain <mec.gnu@mindspring.com>
619
620 * gdb.cp/method.exp: Accept output of new demangler.
621
15a0587a 6222003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
623
624 * gdb/class2.exp: New file.
625 * gdb/class2.cc: New file.
626
3c00b570
MC
6272003-11-25 Michael Chastain <mec.gnu@mindspring.com>
628
629 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
630 of new demangler.
631
7027acc7
MK
6322003-11-23 Mark Kettenis <kettenis@gnu.org>
633
634 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
635 of gdb_test "run".
636
b0e1598a
MK
6372003-11-23 Mark Kettenis <kettenis@gnu.org>
638
639 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
640 "continue" into "run".
641
4d9eda44
MC
6422003-11-23 Michael Chastain <mec.gnu@mindspring.com>
643
644 Partial fix for PR testsuite/1456.
645 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
646 call to test_compiler_info.
647 * gdb.cp/ctti.exp: Likewise.
648 * gdb.cp/derivation.exp: Likewise.
649 * gdb.cp/member-ptr.exp: Likewise.
650 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
651 reference to gcc_compiled.
652
6532003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
654
655 Fix PR testsuite/1463.
656 * gdb.base/structs.exp (start_structs_test): Call
657 get_debug_format before using the debug format.
658
d422fe19
AC
6592003-11-22 Andrew Cagney <cagney@redhat.com>
660
661 * lib/gdb.exp (gdb_test_multiple): Add simple example.
662 * gdb.base/structs.exp: Use gdb_test_multiple.
663
039cf96d
AC
6642003-11-20 Andrew Cagney <cagney@redhat.com>
665
6882279b
AC
666 * gdb.base/structs.exp: Handle and recover from internal errors.
667 Replace "foo${n}" with "foo<n>" in test messages.
668
e53890ae
AC
669 * gdb.base/structs.exp: Update copyright. Rewrite.
670 * gdb.base/structs.c: Update copyright. Rewrite.
671
2b211c59
AC
672 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
673 resync count exceeded.
674
039cf96d
AC
675 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
676 from the internal error.
677 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
678 Original from Jim Blandy.
679 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 680
eac98b22
AC
6812003-11-19 Andrew Cagney <cagney@redhat.com>
682
683 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
684 KFAIL.
685
67455b2a
MK
6862003-11-17 Mark Kettenis <kettenis@gnu.org>
687
688 New testcase for PR backtrace/1435.
689 * gdb.arch/i386-unwind.exp: New file.
690 * gdb.arch/i386-unwind.c: New file.
691
853d6e5b
AC
6922003-11-17 Andrew Cagney <cagney@redhat.com>
693
694 * lib/gdb.exp (compiler_info): New global.
695 (test_compiler_info): New function.
696 (get_compiler_info): Set compiler_info.
697 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
698 "compiler_info" to gcc-<major>-<minor>.
699
38cf6e11
MC
7002003-11-15 Michael Chastain <mec.gnu@mindspring.com>
701
702 * gdb.trace/configure: Remove.
703
a50d3602
EZ
7042003-11-13 Elena Zannoni <ezannoni@redhat.com>
705
706 * gdb.base/break.c: Add comments to aid finding line numbers for
707 breakpoints.
708 * gdb.base/break.exp: Remove all references to explicit line
709 numbers.
710
d9407aaa
NC
7112003-11-11 Nick Clifton <nickc@redhat.com>
712
713 * gdb.base/shreloc.exp: Do not run for targets which do not
714 support shared objects.
715
db488fc1
CV
7162003-11-10 Corinna Vinschen <vinschen@redhat.com>
717
718 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
719 Don't run tests if nofileio flag is given.
720
6a90a18e
EZ
7212003-11-07 Elena Zannoni <ezannoni@redhat.com>
722
723 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
724 as well as 'Watchpoint'.
725
0b915e9c
EZ
7262003-11-06 Elena Zannoni <ezannoni@redhat.com>
727
728 Reported by Jim Ingham <jingham@apple.com>:
729 * gdb.base/annota1.exp: Match at least one occurrence of the
730 signal handler annotation.
731
d7e4b55f
EZ
7322003-11-06 Elena Zannoni <ezannoni@redhat.com>
733
734 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
735 as well as 'Watchpoint'.
736
2fe4e8d0
MC
7372003-11-05 Michael Chastain <mec@shout.net>
738
739 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
740
6ef88553
KW
7412003-11-03 Kris Warkentin <kewarken@qnx.com>
742
743 * gdb.arch/gdb1291.c: New test file.
744 * gdb.arch/gdb1291.exp: New test script.
745 * gdb.arch/gdb1431.c: New test file.
746 * gdb.arch/gdb1431.exp: New test script.
747
ae7dc4d8
MC
7482003-10-22 Michael Chastain <mec@shout.net>
749
750 * gdb.mi/pthreads.c: Add copyright notice.
751
c39d7427
MC
7522003-10-22 Michael Chastain <mec@shout.net>
753
754 * gdb.threads/pthreads.c: Add copyright notice.
755
8b7d96c1
MC
7562003-10-20 Michael Chastain <mec@shout.net>
757
758 * gdb.base/gdb1056.exp: New test script.
759
d1d69fdd
DJ
7602003-10-13 Daniel Jacobowitz <drow@mvista.com>
761
762 * gdb.threads/killed.exp: Use gdb_run_cmd.
763
7d605576
DJ
7642003-10-13 Daniel Jacobowitz <drow@mvista.com>
765
766 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
767 create a core file.
768 * gdb.threads/gcore-thread.exp: Likewise.
769
618ec112
CV
7702003-10-13 Corinna Vinschen <vinschen@redhat.com>
771
772 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
773 type, based on char type.
774 (struct bit_flags_short_t): New bitfield type, based on short type.
775 (init_bit_flags_char): New fuction.
776 (init_bit_flags_short): Ditto.
777 (print_bit_flags_char): Ditto.
778 (print_bit_flags_short): Ditto.
779 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
780
9367a73c
MC
7812003-10-11 Michael Chastain <mec@shout.net>
782
783 * gdb.base/call-rt-st.exp: Update copyright year.
784
1decf120
KI
7852003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
786
787 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
788 * gdb.disasm/sh3.s: Ditto.
789
5445b2ae
DJ
7902003-10-07 Daniel Jacobowitz <drow@mvista.com>
791
792 * gdb.threads/switch-threads.exp: New test.
793 * gdb.threads/switch-threads.c: New source file.
794
aec24853
CV
7952003-10-07 Corinna Vinschen <vinschen@redhat.com>
796
797 * gdb.base/ending-run.exp: Add sh specific case.
798
adc7428d
AC
7992003-10-06 Andrew Cagney <cagney@redhat.com>
800
801 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
802 * gdb.disasm/mn10200.exp: Delete obsolete file.
803
c9d37158
DJ
8042003-09-29 Daniel Jacobowitz <drow@mvista.com>
805
806 * ChangeLog: Correct an entry command.exp -> commands.exp.
807 * gdb.base/commands.exp (bp_deleted_in_command_test)
808 (temporary_breakpoint_commands): Check noargs.
809
79c2c32d
DC
8102003-09-25 David Carlton <carlton@kealia.com>
811
812 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
813 of some print tests, where appropriate. Add tests for C::D::cd,
814 E::ce, F::cXfX, G::XgX.
815 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
816
594e6d67
RE
8172003-09-25 Richard Earnshaw <rearnsha@arm.com>
818
819 * lib/java.exp (java_init): Import target_alias before using it.
820
10f0d451
DC
8212003-09-25 David Carlton <carlton@kealia.com>
822
823 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
824
274bcba0
EZ
8252003-09-23 Elena Zannoni <ezannoni@redhat.com>
826
827 * gdb.base/selftest.exp: Accomodate more instruction reordering
828 weirdness.
829
cdbf20f7
MC
8302003-09-17 Michael Chastain <mec@shout.net>
831
832 * gdb.cp/gdb1355.exp: New file.
833 * gdb.cp/gdb1355.c: New file.
834
71e06f80
CV
8352003-09-15 Corinna Vinschen <vinschen@redhat.com>
836
837 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
838 * gdb.asm/sh.inc: New file.
839
5c4e30ca
DC
8402003-09-11 David Carlton <carlton@kealia.com>
841
bd45b7af
DC
842 * gdb.cp/namespace.exp: Add tests for namespace types.
843 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
844 (test_namespace): New.
845
1c199746
EZ
8462003-09-11 Elena Zannoni <ezannoni@redhat.com>
847
848 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 849 * gdb.stabs/weird.exp: Ditto.
1c199746 850
04ed252f
MC
8512003-09-08 Michael Chastain <mec@shout.net>
852
853 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
854
d8a2d9e7
MC
8552003-09-07 Michael Chastain <mec@shout.net>
856
857 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
858 'parse error'.
859
161afb24
MK
8602003-09-07 Mark Kettenis <m.kettenis@osp.nl>
861
862 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
863
49f2741a
MC
8642003-08-30 Michael Chastain <mec@shout.net>
865
866 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
867 * gdb.gdb/observer.exp: Ditto.
868 * gdb.gdb/xfullpath.exp: Ditto.
869
8afa723e
MK
8702003-08-29 Mark Kettenis <kettenis@gnu.org>
871
872 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
873 *-*-*bsd*.
874
f31dfe3b
JJ
8752003-08-28 Jeff Johnston <jjohnstn@redhat.com>
876
877 * gdb.base/dump.exp: Skip for ia64.
878
4630e498
JJ
8792003-08-25 Jeff Johnston <jjohnstn@redhat.com>
880
881 * gdb.asm/asm-source.exp: Add ia64 support.
882 * gdb.asm/ia64.inc: New file.
883
1105b7ef
MC
8842003-08-22 Michael Chastain <mec@shout.net>
885
886 * gdb.cp: New directory.
887 * gdb.cp/*: Copy from gdb.c++/*.
888 * gdb.c++/*: Remove.
889 * Makefile.in: Change gdb.c++ to gdb.cp.
890 * configure.in: Ditto.
891 * configure: Regnerate.
892
c945b932
MK
8932003-08-18 Mark Kettenis <kettenis@gnu.org>
894
895 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
896 * gdb.arch/i386-prologue.c (gdb1338): Add function.
897
2b66634b
DJ
8982003-08-17 Daniel Jacobowitz <drow@mvista.com>
899
900 * mi-var-display.exp (-var-list-children weird): Accept function
901 pointers with argument types.
902 * mi1-var-display.exp (-var-list-children weird): Likewise.
903 * mi2-var-display.exp (-var-list-children weird): Likewise.
904
a356f73b
DJ
9052003-08-17 Daniel Jacobowitz <drow@mvista.com>
906
907 * gdb.base/annota3.exp: Add missing newline.
908
483417b8
MC
9092003-08-06 Michael Chastain <mec@shout.net>
910
911 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
912
c99c59c3
MS
9132003-08-12 Michael Snyder <msnyder@redhat.com>
914
915 * gdb.base/float.exp: Add test for SH.
916
55ed7501
MK
9172003-08-10 Mark Kettenis <kettenis@gnu.org>
918
919 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
920
1a371f2e
EZ
9212003-08-07 Elena Zannoni <ezannoni@redhat.com>
922
923 * gdb.base/completion.exp: Remove reduntant completion test
924 on filename.
925
e0f353ce
EZ
9262003-08-07 Elena Zannoni <ezannoni@redhat.com>
927
928 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
929 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
930 gdb.trace/save-trace.exp: Make sure that full pathnames are
931 escaped correctly.
932
5710a1af
EZ
9332003-08-07 Elena Zannoni <ezannoni@redhat.com>
934
935 * configure.in: Don't generate config.h from config.hin.
936 * configure: Regenerate.
937 * config.hin: Remove file.
938 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
939 * gdb.threads/pthreads.c: Ditto.
940
dcd81ce9
DJ
9412003-08-07 Daniel Jacobowitz <drow@mvista.com>
942
943 From Kei Sakamoto <sakamoto.kei@renesas.com>:
944 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
945 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
946 Replace ld24 with seth/add3.
947
6009d884
AC
9482003-08-02 Andrew Cagney <cagney@redhat.com>
949
950 * gdb.base/annota3.exp: New file.
951 * gdb.base/annota3.c: New file.
952 * gdb.c++/annota3.exp: New file.
953 * gdb.c++/annota3.cc: New file.
954
51514e06
MC
9552003-07-29 Michael Chastain <mec@shout.net>
956
957 * gdb.threads/tls.c (spin): Check errno only if sem_wait
958 actually failed.
959 (do_pass): Likewise.
960 * gdb.threads/tls.exp: Always initialize no_of_threads.
961
4ee6625b
DJ
9622003-07-27 Daniel Jacobowitz <drow@mvista.com>
963
964 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
965 pattern.
966 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
967 * gdb.threads/tls.exp: Recognize one case of the host library not
968 supporting TLS.
969
225f2bf6
AC
9702003-07-27 Andrew Cagney <cagney@redhat.com>
971
972 * gdb.base/fileio.exp: Use SH when running commands using
973 remote_exec.
974
bcb27c9f
DJ
9752003-07-24 Daniel Jacobowitz <drow@mvista.com>
976
977 From Kei Sakamoto <sakamoto.kei@renesas.com>:
978 * gdb.base/relocate.c (dummy): New padding array.
979
3d67be83
MS
9802003-07-22 Michael Snyder <msnyder@redhat.com>
981
982 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
983
984 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
985 patterns to be more general, accepting old and new output.
986 Some output chars (such as '+') also must be quoted.
987 Some addresses are displayed numerically instead of
988 symbolically.
989
57ba3b85
MS
9902003-07-23 Michael Snyder <msnyder@redhat.com>
991
686d097c
MS
992 * gdb.base/return2.exp: Don't test long-long return.
993
57ba3b85
MS
994 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
995 * gdb.disasm/t01_mov.exp: Ditto.
996 * gdb.disasm/t02_mova.s: Ditto.
997 * gdb.disasm/t02_mova.exp: Ditto.
998 * gdb.disasm/t03_add.s: Ditto.
999 * gdb.disasm/t03_add.exp: Ditto.
1000 * gdb.disasm/t04_sub.s: Ditto.
1001 * gdb.disasm/t04_sub.exp: Ditto.
1002 * gdb.disasm/t05_cmp.s: Ditto.
1003 * gdb.disasm/t05_cmp.exp: Ditto.
1004 * gdb.disasm/t06_ari2.s: Ditto.
1005 * gdb.disasm/t06_ari2.exp: Ditto.
1006 * gdb.disasm/t07_ari3.s: Ditto.
1007 * gdb.disasm/t07_ari3.exp: Ditto.
1008 * gdb.disasm/t08_or.s: Ditto.
1009 * gdb.disasm/t08_or.exp: Ditto.
1010 * gdb.disasm/t09_xor.s: Ditto.
1011 * gdb.disasm/t09_xor.exp: Ditto.
1012 * gdb.disasm/t10_and.s: Ditto.
1013 * gdb.disasm/t10_and.exp: Ditto.
1014 * gdb.disasm/t11_logs.s: Ditto.
1015 * gdb.disasm/t11_logs.exp: Ditto.
1016 * gdb.disasm/t12_bit.s: Ditto.
1017 * gdb.disasm/t12_bit.exp: Ditto.
1018 * gdb.disasm/t13_otr.s: Ditto.
1019 * gdb.disasm/t13_otr.exp: Ditto.
1020
e00759ef
EZ
10212003-07-22 Elena Zannoni <ezannoni@redhat.com>
1022
1023 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1024
8bc2021f
EZ
10252003-07-22 Elena Zannoni <ezannoni@redhat.com>
1026
1027 * gdb.threads/tls.c : New file.
1028 * gdb.threads/tls.exp : New file.
1029 * gdb.threads/tls-main.c : New file.
1030 * gdb.threads/tls-shared.c : New file.
1031 * gdb.threads/tls-shared.exp : New file.
1032
89320c4c
AS
10332003-07-22 Andreas Schwab <schwab@suse.de>
1034
1035 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1036
180dea7c
AS
10372003-07-20 Andreas Schwab <schwab@suse.de>
1038
1039 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1040 due to insn reordering.
1041
0714963c
AC
10422003-07-15 Andrew Cagney <cagney@redhat.com>
1043
1044 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1045
98a23b3f
MC
10462003-07-15 Michael Chastain <mec@shout.net>
1047
1048 * gdb.base/gdb1250.exp: New file.
1049 * gdb.base/gdb1250.c: New file.
1050
27e417a2
ML
10512003-07-09 Michal Ludvig <mludvig@suse.cz>
1052
1053 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1054 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1055
8bc2021f
EZ
10562003-07-09 Elena Zannoni <ezannoni@redhat.com>
1057
1058 * gdb.threads/tls.c: New file.
1059 * gdb.threads/tls.exp: New file.
1060 * gdb.threads/tls-main.c: New file.
1061 * gdb.threads/tls-shared.c: New file.
1062 * gdb.threads/tls-shared.exp: New file.
1063
d99968dc
EZ
10642003-07-09 Elena Zannoni <ezannoni@redhat.com>
1065
1066 * gdb.base/annota1.exp: Make sure that we properly escape the
1067 full path of the source file. Xfail more permissive patterns,
1068 due to a compiler debug info problem.
1069
83876b3b
AS
10702003-07-07 Andreas Schwab <schwab@suse.de>
1071
2705e972
AS
1072 * gdb.asm/m68k.inc: New file.
1073 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1074
83876b3b
AS
1075 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1076 arguments"): Also match negative number.
1077
1078 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1079
3a871b37
DJ
10802003-07-03 Daniel Jacobowitz <drow@mvista.com>
1081
1082 * gdb.base/store.c (charest): New typedef.
1083 (add_char): Rename to add_charest, update.
1084 (wack_char): Rename to wack_charest, update types. Return l + r
1085 to keep r live across the call.
1086 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1087 (wack_double, wack_doublest): Return l + r to keep r live across
1088 the call.
1089 * gdb.base/store.exp: Accomodate store.c changes.
1090
b2a7f303
DC
10912003-06-30 David Carlton <carlton@kealia.com>
1092
1093 * gdb.c++/maint.exp (test_invalid_name): New.
1094 (test_first_component): Add tests for invalid names.
1095
3c6cb4a1
MC
10962003-06-29 Michael Chastain <mec@shout.net>
1097
1098 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1099 output of '<VTT for class>' for virtual base classes.
1100
f1c2644b
DJ
11012003-06-29 Daniel Jacobowitz <drow@mvista.com>
1102
1103 * gdb.base/completion.exp: Tab-complete "complet" instead of
1104 "compl".
1105 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1106
18080350
DJ
11072003-06-29 Daniel Jacobowitz <drow@mvista.com>
1108
1109 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1110 * gdb.base/volatile.exp: Likewise.
1111
f56973f8
DJ
11122003-06-29 Daniel Jacobowitz <drow@mvista.com>
1113
1114 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1115 gdb/1265.
1116
11172003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1118 Daniel Jacobowitz <drow@mvista.com>
1119
1120 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1121 initial line count of 'captured_main' from 26 to 32.
1122 (test_with_self): Allow xmalloc call to be interleaved with the
1123 preceding two lines.
1124
e766d4d6
JB
11252003-06-24 Joel Brobecker <brobecker@gnat.com>
1126
1127 * gdb.base/bang.exp: New testcase.
1128
f125c9a4
JB
11292003-06-23 Joel Brobecker <brobecker@gnat.com>
1130
1131 * gdb.base/langs.exp: Add some tests for the "minimal" language
1132 support.
1133
6e25beaf
EZ
11342003-06-23 Elena Zannoni <ezannoni@redhat.com>
1135
1136 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1137 the testcase.
1138
2f816dda
DJ
11392003-06-22 Daniel Jacobowitz <drow@mvista.com>
1140
1141 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1142 offset.
1143
db5a5748
DJ
11442003-06-22 Daniel Jacobowitz <drow@mvista.com>
1145
1146 * gdb.c++/pr-1210.cc: New file.
1147 * gdb.c++/pr-1210.exp: New file.
1148
1df0c130
DJ
11492003-06-21 Daniel Jacobowitz <drow@mvista.com>
1150
1151 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1152 000-exec-continue.
1153
a92feac0
MK
11542003-06-15 Mark Kettenis <kettenis@gnu.org>
1155
1156 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1157 on *-*-*bsd* instead of *-*-freebsd*.
1158
81a58f5b
AC
11592003-06-14 Andrew Cagney <cagney@redhat.com>
1160
1161 * gdb.base/store.exp: Test longest and doublest. Test all
1162 parameters. Weaken return statement match.
1163 * gdb.base/store.c: Add longest and doublest - aka long long and
1164 long double functions. Put all parameters into local register
1165 variables. Use negative values.
1166
b257a0d3
AC
11672003-06-14 Andrew Cagney <cagney@redhat.com>
1168
1169 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1170 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1171 exit status.
1172 * gdb.base/fileio.exp: Disable target when nointerrupts and
1173 noinferiorio, instead of limiting it to remote. Use remote_exec
1174 instead of system.
1175
21c38304
JJ
11762003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1177
1178 * gdb.base/float.exp: Add ia64 support.
1179
1bcdb424
CV
11802003-06-12 Corinna Vinschen <vinschen@redhat.com>
1181
1182 * gdb.base/fileio.exp: Run only on remote targets.
1183
6aeb981f
CV
11842003-06-10 Corinna Vinschen <vinschen@redhat.com>
1185
1186 * gdb.base/fileio.c: New file, testing File-I/O.
1187 * gdb.base/fileio.exp: Ditto.
1188
53df362e
RG
11892003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1190
1191 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1192 shared objects after relocation at load time (gdb PR/1132).
1193 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1194 as above, part of the shared object relocation test.
1195
ffee1b46
MK
11962003-06-08 Mark Kettenis <kettenis@gnu.org>
1197
b5ca3722
MK
1198 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1199 fully filled history list.
1200 * gdb.base/gdb_history: New file.
1201
03ed860d
MK
1202 * gdb.base/signals.exp: XFAIL "continue to func1" on
1203 i*86-*-freebsd*.
1204
ffee1b46
MK
1205 * gdb.base/attach.exp: When trying to attach to a nonexistent
1206 process, make it possible to specify the PID based on the target,
1207 and do so for *-*-freebsd*.
1208
d80dbb52
RH
12092003-06-02 Richard Henderson <rth@redhat.com>
1210
1211 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1212
6dd77b81
RH
12132003-06-02 Richard Henderson <rth@redhat.com>
1214
1215 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1216
f6347e16
RH
12172003-06-02 Richard Henderson <rth@redhat.com>
1218
1219 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1220
2c161407
DJ
12212003-06-01 Daniel Jacobowitz <drow@mvista.com>
1222
1223 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1224 of globalvar.
1225
572eb746
MK
12262003-06-01 Mark Kettenis <kettenis@gnu.org>
1227
1228 * gdb.asm/asm-source.exp: Check for memory read errors in
1229 disassembler test on *BSD too.
1230
9e9617a5
RH
12312003-06-01 Richard Henderson <rth@redhat.com>
1232
1233 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1234 for .frame.
1235 (gdbasm_call): Lose ldgp.
1236 (gdbasm_startup): Add frame information.
1237 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1238
7b34ad4e
MK
12392003-05-31 Mark Kettenis <kettenis@gnu.org>
1240
1241 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1242 i?86-*-*.
1243
10059fdf
MK
12442003-05-30 Mark Kettenis <kettenis@gnu.org>
1245
1246 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1247 FreeBSD.
1248
acf4b816
RH
12492003-05-29 Richard Henderson <rth@redhat.com>
1250
1251 * gdb.asm/alpha.inc: New file.
1252 * gdb.asm/asm-source.exp: Use it.
1253
e9ecd949
JB
12542003-05-29 Jim Blandy <jimb@redhat.com>
1255
1256 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1257 'core.PID'.
1258
e3e5a4f3
JB
12592003-05-22 Jim Blandy <jimb@redhat.com>
1260
1261 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1262 backtrace.
1263
72fe3d25
DC
12642003-05-20 David Carlton <carlton@math.stanford.edu>
1265
1266 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1267 this time.
1268
58da2eb2
DC
12692003-05-19 David Carlton <carlton@bactrian.org>
1270
1271 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1272 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1273
1fcb5155
DC
12742003-05-19 David Carlton <carlton@bactrian.org>
1275
1276 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1277 namespace tests.
1278 Bump copyright date.
1279 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1280 (main): Call C::D::marker2.
1281 * gdb.c++/namespace1.cc: New file.
1282
85e85163
JJ
12832003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1284
1285 Roland McGrath <roland@redhat.com>
1286 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1287 there is no manager thread.
1288
a25fbfec
JJ
12892003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1290
1291 * gdb.threads/schedlock.exp: Remove assumption that all threads
1292 will run in a particular small time slice. Also ensure we break
1293 in one of the child threads rather than the main thread.
1294
be375bae
JB
12952003-05-07 Jim Blandy <jimb@redhat.com>
1296
09bf6082
JB
1297 Add support for assembly source testing on the s390x.
1298 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1299 architecture.
1300 * gdb.asm/s390x.inc: New file.
1301
be375bae
JB
1302 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1303 succession of 'if' statements.
1304
00905d52
AC
13052003-05-05 Andrew Cagney <cagney@redhat.com>
1306
1307 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1308
b1e29e33
AC
13092003-05-05 Andrew Cagney <cagney@redhat.com>
1310
1311 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1312 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1313
e33d66ec
EZ
13142003-05-02 Elena Zannoni <ezannoni@redhat.com>
1315
1316 * gdb.base/charset.exp: Update based on new behavior of set/show
1317 charset commands.
1318
2b6fd0d8
AC
13192003-05-01 Andrew Cagney <cagney@redhat.com>
1320
1321 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1322 variable do not give memory errors.
1323
130cacce
AF
13242003-04-30 Adam Fedor <fedor@gnu.org>
1325
1326 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1327 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1328 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1329 gdb.objc/basicclass.m: : New files
1330
1331 * lib/gdb.exp (gdb_compile_objc): New procedure.
1332
bea71854
DJ
13332003-04-27 Daniel Jacobowitz <drow@mvista.com>
1334
1335 * gdb.base/signals.exp: Make backtrace tests more specific.
1336
0f20eeea
DC
13372003-04-23 David Carlton <carlton@bactrian.org>
1338
1339 * gdb.c++/maint.exp (test_first_component): Add tests for
1340 'operator' in more locations.
1341
c8c4d8dc
KB
13422003-04-16 Kevin Buettner <kevinb@redhat.com>
1343
1344 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1345
3fe60e3c
EZ
13462003-04-16 Elena Zannoni <ezannoni@redhat.com>
1347
1348 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1349 func marke' instead. Update test name.
1350
9219021c
DC
13512003-04-15 David Carlton <carlton@math.stanford.edu>
1352
1353 * gdb.c++/maint.exp: New file.
1354
5dd55bdd
EZ
13552003-04-14 Elena Zannoni <ezannoni@redhat.com>
1356
1357 * gdb.threads/schedlock.c: Change type of thread function argument
1358 to long, to avoid warnings on 64-bit platforms.
1359
00890572
EZ
13602003-04-14 Elena Zannoni <ezannoni@redhat.com>
1361
1362 * gdb.base/attach.exp: Add new message from ptrace in case of
1363 attaching to nonexistent process.
1364
93201743
JB
13652003-04-11 Jim Blandy <jimb@redhat.com>
1366
1367 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1368 gdb.c++/userdef.cc: Place comments on the lines to which the
1369 marker function might return.
1370 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1371 gdb.c++/userdef.exp: Look for those comments to check that we've
1372 returned to the right place, instead of checking line numbers.
1373
2a11c64d
EZ
13742003-04-11 Elena Zannoni <ezannoni@redhat.com>
1375
1376 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1377 match on sourcefile name, instead of directory name.
1378
68ab8fc5
EZ
13792003-04-10 Elena Zannoni <ezannoni@redhat.com>
1380
1381 * gdb.base/completion.exp: Use string_to_regexp to match the
1382 working directory name.
1383
5624293a
JB
13842003-04-09 Jim Blandy <jimb@redhat.com>
1385
1386 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1387 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1388 after an inferior function call, report the failure, but allow the
1389 test to continue.
1390
f1f02ee4
SC
13912003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1392
1393 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1394 with -DPROTOTYPES.
1395
6eb79af0
SC
13962003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1397
1398 * gdb.base/break.exp: Revert last patch.
1399
8dfb4cf0
SC
14002003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1401
1402 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1403 with -DPROTOTYPES.
1404
ed4c619a
AC
14052003-04-02 Andrew Cagney <cagney@redhat.com>
1406
1407 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1408 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1409 matching directories by the name breakpoint.
1410 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1411 Make "continue to marker1" consistent.
1412 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1413 message consistent.
1414 * lib/gdb.exp: Put "the program is no longer running", and "the
1415 program exited" in parenthesis.
1416 * lib/mi-support.exp: Ditto.
1417
4e35d5f0
BR
14182003-04-02 Bob Rossi <bob_rossi@cox.net>
1419
1420 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1421
71900fe8
AC
14222003-03-29 Andrew Cagney <cagney@redhat.com>
1423
1424 * gdb.base/sizeof.c (main): Print the value of '\377'.
1425 * gdb.base/sizeof.exp: Check the sign of '\377'.
1426
c0655a16
MC
14272003-03-27 Michael Chastain <mec@shout.net>
1428
1429 * gdb.base/gdb1090.exp: New file.
1430 * gdb.base/gdb1090.cc: New file.
1431
5b2a3989
JB
14322003-03-27 J. Brobecker <brobecker@gnat.com>
1433
1434 * gdb.gdb/observer.exp: New regression test.
1435
79876890
MC
14362003-03-27 Michael Chastain <mec@shout.net>
1437
1438 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1439 * gdb.base/ptype.exp: Likewise.
1440
6eac95e3
CV
14412003-03-27 Corinna Vinschen <vinschen@redhat.com>
1442
1443 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1444
e8c71839
MC
14452003-03-26 Michael Chastain <mec@shout.net>
1446
1447 * gdb.base/ptype.exp: Actually use some typedef'd types.
1448
71b10041
SC
14492003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1450
1451 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1452 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1453
2512cf80
CV
14542003-03-20 Corinna Vinschen <vinschen@redhat.com>
1455
1456 * gdb.base/default.exp: Fix regular expression.
1457
0d195a4f
CV
14582003-03-20 Corinna Vinschen <vinschen@redhat.com>
1459
1460 * gdb.base/args.exp: Fix regular expression.
1461
8a2dbca8
CV
14622003-03-20 Corinna Vinschen <vinschen@redhat.com>
1463
1464 * gdb.base/help.exp: Allow Win32 child process.
1465
bf028682
CV
14662003-03-20 Corinna Vinschen <vinschen@redhat.com>
1467
1468 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1469 when stepping out of main().
1470
182dbe85
CV
14712003-03-20 Corinna Vinschen <vinschen@redhat.com>
1472
1473 * gdb.base/default.exp: Check for win32 specific message when calling
1474 "run" without executable.
1475
d67a6ba5
CV
14762003-03-20 Corinna Vinschen <vinschen@redhat.com>
1477
1478 * gdb.base/args.exp: Expect .exe in output.
1479
a955b5bb
CV
14802003-03-20 Corinna Vinschen <vinschen@redhat.com>
1481
1482 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1483 Cygwin native.
1484
bf6bad4b
AC
14852003-03-17 Andrew Cagney <cagney@redhat.com>
1486
1487 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1488 vector registes.
1489 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1490 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1491
293e9a31
DC
14922003-03-17 David Carlton <carlton@math.stanford.edu>
1493
1494 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1495 test, for PR breakpoints/38.
1496 Call test_watchpoint_and_breakpoint.
1497 * gdb.base/watchpoint.c (func3): New function.
1498 (main): Call func3.
1499
5330f2db
DC
15002003-03-04 David Carlton <carlton@math.stanford.edu>
1501
1502 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1503 Garply<Garply<char> >:: garply".
1504 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1505 with respect to PR c++/1111; note also PR c++/1113.
1506 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1507 respect to PR c++/1062.
1508 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1509
6ece72da
DC
15102003-03-03 David Carlton <carlton@math.stanford.edu>
1511
1512 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1513 with respect to PR c++/57.
1514 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1515 c++/826.
1516 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1517 respect to PR c++/57.
1518
85ca1584
DC
15192003-03-03 David Carlton <carlton@math.stanford.edu>
1520
1521 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1522 respect to PR c++/33 into FAILs.
1523
98e9c5b8
MC
15242003-03-03 Michael Chastain <mec@shout.net>
1525
7bedbf27
MC
1526 * configure.in: Update copyright years.
1527
15282003-03-03 Michael Chastain <mec@shout.net>
1529
1530 * Makefile.in: Update copyright years.
98e9c5b8 1531
f683e100
DC
15322003-02-28 David Carlton <carlton@math.stanford.edu>
1533
1534 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1535 print class instead of struct and/or superfluous protection
1536 specifiers, as long as the resulting output is equivalent to the
1537 source code.
1538 Delete FIXME from end of messages on tests that don't need
1539 fixing.
1540
a9e0cf2c
DC
15412003-02-28 David Carlton <carlton@math.stanford.edu>
1542
1543 * gdb.c++/templates.exp (do_tests): Allow const in the two
1544 Foo<volatile char *>::foo tests.
1545
e8d359df
MS
15462003-02-27 Michael Snyder <msnyder@redhat.com>
1547
1548 * gdb.base/restore.c (main): Return zero, so exit code
1549 will be consistant.
1550
0b71dc91
DC
15512003-02-26 David Carlton <carlton@math.stanford.edu>
1552
1553 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1554 char *>::foo" test with respect to PR c++/33. Create a new test
1555 which is identical to that one except that it doesn't put the
1556 space between the "char" and the "*"; KFAIL it, too.
1557
dd14ab43
DC
15582003-02-26 David Carlton <carlton@math.stanford.edu>
1559
1560 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1561 template types into either PASSes or KFAILs (corresponding to PR
1562 c++/57). Tweak indentation. Update copyright.
1563
1146c7f1
SC
15642003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1565
1566 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1567
74641dfb
MC
15682003-02-13 Michael Chastain <mec@shout.net>
1569
1570 * gdb.base/exprs.exp: Remove i960 remnants.
1571 * gdb.base/funcargs.exp: Likewise.
1572 * gdb.base/list.exp: Likewise.
1573 * gdb.base/ptype.exp: Likewise.
1574
559cd2d0
DC
15752003-02-14 David Carlton <carlton@math.stanford.edu>
1576
1577 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1578 pEe->D::vg()" from XFAIL to KFAIL.
1579
c4f90d87
JM
15802003-02-13 Jason Molenda (jmolenda@apple.com)
1581
1582 * gdb.base/maint.exp: Update maint print statistics regexp to include
1583 new entries.
1584
cbc4d97c
MC
15852003-02-13 Michael Chastain <mec@shout.net>
1586
1587 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1588
40f235b7
MC
15892003-02-12 Michael Chastain <mec@shout.net>
1590
1591 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1592 * gdb.c++/inherit.exp: Likewise.
1593 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1594 * gdb.c++/templates.exp: Likewise.
1595 * gdb.c++/virtfunc.exp: Likewise.
1596
c56716b0
JM
15972003-02-06 Jason Molenda (jason-cl@molenda.com)
1598
1599 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1600 why the code is written that way.
1601
070afcf8
MC
16022003-02-05 Michael Chastain <mec@shout.net>
1603
1604 * gdb.base/dump.exp: Add missing copyright line.
1605
5d0331e5
JM
16062003-02-05 Jason Molenda (jason-cl@molenda.com)
1607
f7ae6d3e 1608 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1609 at the beginning so the breakpoint doesn't get set on the loop.
1610
92851186
MC
16112003-02-05 Michael Chastain <mec@shout.net>
1612
1613 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1614 output for configurations with gcc 2.95.3.
1615
cbf1e085
AC
16162003-02-05 Keith Seitz <keiths@redhat.com>
1617 Andrew Cagney <ac131313@redhat.com>
1618
1619 * gdb.mi/mi-cli.exp: New file.
1620
29518e1e
MC
16212003-02-04 Michael Chastain <mec@shout.net>
1622
1623 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1624 Call perror and then continue.
1625
5af1d5f3
MC
16262003-02-03 Michael Chastain <mec@shout.net>
1627
1628 * gdb.c++/pr-1023.cc: New file.
1629 * gdb.c++/pr-1023.exp: New file.
1630
6b549786
JB
16312003-02-05 Jim Blandy <jimb@redhat.com>
1632
1633 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1634 it's local to foobar. Check for it there, and check that it's not
1635 present in main.
1636 * gdb.c++/local.cc (marker2): New function.
1637 (foobar): Call marker1.
1638 (main): Call marker2 instead of marker1.
1639
67f16606
AC
16402003-02-04 Andrew Cagney <ac131313@redhat.com>
1641
1642 * gdb.disasm/mn10200.exp: Obsolete file.
1643 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1644 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1645 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1646
1c5cb38e
DC
16472003-02-04 David Carlton <carlton@math.stanford.edu>
1648
1649 * gdb.c++/overload.exp: Test intToChar(1).
1650 * gdb.c++/overload.cc (intToChar): New.
1651 (main): Call intToChar.
1652
d1fe6965
DC
16532003-02-03 David Carlton <carlton@math.stanford.edu>
1654
1655 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1656 'might_kfail' arg.
1657 KFAIL some of the continue_to_bp_overloaded calls, according to
1658 PR c++/1025.
1659
9ba61c5d
MC
16602003-02-01 Michael Chastain <mec@shout.net>
1661
1662 * gdb.base/advance.c (marker1): New marker function.
1663 * gdb.base/advance.exp: When the 'advance' command lands on the
1664 return breakpoint, it can legitimately stop on either the
1665 current line or the next line. Accommodate both outcomes.
1666 * gdb.base/until.exp: Likewise.
1667
e7494ffb
AC
16682003-02-02 Andrew Cagney <ac131313@redhat.com>
1669
1670 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1671 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1672 now a list, not a tuple.
1673 * gdb.mi/mi-var-display.exp: Ditto.
1674 * gdb.mi/gdb792.exp: Ditto.
1675
075559bc
AC
16762003-02-01 Andrew Cagney <ac131313@redhat.com>
1677
1678 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1679 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1680 stack backtraces.
1681 * gdb.mi/mi-syn-frame.c: Part of same.
1682
2bd4c7b1
MK
16832003-02-01 Mark Kettenis <kettenis@gnu.org>
1684
1685 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1686 gdb.mi/mi1-pthreads.exp: Return instead of calling
1687 gdb_suppress_entire_file.
1688
eabd8992
MS
16892003-02-01 Mark Salter <msalter@redhat.com>
1690
1691 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1692
71469e2f
MS
16932003-01-31 Mark Salter <msalter@redhat.com>
1694
1695 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1696 Support empty arg.
1697
38a94d44
MC
16982003-01-30 Michael Chastain <mec@shout.net>
1699
1700 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1701 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1702 has been fixed in gdb/readline on 2003-01-09.
1703
19ea9e73
MS
17042003-01-29 Michael Snyder <msnyder@redhat.com>
1705
e8d359df
MS
1706 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1707 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1708 * gdb.base/args.exp: Skip if target does not support args passing.
1709
2307bd6a
DJ
17102003-01-22 Daniel Jacobowitz <drow@mvista.com>
1711
19ea9e73 1712 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1713 gdb_test. Accept a list of expect arguments as the third
1714 parameter.
1715 (gdb_test): Use it.
1716
f2dd3617
EZ
17172003-01-20 Elena Zannoni <ezannoni@redhat.com>
1718
1719 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1720 allow for different test tree configurations. Update some
1721 tescases accordingly.
1722 * gdb.arch/altivec-regs.exp: Ditto.
1723 * gdb.asm/asm-source.exp: Ditto.
1724 * gdb.base/advance.exp: Ditto.
1725 * gdb.base/display.exp: Ditto.
1726 * gdb.base/long_long.exp: Ditto.
1727 * gdb.base/mips_pro.exp: Ditto.
1728 * gdb.base/overlays.exp: Ditto.
1729 * gdb.base/relocate.exp: Ditto.
1730 * gdb.base/setshow.exp: Ditto.
1731 * gdb.base/step-line.exp: Ditto.
1732 * gdb.base/step-test.exp: Ditto.
1733 * gdb.base/until.exp: Ditto.
1734 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1735
c71cdefd
DC
17362003-01-17 David Carlton <carlton@math.stanford.edu>
1737
1738 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1739 corresponding to PR c++/945.
1740 Update copyright.
1741
fdba05d7
DC
17422003-01-17 David Carlton <carlton@math.stanford.edu>
1743
1744 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1745 corresponding to PR c++/68.
1746
17472003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1748
1749 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1750 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1751 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1752
c362c33a
EZ
17532003-01-15 Elena Zannoni <ezannoni@redhat.com>
1754
0fbc361c
EZ
1755 * gdb.base/break.exp: Fix change of default location, because of
1756 removal of until tests.
1757 * gdb.base/help.exp: Update test for new 'until' help message.
1758 Add test for help on 'advance'.
c362c33a
EZ
1759 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1760
dabf8a35
MK
17612003-01-15 Mark Kettenis <kettenis@gnu.org>
1762
1763 * gdb.base/default.exp: Adapt "info float" test for recent changes
1764 to that command. Add test for "info vector".
1765 * gdb.base/float.exp: New file. Add test for "info float" that
1766 resembles the old test in gdb.base/default.exp.
1767
a1769aca
DC
17682003-01-15 David Carlton <carlton@math.stanford.edu>
1769
1770 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1771
82025e13
EZ
17722003-01-15 Elena Zannoni <ezannoni@redhat.com>
1773
1774 * gdb.base/break.exp: Move the tests of until command from here...
1775 * gdb.base/until.exp: ... to here. New file. Add other tests.
1776 * gdb.base/advance.c: New file.
1777 * gdb.base/advance.exp: New file.
1778
8f9ab801
EZ
17792003-01-14 Elena Zannoni <ezannoni@redhat.com>
1780
1781 * gdb.base/args.c: New file.
1782 * gdb.base/args.exp: New file.
1783
9ae66589
DJ
17842003-01-14 Daniel Jacobowitz <drow@mvista.com>
1785
1786 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1787
8d77e5c3
DJ
17882003-01-14 Daniel Jacobowitz <drow@mvista.com>
1789
1790 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1791
12d2f0a1
DJ
17922003-01-14 Daniel Jacobowitz <drow@mvista.com>
1793
1794 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1795 dates.
1796
6ca37014
DJ
17972003-01-13 Daniel Jacobowitz <drow@mvista.com>
1798
1799 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1800
b0023472
DJ
18012003-01-13 Daniel Jacobowitz <drow@mvista.com>
1802
1803 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1804 (ptype &*"foo").
1805 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1806
d6abaea5
DJ
18072002-01-13 Daniel Jacobowitz <drow@mvista.com>
1808
1809 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1810 * gdb.mi/mi1-console.exp: Likewise.
1811
dfd536a7
DJ
18122002-01-13 Daniel Jacobowitz <drow@mvista.com>
1813
1814 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1815 * gdb.mi/mi1-console.exp: Likewise.
1816
a1fb14a2
DJ
18172003-01-13 Daniel Jacobowitz <drow@mvista.com>
1818
1819 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1820
c4cf40b7
DJ
18212003-01-09 Daniel Jacobowitz <drow@mvista.com>
1822
1823 * gdb.base/detach.exp: New test.
1824
696d5a5b
DJ
18252003-01-09 Daniel Jacobowitz <drow@mvista.com>
1826
1827 * Makefile.in (ALL_SUBDIRS): New variable.
1828 (subdirs, clean, distclean): Use it.
1829 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1830 regenerating Makefile, since it is generated from the top level.
1831 * gdb.asm/Makefile.in: Likewise.
1832 * gdb.base/Makefile.in: Likewise.
1833 * gdb.c++/Makefile.in: Likewise.
1834 * gdb.disasm/Makefile.in: Likewise.
1835 * gdb.java/Makefile.in: Likewise.
1836 * gdb.mi/Makefile.in: Likewise.
1837 * gdb.threads/Makefile.in: Likewise.
1838 * gdb.trace/Makefile.in: Likewise.
1839
754533e4
DC
18402003-01-09 David Carlton <carlton@math.stanford.edu>
1841
1842 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1843 Add copyright year 2003.
1844
d8b3e9ee
MC
18452003-01-06 Michael Chastain <mec@shout.net>
1846
1847 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1848 When selecting a thread, 'line' and 'file' are optional.
1849 * gdb.mi/mi1-pthreads.exp: Likewise.
1850
8e9e0fe6
AS
18512003-01-06 Andreas Schwab <schwab@suse.de>
1852
1853 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1854 failures.
1855
b5ab8ff3
DJ
18562003-01-04 Daniel Jacobowitz <drow@mvista.com>
1857
1858 Fix PR gdb/844
1859 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1860 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1861
1862 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1863 instead of calling gdb_suppress_entire_file.
1864 * gdb.threads/print-threads.exp: Likewise.
1865 * gdb.threads/schedlock.exp: Likewise.
1866
1867 * gdb.threads/killed.exp: Return instead of calling
1868 gdb_suppress_entire_file.
1869 * gdb.threads/linux-dp.exp: Likewise.
1870 * gdb.threads/pthreads.exp: Likewise.
1871
1e698235
DJ
18722003-01-04 Daniel Jacobowitz <drow@mvista.com>
1873
1874 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1875 stabs.
1876 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1877 * gdb.base/whatis.exp: Always allow (void) after function names.
1878
147ff08c
DJ
18792003-01-04 Daniel Jacobowitz <drow@mvista.com>
1880
1881 * gdb.c++/casts.exp: Correct regexp.
1882
dc62bfc2
MK
18832003-01-04 Mark Kettenis <kettenis@gnu.org>
1884
1885 * configure.in: Call AC_CONFIG_HEADER. Don't call
1886 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1887 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1888 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1889 aforementioned directories in the AC_OUPUT call.
1890 * config.hin: New file.
1891 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1892 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1893 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1894 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1895 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1896 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1897 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1898 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1899 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1900 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1901 gdb.threads/configure.in, gdb.threads/configure,
1902 gdb.threads/config.in, gdb.trace/configure.in,
1903 gdb.trace/configure: Removed.
1904
77afa639
MC
19052003-01-03 Michael Chastain <mec@shout.net>
1906
1907 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1908 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1909
7634bb6e
DJ
19102003-01-03 Daniel Jacobowitz <drow@mvista.com>
1911
1912 * gdb.base/store.exp: Fix regular expressions.
1913
b39c905e
MK
19142002-12-28 Mark Kettenis <kettenis@gnu.org>
1915
1916 * configure.in: Rewrite.
1917 * configure: Regenerated.
1918
0a8551dd
DC
19192003-01-03 David Carlton <carlton@math.stanford.edu>
1920
1921 * gdb.base/psymtab.exp: New file.
1922 * gdb.base/psymtab1.c: Ditto.
1923 * gdb.base/psymtab2.c: Ditto.
1924
c60b7188
AF
19252002-12-23 Adam Fedor <fedor@gnu.org>
1926
1927 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1928
ee73db83
DC
19292002-12-23 David Carlton <carlton@math.stanford.edu>
1930
1931 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1932 and current_directory initialization.
1933
d6c1774e
JB
19342002-12-22 Jim Blandy <jimb@redhat.com>
1935
f0a847b8
JB
1936 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1937 rather than as part of the output file name.
1938
d6c1774e
JB
1939 * gdb.base/attach.exp: There's no need to copy the test program to
1940 /tmp; that was only ever necessary on HP/UX, and this test is
1941 entirely disabled there anyway.
1942
f0708dbb
JB
19432002-12-21 Jim Blandy <jimb@redhat.com>
1944
4c2acfea
JB
1945 * gdb.c++/psmang.exp: Doc fix.
1946
f0708dbb
JB
1947 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1948 test.
1949
9579e000
DC
19502002-12-20 David Carlton <carlton@math.stanford.edu>
1951
1952 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1953
d1810171
MC
19542002-12-18 Michael Chastain <mec@shout.net>
1955
1956 * gdb.c++/annota2.exp: Add copyright year 2002.
1957
76565097
DC
19582002-12-17 David Carlton <carlton@math.stanford.edu>
1959
1960 * gdb.c++/try_catch.cc: Add marker comments.
1961 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1962 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1963 * gdb.c++/m-static.cc: Ditto.
1964 * gdb.c++/m-static1.cc: Ditto.
1965 * gdb.c++/try_catch.cc: Ditto.
1966
da81390b
JJ
19672002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1968
1969 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1970 to see whether we are using the new -environment-directory
1971 command which resets via -r or the old version of the command
1972 which may prompt the user. Part of fix for gdb/741.
1973
b304d130
AC
19742002-12-13 Andrew Cagney <ac131313@redhat.com>
1975
1976 * gdb.fortran/types.exp: Update obsolete comment.
1977 * gdb.fortran/exprs.exp: Ditto.
1978 * lib/gdb.exp: Delete obsolete code.
1979 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1980 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1981 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1982 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1983 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1984 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1985 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1986 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1987 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1988 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1989 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1990 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1991 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1992 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1993 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1994 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1995 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1996 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1997 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1998 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1999 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2000 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2001 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2002 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2003 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2004 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2005 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2006 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2007 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2008 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2009 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2010 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2011 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2012 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2013 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2014 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2015 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2016
a23b6e6a
DC
20172002-12-11 David Carlton <carlton@math.stanford.edu>
2018
2019 * gdb.c++/m-data.exp: Add test for members that shadow global
2020 variables: see PR gdb/804.
2021 * gdb.c++/m-data.cc: Ditto.
2022
6604731b
DJ
20232002-12-10 Daniel Jacobowitz <drow@mvista.com>
2024
2025 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2026
de46ecd7
DC
20272002-12-06 David Carlton <carlton@math.stanford.edu>
2028
2029 * gdb.base/store.c: Don't declare functions static.
2030
27e829d0
AC
20312002-12-04 Andrew Cagney <ac131313@redhat.com>
2032
2033 * gdb.base/store.exp, gdb.base/store.c: New files.
2034
92806416
DJ
20352002-12-03 Daniel Jacobowitz <drow@mvista.com>
2036
2037 * gdb.base/selftest.exp: Update for current gdb.
2038
3bcbaac5
DJ
20392002-12-03 Daniel Jacobowitz <drow@mvista.com>
2040
2041 * gdb.base/maint.exp: Only dump symbols from one source file
2042 or objfile.
2043
f4f00b1f
DJ
20442002-12-03 Daniel Jacobowitz <drow@mvista.com>
2045
2046 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2047 function call.
2048
f1c8a949
JB
20492002-11-25 Jim Blandy <jimb@redhat.com>
2050
2051 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2052 function appearing in error message.
2053
9e297a97
DJ
20542002-11-21 Daniel Jacobowitz <drow@mvista.com>
2055
2056 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2057
1f312e79
JJ
20582002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2059
2060 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2061 for mi1 and current mi is in correct format. New mi startup message
2062 should be in mi console format. This is part of fix for PR gdb/604.
2063
83c31e7d
FN
20642002-09-18 Fernando Nasser <fnasser@redhat.com>
2065
2066 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2067 which explicitly prints the zero offset as "+0".
2068
322b3f65
DJ
20692002-10-22 Daniel Jacobowitz <drow@mvista.com>
2070
2071 * gdb.threads/schedlock.c (args): Make unsigned.
2072
20732002-10-21 Daniel Jacobowitz <drow@mvista.com>
2074
2075 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2076 numbers. Allow "foo2|selected stack frame".
2077 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2078 * gdb.asm/asmsrc2.s: Likewise.
2079 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2080 comments.
2081 * gdb.asm/mips.inc: New file.
2082
5e2fe5b8
AF
20832002-10-18 Adam Fedor <fedor@gnu.org>
2084
2085 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2086 * gdb.base/help.exp: Likewise.
2087
abe1a5d0
KB
20882002-10-17 Kevin Buettner <kevinb@redhat.com>
2089
2090 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2091 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2092
10abb1d4
JB
20932002-10-02 Jim Blandy <jimb@redhat.com>
2094
2095 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2096
1f609b42
AC
20972002-10-01 Andrew Cagney <ac131313@redhat.com>
2098
2099 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2100 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2101 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2102 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2103 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2104 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2105 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2106
0aee02e4
AC
21072002-09-29 Andrew Cagney <ac131313@redhat.com>
2108
2109 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2110 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2111 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2112 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2113 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2114 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2115 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2116
6fde09ad
KB
21172002-09-27 Kevin Buettner <kevinb@redhat.com>
2118
2119 * gdb.base/annota1.exp (info break): Make directory components of
2120 path optional since not all compilers emit this debug information.
2121
2122 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2123 step ends up stepping out of the function instead of stopping on
2124 the epilogue.
2125
9e8aab75
KS
21262002-09-26 Keith Seitz <keiths@redhat.com>
2127
2128 * lib/insight-support.exp (gdbtk_start): Figure out where
2129 the insight executable is based on where gdb is. Use this
2130 executable to start insight instead of gdb.
2131
e36180d7
AC
21322002-09-25 Andrew Cagney <cagney@redhat.com>
2133
2134 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2135
9dd34b2b
AC
21362002-09-24 Andrew Cagney <ac131313@redhat.com>
2137
2138 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2139 test_isolated_complaints.
2140 (test_empty_complaint): New function.
2141 (test_empty_complaints): New function. Check no output when no
2142 complaints.
2143
dea97812
KB
21442002-09-19 Jim Blandy <jimb@redhat.com>
2145
2146 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2147
54951bd7
AC
21482002-09-19 Andrew Cagney <ac131313@redhat.com>
2149
2150 * gdb.gdb/complaints.exp: New file.
2151
dec43320
AC
21522002-09-18 Andrew Cagney <ac131313@redhat.com>
2153
2154 * gdb.base/maint.exp: Check `help maint internal-warning'.
2155
e70d6e3f
DC
21562002-09-18 David Carlton <carlton@math.stanford.edu>
2157
2158 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2159 numbers, and replace them by a single breakpoint after the
2160 constructors are all finished.
2161 Add test 4.
2162 * gdb.c++/m-static.cc: Add test 4.
2163 * gdb.c++/m-static.h: New file.
2164 * gdb.c++/m-static1.cc: New file.
2165
2166 * gdb.c++/printmethod.exp: New file.
2167 * gdb.c++/printmethod.cc: New file.
2168
2169 * gdb.c++/pr-574.exp: New file.
2170 * gdb.c++/pr-574.cc: New file.
2171
afb5c968
CV
21722002-09-18 Corinna Vinschen <vinschen@redhat.com>
2173
2174 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2175 embedded targets which never actually exit.
2176
31e45dee
FN
21772002-09-18 Fernando Nasser <fnasser@redhat.com>
2178
2179 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2180 "don't step after run" as unresolved or unsupported, instead of xfail.
2181
a283c5a1
CV
21822002-09-18 Corinna Vinschen <vinschen@redhat.com>
2183
2184 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2185 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2186 Add newline to expected string in "step out of main (status wrapper)"
2187 case.
2188
11350d2a
CV
21892002-09-18 Corinna Vinschen <vinschen@redhat.com>
2190
2191 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2192 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2193
0deec7d6
TT
21942002-09-17 Tom Tromey <tromey@redhat.com>
2195
2196 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2197 \000, not \0, in double-quoted string.
2198
b2b4a1b5
CV
21992002-09-14 Corinna Vinschen <vinschen@redhat.com>
2200
c9d37158 2201 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2202 string after running the commands execution on breakpoint tests.
2203
1c56143a
CV
22042002-09-13 Corinna Vinschen <vinschen@redhat.com>
2205
2206 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2207
37f8da45
JB
22082002-09-12 Joel Brobecker <brobecker@gnat.com>
2209
2210 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2211
08b468e0
KS
22122002-09-10 Keith Seitz <keiths@redhat.com>
2213
2214 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2215 runto proc.
2216 (mi_run_to_main): Use mi_runto.
2217 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2218
dc360f58
KS
22192002-09-10 Keith Seitz <keiths@redhat.com>
2220
2221 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2222 regexp for stopping at main. Could have multiple event notifications.
2223 Don't assume that main was declared with no parameters.
2224 (mi_next): Use mi_step_to.
2225 (mi_step): Use mi_next_to.
2226
ce3abcfb
CV
22272002-09-09 Corinna Vinschen <vinschen@redhat.com>
2228
2229 * gdb.base/default.exp: Fix expected string in `info float' test.
2230
d1f5b980
BE
22312002-09-09 Ben Elliston <bje@redhat.com>
2232
2233 * config/mips.exp: Update comments.
2234 * config/mips-idt.exp: Likewise.
2235 * config/nind.exp: Likewise.
2236 * config/slite.exp: Likewise.
2237 * config/sparclet.exp: Likewise.
2238 * config/udi.exp: Likewise.
2239 * config/vx.exp: Likewise.
2240 * config/vxworks29k.exp: Likewise.
2241
2f71430b
JB
22422002-09-05 Jim Blandy <jimb@redhat.com>
2243
2244 * gdb.threads/killed.exp: Fix test failure message.
2245
7ddebc7e
KS
22462002-09-04 Keith Seitz <keiths@redhat.com>
2247
2248 * lib/mi-support.exp: Update copyright.
2249 (mi_gdb_test): Increase the priority of the expected pattern
2250 so that it matches gdb_test.
2251
0ae67eb3
KS
22522002-09-03 Keith Seitz <keiths@redhat.com>
2253
2254 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2255 Use integer comparison instead of string comparison for testing
2256 whether binary was built.
2257
38fc42c8
JB
22582002-09-03 Jim Blandy <jimb@redhat.com>
2259
2260 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2261
b6ff0e81
JB
22622002-08-29 Jim Blandy <jimb@redhat.com>
2263
2264 * gdb.threads/pthreads.exp: Move the portable thread compilation
2265 code into a function in lib/gdb.exp, and call that from here.
2266 * lib/gdb.exp (gdb_compile_pthreads): New function.
2267
07c98896
KS
22682002-08-29 Keith Seitz <keiths@redhat.com>
2269
2270 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2271 expect_out so that callers can get at it.
2272
0312286c
DJ
22732002-08-23 Daniel Jacobowitz <drow@mvista.com>
2274
2275 * gdb.threads/print-threads.c: New file.
2276 * gdb.threads/print-threads.exp: New file.
2277 * gdb.threads/schedlock.c: New file.
2278 * gdb.threads/schedlock.exp: New file.
2279
dd039bc4
EZ
22802002-08-22 Elena Zannoni <ezannoni@redhat.com>
2281
2282 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2283 not altivec.c.
2284
1f36144c
MK
22852002-08-17 Mark Kettenis <kettenis@gnu.org>
2286
2287 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2288 targets. The problem should be fixed now.
2289
16057ec7 22902002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2291
2292 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2293 2002-07-24 change that removes final dots from error messages.
2294
3c1499ad
TT
22952002-08-13 Tom Tromey <tromey@redhat.com>
2296
2297 * gdb.base/readline.exp: New file.
2298
a20ce2c3
AC
22992002-08-01 Andrew Cagney <ac131313@redhat.com>
2300
2301 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2302 supress message.
2303
db034ac5
AC
23042002-08-01 Andrew Cagney <cagney@redhat.com>
2305
2306 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2307 CHILL_FOR_TARGET and CHILL_LIB.
2308 * configure.in (configdirs): Remove gdb.chill.
2309 * configure: Regenerate.
2310 * lib/gdb.exp: Obsolete references to chill.
2311 * gdb.fortran/types.exp: Ditto.
2312 * gdb.fortran/exprs.exp: Ditto.
2313
3e000b18
KB
23142002-07-30 Kevin Buettner <kevinb@redhat.com>
2315
2316 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2317 set Irix-specific compile and link flags.
2318
28f4966b
KB
23192002-07-29 Kevin Buettner <kevinb@redhat.com>
2320
2321 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2322 source files. The ``-o'' option doesn't work with the ``-E'' option
2323 when using the Irix compiler.
2324
46c0d5a6
DJ
23252002-07-19 Daniel Jacobowitz <drow@mvista.com>
2326
2327 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2328 Improve support for reusing an exec file. Copy exec file
2329 to target, and run gdbserver on the target instead of on the host.
2330
eecf4bed
JB
23312002-07-18 Jim Blandy <jimb@redhat.com>
2332
0f815cdf
JB
2333 * gdb.base/ending-run.exp: Don't expect to see the program end in
2334 some orderly fashion when we're running on a real stand-alone
2335 board.
2336
eecf4bed
JB
2337 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2338 targets that don't support interrupts.
2339
52d309e4
JB
23402002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2341
2342 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2343 systems.
2344 Move comments in expect statements to inside the actions, so that they
2345 don't get matched against.
2346
ff683d9e
MK
23472002-07-10 Mark Kettenis <kettenis@gnu.org>
2348
2349 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2350 function when asleep" test.
2351
b5356753
AC
23522002-07-10 Andrew Cagney <ac131313@redhat.com>
2353
2354 * gdb.base/page.exp: Rewrite to handle problems with very long
2355 `info set' output. Update copyright.
2356
6aa4d13a
AC
23572002-06-26 Andrew Cagney <ac131313@redhat.com>
2358
2359 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2360 gdb.threads-hp.
2361 * gdb.hp/configure: Regenerate.
2362 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2363 * gdb.hp/gdb.threads-hp/configure: Delete file.
2364 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2365
8cf8c2b8
AC
23662002-06-22 Andrew Cagney <ac131313@redhat.com>
2367
2368 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2369 setlocale, bindtextdomain and textdomain.
2370
6827a8f8
JB
23712002-06-11 Jim Blandy <jimb@redhat.com>
2372
919d772c
JB
2373 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2374 preprocessor macro information is present.
2375
6827a8f8
JB
2376 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2377 tests.
2378
c15b0d21
MS
23792002-06-06 Michael Snyder <msnyder@redhat.com>
2380
c5984d70
MS
2381 * gdb.base/overlays.exp: Record addresses of overlay
2382 functions in TCL variables rather than in GDB variables,
2383 to avoid having GDB convert them to pointers (with loss
2384 of information).
2385
99a8512b
MS
2386 * gdb.base/d10v.ld: Merge in several years worth of
2387 default linker script changes.
c15b0d21
MS
2388 * gdb.base/long_long.exp: Add check for sizeof (long double).
2389
be26fe0d
ML
23902002-06-06 Michal Ludvig <mludvig@suse.cz>
2391
2392 * gdb.asm/asm-source.exp: Add x86-64 target.
2393 * gdb.asm/x86_64.inc: New.
2394
258093ca 23952002-05-30 Michael Chastain <mec@shout.net>
258093ca 2396
4b3153f1 2397 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2398 * gdb.c++/m-static.cc: New file.
2399 * gdb.c++/m-static.exp: New file.
2400
241264c6
MS
24012002-05-28 Michael Snyder <msnyder@redhat.com>
2402
2403 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2404 precision.
2405
9bba8c8f 24062002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2407
4b3153f1 2408 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2409 * gdb.c++/m-data.cc: New file.
2410 * gdb.c++/m-data.exp: New file.
2411
24122002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2413
4b3153f1 2414 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2415 * gdb.c++/try_catch.cc: New file.
2416 * gdb.c++/try_catch.exp: New file.
2417
def1b996
MC
24182002-05-27 Michael Chastain <mec@shout.net>
2419
2420 * gdb.c++/local.exp: Accept more nested types in output.
2421
522ba268
MC
24222002-05-26 Michael Chastain <mec@shout.net>
2423
2424 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2425
277254ba
MS
24262002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2427
2428 * lib/gdb.exp (gdb_wrapper_init): Just because
2429 gdb_wrapper_file exists, this does not mean that the file
2430 should not be rebuilt. That is what gdb_wrapper_initialized
2431 is for.
2432 (default_gdb_init): Reset gdb_wrapper_initialized.
2433
b61a8733
MS
24342002-05-23 Michael Snyder <msnyder@redhat.com>
2435
5bdb6d01
MS
2436 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2437 the precision of the floating point test results.
2438 * gdb.base/call-rt-st.exp: Ditto.
2439
b61a8733
MS
2440 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2441 * gdb.base/call-rt-st.exp: Ditto.
2442
56f6e910
MC
24432002-05-19 Michael Chastain <mec@shout.net>
2444
2445 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2446
ad0b0016
EZ
24472002-05-19 Elena Zannoni <ezannoni@redhat.com>
2448
2449 * configure.in (configdirs): Add gdb.arch.
2450 * configure: Regenerate.
2451
f617d2b6
JB
24522002-05-17 Jim Blandy <jimb@redhat.com>
2453
2454 * gdb.base/completion.exp: Recognize the more detailed error
2455 messages produced by the macro expander's lexical analyzer.
2456
eac2a696
EZ
24572002-05-14 Elena Zannoni <ezannoni@redhat.com>
2458
2459 * gdb.arch/altivec-abi.c: New file.
2460 * gdb.arch/altivec-abi.exp: New file.
2461 * gdb.arch/altivec-regs.c: New file.
2462 * gdb.arch/altivec-regs.exp: New file.
2463
2fdde8f8
DJ
24642002-05-14 Daniel Jacobowitz <drow@mvista.com>
2465
2466 * gdb.base/maint.exp (maint print type): Update for new type
2467 structure.
eac2a696 2468
e31f1a7c
EZ
24692002-05-14 Elena Zannoni <ezannoni@redhat.com>
2470
2471 * gdb.arch: New directory.
2472 * gdb.arch/configure.in: New file.
2473 * gdb.arch/configure: New file.
2474 * gdb.arch/Makefile.in: New file.
2475
db589741
CV
24762002-05-13 Corinna Vinschen <vinschen@redhat.com>
2477
2478 * gdb.asm/asm-source.exp: Add v850 as supported target.
2479 * gdb.asm/v850.inc: New file.
2480
8ce2a7dc
DJ
24812002-05-13 Daniel Jacobowitz <drow@mvista.com>
2482
2483 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2484
df763c7f
DJ
24852002-05-12 Daniel Jacobowitz <drow@mvista.com>
2486
2487 * gdb.base/break.exp: Check 'break "marker2"'.
2488
377daeed
MS
24892002-05-10 Michael Snyder <msnyder@redhat.com>
2490
2491 * gdb.base/long_long.exp: Fix typo.
2492
c4b7bc2b
JB
24932002-05-10 Jim Blandy <jimb@redhat.com>
2494
ecac9a4e
JB
2495 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2496 a bug.
2497
c4b7bc2b
JB
2498 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2499 Recognize more detailed error message produced by the macro
2500 expander's lexical analyzer.
2501 * lib/gdb.exp (test_print_reject): Same.
2502
e71019a1
MK
25032002-05-09 Mark Kettenis <kettenis@gnu.org>
2504
2505 * gdb.c++/method.exp: Fix typo.
2506
fedfc8e6
MS
25072002-05-08 Michael Snyder <msnyder@redhat.com>
2508
166a1957
MS
2509 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2510 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2511 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2512 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2513 Add iftarget clause for strongarm.
2514
f1c47eb2
MS
25152002-05-06 Michael Snyder <msnyder@redhat.com>
2516
cb9a9d3e
MS
2517 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2518 (gdb_continue_to_end): Accept output from status wrapper.
2519 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2520 Clean up fail messages to match pass messages.
2521
f1c47eb2
MS
2522 Enable the "needs_status_wrapper" testsuite feature.
2523 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2524 (gdb_compile): Conditionally call gdb_wrapper_init.
2525 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2526 * gdb.c++/method.exp: Recognize output from status wrapper.
2527
6079c749
BE
25282002-05-06 Ben Elliston <bje@redhat.com>
2529From Graydon Hoare <graydon@redhat.com>
2530
2531 * config/sid.exp: Include support for "rawsid" protocol.
2532
188baff3
JB
25332002-05-03 Jim Blandy <jimb@redhat.com>
2534
2535 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2536 * gdb.c++/hang3.C: New file.
2537
b9c07f0f
AC
25382002-05-04 Andrew Cagney <ac131313@redhat.com>
2539
2540 * gdb.base/default.exp: Remove obsolete code.
2541 * gdb.c++/misc.exp: Ditto. Update copyright.
2542 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2543 * gdb.base/whatis.exp: Ditto. Update copyright.
2544 * gdb.base/scope.exp: Ditto. Update copyright.
2545 * gdb.base/ptype.exp: Ditto. Update copyright.
2546 * gdb.base/printcmds.exp: Ditto. Update copyright.
2547 * gdb.base/opaque.exp: Ditto. Update copyright.
2548 * gdb.base/list.exp: Ditto.
2549 * gdb.base/funcargs.exp: Ditto. Update copyright.
2550 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2551 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2552 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2553 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2554 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2555 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2556
5c7a0397
MS
25572002-05-02 Michael Snyder <msnyder@redhat.com>
2558
d6dcc264 2559 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2560 * gdb.base/long_long.exp: Add xscale target.
2561 * gdb.base/default.exp: Add xscale target.
2562
eb7f1c48
JB
25632002-05-01 Jim Blandy <jimb@redhat.com>
2564
2565 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2566 gdb.c++/hang.exp: New test.
2567
a6befae8
FF
25682002-05-01 Fred Fish <fnf@redhat.com>
2569
2570 * gdb.base/completion.exp: Handle completions of "./Make" for
2571 more than one completion possibility, as is the case when we
2572 build and test in the source tree.
2573
0a310277
AG
25742002-04-29 Anthony Green <green@redhat.com>
2575
2576 * gdb.java/jmisc1.exp: New file.
2577 * gdb.java/jmisc2.exp: New file.
2578
6ff9af88
DJ
25792002-04-24 Daniel Jacobowitz <drow@mvista.com>
2580
2581 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2582
96b3d632
EZ
25832002-04-23 Elena Zannoni <ezannoni@redhat.com>
2584
2585 * gdb.base/help.exp: Change 'help status' to allow for target
2586 dependent output differences.
2587
5019bb54
MC
25882002-04-22 Michael Chastain <mec@shout.net>
2589
2590 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2591
a805a116
MC
25922002-04-22 Michael Chastain <mec@shout.net>
2593
2594 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2595
a1706bfd
DM
25962002-04-17 David S. Miller <davem@redhat.com>
2597
2598 * gdb.asm/sparc64.inc: New file.
2599 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2600
a73a20a2
EZ
26012002-04-19 Elena Zannoni <ezannoni@redhat.com>
2602
2603 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2604 instruction file directly into the build tree. Clean up at end of
2605 test.
2606
ba678339
DM
26072002-04-18 David S. Miller <davem@redhat.com>
2608
2609 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2610 handle 64-bit platforms correctly.
2611 * gdb.base/maint.exp: Likewise.
2612
b03399da
KB
26132002-04-18 Kevin Buettner <kevinb@redhat.com>
2614
2615 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2616 ``-fpic'' when compiling files comprising a shared library, but
2617 it does need additional linker flags in order to find shared
2618 libraries at run time.
2619
e2004992
KB
26202002-04-18 Kevin Buettner <kevinb@redhat.com>
2621
2622 * gdb.base/cvexpr.c (use): New function.
2623 (main): Invoke use() on all global variables to prevent
2624 some linkers from deleting these otherwise unused symbols.
2625
d8937120
MC
26262002-04-17 Michael Chastain <mec@shout.net>
2627From David S. Miller <davem@redhat.com>
2628
2629 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2630 handle 64-bit platforms correctly.
2631
ffd61a58
MS
26322002-04-12 Michael Snyder <msnyder@redhat.com>
2633From Jim Blandy <jimb@redhat.com>
2634 * gdb.base/foo.c (foox): Remove section attribute; the linker
2635 script can handle this instead.
2636 * gdb.base/bar.c (barx): Same.
2637 * gdb.base/baz.c (bazx): Same.
2638 * gdb.base/grbx.c (grbxx): Same.
2639
2640 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2641 manager doesn't automatically unmap overlays unnecessarily.
2642
6b8426a6
MH
26432002-04-10 Martin M. Hunt <hunt@redhat.com>
2644
2645 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2646 stepping out of main.
2647
34af4875
MC
26482002-04-09 Michael Chastain <mec@shout.net>
2649
2650 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2651 scope so that the nested scope tests will make sense.
2652 * gdb.c++/local.exp: Write patterns that actually work with gcc
2653 (the HP patterns "were never known to work with gcc").
2654 Keep the old aCC patterns too.
2655
2d1676a0
DJ
26562002-04-09 Daniel Jacobowitz <drow@mvista.com>
2657
2658 * gdb.base/attach.exp: Correct target board test.
2659
3a63e3f9
MC
26602002-04-08 Michael Chastain <mec@shout.net>
2661
2662 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2663 in a const method. Add some xfail and fail cases for configurations
2664 that do not emit the "const ...".
2665
f18dabd2
MC
26662002-04-07 Michael Chastain <mec@shout.net>
2667
2668 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2669 Accept "A * const" and "const A * const" as type of "this".
2670 Fix spelling of getFunky throughout. Make messages uniform.
2671
0fcddd82
EZ
26722002-04-07 Elena Zannoni <ezannoni@redhat.com>
2673
2674 Work around for PR gdb/285:
2675 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2676
16a8534a
EZ
26772002-04-07 Elena Zannoni <ezannoni@redhat.com>
2678
2679 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2680 instructions file at run time instead of configure time.
2681 Sometimes we run the test in a directory that is not the one we
2682 configured in.
2683 * gdb.asm/configure.in: Delete creation of symlink.
2684 * gdb.asm/configure: Regenerate.
2685
24181d81
JB
26862002-04-05 J. Brobecker <brobecker@gnat.com>
2687
2688 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2689 xfullpath () function.
2690
7cdb7107
DJ
26912002-04-04 Daniel Jacobowitz <drow@mvista.com>
2692
2693 * gdb.asm/Makefile.in: Correct dependencies.
2694
2695 * gdb.asm/powerpc.inc: New file.
2696 * gdb.asm/asm-source.exp: Add PowerPC.
2697 * gdb.asm/configure.in: Likewise.
2698 * gdb.asm/configure: Regenerated.
2699
a7d17088
DJ
27002002-04-04 Daniel Jacobowitz <drow@mvista.com>
2701
2702 * gdb.base/relocate.exp: New file.
2703 * gdb.base/relocate.c: New file.
2704
cd721503
FF
27052002-04-04 Fred Fish <fnf@redhat.com>
2706
2707 * gdb.base/step-test.exp: Update comment regarding stopping in
2708 memcpy/bcopy calls inserted as part of the compiler runtime.
2709
b22ad7a7
MS
27102002-04-04 Michael Snyder <msnyder@redhat.com>
2711
2712 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2713
5f279fa6
DJ
27142002-04-03 Daniel Jacobowitz <drow@mvista.com>
2715
2716 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2717 (gdb_expect): Remove $notransfer hack.
2718
dd0fd3ce
DJ
27192002-04-02 Daniel Jacobowitz <drow@mvista.com>
2720
2721 * gdb.c++/classes.exp ("calling method for small class"): Match
2722 updated register output.
2723
1e50cda1
DJ
27242002-03-30 Daniel Jacobowitz <drow@mvista.com>
2725
2726 Fix PR gdb/452
2727 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2728 when finished. Make gdb_file_cmd send "exec-file" when
2729 appropriate.
2730
24015922
DJ
27312002-03-30 Daniel Jacobowitz <drow@mvista.com>
2732
2733 * gdb.base/attach.exp: Remove extra setup_xfail.
2734
dd7dfd64
MS
27352002-03-26 Michael Snyder <msnyder@redhat.com>
2736
2737 * gdb.base/default.exp: Add tests for dump, append, and restore.
2738 * gdb.base/help.exp: Add tests for dump, append, and restore.
2739 * gdb.base/dump.exp: New file, test dump, append and restore.
2740 * gdb.base/dump.c: New file.
2741
48b2f8d7
MS
27422002-03-27 Michael Snyder <msnyder@redhat.com>
2743
2744 * gdb.base/help.exp: Modify expect strings to reflect
2745 clean-ups in help messages.
2746
05b4d525
FF
27472002-03-26 Fred Fish <fnf@redhat.com>
2748
2749 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2750 have debugging info for those functions and the compiler uses them
2751 internally to copy structs around.
2752
d7679631
FF
27532002-03-26 Fred Fish <fnf@redhat.com>
2754
2755 * gdb.base/list.exp: Revert the change made yesterday and add note
2756 about why we don't list the default lines for remote targets.
2757
523ac3f9
MS
27582002-03-25 Michael Snyder <msnyder@redhat.com>
2759
2760 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2761
754b2b8d
FF
27622002-03-25 Fred Fish <fnf@redhat.com>
2763
2764 * gdb.base/list.exp: This test works on remote targets so remove
2765 the short circuit for remote targets. Update copyright.
2766
33c3e192
FF
27672002-03-25 Fred Fish <fnf@redhat.com>
2768
2769 * gdb.base/attach.exp: Fix logic error that was suppressing this
2770 test for all non hppa*-*-hpux* targets, instead of the hp target.
2771 Move comments closer to the suppression point. Also now need to
2772 check that we are running natively.
2773
d43e73ee
MS
27742002-03-22 Michael Snyder <msnyder@redhat.com>
2775
882c8f02
MS
2776 * gdb.base/default.exp: Add test for gcore. Update copyright.
2777 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2778
04c12f60
FF
27792002-03-06 Fred Fish <fnf@redhat.com>
2780
2781 * gdb.base/funcargs.c: Remove extraneous ';' character.
2782 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2783
b43df995
MC
27842002-03-04 Michael Chastain <mec@shout.net>
2785
2786 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2787 accommodate gcc v3 function signature.
2788 * gdb.mi/mi0-var-cmd-exp: Ditto.
2789
92362027
AC
27902002-02-24 Andrew Cagney <ac131313@redhat.com>
2791
2792 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2793 ``GNU/Linux'' or ``Linux kernel''
2794 * testsuite/gdb.threads/pthreads.c: Ditto.
2795
258ad32d
MC
27962002-02-24 Michael Chastain <mec@shout.net>
2797
2798 * gdb.threads/pthreads.c (thread1): Add a return statement.
2799 (thread2): Likewise.
2800 (foo): Likewise.
2801
04c3b3d4
MC
28022002-02-23 Michael Chastain <mec@shout.net>
2803
2804 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2805 to placate gcc.
2806
5a2a0a20
MC
28072002-02-23 Michael Chastain <mec@shout.net>
2808
2809 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2810 test "ptype bint". The test passes on all my stabs configurations.
2811
a640f7fc
JB
28122002-02-21 Jim Blandy <jimb@redhat.com>
2813
27924826
JB
2814 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2815 filename at a time, and watch for the ones we want to see.
2816
a640f7fc
JB
2817 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2818 types of pointers to prototyped functions.
2819
edcc8c75
AC
28202002-02-20 Andrew Cagney <ac131313@redhat.com>
2821
2822 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2823 signed, unsigned and straight char.
2824 (padding_char, padding_short, padding_int, padding_long,
2825 padding_long_long, padding_float, padding_double,
2826 padding_long_double): New global variables.
2827 (fill, fill_structs): New functions.
2828
2829 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2830 for correctly sized writes. Update copyright.
2831 (get_valueof): New procedure.
2832 (get_sizeof): Call get_valueof.
2833 (check_valueof): New procedure.
2834 (check_padding): New procedure.
2835
ac57ea44
MC
28362002-02-20 Michael Chastain <mec@shout.net>
2837
2838 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2839 to setup_xfail. Document some of the remaining calls.
2840
7a10c941
MC
28412002-02-18 Michael Chastain <mec@shout.net>
2842
2843 * gdb.c++/userdef.exp: Update copyright year.
2844
fb8acdcc
DJ
28452002-02-18 Daniel Jacobowitz <drow@mvista.com>
2846
2847 * gdb.c++/userdef.exp: Test overloaded operators properly.
2848 Remove xfails.
2849
fda6ae12
MS
28502002-02-14 Michael Snyder <msnyder@redhat.com>
2851
2852 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2853
676a0442
DJ
28542002-02-14 Daniel Jacobowitz <drow@mvista.com>
2855
2856 * gdb.base/a2-run.exp: Check for a remote target properly.
2857 * gdb.base/annota1.exp: Likewise.
2858 * gdb.base/list.exp: Likewise.
2859 * gdb.base/reread.exp: Likewise.
2860 * gdb.base/scope.exp: Likewise.
2861 * gdb.base/shlib-call.exp: Likewise.
2862 * gdb.base/term.exp: Likewise.
2863 * gdb.c++/annota2.exp: Likewise.
2864
78b4f468
RE
28652002-02-13 Richard Earnshaw <rearnsha@arm.com>
2866
2867 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2868
9a81ba51
MC
28692002-02-10 Michael Chastain <mec@shout.net>
2870
2871 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2872 (call_after_alloca): Ditto.
2873
004af6c7
DJ
28742002-02-10 Daniel Jacobowitz <drow@mvista.com>
2875
2876 * gdb.base/ending-run.exp: Guard "cont" test with
2877 gdb_skip_stdio_test.
2878
37225f62
JB
28792002-02-06 Jim Blandy <jimb@redhat.com>
2880
2881 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2882 from here...
2883 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2884 To here. Disable this test on non-HP platforms. Add big comment.
2885
fe6fdd96
MS
28862002-02-04 Michael Snyder <msnyder@redhat.com>
2887
2888 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2889 other than d10v and m32r.
2890
036fad3f
RE
28912002-02-02 Richard Earnshaw <rearnsha@arm.com>
2892
2893 * gdb.base/default.exp: Rewrite test patterns to reduce time
2894 taken to match them.
2895
7148ab62
DJ
28962002-01-30 Daniel Jacobowitz <drow@mvista.com>
2897
2898 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2899 Allow a start function above main.
2900 * gdb.threads/linux-dp.exp: Fix copyright date.
2901
396cc255
DJ
29022002-01-30 Daniel Jacobowitz <drow@mvista.com>
2903
2904 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2905 (check_philosopher_stack): Check for manager thread before checking
2906 for a just-starting thread.
2907
f038d31b
DJ
29082002-01-30 Daniel Jacobowitz <drow@mvista.com>
2909
2910 From Neil Booth <neil@daikokuya.demon.co.uk>:
2911 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2912 warnings.
2913
b3ff9d9a
FF
29142002-01-21 Fred Fish <fnf@redhat.com>
2915
2916 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2917 not caller.
2918
39ad761d
JB
29192002-01-21 Jim Blandy <jimb@redhat.com>
2920
2921 * gdb.base/reread.exp: Check that GDB properly re-reads the
2922 executable file when it changes while no inferior is running.
2923
aaf320fa
FF
29242002-01-21 Fred Fish <fnf@redhat.com>
2925
2926 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2927 optionally accept the "shlib events" variation.
2928
808a31f5
JB
29292002-01-21 Jim Blandy <jimb@redhat.com>
2930
2931 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2932 call `fflush' after every `printf', so that the output is produced
2933 at predictable points, regardless of whatever buffering does (or
2934 doesn't) take place.
2935 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2936 at different points.
2937
4420d5e2
DJ
29382002-01-20 Daniel Jacobowitz <drow@mvista.com>
2939
2940 * gdb.c++/inherit.exp: Update copyright years.
2941 * gdb.c++/method.exp: Likewise.
2942
3e36a0f4
DJ
29432002-01-20 Daniel Jacobowitz <drow@mvista.com>
2944
2945 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2946 artificial methods/arguments.
2947 * gdb.c++/derivation.exp: Likewise.
2948 * gdb.c++/inherit.exp: Likewise.
2949 * gdb.c++/method.exp: Likewise.
2950 * gdb.c++/virtfunc.exp: Likewise.
2951
b4ceaee6
AC
29522002-01-18 Andrew Cagney <ac131313@redhat.com>
2953
2954 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2955 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2956 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2957 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2958 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2959 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2960
ecace851
JB
29612002-01-17 Jim Blandy <jimb@redhat.com>
2962
2963 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2964 anchoring the pattern matching the entry point symbol's name.
2965
375fc983
AC
29662002-01-17 Andrew Cagney <ac131313@redhat.com>
2967
2968 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2969 continue/quit query. Update copyright.
2970
fe6fdd96
MS
29712002-01-14 Michael Snyder <msnyder@redhat.com>
2972
2973 * gdb.base/gcore.exp: Remove extra debugging output.
2974
e017c81f
DJ
29752002-01-13 Daniel Jacobowitz <drow@mvista.com>
2976
2977 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2978 for slightly dubious v2 mangled string.
2979
37ab3bf8
DJ
29802002-01-13 Daniel Jacobowitz <drow@mvista.com>
2981
2982 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2983
1bc05c3a 29842002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2985
1bc05c3a 2986 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2987
1bc05c3a
JM
2988 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2989 constructors.
2990 * gdb.c++/derivation.exp: Likewise.
2991 * gdb.c++/templates.exp: Likewise.
2992 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2993
1bc05c3a
JM
29942002-01-10 Michael Snyder <msnyder@redhat.com>
2995
2996 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2997
a911c360
MS
29982002-01-08 Michael Snyder <msnyder@redhat.com>
2999
3000 * gdb.base/gcore.exp: New test for generate-core-file command.
3001 * gdb.base/gcore.c: Testcase for above.
3002 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3003
ea2119ec
JM
30042002-01-08 Jason Merrill <jason@redhat.com>
3005
3006 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3007
68203136
FF
30082002-01-07 Fred Fish <fnf@redhat.com>
3009
3010 * gdb.c++/overload.exp: Remove unconditional xfails for:
3011 print foo_instance1.overloadargs(1)
3012 print foo_instance1.overloadargs(1, 2)
3013 print foo_instance1.overloadargs(1, 2, 3)
3014 print foo_instance1.overloadargs(1, 2, 3, 4)
3015 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3016 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3017 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3018 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3019 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3020 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3021 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3022 print foo_instance1.overload1arg()
3023 print foo_instance1.overload1arg((char)arg2)
3024 print foo_instance1.overload1arg((signed char)arg3)
3025 print foo_instance1.overload1arg((unsigned char)arg4)
3026 print foo_instance1.overload1arg((int)arg7)
3027 print foo_instance1.overload1arg((unsigned int)arg8)
3028 print foo_instance1.overload1arg((float)arg11)
3029 print foo_instance1.overload1arg((double)arg12)
3030
21b9b5b1
MS
30312002-01-07 Michael Snyder <msnyder@redhat.com>
3032
3033 * gdb.base/huge.exp: New test. Print a very large target data object.
3034 (skip_huge_test): New test variable. Define if you want to skip this
3035 test. The test reads an 8 megabyte data object from the target, so it
3036 might be very time consuming on remote targets with a slow connection.
3037 * gdb.base/huge.c: New file. Test case for above.
3038
725f922e
FF
30392002-01-07 Fred Fish <fnf@redhat.com>
3040
3041 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3042 g_instance.bfoo, and g_instance.cfoo.
3043
634d57ec
JL
3044Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3045
f286b2c3
JL
3046 * gdb.base/break.c (multi_line_if_conditional): New function.
3047 (multi_ilne_while_conditional): Likewise.
3048 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3049 IF or WHILE condition puts the breakpoint at the start of
3050 the condition.
3051
634d57ec
JL
3052 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3053 hppa*-*-hpux* expected failure.
3054 * gdb.base/structs.exp (do_function_calls): Similarly.
3055
3056 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3057 watchpoints.
3058
9fbfe2dc
AC
30592002-01-06 Andrew Cagney <ac131313@redhat.com>
3060
3061 Fix PR gdb/66.
3062 * gdb.base/structs.exp: Replace skip for a29k with skip for
3063 gdb,cannot_call_functions.
3064 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3065 * gdb.base/callfuncs.exp: Ditto.
3066 * gdb.base/call-rt-st.exp: Ditto.
3067 * gdb.base/call-strs.exp: Ditto.
3068 * gdb.base/callfwmall.exp: Ditto.
3069 * gdb.base/scope.exp: Obsolete xfail a29k.
3070 * gdb.c++/misc.exp: Ditto.
3071 * gdb.c++/cplusfuncs.exp: Ditto.
3072 * gdb.base/ptype.exp: Ditto.
3073 * gdb.base/printcmds.exp: Ditto.
3074 * gdb.base/opaque.exp: Ditto.
3075 * gdb.base/list.exp: Ditto.
3076 * gdb.base/funcargs.exp: Ditto.
3077 * gdb.base/default.exp: Ditto.
3078
8ddad156
MS
30792002-01-04 Michael Snyder <msnyder@redhat.com>
3080
ca4976a6 3081 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3082 * gdb.base/maint.exp: Add tests for maint info sections options.
3083
1b074332
JL
3084Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3085
3086 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3087
7d159115
CV
30882001-12-20 Corinna Vinschen <vinschen@redhat.com>
3089
3090 * gdb.asm/arm.inc: New file.
3091 * gdb.asm/asm-source.exp: Add arm targets.
3092 * gdb.asm/configure.in: Ditto.
3093 * gdb.asm/configure: Recreated from configure.in.
3094
8fb87725
JL
3095Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3096
afabe08c
JL
3097 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3098 with HP's compiler.
3099 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3100 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3101 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3102 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3103
3104 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3105 either HP's compilers or GCC.
3106
db521deb
JL
3107 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3108 a SIGBUS or SIGSEGV.
3109
3110 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3111
3112 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3113 can be compiled with either HP's compiler or GCC.
3114
cfa88ab7
JL
3115 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3116 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3117 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3118
ca344dff
JL
3119 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3120 to match current gdb output. Update due to using auto-solib-limit
3121 for limiting instead of overloading auto-solib-add.
3122 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3123 test program.
3124
3f3c6e55 3125 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3126 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3127 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3128 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3129 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3130 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3131 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3132 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3133 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3134 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3135 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3136 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3137 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3138
8fb87725
JL
3139 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3140 a SIGTRAP to the inferior.
3141
cf599fa7
CV
31422001-12-19 Corinna Vinschen <vinschen@redhat.com>
3143
3144 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3145 Substitute call to target_link by call to gdb_compile.
3146
2cd045cd
JL
3147Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3148
3149 * gdb.base/break.exp: Fix HP specific search string when testing
3150 backtracing in a called function.
3151
3152 * gdb.base/constvars.exp: Only set lang to C++ if we're
3153 compiling the test with HP's compilers.
3154 * gdb.base/volatile.exp: Similarly.
3155
99ebe9ac
JB
31562001-12-19 Jim Blandy <jimb@redhat.com>
3157
3158 * gdb.base/printcmds.exp: Expect the null character to be printed
3159 as '\0', and the '\013' to be printed as '\v'.
3160 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3161 * gdb.base/setvar.exp: Same.
3162
b9891b29
JB
31632001-12-17 Jim Blandy <jimb@redhat.com>
3164
0eba65ab
JB
3165 * gdb.base/completion.exp: Rather than completing very long
3166 filenames, which can make the readline library produce output we
3167 don't recognize, cd to the directory first, and then complete
3168 using nice, short relative paths.
3169
6970b5b1
JB
3170 * gdb.base/completion.exp: On some systems, there is, in fact, a
3171 variable named `b' in scope, since GDB treats all static
3172 variables as being in scope. So use `no_var_named_this'
3173 instead of `b'.
3174
b9891b29
JB
3175 * gdb.base/corefile.exp: Recognize the message saying that GDB
3176 can't find the core file's registers as a failure.
3177
e6ccd35f
JSC
31782001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3179
3180 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3181 test expect string more specific.
3182
105ba819
CV
31832001-12-13 Corinna Vinschen <vinschen@redhat.com>
3184
3185 * gdb.asm/asm-source.exp: Add support for xstormy16.
3186 * gdb.asm/configure.in: Ditto.
3187 * gdb.asm/configure: Rebuild.
3188 * gdb.asm/xstormy16.inc: New file.
3189
e9e79dd9
FF
31902001-12-10 Fred Fish <fnf@redhat.com>
3191
3192 * gdb.base/maint.exp: Update to match changes in type dumping code.
3193
347dc97d
JB
31942001-12-10 Jim Blandy <jimb@redhat.com>
3195
3196 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3197 matching the entry point symbol's name at the beginning of the
3198 line.
3199
5178b9d6
DJ
32002001-12-07 Daniel Jacobowitz <drow@mvista.com>
3201
3202 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3203 gdb.c++/inherit.exp, gdb.c++/method.exp,
3204 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3205 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3206 and class layout support.
3207
af890c52
DJ
32082001-12-07 Daniel Jacobowitz <drow@mvista.com>
3209
3210 * gdb.c++/classes.exp: Add test for static member function.
3211 * gdb.c++/misc.cc: Add class with static member function.
3212
7a345fb3
JB
32132001-12-07 Jim Blandy <jimb@redhat.com>
3214
f2e54a80 3215 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3216 those tests as `unsupported'.
3217 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3218 Rewrite subsequent tests to use it.
3219
3220 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3221 those tests as `unsupported'.
3222 * gdb.base/structs.exp (call_struct_func): New function.
3223 (do_function_calls): Use call_struct_func to call the functions
3224 returning structs.
3225
0bc69509
JB
3226 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3227 whether functions are prototyped or not, so we can't possibly pass
3228 arguments to t_float_values2 properly.
3229
7a345fb3
JB
3230 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3231 value of `timeout' for targets other than the mips*tx39-*.
3232
edb6ede1
MS
32332001-12-06 Michael Snyder <msnyder@redhat.com>
3234
3235 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3236 and detect whether the start symbol has a leading underscore.
3237
2d842f13
JB
32382001-12-04 Jim Blandy <jimb@redhat.com>
3239
3240 * gdb.base/completion.exp: Clarify indentation.
3241
68550daf
JB
32422001-12-03 Jim Blandy <jimb@redhat.com>
3243
3244 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3245 variables on the S/390, not `.word'.
3246
cd5195a8
JB
32472001-11-30 Jim Blandy <jimb@redhat.com>
3248
3249 Add assembly-source tests for s390-ibm-linux.
3250 * gdb.asm/s390.inc: New file.
3251 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3252 the S/390 architecture.
3253 * gdb.asm/configure: Regenerated.
3254
ca9efc90
MS
32552001-11-30 Michael Snyder <msnyder@redhat.com>
3256
3257 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3258 next, info source, info sources, info line, global and static
3259 variables, and static functions.
3260 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3261 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3262 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3263 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3264 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3265 (gdbasm_leave): Restore frame pointer.
3266 (gdbasm_startup): Copy stack set-up from crt0.S.
3267
d0e66976
FN
32682001-11-26 Fernando Nasser <fnasser@redhat.com>
3269
3270 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3271 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3272 to a local (non-static) variable. Copy tstruct.a to a static buffer
3273 and return a pointer to that buffer.
3274 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3275
e2334072
MK
32762001-11-24 Mark Kettenis <kettenis@gnu.org>
3277
3278 * gdb.asm/configure.in: Fix recognition of ix86 target.
3279 * gdb.asm/configure: Regenerate.
3280
756caa3d
MS
32812001-11-21 Michael Snyder <msnyder@redhat.com>
3282
3283 * gdb.asm/sparc.inc: New file.
3284 * gdb.asm/asm-source.exp: Recognize sparc target.
3285 * gdb.asm/configure.in: Recognize sparc target.
3286 * gdb.asm/configure: Regenerate.
3287
9a4d72d5
MS
32882001-11-21 Michael Snyder <msnyder@redhat.com>
3289
3290 * gdb.asm/m32r.inc: New file.
3291 * gdb.asm/asm-source.exp: Recognize m32r target.
3292 * gdb.asm/configure.in: Recognize m32r target.
3293 * gdb.asm/configure: Regenerate.
3294
a773d1cd
MS
32952001-11-20 Michael Snyder <msnyder@redhat.com>
3296
017ac23d
MS
3297 * gdb.asm/i386.inc: New file.
3298 * gdb.asm/asm-source.exp: Recognize ix86 target.
3299 * gdb.asm/configure.in: Recognize ix86 target.
3300 * gdb.asm/configure: Regenerate.
3301
a773d1cd
MS
3302 * gdb.c++/namespace.exp: Fix quotes in output messages.
3303
bb632afb
MS
33042001-11-14 Michael Snyder <msnyder@redhat.com>
3305
25d559ca 3306 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3307 qualifier in a type cast expression, to designate an address
3308 in the instruction space (Harvard architecture).
3309
4749e309
MS
33102001-11-13 Michael Snyder <msnyder@redhat.com>
3311
3312 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3313 Tests for expressions using 'const' and 'volatile'.
3314
25050984
CV
33152001-11-13 Corinna Vinschen <vinschen@redhat.com>
3316
3317 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3318
1902c51f
DJ
33192001-11-12 Daniel Jacobowitz <drow@mvista.com>
3320
3321 * lib/mi-support.exp (mi_run_to_helper): Move comments
3322 outside of gdb_expect.
3323
dcf95b47
DJ
33242001-11-11 Daniel Jacobowitz <drow@mvista.com>
3325
3326 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3327 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3328 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3329 mi0_run_to): New functions.
3330 * gdb.mi/mi-simplerun.exp: Use them.
3331 * gdb.mi/mi0-simplerun.exp: Likewise.
3332 * gdb.mi/mi-var-cmd.exp: Likewise.
3333 * gdb.mi/mi0-var-cmd.exp: Likewise.
3334
45b074e1
AC
33352001-11-10 Andrew Cagney <ac131313@redhat.com>
3336
3337 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3338 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3339
bf50d346
AC
33402001-11-09 Andrew Cagney <ac131313@redhat.com>
3341
3342 * gdb.base/restore.exp: Include $expected value in restored test
3343 message.
3344
9383332c
AC
33452001-11-09 Andrew Cagney <ac131313@redhat.com>
3346
3347 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3348 implemented.
3349
db62520a
MS
33502001-11-08 Michael Snyder <msnyder@redhat.com>
3351
3352 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3353 Add pass/fail message for stop at breakpoint in call dummy function.
3354
b5703437
MS
33552001-11-07 Michael Snyder <msnyder@redhat.com>
3356
760f6330
MS
3357 * gdb.c++/templates.exp (test_template_breakpoints):
3358 If we get an overload menu, but it does not match what
3359 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3360 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3361 making the whitespace optional. Argument for "new" may be
3362 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3363 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3364 making the whitespace optional. Also replace "(void) with
3365 "((void|)), making the keyword "void" optional.
63f50499
MS
3366 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3367 making the whitespace optional. Also replace "(void) with
3368 "((void|)), making the keyword "void" optional.
3bf40917
MS
3369 * gdb.base/callfuncs.c (t_float_values): This function must
3370 _not_ be prototyped, and the following function (t_float_values2)
3371 must be prototyped (if the compiler supports it), so that GDB
3372 can be tested against both cases. Usually one case involves
3373 promotion of float to double, while the other does not.
3374 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3375 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3376 includes a stack frame for "start".
3377
c8ab4e6d
JB
33782001-11-05 Jim Blandy <jimb@redhat.com>
3379
3380 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3381 pointers are 32 bits long, and that offsets of relocs are always
3382 stored in the data (REL-style), and not in the reloc entry itself
3383 (RELA-style).
3384 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3385 stabs.
3386
3f08ced9
MS
33872001-11-01 Michael Snyder <msnyder@redhat.com>
3388
3389 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3390 and regular expression operators by using quoting.
3391
cbfa24cd
MS
33922001-10-31 Michael Snyder <msnyder@redhat.com>
3393
3394 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3395 depending on what the symbol table contains.
3396 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3397 the output of the ptype command. Similarly, accept both "const &"
3398 and "const&".
3399
aaa68313
CV
34002001-10-31 Corinna Vinschen <vinschen@redhat.com>
3401
3402 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3403 symbol `STORAGE' to allow to choose the storage class of
3404 the local datastructures.
3405 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3406 compiler directive.
3407
91740388
MS
34082001-10-30 Michael Snyder <msnyder@redhat.com>
3409
3410 * gdb.base/jump.exp: Allow it to run for all targets.
3411
1b7c05e7
CV
34122001-10-29 Corinna Vinschen <vinschen@redhat.com>
3413
3414 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3415 with new double_array size.
3416 (main): Change storage class of all local variables to static.
3417 Reduce size of double_array to 9.
3418 * gdb.base/call-ar-st.exp: Increase timeout value.
3419 Change expected output for double array to match new size in
3420 call-ar-st.c.
3421
36a22261
CV
34222001-10-29 Corinna Vinschen <vinschen@redhat.com>
3423
3424 * gdb.base/ending-run.exp: Create identical output when passing
3425 `step to end of run' case. Add regular expression branch satisfying
3426 Stormy16 target.
3427
92b8ae91
MK
34282001-10-28 Mark Kettenis <kettenis@gnu.org>
3429
3430 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3431 that we catch the expected failure under Linux/x86.
3432
cb135b83
OF
34332001-10-29 Orjan Friberg <orjanf@axis.com>
3434
3435 * gdb.base/setvar.exp: Escape curly braces.
3436 * gdb.stabs/weird.exp: Ditto.
3437
6884aa54
DJ
34382001-10-27 Daniel Jacobowitz <drow@mvista.com>
3439
3440 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3441 * gdm.mi/mi0-hack-cli.exp: Likewise.
3442
0398c9aa
AC
34432001-10-25 Andrew Cagney <ac131313@redhat.com>
3444
3445 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3446 messages.
3447
d20bf2e8
AC
34482001-10-21 Andrew Cagney <ac131313@redhat.com>
3449
3450 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3451 checking MI enabled.
3452
03dd63aa
CV
34532001-10-09 Corinna Vinschen <vinschen@redhat.com>
3454
3455 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3456
1d9d99f3
FCE
34572001-10-04 Frank Ch. Eigler <fche@redhat.com>
3458
3459 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3460 if gdb child process crashes, just signal an error.
3461
838ae6c4
JB
34622001-10-02 Jim Blandy <jimb@redhat.com>
3463
3464 * lib/gdb.exp (test_xfail_format): Simplify.
3465
3466 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3467 front of the variable name `format'. Simplify `if'.
3468
8f0cbc1c
DJ
34692001-10-01 Daniel Jacobowitz <drow@mvista.com>
3470
3471 * gdb.threads/pthreads.exp: Wait for output and delay
3472 before sending ^C.
3473
1f08dafd
DJ
34742001-10-01 Daniel Jacobowitz <drow@mvista.com>
3475
3476 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3477 some incorrect output instead of timing out.
3478 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3479
674f90ff
CV
34802001-09-28 Corinna Vinschen <vinschen@redhat.com>
3481
3482 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3483 check to allow additional `int'.
3484
9b284272
DJ
34852001-09-27 Daniel Jacobowitz <drow@mvista.com>
3486
3487 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3488 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3489
b55a4771
MS
34902001-09-27 Michael Snyder <msnyder@redhat.com>
3491
3492 * lib/gdb.exp (test_debug_format): New proc.
3493 (setup_xfail_format): Use new proc test_debug_format.
3494 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3495 proc; use new service proc test_debug_format.
3496 Replace all other "gcc_compiled" tests with this test.
3497 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3498 proc; use new service proc test_debug_format.
3499 Replace all other "gcc_compiled" tests with this test.
3500
35012001-09-27 Michael Snyder <msnyder@redhat.com>
3502
3503 * gdb.base/cvexpr.exp: New file.
3504 * gdb.base/cvexpr.c: New file
3505 Test for expressions using const and volatile keywords.
3506
4e6667ac
CV
35072001-09-26 Corinna Vinschen <vinschen@redhat.com>
3508
3509 * gdb.base/constvars.exp: Check for different orders of keywords
3510 and additional "int" strings in output.
3511
4f337972
AC
35122001-09-22 Andrew Cagney <ac131313@redhat.com>
3513
3514 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3515 responses from "help maint".
3516
2015650d
FCE
35172001-09-19 Frank Ch. Eigler <fche@redhat.com>
3518
3519 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3520 to localhost:NNN instead of :NNN, in case Xvfb is listening
3521 only on TCP.
3522
f3bcedc1
CV
35232001-09-19 Corinna Vinschen <vinschen@redhat.com>
3524
3525 * gdb.base/recurse.exp: When checking leaving the watchpoint
3526 scope, recognize when gdb is in function's epilogue and pass.
3527
6b819c92
KS
35282001-09-18 Keith Seitz <keiths@redhat.com>
3529
3530 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3531 support for running tests against sid targets.
3532 (gdbtk_done): Ditto.
3533
a10c9419
CV
35342001-09-18 Corinna Vinschen <vinschen@redhat.com>
3535
3536 * gdb.base/ending-run.c (main): Set stdout buffersize
3537 to the same reasonable value for any target.
3538 * gdb.base/ending-run.exp: Add a regular expression
3539 to make testsuite happy on Sanyo Stormy16 target.
3540
739d0d99
CV
35412001-09-17 Corinna Vinschen <vinschen@redhat.com>
3542
3543 * gdb.base/display.c (do_loops): Add float variable `f'.
3544 Increment f in loop.
3545 * gdb.base/display.exp: Increment timeout by 60 seconds.
3546 Change float display test to use variable `f'.
3547
1b8947f0
JB
35482001-09-17 Jim Blandy <jimb@redhat.com>
3549
3550 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3551 overflowing the limited breakpoint tables on some ROM monitors
3552 (like the ROM68K).
3553
9890ac81
FCE
35542001-09-15 Frank Ch. Eigler <fche@redhat.com>
3555
3556 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3557 the "-ac" (disable access control) flag.
3558
6db765ea
JH
35592001-08-30 Jeff Holcomb <jeffh@redhat.com>
3560
3561 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3562 ints.
3563
4c32cc04
KS
35642001-08-30 Keith Seitz <keiths@redhat.com>
3565
3566 * lib/gdb.exp: Move all insight-related functionality into
3567 separate file.
3568 * lib/insight-support.exp: New file.
3569
8d6e6f81
FCE
35702001-08-29 Frank Ch. Eigler <fche@redhat.com>
3571
3572 * config/sid.exp (sid_start): Never set sid verbosity; disable
3573 expect_background {} that consumed its stdout; tolerate </dev/null.
3574 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3575
6a90e1d0
AC
35762001-08-18 Andrew Cagney <ac131313@redhat.com>
3577
3578 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3579 CLI jump command to start it.
3580 (mi_run_to_main): Fail immediatly when unexpected output.
3581
1759b3c3
AC
35822001-08-18 Andrew Cagney <ac131313@redhat.com>
3583
3584 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3585 beginning of function. Fix PR gdb/191.
3586
61d11d80
FCE
35872001-08-16 Frank Ch. Eigler <fche@redhat.com>
3588
3589 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3590 what to force sid endianness to.
3591
942a4df2
KS
35922001-08-15 Keith Seitz <keiths@redhat.com>
3593
3594 * lib/gdb.exp (gdbtk_start): Don't set environment
3595 variables for TCL_LIBRARY and friends. Insight will
3596 now figure these out for itself.
3597
0521c418
MS
35982001-08-02 Michael Snyder <msnyder@redhat.com>
3599
3600 * gdb.base/completion.exp: Remove the symbol "a64l" from
3601 the expect string; this is target-specific, and not related
3602 to what is being tested.
3603
74a9a58a
DB
36042001-08-02 Dave Brolley <brolley@redhat.com>
3605
3606 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3607
c70819fa
MS
36082001-07-25 Michael Snyder <msnyder@redhat.com>
3609
c2b8fa57
MS
3610 * gdb.base/consecutive.exp: New file. Test stepping over
3611 breakpoints on consecutive instructions.
3612 * gdb.base/consecutive.c: New file.
3613
c70819fa
MS
3614 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3615 curly braces in regular expressions.
3616
2b1a1355
MS
36172001-07-25 Michael Snyder <msnyder@redhat.com>
3618
3619 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3620 legitimate output from stepping out of main.
3621
413eca6f
KS
36222001-07-22 Keith Seitz <keiths@redhat.com>
3623
3624 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3625 the empty string, do not run the tests.
3626
7e5a9322
SC
36272001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3628
3629 * gdb.base/long_long.exp: Detect size of pointer. Take into
3630 account 2-byte pointers when testing for p/a results.
3631
de58f10f
SC
36322001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3633
3634 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3635 and defined to 1K for m68hc11.
3636 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3637 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3638 (sizeof_random_data): New variable to tell the size of the data table;
3639 don't test past this size; always run to main.
3640
d6f5fea1
SC
36412001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3642
3643 * gdb.base/return2.exp: return of long long and double fails for
3644 68HC11; don't execute these tests on that platform.
3645 * gdb.base/return.exp: Return of a double fails for 68hc11.
3646
c477543d
SC
36472001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3648
3649 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3650 tests that print a float.
3651 * call-rt-st.exp: Likewise.
3652
63cf1c79
MK
36532001-07-12 Mark Kettenis <kettenis@gnu.org>
3654
3655 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3656 running this test on Linux.
3657
112f9ab5
MC
36582001-06-24 Michael Chastain <chastain@redhat.com>
3659
3660 * gdb.base/arithmet.exp: Remove some tests to make all test names
3661 unique.
3662
4970cb0f
MS
36632001-07-03 Michael Snyder <msnyder@redhat.com>
3664
3665 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3666 the output of the ptype command.
3667
d85da69f
MS
36682001-07-02 Michael Snyder <msnyder@redhat.com>
3669
4c8a82de
MS
3670 * gdb.base/completion.exp: Don't assume that break.c is the only
3671 source file that may contain functions named "marker".
d85da69f
MS
3672 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3673
8afc772b
AC
36742001-06-28 Andrew Cagney <ac131313@redhat.com>
3675
3676 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3677 of files to delete.
3678
3679 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3680 * gdb.disasm/h8300s.exp: New file.
3681 gdb.disasm/h8300s.s: Likewise.
3682
cff22675
AC
36832001-06-27 Andrew Cagney <ac131313@redhat.com>
3684
3685 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3686 empty breakpoint tables.
3687
68c81b54
AC
36882001-06-25 Andrew Cagney <ac131313@redhat.com>
3689
3690 * lib/mi-support.exp: Update args=... part of stop-reason
3691 patterns. Accept either a list or a tuple.
3692
2dd62704
AC
36932001-06-23 Andrew Cagney <ac131313@redhat.com>
3694
3695 * lib/mi-support.exp: Remove local emacs variable defining
3696 change-log-default-name.
3697
b4127474
MC
36982001-06-22 Michael Chastain <chastain@redhat.com>
3699
3700 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3701 This is operationally compatible with the previous version.
3702
8dbfb380
JB
37032001-06-13 Jim Blandy <jimb@redhat.com>
3704
3705 * lib/gdb.exp (gdb_test): Doc fix.
3706
f2d8c86d
MC
37072001-06-10 Michael Chastain <chastain@redhat.com>
3708
3709 * gdb.base/exprs.exp: Remove a duplicate test.
3710
81564d34
JB
37112001-06-06 Jim Blandy <jimb@redhat.com>
3712
3713 * gdb.base/return2.exp (main): Use values to test float and double
3714 returns that are not NaN's, to avoid being confused by IEEE
3715 comparison rules.
3716
da55addb
MS
37172001-06-04 Michael Snyder <msnyder@redhat.com>
3718
3719 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3720 non-zero if control_c fails. Terminate the test on failure,
3721 rather than wait for 12 more tests to time out.
3722
42c65987
JB
37232001-06-06 Jim Blandy <jimb@redhat.com>
3724
b18bced9
JB
3725 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3726 Don't forget to match the GDB prompt.
3727
42c65987
JB
3728 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3729
5b41e5f0
JB
37302001-06-04 Jim Blandy <jimb@redhat.com>
3731
3732 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3733 command.
3734
015e046f
KB
37352001-05-31 Kevin Buettner <kevinb@redhat.com>
3736
3737 * gdb.base/annota1.exp (info break): Match four or more spaces
3738 after "Address".
3739
fb1ffbbe
MC
37402001-05-31 Michael Chastain <chastain@redhat.com>
3741
3742 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3743 (dm_type_int_star): Likewise.
3744 (dm_type_long_star): Likewise.
3745 (dm_type_void_star): Likewise.
3746
5ea2a32c
KB
37472001-05-29 Kevin Buettner <kevinb@redhat.com>
3748
3749 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3750 to a known value in order to get consistent results regardless
3751 of the setting of INPUTRC or the presence or contents of .inputrc.
3752
ae23c492
MS
37532001-05-24 Michael Snyder <msnyder@redhat.com>
3754
ac55707e
MS
3755 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3756 Don't require that the main thread and the manager thread are the
3757 first in the list.
3758
ae23c492
MS
3759 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3760 debugging. If test fails, issue an "unsupported" not a "fail".
3761
400071f1
JB
37622001-05-24 Jim Blandy <jimb@redhat.com>
3763
3764 Don't assume that short is shorter than int.
3765 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3766 assume that shorts are smaller than ints. On a 16-bit machine,
3767 this isn't true.
3768 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3769 an int, is not equal to ~0 stored in an unsigned char. This tests
3770 the same thing that the previous test meant to, but works on
3771 16-bit machines, too.
3772 ("print unsigned char != (~0)"): Same test, complemented.
3773
0816a3e5
MS
37742001-05-24 Michael Snyder <msnyder@redhat.com>
3775
3776 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3777 test for (full_coverage == 0). This makes the test run faster,
3778 and prevents dejagnu getting out of step.
3779
f6dc23a9
KB
37802001-05-23 Kevin Buettner <kevinb@redhat.com>
3781
3782 * gdb.base/finish.exp (finish_void): Revise pattern for
3783 stopping on the call statement to not permit stopping at
3784 the start of the instructions comprising the call sequence.
3785
7dbd117d
MC
37862001-05-19 Michael Chastain <chastain@redhat.com>
3787
3788 * gdb.base/callfuncs.exp: Make all test names unique.
3789 * gdb.base/commands.exp: Make all test names unique.
3790 * gdb.base/condbreak.exp: Make all test names unique.
3791 * gdb.base/dbx.exp: Make all test names unique.
3792 * gdb.base/default.exp: Make all test names unique.
3793 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3794 and TIMEOUT messages to their corresponding PASS message.
3795 * gdb.base/ending-run.exp: Make all test names unique.
3796 * gdb.base/long_long.exp: Remove duplicate test.
3797
6b0b0a9e
KB
37982001-05-21 Kevin Buettner <kevinb@redhat.com>
3799
3800 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3801 stop on the call statement as well as the statement after the
3802 call.
3803
2caa35cb
MS
38042001-05-21 Michael Snyder <msnyder@redhat.com>
3805
3806 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3807
40713331
EZ
38082001-05-10 Elena Zannoni <ezannoni@redhat.com>
3809
3810 * gdb.base/completion.exp: Revamp test. Make it execute on all
3811 platforms.
3812
c2c1be8d
EZ
38132001-05-10 Elena Zannoni <ezannoni@redhat.com>
3814
2c9cd303
EZ
3815 * config/gdbserver.exp (gdb_load): Handle the case
3816 in which the arguments to gdbserver are given in the
3817 baseboard configuration file.
3818 Also handle the case in which the server needs to do a
3819 load.
3820
9671de48
KS
38212001-05-07 Keith Seitz <keiths@cygnus.com>
3822
3823 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3824 set up the display for testing.
3825 (gdbtk_start): Convert all paths to paths that tcl will like.
3826 Export target information to environment.
3827 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3828 necessary.
3829 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3830 (to_tcl_path): New proc to convert a given pathname into
3831 a path acceptible as an argument to a tcl command.
3832 (_gdbtk_export_target_info): New proc to export target info
3833 into the environment for gdbtk testing.
3834 (gdbtk_done): New proc to signal end-of-test.
3835
5a360f47
JB
38362001-05-06 Jim Blandy <jimb@redhat.com>
3837
3838 * restore.c: Make the code of caller0 correspond to its comment.
3839
66c756c6
MS
38402001-05-03 Michael Snyder <msnyder@redhat.com>
3841
3842 * config/sid.exp (gdb_target_sid): Check for error messages.
3843 On error or timeout, don't make expect exit (which will terminate
3844 all subsequent tests); instead just make gdb exit.
3845 (gdb_load): Check for error messages. On error or timeout,
3846 return a negative value.
3847
a966fde5
JB
38482001-04-24 Jim Blandy <jimb@redhat.com>
3849
851c18e0
JB
3850 * gdb.c++/templates.exp: If we see the prompt for the overload
3851 list, but we haven't recognized any of the longer patterns,
3852 arrange for this test to fail, not hang.
3853
a966fde5
JB
3854 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3855 variations.
3856
db144853
MC
38572001-04-22 Michael Chastain <chastain@redhat.com>
3858
3859 * gdb.c++/local.exp: Use the 'runto' library function.
3860 * gdb.c++/namespace.exp: Likewise.
3861 * gdb.c++/overload.exp: Likewise.
3862
3207ec21
KB
38632001-03-26 Kevin Buettner <kevinb@redhat.com>
3864
3865 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3866 * gdb.base/step-line.exp: New file. Test step/next in presence of
3867 #line directives.
3868 * gdb.base/step-line.c: New file. Test program for the above.
3869 * gdb.base/step-line.inp: New file. We pretend that this file has
3870 been transformed by some other tool into step-line.c.
3871
13b57657
JB
38722001-03-21 Jim Blandy <jimb@redhat.com>
3873
3874 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3875 unmangled operator names.
3876
754cbe1c
JB
38772001-03-20 Jim Blandy <jimb@redhat.com>
3878
3879 * gdb.threads/linux-dp.exp: Recognize an additional message
3880 generated by GDB when it doesn't understand how to debug threads
3881 on the target system.
3882
177495c9
AC
38832001-03-19 Andrew Cagney <ac131313@redhat.com>
3884
3885 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3886
f266096b
MC
38872001-03-12 Michael Chastain <chastain@redhat.com>
3888
3889 * gdb.c++/derivation.exp: Use the 'runto' library function.
3890
cac3c2ff
MC
38912001-03-12 Michael Chastain <chastain@redhat.com>
3892
3893 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3894
b6c11a24
MC
38952001-02-24 Michael Chastain <chastain@redhat.com>
3896
3897 * gdb.c++/ref-types.exp: Change handwritten code to library
3898 function 'runto'.
3899
6bae5bce
OF
39002001-03-16 Orjan Friberg <orjanf@axis.com>
3901
3902 * gdb.base/signals.exp: Set count to 0 explicitly.
3903
0015fd9a
MS
39042001-03-15 Mark Salter <msalter@redhat.com>
3905
3906 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3907 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3908 (gdb_load): Add support for additional target_info: gdb_download_size
3909 and gdb_load_timeout.
0015fd9a 3910
fc33412a
DT
3911Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3912
3913 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3914 file -- to prevent failing when the compile fails but we have no
3915 intention of running the tests anyway.
3916
3917 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3918 tests if set.
3919
3920 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3921 integers.
3922
3923 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3924 * gdb.c++/namespace.exp: Ditto.
3925
115f06de
OF
39262001-03-07 Orjan Friberg <orjanf@axis.com>
3927
3928 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3929 * gdb.base/pointers.exp: Relax pattern match of decimals.
3930
b6ba6518
KB
39312001-03-06 Kevin Buettner <kevinb@redhat.com>
3932
3933 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3934 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3935 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3936 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3937 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3938 config/sh.exp, config/sid.exp, config/slite.exp,
3939 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3940 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3941 config/vxworks.exp, config/vxworks29k.exp,
3942 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3943 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3944 gdb.base/arithmet.exp, gdb.base/assign.exp,
3945 gdb.base/async.exp, gdb.base/attach.exp,
3946 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3947 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3948 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3949 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3950 gdb.base/commands.exp, gdb.base/completion.exp,
3951 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3952 gdb.base/constvars.exp, gdb.base/corefile.exp,
3953 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3954 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3955 gdb.base/ending-run.exp, gdb.base/environ.exp,
3956 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3957 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3958 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3959 gdb.base/funcargs.exp, gdb.base/help.exp,
3960 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3961 gdb.base/logical.exp, gdb.base/long_long.exp,
3962 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3963 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3964 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3965 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3966 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3967 gdb.base/regs.exp, gdb.base/relational.exp,
3968 gdb.base/remote.exp, gdb.base/reread.exp,
3969 gdb.base/restore.exp, gdb.base/return2.exp,
3970 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3971 gdb.base/selftest.exp, gdb.base/setshow.exp,
3972 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3973 gdb.base/sigall.exp, gdb.base/signals.exp,
3974 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3975 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3976 gdb.base/step-test.exp, gdb.base/structs.c,
3977 gdb.base/structs.exp, gdb.base/structs2.exp,
3978 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3979 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3980 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3981 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3982 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3983 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3984 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3985 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3986 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3987 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3988 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3989 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3990 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3991 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3992 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3993 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3994 gdb.trace/circ.exp, gdb.trace/collection.exp,
3995 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3996 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3997 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3998 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3999 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4000 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4001 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4002 notices.
4003
dc96c6c7 40042001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4005
4006 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4007 first arg is int not float.
4008
dc96c6c7 40092001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4010
4011 * gdb.base/reread.exp: Unsupported for non-native targets;
4012 doesn't work for remote debugging.
4013
9b0c4aeb
FN
40142001-02-19 Fernando Nasser <fnasser@redhat.com>
4015
4016 From Drew Moseley <dmoseley@redhat.com>
4017 * gdb.base/ending-run.exp: Properly handle the BSP state when
4018 stepping past the end of main.
4019
02aa71d5
MC
40202001-02-19 John Moore <jmoore@redhat.com>
4021
4022 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4023 Converted HPUX fix for non-expected items following multiple
4024 step commands into general solution for all platforms.
4025
1fa449a4
MC
40262001-02-18 Michael Chastain <chastain@redhat.com>
4027
4028 * gdb.c++/classes.exp (do_tests): Change runto statements
4029 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4030 statements demangler agnostic.
4031 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4032 (gdb_virtfunc_restart): Likewise.
4033
b2f9ec70
MC
40342001-02-14 Michael Chastain <chastain@redhat.com>
4035
4036 * gdb.c++/inherit.exp (do_tests): Change runto statements
4037 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4038 statements demangler agnostic.
4039
cf74b8ca
AC
4040Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4041
4042 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4043 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4044 before calling common_routine 15 times'' tests.
4045
99f78f56
MC
40462001-02-11 Michael Chastain <chastain@redhat.com>
4047
4048 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4049 Helps the test script figure out which demangler is in use.
4050 (dm_type_foo_ref): Ditto.
4051 (dm_type_int_star): Ditto.
4052 (dm_type_long_star): Ditto.
4053 (dm_type_unsigned_int): Ditto.
4054 (dm_type_void): Ditto.
4055 (dm_type_void_star): Ditto.
99707966 4056 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4057 Probe the gdb demangler and set variables to accommodate
4058 formatting differences.
4059 (info_func_regexp): New function. Same as info_func, but
4060 matches against a regexp.
4061 (info_func): Match against a literal string.
4062 (print_addr_2): New function. Match against a literal string,
4063 which can be different from the input to gdb.
4064 (print_addr): Simply call print_addr_2 with the same argument twice.
4065 (test_lookup_operator_functions): Use demangler formatting variables.
4066 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4067 the tests in the same order as the C++ class declaration.
4068 (test_paddr_operator_functions): Ditto.
4069 (test_paddr_overloaded_functions): Ditto.
4070 (test_paddr_hairy_functions): Use demangler formatting variables.
4071 Add reference to gdb/19 for related tests.
4072 (do_tests): Call probe_demangler.
4073
1de8f023
KB
40742001-01-30 Kevin Buettner <kevinb@redhat.com>
4075
4076 * gdb.c++/templates.cc (printf): Remove unused function definition.
4077
ca3f91ed
MS
40782001-01-26 Felix Lee <flee@redhat.com>
4079
4080 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4081
40822001-01-25 matthew green <mrg@redhat.com>
4083
4084 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4085 up sid.
4086 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4087
40882001-01-25 matthew green <mrg@redhat.com>
4089
4090 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4091 Deprecate $sid_spawn_id.
4092 (sid_exit): Remove code necessary only for `spawn.'
4093
40942001-01-25 matthew green <mrg@redhat.com>
4095
4096 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4097
fb18ec4a
MC
40982001-01-28 Michael Chastain <chastain@redhat.com>
4099
4100 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4101 to call when tests fail. It takes gdb out of the overloaded
4102 function choice menu back to the main prompt, so that the test
4103 program stays synchronized.
4104 (set_bp_overloaded): New proc to collect all the common
4105 code for setting a breakpoint on an overloaded name. Calls
4106 take_gdb_out_of_choice_menu when needed.
4107 (menu_overload1arg): New variable to collect the repeated
4108 instances of the expected menu for an overloaded name. Change
4109 the regular expression to handle changes in g++ type encoding:
4110 "void" can be either "void" or "", and "unsigned int" can be
4111 either "unsigned int" or "unsigned".
4112 (continue_to_bp_overloaded): Change regular expressions to handle
4113 changes in g++ type encoding.
4114 (no proc): Call take_gdb_out_of_choice_menu when needed.
4115 Remove redundant calls to "info break". Accept either "canceled"
4116 or "cancelled". Change regular expressions in "info break"
4117 calls to handle changes in g++ type encoding. Give all tests
4118 unique strings.
4119
9c646a6e
BE
41202001-01-17 Ben Elliston <bje@redhat.com>
4121
4122 * config/sid.exp: New file.
4123
9549d9c1
AC
4124Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4125
4126 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4127
dc96c6c7 41282000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4129
4130 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4131 Add a RE to accept a non-ascii char if one is ever presented.
4132
b4df4f68
FN
41332000-12-20 Fernando Nasser <fnasser@redhat.com>
4134
297dd0fd 4135 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4136
dc96c6c7 41372000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4138
4139 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4140 in regexp. One '\' does not suffice on Linux.
4141
4a7bddb6
MC
41422000-12-09 Michael Chastain <chastain@redhat.com>
4143
4144 * gdb.base/break.exp (test_clear_command): Use a marker function
4145 rather than 'main' for the test function. Also move this
4146 test to an execution point where the marker function names are
4147 guaranteed to be bound to functions. (Executing tests after a
4148 'finish' from main runs into name conflicts with local names
4149 in __libc_start_main).
4150
dc96c6c7 41512000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4152
4153 * gdb.base/finish.exp: New test for gdb's "finish" command.
4154 * gdb.base/return2.exp: New test for gdb's "return" command.
4155 * gdb.base/return2.c: New source file for above.
4156
dc96c6c7 41572000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4158
4159 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4160 * gdb.base/miscexprs.exp: Ditto.
4161 * gdb.base/pointers.exp: Ditto.
4162 * gdb.c++/derivation.exp: Ditto.
4163 * gdb.c++/local.exp: Ditto.
4164 * gdb.c++/namespace.exp: Ditto.
4165 * gdb.c++/overload.exp: Ditto.
4166 * gdb.c++/ref-types.exp: Ditto.
4167
dc96c6c7 41682000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4169
4170 * gdb.base/constvars.exp: Test result of "up" command.
4171 * gdb.base/miscexprs.exp: Ditto.
4172 * gdb.base/pointers.exp: Ditto.
4173 * gdb.base/scope.exp: Ditto.
4174 * gdb.c++/derivation.exp: Ditto.
4175 * gdb.c++/local.exp: Ditto.
4176 * gdb.c++/namespace.exp: Ditto.
4177 * gdb.c++/overload.exp: Ditto.
4178 * gdb.c++/ref-types.exp: Ditto.
4179
44097287
FN
41802000-11-22 Michael Chastain <chastain@redhat.com>
4181
4182 * mips_pro.exp: Accept either "middle -> top -> main" or
4183 "middle -> main" in the backtrace, because gcc can optimize
4184 tail calls to jumps. Remove setup_xfail for the hppa case.
4185 Add a comment with the original warning messages from PR 3016,
4186 which was filed in 1993, to preserve them for posterity.
4187
9d2e1bab
ND
41882000-11-17 Nick Duffek <nsd@redhat.com>
4189
4190 * lib/gdb.exp (gdb_test): Override timeout with board info.
4191
1aca8eb7
ND
41922000-11-17 Nick Duffek <nsd@redhat.com>
4193
4194 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4195 the second kill and detach messages.
4196
93076499
ND
41972000-11-17 Nick Duffek <nsd@redhat.com>
4198
4199 * configure.in: Add AC_EXEEXT.
4200 * configure: Regenerate.
4201 * Makefile.in (just-check): Export EXEEXT.
4202 * lib/gdb.exp ($EXEEXT): Import from environment.
4203 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4204 expect "maint dump-me" on Cygwin.
4205 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4206 $EXEEXT.
4207
30e87cd3
ND
42082000-11-17 Nick Duffek <nsd@redhat.com>
4209
4210 * gdb.base/break.exp: Test backtrace and finish from called
4211 function on all platforms, not just HP-UX.
4212
dc96c6c7 42132000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4214
4215 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4216 code from gdb_target_monitor, so it can be used independantly
4217 for gdbserver. Also comment out an unnecessary PUTS.
4218
dc96c6c7 42192000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4220
4221 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4222 * gdb.base/corefile.exp: Expect the message "Program is being
4223 debugged already" when we send the "corefile" command, since
4224 the preceeding gdb_load may have connected gdb to a remote target.
4225 * gdb.base/display.exp: Disable hardware watchpoints if new
4226 board info variable "no_hardware_watchpoints" is true.
4227 Replace single-letter commands with more readable ones.
4228 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4229 if new board info variable "no_hardware_watchpoints" is true.
4230 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4231 to see if stdio (printf) testing is possible.
4232 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4233 board info variable "no_hardware_watchpoints" is true. Use new
4234 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4235
39124dea
FN
42362000-11-13 Fernando Nasser <fnasser@redhat.com>
4237
4238 From Orjan Friberg <orjanf@axis.com>:
4239 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4240 in array print pattern match.
4241
a9e2e984
FN
42422000-11-09 Fernando Nasser <fnasser@redhat.com>
4243
4244 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4245 spelling "cancelled" to U.S. spelling "canceled" to match changes
4246 made to gdb.
4247 * gdb.c++/ovldbreak.exp: Ditto.
4248
c7db355b
PS
42492000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4250
4251 * gdb.base/callfuncs.c (main): Moved to end of file, call
4252 t_double_values to initialize the FPU before inferior calls are made.
4253 * gdb.base/callfuncs.exp: Test for register preservation after calling
4254 inferior functions. Add tests for continuining, finishing and
4255 returning from a stop in a call dummy.
4256
dc96c6c7 42572000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4258
4259 * gdb.base/commands.exp: Break up long lines, and re-indent.
4260
dc96c6c7 42612000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4262
4263 * config/gdbserver.exp: Rewritten from the ground up, to make it
4264 compatible with the current dejagnu tree, and to make it work with
4265 the new "gdbserver" in libremote.
4266
dc96c6c7 42672000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4268
4269 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4270 * gdb.base/varargs.exp: Skip entire test if no printf support.
4271 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4272 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4273
dc96c6c7 42742000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4275
4276 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4277 no floating point support.
4278 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4279 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4280 * gdb.base/call-rt-st.exp: Ditto.
4281 * gdb.base/call-strs.exp: Ditto.
4282
bac5fc66
JG
42832000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4284
4285 * gdb.base/sizeof.c: include <stdio.h>.
4286
4287 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4288 'finish', otherwise uncaptured gdb_prompt would potentially
4289 throw remaining test points out of sync.
4290
b22a6027
SB
42912000-07-26 Scott Bambrough <scottb@netwinder.org>
4292
4293 * gdb.base/recurse.exp: Run tests for all targets.
4294 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4295 gnu-oldld case on ARM.
4296 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4297 for ARM targets.
4298
d8231941
AG
4299Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4300
4301 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4302 * gdb.java/configure: Rebuild.
4303
8caabe69
AG
4304Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4305
4306 * gdb.java/jv-exp.exp: New file.
4307
9d273ca3
AG
4308Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4309
4310 * configure: Rebuilt.
4311 * configure.in (configdirs): Add gdb.java.
4312 * gdb.java/jmisc.java: New file.
4313 * gdb.java/jmisc.exp: New file.
4314 * gdb.java/Makefile.in: New file.
4315 * gdb.java/configure: Rebuilt.
4316 * gdb.java/configure.in: New file.
4317 * lib/java.exp: New file.
4318
4f823a66
AC
4319Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4320
4321 * gdb.base/exprs.exp: Test casts to a pointer including over and
4322 underflow.
4323
2391e11d
AC
4324Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4325
4326 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4327 and the compilers sizes.
4328
54602222
ND
43292000-07-09 Nick Duffek <nsd@redhat.com>
4330
4331 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4332 (use_methods): New function.
4333 (main): Call use_methods().
4334 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4335 (do_tests): Call test_method_param_class.
4336
2bec0572
ND
43372000-07-09 Nick Duffek <nsd@redhat.com>
4338
4339 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4340 spelling.
4341 (test_enums): New procedure. Move enum tests from end of script
4342 to here. Set breakpoint on function name instead of line number.
4343 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4344 (enums2): New marker function.
4345 (enums1): New function.
4346 (main): Call enums1(). Move enum tests to enums1().
4347
78492fde
AC
4348Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4349
4350 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4351 compile/link program. Update line numbers.
4352 * gdb.asm/d10v.inc: Define ``startup''.
4353 * gdb.asm/asmsrc1.s: Add definition of _start.
4354
49a2cef8
AC
4355Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4356
4357 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4358
3e6c8688
EZ
43592000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4360
4361 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4362 of 'help maint print' command.
4363
9ff5cbe9
AC
4364Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4365
4366 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4367 they use gdb_expect_list.
4368
17c579bd
AC
4369Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4370
4371 * gdb.base/commands.exp: Use ``set remote
4372 memory-read-packet-size'' instead of ``set endian big'' to test
4373 long commands.
4374
e6d71bf3
DB
43752000-06-03 Daniel Berlin <dan@cgsoftware.com>
4376
4377 * gdb.c++/templates.exp (do_tests): Make all of these work under
4378 g++, and stop skipping them.
4379
4380 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4381 work under g++.
4382
e5f9ba7b
MS
4383 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4384 initialization.
4385
dc96c6c7 43862000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4387
4388 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4389 the regular expression: accept an (almost) arbitrary sequence of
4390 "frames-invalid" and "breakpoints-invalid" messages both before
4391 and after the "starting" message.
4392
dc96c6c7 43932000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4394
4395 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4396
dc96c6c7 43972000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4398
4399 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4400 Relax the regular expression a little, make it pass on Solaris 8.
4401
8216cda9
KB
44022000-05-12 Kevin Buettner <kevinb@redhat.com>
4403
4404 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4405 a call, do not require that gdb stop on the line after the call.
4406 Instead, it is permissible for gdb to stop on the line of the
4407 call itself.
4408
1a570b2f
MS
44092000-05-12 Michael Snyder <msnyder@.cygnus.com>
4410
4411 * gdb.base/break.exp (bp on small function, optimized file):
4412 Add a second pass pattern. The behavior differs here between stabs
4413 and dwarf for one-line functions. Stabs preserves two line symbols
4414 (one before the prologue and one after) with the same line number,
4415 but dwarf regards these as duplicates and discards one of them.
4416 Therefore the address after the prologue (where the breakpoint is)
4417 has no exactly matching line symbol, and GDB reports the breakpoint
4418 as if it were in the middle of a line rather than at the beginning.
4419
dc96c6c7 44202000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4421
4422 * gdb.base/interrupt.exp: Make "pass" message say "send"
4423 rather than "send_gdb" (for consistancy).
4424
7d418785
AC
4425Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4426
4427 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4428 * gdb.c++/templates.cc: Properly check for GCC version number.
4429 * lib/compiler.cc: Likewise
4430
dc96c6c7 44312000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4432
4433 * gdb.base/break.exp: When compiled with -O2 optimization,
4434 gdb may not stop at the first line of main, due to code motion.
4435
dc96c6c7 44362000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4437
4438 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4439 This test depends on parsing the printf output from the target.
4440 Since the sparclet stub doesn't do stdio, this will never work.
4441 * gdb.base/call-rt-st.exp: ditto.
4442 * gdb.base/call-strs: ditto.
4443
dc96c6c7 44442000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4445
4446 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4447
4448 * gdb.base/ending-run.exp: After connecting to a remote target,
4449 but before running, the target will appear to be in a random
4450 location. Specify both a file and a line for breakpoints.
4451 Also, the function that calls main may be called 'init'
4452 rather than 'start'.
4453
a5a51225
EZ
44542000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4455
4456 * gdb.base/help.exp: Update output for add-symbol-file command.
4457
7930cc7c
FN
44582000-04-10 Fernando Nasser <fnasser@cygnus.com>
4459
4460 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4461 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4462
23e37ab1
C
44632000-04-07 J.T. Conklin <jtc@redback.com>
4464
e93c542c
C
4465 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4466
23e37ab1
C
4467 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4468
591b8fa3
PDM
4469Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4470
4471 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4472 values that can be represented exactly.
4473 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4474 above change, and to not check against the directory part of the source
4475 file name.
4476 (step into print_long_arg_list): Likewise.
4477 (print print_small_structs from print_long_arg_list): Likewise.
4478 (print print_long_arg_list): Likewise.
4479
7a495180
EZ
44802000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4481
30b53638 4482 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4483
beb998c6
AC
4484Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4485
4486 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4487
1c689132
DB
44882000-03-25 Daniel Berlin <dan@cgsoftware.com>
4489
4490 * gdb.base/commands.exp (deprecated_command_test): Add test for
4491 deprecate with no arguments.
4492
c1790a9d
JL
44932000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4494
4495 * gdb.base/break.exp: Add new test for setting breakpoints on
4496 optimized code so we can test breakpoints work even when function
4497 prologues may be optimized away
4498
003ba290
FN
44992000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4500
4501 From David Whedon <dwhedon@gordian.com>
4502 * gdb.base/commands.exp : Added command deprecator tests.
4503
6837a0a2
DB
45042000-03-22 Daniel Berlin <dan@cgsoftware.com>
4505
4506 * gdb.base/help.exp: Added test for new apropos command.
4507
b9593231
KB
45082000-03-21 Kevin Buettner <kevinb@redhat.com>
4509
4510 * gdb.base/pointers.c (usevar): New function.
4511 (main): Make sure that global variables v_int_pointer2, rptr,
4512 and y are all referenced someplace in the program by calling
4513 usevar() on them. [Some linkers delete symbols which are
4514 never referenced. The space remains, but there's no way to
4515 get a (symbolic) handle on the variable from the debugger.]
4516
751a959b
EZ
45172000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4518
4519 * gdb.base/printcmds.c: Add typedeffed arrays.
4520
4521 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4522 procedure to test arrays that are typedef'd.
4523
73a93a32
JI
45242000-03-13 James Ingham <jingham@leda.cygnus.com>
4525
4526 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4527 the library directories.
73a93a32 4528
fb40c209
AC
4529Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4530
4531 * configure.in (configdirs): Add sub directory gdb.mi.
4532 * configure: Re-generate.
4533
4534 * gdb.mi: New directory.
beb998c6 4535
ee4dd2c9
AC
45362000-02-25 Scott Bambrough <scottb@netwinder.org>
4537
4538 * gdb.base/long_long.exp: Correct test suite failure when printing
4539 a long long value as a double on ARM platforms.
4540
70f0cc22
JB
45412000-02-16 Jim Blandy <jimb@redhat.com>
4542
4543 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4544 default source file is set properly before running this test.
4545
853819b8
EZ
45462000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4547
4548 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4549 gdbtk/library directory, not in gdbtcl2.
4550
dfcd3bfb
JM
45512000-02-04 Jim Blandy <jimb@redhat.com>
4552
4553 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4554 backslash from regexp pattern.
4555
4556 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4557 procedure. Use it to run all the "continue to bp overloaded"
4558 tests. Note that this changes the names of the tests slightly.
4559 If the breakpoint hit message includes a hex PC value, because
4560 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4561 from the real source code, still consider that a pass.
4562
4563 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4564 XFAIL here if the breakpoint message contains a hex address. Note
4565 similar change on 1999-11-02.
4566
4567 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4568
4569 * gdb.base/ptype.exp: Establish a default source file before
4570 calling get_debug_format.
4571
45722000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4573
4574 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4575
8b93c638
JM
45762000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4577
4578 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4579 of successive stepi commands -- while in the prologue we should see
4580 the function entry bracket.
4581
45822000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4583
4584 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4585 reach __change_mode() when stepping through the end of main().
4586
c5394b80
JM
45872000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4588
4589 * gdb.base/default.exp: Fix expected pattern.
4590 * gdb.base/help.exp: Same.
4591
0d06e24b
JM
45922000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4593
4594 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4595 Don't use xfail's because that affects only the following test.
beb998c6 4596
0d06e24b
JM
4597 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4598 solaris or linux.
4599
4600 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4601
dc96c6c7 46022000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4603
beb998c6 4604 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4605 "A syntax error" rather than "A parse error". Accept both.
4606
46072000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4608
4609 * gdb.base/default.exp: Remove OS dependent string from "target
4610 remote" test.
4611 * gdb.base/help.exp: Same for "help target remote" test.
4612
c3f6f71d
JM
46132000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4614
4615 From Jim Kingdon <kingdon@redhat.com>:
4616
4617 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4618 prompt (cleanup rather than necessity, but still might keep output
4619 from spilling to next test).
4620
46212000-01-02 Fred Fish <fnf@cygnus.com>
4622
4623 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4624 AIX, which defines them in <sys/types.h>.
4625
ed9a39eb 46261999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4627
ed9a39eb
JM
4628 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4629 float" test.
4630
46311999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4632
ed9a39eb 4633 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4634
4635 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4636 outermost frame disallowed".
4637
46381999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4639
4640 * gdb.base/setvar.exp: New tests for setting the value of a struct
4641 with a constant list.
4642
46431999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4644
4645 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4646 require the user to type a cast before setting the value of a struct.
4647
de57eccd
JM
46481999-12-06 Jim Blandy <jimb@cygnus.com>
4649
4650 * gdb.base/default.exp: Expect the new 'info float' command on
4651 all i386 platforms.
4652
4653 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4654 LinuxThreads libraries that don't support debugging.
4655
c2d11a7d
JM
4656Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4657
4658 * gdb.base/remote.c: Fill the buffer with truely random data.
4659 Change the buffer type to ``unsigned char'' to simplify size
4660 arithmetic.
4661
4662 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4663 stub only handles 400-1 byte packets. Verify that the download
4664 worked.
4665
46661999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4667
4668 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4669 tests, using UNRESOLVED for the untested cases. Also, does not wait
4670 for a timeout if the prompt was received before a recognizable pattern.
4671
46721999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4673
4674 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4675
46761999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4677
4678 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4679 watchpoints.
4680
46811999-11-24 Jason Merrill <jason@casey.cygnus.com>
4682
4683 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4684
4685 * gdb.c++/local.exp: Be more flexible in recognizing local class
4686 name mangling. Don't allow horribly truncated method names.
4687 * gdb.c++/derivation.exp: Expect protected inheritance.
4688 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4689 * gdb.c++/virtfunc.exp: Likewise.
4690 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4691 when printing a nested enum.
4692
46931999-11-22 Jim Blandy <jimb@cygnus.com>
4694
4695 * gdb.base/step-test.exp: Properly await GDB's response to setting
4696 a breakpoint on the call to large_struct_by_value.
4697
4698 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4699 just because we have debug info for the `start' function.
4700
47011999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4702
4703 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4704 "Unknown signal" messages, which indicate (on LinuxThreads) that
4705 GDB doesn't know how to debug threads on this system. This is
4706 better than hanging while philosopher 0 dumps chatter into gdb.log.
4707
47081999-11-18 Tom Tromey <tromey@cygnus.com>
4709
4710 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4711
47121999-11-18 Fred Fish <fnf@cygnus.com>
4713
4714 * gdb.base/coremaker2.c: Add sample program for generating
4715 cores that is more self contained than coremaker.c. Eventually
4716 I'll add more code to this and tie it into the testsuite.
4717
4ce44c66
JM
47181999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4719
4720 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4721
47221999-11-10 Jimmy Guo <guo@cup.hp.com>
4723
4724 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4725 from $srcdir/lib/.
4726 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4727 and gdb.c++/.
4728
4729 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4730
beb998c6 4731 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4732 'continue with watch' test point.
4733
47341999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4735
4736 Merged from p2linux-990323-branch:
beb998c6 4737
4ce44c66
JM
4738 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4739
11cf8741
JM
4740Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4741
4742 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4743 {limit,fixed}''. Test ``set download-write-size''.
4744
4745Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4746
4747 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4748 gdb_expect_list.
4749
4750Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4751
4752 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4753
47541999-11-03 Mark Salter <msalter@cygnus.com>
4755
4756 * gdb.base/break.exp: Fix "stub continue" pattern.
4757
47581999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4759
4760 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4761
47621999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4763
4764 * gdb.base/display.exp ("finish"): Add timeout clause.
4765
4766 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4767 plain prompt clause, so this doesn't have to time out in order to
4768 fail.
4769
4770 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4771 breakpoint hit messages include an address.
4772
4773 * gdb.base/display.exp: Don't forget to escape parens in regular
4774 expressions. Unix regexp notatation sucks.
4775
47761999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4777
4778 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4779 order for 'signalled' message.
4780
5c44784c
JM
47811999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4782
4783 From Jimmy Guo <guo@cup.hp.com>:
4784 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4785 * gdb.base/annota1.c: Add code for tests to work with.
4786
47871999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4788
4789 * gdb.base/remote.exp: New test for remote downloading settings.
4790 * gdb.base/remote.c: New file with large .data.
4791
917317f4
JM
47921999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4793
4794 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4795 for LinuxThreads support, merged from the Code Fusion branch.
4796
4797Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4798
4799 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4800 containing exp_continue into a while within an expect. Don't
4801 attempt a start more than three times. Check return value from
4802 gdb_load.
beb998c6 4803
2df3850c
JM
4804Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4805
4806 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4807 a pass case.
4808
2acceee2
JM
48091999-10-01 Kevin Buettner <kevinb@cygnus.com>
4810
4811 * gdb.base/break.c (main): Added a statement that we can step
4812 off of.
4813 * gdb.base/break.exp: Added tests for setting a breakpoint
4814 at an offset and stepping onto a breakpoint.
4815
48161999-10-01 Fred Fish <fnf@cygnus.com>
4817
beb998c6 4818 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4819 gdb output.
4820
c2c6d25f
JM
48211999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4822
4823 * gdb.base/break.exp: Code locations are in hex, don't forget!
4824 (For HP-UX.)
4825
48261999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4827
4828 * condbreak.exp: Use break.c as test program.
4829 * condbreak.c: Remove, redundant with break.c.
4830
48311999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4832
4833 * config/monitor.exp (gdb_target_monitor): Disable X- and
4834 Z-packets if the target needs it.
4835
48361999-09-13 James Ingham <jingham@leda.cygnus.com>
4837
4838 * gdb.c++/overload.exp: Added tests for listing overloaded
4839 functions with function pointers in the arg, explicitly calling
4840 out the version you want.
4841
cff3e48b
JM
48421999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4843
4844 * long_long.exp: Add variations of test cases that work for
4845 targets with 16-bit ints and 32-bit doubles.
4846
d4f3574e
SS
48471999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4848
4849 * break.c (main): Compare a possibly-uninitialized argc with an
4850 unlikely value that fits in 16 bits.
4851
48521999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4853
4854 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4855 0xfeeb, don't want negative numbers if ints are 16 bits.
4856
4857 * lib/gdb.exp (skip_cplus_tests): New proc.
4858 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4859 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4860 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4861 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4862 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4863 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4864 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4865 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4866
4867 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4868
4869Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4870
4871 * gdb.base/corefile.exp (up): Allow a parameter to appear
4872 in the frame that we're going up to.
4873
4874 From Jim Blandy <jimb@cygnus.com>:
4875
4876 * gdb.base/default.exp (info float): Expect some output now.
4877
4878 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4879 returning floating-point values to fail on the x86.
4880 * gdb.base/callfwmall.exp (do_function_calls): Same.
4881
4882 * gdb.base/list.exp (test_listsize): Correct expectations for
4883 listing line 1 with listsize 2. Also, listing a single line
4884 works now, as does listing three lines. [Kevin's note: There
4885 were a number of other cases fixed too where the expectations
4886 differed...]
4887
48881999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4889
4890 * gdb.base/selftest.exp: Add case for when version prints as
4891 constant string instead of char pointer.
4892
104c1213
JM
48931999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4894
4895 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4896 stepping out of main.
4897
4898 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4899 G++ used.
4900
4901 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4902 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4903
4904 * gdb.c++/ovldbreak.exp: Update match string in test that
4905 includes a warning of multiple breakpoints.
4906
49071999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4908
4909 * gdb.base/display.exp: Improve precision of step-after-finish
4910 added yesterday.
4911
4912 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4913 test.
4914
4915 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4916 configs when using G++, not just hppa*.
4917
49181999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4919
4920 * gdb.base/async.c: New file.
4921 * gdb.base/async.exp: New file.
4922
4923Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4924
4925 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4926 PA64.
4927
53a5351d
JM
4928Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4929
104c1213
JM
4930 * gdb.base/display.exp: "finish" can leave us mid-line on many
4931 targets, deal with it. Add a small constant to main, instead of
4932 1000 since main+1000 may not be a valid address in the target.
4933
53a5351d
JM
4934 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4935 on hpux11.
4936
4937 * gdb.base/attach.exp: Handle another hpux11 error message variant
4938 when attaching to a process that does not exist.
4939
49401999-08-19 J.T. Conklin <jtc@redback.com>
4941
4942 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4943 characters in 'continue to 1241' test.
4944
49451999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4946
4947 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4948 stop in print_long_arg_list, define and use a whitespace
4949 variable in print_small_structs test, add an XFAIL for Solaris.
4950 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4951 interested enough to fix.
4952
7be570e7
JM
49531999-08-13 Keith Seitz <keiths@cygnus.com>
4954
4955 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4956 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4957 proc knows about targets other than the natives.
4958 (test_assign): Use "gdb_run_cmd" to "run" the target.
4959 Check that we've actually hit the breakpoint at main.
4960 When we attempt to assign a value to a local variable, check
4961 that the variable is in the current scope, i.e., don't use
4962 a test with an empty result.
4963
4964Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4965
4966 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4967 command.
4968
49691999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4970
4971 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4972 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4973 gdb.compat, gdb.threads-hp.
4974 gdb.hp/configure, gdb.hp/configure.in: New files.
4975 gdb.hp/Makefile.in: Recurse into new subdirs.
4976 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4977 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4978 in object files.
4979 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4980
96baa820
JM
49811999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4982
4983 * gdb.base/display.exp: Help expect by putting a newline in the
4984 funky printf, remove a bogus p/a test.
4985
49861999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4987
4988 * gdb.base/display.exp: Make sure that when we say 'run', we are
4989 connected to the target. This is necessary when running not
4990 natively.
4991
49921999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4993
4994 * gdb.base/step-test.exp: Removed some extraneous messages.
4995
4996 * gdb.base/long_long.exp: Don't run memory examination tests
4997 on little-endian targets (they will need a different set of
4998 results to match).
4999
50001999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5001
5002 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5003 until somebody decides to fix GDB.
5004
5005 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5006 constant as "ULL".
5007 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5008 matches for a couple x/2 commands.
5009
a0b3c4fd
JM
50101999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5011
5012 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5013 by merging in ref-types2 tests.
5014 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5015
5016 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5017 * gdb.c++/Makefile.in: Add standard actions.
5018 (EXECUTABLES): Rename from PROGS, update list.
5019 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5020 from gdb.hp.
5021 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5022 foo and bar locals.
5023 * gdb.c++/anon-union.exp: Fix tests to match.
5024 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5025 expect matches to handle output variations.
5026 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5027 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5028 output, add HP alternatives for new and delete prints.
5029 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5030 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5031 * gdb.c++/demangle.exp: Use $style when reporting failure.
5032 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5033 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5034 match alternatives.
5035 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5036 compilers.
5037 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5038 * gdb.c++/method.exp: Add match alternatives.
5039 * gdb.c++/misc.cc: Add bool types.
5040 * gdb.c++/misc.exp: Add tests for bool types.
5041 * gdb.c++/overload.exp: Add xfails.
5042 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5043 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5044 add some more template parameter tests (only for HP currently).
5045 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5046 * gdb.c++/virtfunc.cc: Add return type and value for main.
5047 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5048 match alternatives.
beb998c6 5049
a0b3c4fd
JM
50501999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5051
5052 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5053
50541999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5055
5056 * gdb.base/signals.exp: Don't expect getting a backtrace from
5057 within a signal handler to fail on Linux.
5058
50591999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5060
5061 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5062 * lib/gdb.exp: Remove some gratuitious semicolons.
5063 (delete_breakpoints): Increase timeout.
5064 (gdb_expect): Add -notransfer option.
5065 (gdb_test): Use -notransfer option.
5066 (get_compiler_info): Add f77 case.
5067 (get_compiler): New proc, split out from gdb_preprocess, add f77
5068 case.
5069 (gdb_preprocess): Call get_compiler.
5070
5071 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5072 * gdb.base/attach.exp, gdb.base/display.exp,
5073 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5074 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5075 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5076 third arg to gdb_test.
5077 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5078 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5079 HP-UX xfails, add others.
5080 * gdb.base/completion.exp: Reflect name change of self-test.
5081 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5082 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5083 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5084 HP failure number.
5085 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5086 useless HP-UX 10.30 references.
5087 * gdb.base/maint.exp: Loosen matches.
5088 * gdb.base/pointers.c (main): Declare more_code.
5089 * gdb.base/pointers.exp: Match on output of a `next'.
5090 * gdb.base/structs.c: Add prototypes.
5091 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5092 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5093
50941999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5095
5096 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5097 command.
5098
50991999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5100
5101 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5102 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
5103
5104 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5105 debug info. Deal with lack of signal hanlder info in stack.
5106
5107 From Jim Kingdon <kingdon@redhat.com>:
5108 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5109
5a2468f5
JM
51101999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5111
5112 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5113 gdb.base/foll-vfork.exp: Don't run for crosses.
5114
adf40b2e
JM
5115Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5116
5117 * gdb.base/configure.in: Check for gdbvars.exp instead of
5118 a1-selftest.exp.
5119 * gdb.base/configure: Re-generate.
5120
51211999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5122
5123 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5124 in trying to run first and name is too long.
5125
5126 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5127 pointers2.c and pointers2.exp, respectively.
5128 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5129 doschk happier.
5130
43e526b9
JM
51311999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5132
5133 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5134 callfuncs2.c and callfuncs2.exp.
5135
5136 * gdb.base/list.exp: Remove mistaken xfails.
5137 * gdb.base/list0.h: Add optional prototypes.
5138
9846de1b
JM
5139Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5140
5141 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5142 calling malloc.
5143 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5144 * ptype.exp: Move test for get_debug_format to before its first
5145 use.
5146
51471999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5148
5149 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5150 * gdb.base/annota2.cc, annota2.exp: Move from here.
5151 * gdb.c++/annota2.cc, annota2.exp: To here.
5152 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5153
43ff13b4
JM
5154Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5155
5156 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5157 a consistent format.
5158
085dd6e6
JM
51591999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5160
5161 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5162 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5163 HP compilers, also set the globals $true and $false.
5164
5165 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5166 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5167 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5168 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5169 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5170 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5171 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5172 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5173 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5174 whatis.c} Add C++ compatible function definitions and return
5175 types, add includes for library functions.
5176 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5177 * gdb.base/step-test.c (myglob): Rename from glob.
5178 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5179 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5180 files, move here from gdb.hp.
5181 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5182 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5183 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5184 Adjust line numbers in regexps.
5185
5186 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5187 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5188 instead of 0/1.
5189
5190 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5191 foll-vfork.exp: New files, move here from gdb.hp.
5192 * gdb.base/page.exp: New file, test of pagination command.
5193
5194 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5195 recursion test.
5196 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5197
5198 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5199 gdb.base/solib.exp: Fix compiler invocation process.
5200
5201 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5202 HP-UX 11, turn off overload resolution explicitly.
5203 * gdb.base/commands.exp: Set argument list explicitly, add
5204 watchpoint test.
5205 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5206 them work.
5207 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5208 expressions properly.
5209 * gdb.base/corefile.exp: Loosen the match slightly.
5210 * gdb.base/default.exp: Allow "Error accessing memory" message
5211 also.
5212 * gdb.base/display.exp: Skip over x/0 j if PA64.
5213 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5214 * gdb.base/interrupt.exp: Ditto.
5215 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5216 in use.
5217 * gdb.base/list.exp: Add xfails for HP-UX.
5218 * gdb.base/long_long.exp: Refine some of the numeric matches.
5219 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5220 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5221 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5222 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5223 * gdb.base/ptype.exp: Succeed on more varieties of output.
5224 * gdb.base/scope.exp: Add xfails for HP-UX.
5225 * gdb.base/sect-cmd.exp: Add more cases.
5226 * gdb.base/setvar.exp: Add xfails for HP-UX.
5227 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5228 * gdb.base/signals.exp: Match on void symbolically.
5229 * gdb.base/step-test.exp: Add case for PA64.
5230 * gdb.base/term.exp: Add exit and restart.
5231 * gdb.base/twice.exp: Clean up after self.
5232 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5233 * gdb.base/whatis.exp: Allow more ways to pass tests.
5234
5235 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5236 no longer useful.
5237
5238Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5239
5240 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5241 list of patterns.
5242 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5243 print_double_array(double_array)", "continuing to breakpoint
5244 1018", "print print_double_array(array_d)" and "continuing to
5245 1034" tests.
beb998c6 5246
085dd6e6
JM
52471999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5248
5249 * Makefile.in: Add empty html and install-html targets.
5250
52511999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5252
5253 * config/mt-*: Remove, these haven't been used since 1996.
5254
52551999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5256
5257 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5258 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5259 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5260
9e0b60a8
JM
52611999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5262
5263 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5264 simpler match case for the ptype of the big class.
5265
52661999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5267
5268 * gdb.exp: Fix test for gdb_prompt existence.
5269
52701999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5271
5272 * gdb.exp (gdb_test): Add fail after calls to perror.
5273
52741999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5275
5276 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5277
52781999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5279
5280 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5281
0f71a2f6
JM
5282Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5283
5284 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5285 malloc() is linked in.
5286
52871999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5288
5289 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5290 step at end.
5291
5292 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5293
52941999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5295
5296 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5297
cce74817
JM
5298Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5299
5300 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5301 * gdb.base/mips_pro.exp: Likewise.
5302
53031999-06-02 Keith Seitz <keiths@cygnus.com>
5304
5305 * gdb.c++/templates.cc: Change all "new" operators to throw
5306 an exception.
5307 * gdb.c++/cplusfuncs.cc: Likewise.
5308
5309 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5310
5311Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5312
5313 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5314 * gdb.base/ending-run.exp: When stepping out of main, accept a
5315 step into an arbitrary assembler file.
5316
392a587b
JM
53171999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5318
beb998c6 5319 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5320 "breakpoint-invalid" to be printed.
beb998c6 5321 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5322 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5323 * gdb.base/annota2.cc: Initialize a.x to 0.
5324
9e086581
JM
53251999-05-17 Keith Seitz <keiths@cygnus.com>
5326
5327 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5328 when "skip_float_tests" set.
5329 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5330 "print print_ten_doubles", and "step into print_long_arg_list".
5331 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5332 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5333 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5334 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5335 "skip_float_tests" is set.
5336 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5337 when "skip_float_tests" set.
beb998c6 5338
cd0fc7c3
SS
53391999-05-06 Keith Seitz <keiths@cygnus.com>
5340
5341 * gdb.base/annota2.cc: Include stdio.h.
5342
5343Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5344
5345 * gdb.base/crossload.exp: Remove, this has been disabled ever
5346 since BFD stopped including all targets, and cross-GDB gets
5347 plenty of testing anyway.
5348 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5349 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5350 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5351 * gdb.base/README: Remove, was doc for this.
5352 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5353 needed.
5354
b83266a0
SS
53551999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5356
5357 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5358 output.
5359
5360 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5361 * gdb.base/annota2.exp: New file. More annotation tests.
5362 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5363 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5364
53651999-04-23 Angela Marie Thomas <angela@cygnus.com>
5366
5367 * config/cfdbug.exp: New file.
5368
7a292a7a
SS
53691999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5370
5371 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5372 Marcus Daniel's and Dale Hawkins's demangler crashes.
5373
5374 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5375 test_lucid_style_demangling, test_arm_style_demangling,
5376 test_hp_style_demangling): Try Tom Tromey's core-dumping
5377 identifier under each demangling style.
5378
53791999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5380
5381 * gdb.c++/demangle.exp: Include the current demangling style
5382 in all test names.
5383 (current_demangling_style): New global variable.
5384 (set_demangling_style, test_demangling_core, test_demangling,
5385 test_demangling_exact): New functions.
5386 (test_gnu_style_demangling, test_lucid_style_demangling,
5387 test_arm_style_demangling, test_hp_style_demangling): Use those,
5388 instead of calling gdb_test and gdb_test_exact directly.
5389 (catch_demangling_errors): New function, which reports errors
5390 signalled by the demangling test functions in an orderly way.
5391 (do_tests): Use catch_demangling_errors.
5392
53931999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5394
5395 * gdb.base/signals.exp (test_handle_all_print): Use () for
5396 grouping in expressions, not {}.
5397
5398 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5399 initialized yet.
5400
54011999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5402
5403 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5404 are listed.
5405
54061999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5407
5408 * gdb.stabs/weird.exp: Test for CC being defined before
5409 looking at its value.
5410
54111999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5412
5413 * gdb.base/call-ar-st.exp: Remove stray '#'.
5414 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5415 "short int" and "long int".
5416 * gdb.c++/overload.cc: Cast the string added in the previous
5417 change, to mollify finicky HP compiler.
5418 * gdb.hp/reg-test.exp (testfile): Fix file name.
5419 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5420
7a292a7a
SS
5421 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5422 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5423 alternate form of enum ptype.
5424
c906108c
SS
54251999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5426
7a292a7a
SS
5427 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5428 * gdb.hp/*.exp: Change all to run compiler probe only after
5429 passing skip_hp_tests, so as not to waste time on guaranteed
5430 failure.
5431
c906108c
SS
5432 * gdb.c++/overload.cc: Pass string instead of char addr, always
5433 init ccpfoo.
5434 * gdb.c++/templates.cc: Fix syntax error.
5435
7a292a7a
SS
5436Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5437
5438 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5439 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5440 command.
5441
54421999-03-18 James Ingham <jingham@cygnus.com>
5443
5444 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5445
5446 * gdb.c++/method.exp: It was testing an uninitialized int on the
5447 stack and assuming it was positive.
5448
5449 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5450
5451 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5452 keep it from killing the rest of the tests.
7a292a7a
SS
5453 Use gdb_continue_to_end.
5454
5455 * gdb.base/sigall.exp: use gdb_continue_to_end.
5456
5457 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5458
5459 * gdb.base/display.exp: use runto_main, not run.
5460
beb998c6
AC
5461 * gdb.base/default.exp: Check for the current error message in the
5462 r abbreviation test.
7a292a7a
SS
5463 Add strongarm to the targets that know info float.
5464
beb998c6 5465 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5466 run which doesn't work with monitors.
5467
5468 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5469
5470 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5471
5472 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5473 program. Traps the case (in Cygmon) when the program never really
5474 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5475 more places, so I used my name. Sorry Mark...
5476
5477 * config/monitor.exp (gdb_target_monitor): added another
5478 target_info parameter: remotebinarydownload. This will set the
5479 remotebinarydownload flag if this is causing some boards trouble.
5480
54811999-03-18 Mark Salter <msalter@cygnus.com>
5482
5483 * lib/gdb.exp (continue_to_exit): New function.
5484
5485 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5486 * gdb.base/ending-run.exp: Ditto.
5487 * gdb.base/step-test.exp: Ditto.
5488
54891999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5490
5491 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5492 (suggested by Art Haas <ahaas@neosoft.com>).
5493
54941999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5495
5496 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5497
5498Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5499
5500 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5501 descriptions of types (short unsigned int vs unsigned short, etc).
5502
55031999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5504
5505 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5506 a call to strlen; sometimes we do have sources.
5507
55081999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5509
5510 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5511 character, so GDB won't print garbage after its end.
beb998c6 5512
c906108c
SS
5513 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5514 breakpoint there instead. Sometimes GCC emits memcpy to handle
5515 the large structures being passed by value, so we step into that
5516 instead of sum_array_print, which obscures what we're really testing.
5517 * gdb.base/step-test.exp: However, we do want a test that notices
5518 the bizarre steps into memcpy, so do that here. Add check for
5519 stepping into function calls that pass large structures by value.
5520 ("Is that a noun clause, or are you just happy to see me?")
5521 Remove all references to specific line numbers.
5522 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5523 New type and function.
5524 (main): Call large_struct_by_value, passing it a large struct by value.
5525 * lib/gdb.exp (gdb_get_line_number): New function.
5526
5527 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5528 more portable.
5529
7a292a7a
SS
55301999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5531
c906108c
SS
5532 * lib/gdb.exp: Doc fixes.
5533
7a292a7a
SS
55341999-03-05 Nick Clifton <nickc@cygnus.com>
5535
beb998c6 5536 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5537
55381999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5539
c906108c
SS
5540 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5541 commands. They're not germane to this test, and they don't work
5542 that way on remote targets.
5543
3fc11d3e
JM
55441999-03-01 James Ingham <jingham@cygnus.com>
5545
5546 * Changelog entries merged over from gdb development branch.
5547
3fc11d3e
JM
5548 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5549
5550 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5551 for outputting results of test run.
5552
2d4a1622 5553 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5554
5555 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5556
7a292a7a
SS
55571999-02-25 Felix Lee <flee@cygnus.com>
5558
5559 * lib/gdb.exp (debug_format): initialize
5560
c906108c
SS
55611999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5562
5563 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5564 * gdb.base/call-rt-st.c: Ditto.
5565
c906108c
SS
55661999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5567
5568 * gdb.threads/pthreads.exp (horiz): New variable.
5569 (test_startup): Fix regexps that capture thread numbers.
5570
55711999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5572
5573 * gdb.base/smoke.exp: Disambiguate two test case names (both
5574 called ``print'').
5575
5576Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5577
5578 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5579 compilation.
5580
55811999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5582
5583 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5584 actual output formatting.
5585 * gdb.base/smoke.exp: GDB removes leading 0's.
5586 * gdb.base/volatile.exp: Don't check type of remuneration;
5587 that variable is no longer defined in constvars.c.
5588 * gdb.base/step-test.c (main): Exit with explicit exit code.
5589 * gdb.base/step-test.exp: Remove two nexti checks--they are
5590 not portable.
5591
55921999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5593
5594 * gdb.base/help.exp ("help delete display"): Fix test to match
5595 gdb's output.
5596
5597 * gdb.base/long_long.c (known_types): Initialize values to zero.
5598 * gdb.base/long_long.exp: Step one more line
5599 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5600 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5601 unique test case names.
5602
5603Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5604
beb998c6 5605 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5606
5607 * gdb.c++/method.exp: Add missing close brace.
5608
56091999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5610
5611 * gdb.base/maint.exp: Use 'set height 0' to disable page
5612 prompting, not 'set height 400'.
5613
5614 Fix a bunch of timeouts.
5615 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5616 four separate tests, so expect doesn't take forever to match a ton
5617 of text against a regexp with lots of .* forms.
5618 ("maint print psymbols", "maint print symbols"): Make some of
5619 these greps more selective, so that expect doesn't try to wade
5620 through huge piles of output and time out.
5621
5622 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5623
5624 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5625 tests: one which doesn't expect shlib events to be reported, and
5626 another which does, but is XFAIL for all platforms other than
5627 HP/UX.
5628
5629 * gdb.base/break.exp: Teach the test suite that the `catch
5630 fork', `catch vfork', and `catch exec' commands produce error
5631 messages on platforms that don't provide these features.
5632
5633Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5634
5635 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5636 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5637 (shortening names from solib_threshold.exp etc), won't run on
5638 anything but HP-UX for the foreseeable future.
5639 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5640 reflect move.
5641
5642Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5643
5644 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5645 gdb.trace/Makefile.in (clean): Remove all test executables.
5646
5647Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5648
5649 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5650 successfully re-sets breakpoints in shared libraries.
5651 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5652
5653Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5654
beb998c6
AC
5655 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5656 and compiled w/o GCC.
c906108c
SS
5657
5658 * gdb.hp/watch-cmd.exp: ditto.
5659
5660 * gdb.hp/watch-hp.exp: ditto.
5661
5662 * gdb.hp/xdb1.exp: ditto.
5663
5664 * gdb.hp/xdb2.exp: ditto.
5665
5666 * gdb.hp/dbx.exp: ditto.
5667
5668Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5669
5670 * constvars.c: Remove C++-isms.
5671 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5672 with GCC.
5673
5674Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5675
5676 The following changes are part of the HP merge.
5677
5678 * gdb.base/break.exp: new tests to verify that catchpoints for
5679 fork, vfork, and exec don't trigger inappropriately.
5680
5681 * gdb.base/opaque.exp: compile one file at a time, then link.
5682
5683 * gdb.base/signals.exp: be more restrictive about which hppa
5684 systems receive a setup_xfail. new tests.
5685
5686 * gdb.base/solib_threshold.build: new file.
5687 * gdb.base/solib_threshold.exp: new file.
5688 * gdb.base/solib_threshold.link_opts: new file.
5689 * gdb.base/solib_threshold.mk: new file.
5690 * gdb.base/gen_solib_threshold.c: new file.
5691
5692 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5693 tests. New tests for enums inside classes.
5694
5695 * gdb.c++/compiler.cc: indicate support of template debugging.
5696
5697 * gdb.c++/demangle.exp: run hp style demangling tests.
5698
5699 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5700 tests.
5701
5702 * gdb.c++/misc.cc: changes to support new tests.
5703
5704 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5705 to support new tests.
5706
5707 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5708 gcc, then skip these tests.
5709
5710Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5711
5712 The following files are part of the HP merge; some had longer
5713 names at HP, but have been renamed to be no more than 14
5714 characters in length.
5715
5716 * gdb.hp/ambiguous.cc: new file.
5717 * gdb.hp/ambiguous.exp: new file.
5718 * gdb.hp/attach.exp: new file.
5719 * gdb.hp/attach2.exp: new file.
5720 * gdb.hp/classes-hp.exp: new file.
5721 * gdb.hp/ctti.exp: new file.
5722 * gdb.hp/ctti-add.cc: new file.
5723 * gdb.hp/ctti-add1.cc: new file.
5724 * gdb.hp/ctti-add2.cc: new file.
5725 * gdb.hp/ctti-add3.cc: new file.
5726 * gdb.hp/dbx.exp: new file.
5727 * gdb.hp/exception.cc: new file.
5728 * gdb.hp/exception.exp: new file.
5729 * gdb.hp/foll-exec.c: new file.
5730 * gdb.hp/foll-exec.exp: new file.
5731 * gdb.hp/foll-fork.c: new file.
5732 * gdb.hp/foll-fork.exp: new file.
5733 * gdb.hp/foll-vfork.c: new file.
5734 * gdb.hp/foll-vfork.exp: new file.
5735 * gdb.hp/inherit-hp.exp: new file.
5736 * gdb.hp/more-steps.exp: new file.
5737 * gdb.hp/namespace.cc: new file.
5738 * gdb.hp/namespace.exp: new file.
5739 * gdb.hp/optimize.exp: new file.
5740 * gdb.hp/pxdb.c: new file.
5741 * gdb.hp/pxdb.exp: new file.
5742 * gdb.hp/quicksort.exp: new file.
5743 * gdb.hp/reg-test.exp: new file.
5744 * gdb.hp/reg-test.s: new file.
5745 * gdb.hp/sized-enum.c: new file.
5746 * gdb.hp/sized-enum.exp: new file.
5747 * gdb.hp/start-stop.exp: new file.
5748 * gdb.hp/templ-hp.cc: new file.
5749 * gdb.hp/templ-hp.exp: new file.
5750 * gdb.hp/thr-lib.c: new file.
5751 * gdb.hp/thr-lib.exp: new file.
5752 * gdb.hp/thr-lib.h: new file.
5753 * gdb.hp/thr-liblib.c: new file.
5754 * gdb.hp/virtfun-hp.c: new file.
5755 * gdb.hp/virtfun-hp.exp: new file.
5756 * gdb.hp/watch-cmd.exp: new file.
5757 * gdb.hp/watch-hp.exp: new file.
5758 * gdb.hp/xdb1.exp: new file.
5759 * gdb.hp/xdb2.exp: new file.
5760 * gdb.hp/xdb3.exp: new file.
5761
5762Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5763
5764 The following files are part of the HP merge; some had longer
5765 names at HP, but have been renamed to be no more than 14
5766 characters in length.
5767
5768 * gdb.base/ss.h: new file.
5769 * gdb.base/call-ar-st.c: new file.
5770 * gdb.base/call-ar-st.exp: new file.
5771 * gdb.base/call-rt-st.c: new file.
5772 * gdb.base/call-rt-st-exp: new file.
5773 * gdb.base/call-strs.exp: new file.
5774 * gdb.base/ena-dis-br.exp: new file.
5775 * gdb.base/environ.exp: new file.
5776 * gdb.base/long_long.exp: new file.
5777 * gdb.base/sect-cmd.exp: new file.
5778 * gdb.base/shlib-cl2.exp: new file.
5779 * gdb.base/smoke.exp: new file.
5780 * gdb.base/so-impl-ld.c: new file.
5781 * gdb.base/so-impl-ld.exp: new file.
5782 * gdb.base/so-indr-cl.c: new file.
5783 * gdb.base/so-indr-cl.exp: new file.
5784 * gdb.base/varargs.exp: new file.
5785 * gdb.base/volatile.exp: new file.
5786 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5787 * gdb.base/display.exp: new file.
c906108c
SS
5788 * gdb.c++/derivation.exp: new file.
5789 * gdb.c++/local.exp: new file.
5790 * gdb.c++/member-ptr.exp: new file.
5791 * gdb.c++/overload.exp: new file.
5792 * gdb.c++/ovldbreak.exp: new file.
5793 * gdb.c++/ref-types.exp: new file.
5794 * gdb.c++/ref-types2.exp: new file.
5795 * gdb.c++/userdef.exp: new file.
beb998c6 5796
c906108c
SS
5797Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5798
5799 * gdb.base/default.exp: Reflect wording change in remote.c.
5800
dc96c6c7 5801Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5802
5803 * gdb.base/help.exp: Update to reflect current text.
5804
5805Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5806
5807 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5808 they're stack variables and contain garbage.
5809 * gdb.c++/anon-union.exp: new file.
5810
5811 The following changes were made by David Taylor
5812 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5813 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5814 in changes by HP.
5815
5816 * gdb.base/bitops.exp: new file.
5817 * gdb.base/default.exp: change expected messages for catch and
5818 info catch tests to reflect HP merge changes.
5819 * gdb.base/enable-disable-break.exp
5820 * gdb.base/ending-run.c: new file.
5821 * gdb.base/long_long.c: new file.
5822 * gdb.base/maint.exp: new file.
5823 * gdb.base/pointers2.exp: new file.
5824 * gdb.base/shlib-call2.exp: new file.
5825 * gdb.base/solib.exp: new file.
5826 * gdb.base/step-test.c: new file.
5827 * gdb.c++/anon-union.cc: new file.
5828 * gdb.c++/local.cc: new file.
5829 * gdb.c++/member-pointer.cc: new file.
5830 * gdb.c++/method.cc: new file.
5831 * gdb.c++/ref-types.cc: new file.
5832 * gdb.c++/ref-types2.cc: new file.
5833 * gdb.c++/userdef.cc: new file.
beb998c6 5834
c906108c
SS
5835 * gdb.base/scope.exp: compile one file at a time, then link.
5836 * gdb.base/langs.exp: ditto.
5837 * gdb.base/list.exp: ditto.
beb998c6 5838
c906108c
SS
5839Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5840
5841 The following changes were made by David Taylor
5842 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5843 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5844 in changes by HP.
beb998c6 5845
c906108c
SS
5846 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5847 skip tests. When compiling pass c++ flag to gdb_compile.
5848 * gdb.c++/
beb998c6 5849
c906108c
SS
5850 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5851 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5852 (skip_hp_tests): new function.
5853 (gdb_preprocess): new function.
5854
5855 * configure.in (hpdir): decide whether to configure gdb.hp.
5856 * configure: regenerated.
5857
5858 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5859 to delete on clean.
5860 (EXECUTABLES): update to reflect new additions.
5861 * gdb.base/commands.exp: update message expected.
5862 * gdb.base/default.exp: add copyright notice.
5863 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5864 * gdb.base/help.exp: update messages to reflect current text.
5865 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5866 targets for recurse tests.
5867 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5868 skip this file.
5869
5870 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5871 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5872 compilation.
5873 * gdb.c++/misc.exp: ditto.
5874 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5875 run the tests. tell gdb_compile that it's a c++ compilation.
5876
5877 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5878
c906108c
SS
5879 * gdb.base/all-bin.exp: new file.
5880 * gdb.base/arithmet.exp: new file.
5881 * gdb.base/assign.exp: new file.
5882 * gdb.base/completion.exp: new file.
5883 * gdb.base/cond-expr.exp: new file.
5884 * gdb.base/condbreak.exp: new file.
5885 * gdb.base/define.exp: new file.
5886 * gdb.base/dollar.exp: new file.
5887 * gdb.base/environment.exp: new file.
5888 * gdb.base/eval-skip.exp: new file.
5889 * gdb.base/jump.exp: new file.
5890 * gdb.base/logical.exp: new file.
5891 * gdb.base/pointers.exp: new file.
5892 * gdb.base/relational.exp: new file.
5893 * gdb.base/section_command.exp: new file.
5894 * gdb.base/whatis-expr.exp: new file.
5895
5896 * gdb.base/all-types.c: new file.
5897 * gdb.base/call-array-struct.c: new file.
5898 * gdb.base/call-return-struct.c: new file.
5899 * gdb.base/call-strings.c: new file.
5900 * gdb.base/callfuncs2.c: new file.
5901 * gdb.base/condbreak.c: new file.
5902 * gdb.base/constvars.c: new file.
5903 * gdb.base/display.c: new file.
5904 * gdb.base/int-type.c: new file.
5905 * gdb.base/jump.c: new file.
5906 * gdb.base/miscexprs.c: new file.
5907 * gdb.base/pointers.c: new file.
5908 * gdb.base/pointers2.c: new file.
5909 * gdb.base/shmain.c: new file.
5910 * gdb.base/shr1.c: new file.
5911 * gdb.base/shr2.c: new file.
5912 * gdb.base/solib.c: new file.
5913 * gdb.base/solib1.c: new file.
5914 * gdb.base/solib2.c: new file.
5915 * gdb.base/varargs.c: new file.
5916 * gdb.c++/derivation.cc: new file.
5917 * gdb.c++/overload.cc: new file.
5918 * gdb.c++/ovldbreak.cc: new file.
5919 * gdb.hp/attach.c: new file.
5920 * gdb.hp/attach2.c: new file.
5921 * gdb.hp/average.c: new file.
5922 * gdb.hp/compiler.c: new file.
5923 * gdb.hp/compiler.cc: new file.
5924 * gdb.hp/execd-program.c: new file.
5925 * gdb.hp/follow-exec.c: new file.
5926 * gdb.hp/follow-fork.c: new file.
5927 * gdb.hp/follow-vfork-and-exec.c: new file.
5928 * gdb.hp/misc-hp.cc: new file.
5929 * gdb.hp/more-steps.c: new file.
5930 * gdb.hp/optimize.c: new file.
5931 * gdb.hp/quicksort.c: new file.
5932 * gdb.hp/run-hp.c: new file.
5933 * gdb.hp/start-stop.c: new file.
5934 * gdb.hp/sum.c: new file.
5935 * gdb.hp/templates-hp.cc: new file.
5936 * gdb.hp/thread-local-in-lib.c: new file.
5937 * gdb.hp/thread-local-in-lib.h: new file.
5938 * gdb.hp/thread-local-in-lib.lib.c: new file.
5939 * gdb.hp/vforked-program.c: new file.
5940 * gdb.hp/virtfunc-hp.cc: new file.
5941 * gdb.hp/watchpoint-hp.c: new file.
5942 * gdb.hp/xdb.c: new file.
5943 * gdb.hp/xdb0.c: new file.
5944 * gdb.hp/xdb0.h: new file.
5945 * gdb.hp/xdb1.c: new file.
5946
5947Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5948
5949 The following change was made by Edith Epstein
5950 <eepstein@cygnus.com> as part of a project to merge in changes
5951 originally made by HP; HP did not create ChangeLog entries.
5952
5953 * gdb.c++/demangle.exp: changed the expected output for some
5954 ARM-style mangling -- removed second reference to datatype.
5955 For example, maint demangle __dt__11T1__pt__2_cFv
5956 T1<char>::~T1<char>(void)
5957 becomes,
5958 maint demangle __dt__11T1__pt__2_cFv
5959 T1<char>::~T1(void)
5960
5961 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5962
c906108c
SS
5963Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5964
5965 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5966 * gdb.trace/backtrace.exp: Likewise.
5967 * gdb.trace/circ.exp: Likewise.
5968 * gdb.trace/collection.exp: Likewise.
5969 * gdb.trace/deltrace.exp: Likewise.
5970 * gdb.trace/infotrace.exp: Likewise.
5971 * gdb.trace/limits.exp: Likewise.
5972 * gdb.trace/packetlen.exp: Likewise.
5973 * gdb.trace/passc-dyn.exp: Likewise.
5974 * gdb.trace/passcount.exp: Likewise.
5975 * gdb.trace/report.exp: Likewise.
5976 * gdb.trace/save-trace.exp: Likewise.
5977 * gdb.trace/tfind.exp: Likewise.
5978 * gdb.trace/tracecmd.exp: Likewise.
5979 * gdb.trace/while-dyn.exp: Likewise.
5980 * gdb.trace/while-stepping.exp: Likewise.
5981
59821998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5983
5984 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5985
5986Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5987
5988 From Brendan Kehoe:
5989 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5990 int return types.
5991
5992Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5993
5994 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5995 remote dos host testing right.
5996
5997Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5998
5999 * gdb.base/corefile.exp: remove some xfails.
6000
6001Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6002
6003 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6004 have different timestamps.
6005
6006Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6007
6008 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6009 gdb.base/default.exp: Replace "exec" with "executable".
6010
6011Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6012
6013 * gdb.base/default.exp: Change else if to elseif from previous
6014 delta.
6015
6016Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6017
6018 * gdb.base/default.exp: Add brace missing from previous delta.
6019
6020Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6021
6022 * gdb.base/default.exp: Support test for info float for all
6023 varieties of arm toolchain.
6024
dc96c6c7 6025Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6026
6027 * gdb.trace/*.exp: remove "remote_download" command.
6028
dc96c6c7 6029Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6030
6031 * gdb.trace/*.exp: remove -gdwarf from compile.
6032
6033Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6034
6035 * gdb.trace/configure.in(AC_INIT): typo
6036 * gdb.trace/configure: regenerated
6037
dc96c6c7 6038Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6039
6040 * config/m68k-emc.exp: New file.
6041 * lib/<emc-support.exp trace-support.exp}: New files.
6042 * configure.in: add new test directory gdb.trace.
6043 * gdb.trace/{configure configure.in Makefile.in}: New files.
6044 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6045 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6046 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6047 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6048 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6049 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6050 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 6051
dc96c6c7 6052Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6053
6054 * gdb.c++/classes.exp: Change all regular expressions to match
6055 arbitrary combinations of newline/carriage-return, so that they
6056 will work equally well on Unix and Windows.
6057 * gdb.c++/inherit.exp: ditto.
6058 * gdb.c++/virtfunc.exp: ditto.
6059
60601998-08-11 Dawn Perchik <dawn@cygnus.com>
6061
6062 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6063
c2d11a7d
JM
6064Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6065
6066 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6067 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6068 to use a0-a3/d0-d3 as needed.
6069
6070Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6071
6072 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6073 * gdb.disasm/am33.exp: Corresponding changes.
6074
c906108c
SS
60751998-07-11 Felix Lee <flee@cygnus.com>
6076
6077 * gdb.base/callfuncs.exp: add cmp10 test.
6078 * gdb.base/callfuncs.c (cmp10): new function.
6079
6080Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6081
beb998c6 6082 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6083 into two parts to get around a synchronization problem in expect.
6084
3fc11d3e
JM
6085Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6086
6087 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6088
6089 * configure.in: Add options for gdbtk testsuite.
6090
6091 * configure: Regenerate.
6092
6093 * gdb.gdbtk: New directory to hold gdbtk tests.
6094
c906108c
SS
6095Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6096
6097 * gdb.fortran/types.exp: Escape brackets in expect patterns
6098 for test_float_literal_types_accepted tests.
6099 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6100 before run test.
6101
c2d11a7d
JM
6102Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6103
6104 * am33.exp: Just compile, do not link the testcase.
6105 * am33.s: Add ".am33" pseudoop to force am33 mode.
6106
c906108c
SS
61071998-06-25 Felix Lee <flee@cygnus.com>
6108
6109 * gdb.base/setshow.exp: make sure $pc is sane.
6110
6111 * gdb.stabs/weird.exp: split expect patterns properly.
6112
c2d11a7d
JM
6113Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6114
6115 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6116 * gdb.disasm/am33.exp: Run it.
6117
dc96c6c7 6118Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6119
6120 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6121 match processing (and eliminate spurious timeouts when running).
6122
dc96c6c7 6123Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6124
6125 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6126 exception test, but conditionalize it on target [mach | gnu].
6127
dc96c6c7 6128Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6129
6130 * gdb.base/overlays.exp: fixup compile line for linker script.
6131
6132Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6133
6134 * gdb.fortran/types.exp: don't guess at float size.
6135
6136Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6137
6138 * gdb.base/exprs.exp: delete test that depends on int size.
6139
6140Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6141
6142 * config/sim.exp: Removed checks for target triplets.
6143 (gdb_target_sim): Use gdb,target_sim_options.
6144
6145Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6146
6147 * gdb.base/reread.exp: New file.
6148 * gdb.base/reread1.c: New file.
6149 * gdb.base/reread2.c: New file.
6150
6151Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6152
6153 * config/sim.exp: Use 'target sim -sparclite' when running
6154 SPARClite programs.
6155
6156Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6157
6158 * gdb.base/structs2.exp: New file.
6159 * gdb.base/structs2.c: New file.
6160
6161Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6162
6163 * gdb.asm/common.inc: New file.
6164 * gdb.asm/d10v.inc: New file.
6165 * asm-source.exp: Pass -I's to gas to find .inc files.
6166 Update line numbers in expected output.
6167 * asmsrc1.s: Rewrite.
6168 * asmsrc2.s: Rewrite.
6169 * configure.in: Create arch.inc symlink.
6170 * configure: Regenerate.
6171 * Makefile.in (distclean): Delete arch.inc.
6172
6173Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6174
6175 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6176 (t_enum_value2): ditto
6177 (t_enum_value3): ditto
6178 (main): ditto
6179Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6180
6181 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6182 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6183 change.
6184 Use gdb_test instead of send_gdb/gdb_expect sequences.
6185
6186Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6187
6188 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6189 not void.
6190
6191Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6192
6193 * gdb.base/branches.c: Code with lots of loops and
6194 subroutines. Used to test gdbs ability to single step through PC
6195 changes, especially to test mips-tdep.c:mips_next_pc
6196
6197Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6198
6199 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6200 more rigorous EGCS C++ error checking.
6201
6202Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6203
6204 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6205 tests.
c906108c 6206 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6207 function when asleep.
c906108c 6208 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6209 for i*86 Linux and SVR4 signal handling problems.
6210 Remove linux xfail for `next to handler in signals_tests_1', fixed
6211 by recent infrun.c change.
c906108c 6212 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6213 stack backtraces.
c906108c
SS
6214 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6215 target.[ch] change.
6216
6217Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6218
6219 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6220 for a newline from gdb before continuing.
6221 (default_gdb_exit): Just look for y or n.
6222 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6223 it does, fail the rests of the tests in the file.
6224
6225Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6226
6227 * config/cygmon.exp: New file.
6228
6229Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6230
6231 * gdb.base/list.exp: Fix problem with "list default lines around
6232 main" test on remote targets.
6233
6234 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6235 run test on remote targets.
6236
6237Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6238
6239 * gdb.asm: New directory.
6240 * configure.in: Configure it.
6241 * configure: Regenerate.
6242 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6243 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6244
6245Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6246
6247 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6248
dc96c6c7 6249Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6250
c906108c
SS
6251 * gdb.base/overlays (several files): Merge the two overlay
6252 managers into one. Change variables (foox, barx, bazx, grbxx)
6253 back into ints but force them to load in their proper sections.
6254
6255Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6256
6257 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6258 on-chip insn memory and IMAP1 to upper 128k.
6259 (D10VCopy): Handle memory regions crossing 16k boundaries.
6260 (D10VCopy): Transfer data in 32 bit chunks.
6261
6262Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6263
6264 * gdb.base/overlays.c (main): Exit normally when result is
6265 correct.
6266
6267 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6268 map. Include space for printf in .text segment.
6269
6270 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6271 updated d10v memory VMA/LMA map.
6272 (D10VCopy): Call D10VTranslate.
beb998c6 6273
c906108c
SS
6274Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6275
6276 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6277
6278 * gdb.base/bar.c (barx, bar): Change variable to small array so
6279 that it won't be put into the .sdata - small data -
6280 section. Update reference.
6281 * gdb.base/baz.c (bazx, baz): Ditto.
6282 * gdb.base/foo.c (foox, foo): Ditto.
6283 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6284
6285 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6286 to be arrays.
beb998c6 6287
dc96c6c7 6288Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6289
c906108c
SS
6290 * gdb.base/overlays.exp: fix up and get working again.
6291 Add tests for backtraces from an overlay function.
beb998c6 6292
c906108c
SS
6293Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6294
6295 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6296 "calling function with watchpoint enabled".
6297
6298Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6299
6300 * gdb.base/break.exp (test_next_with_recursion): Remove
6301 gdb_suppress_tests for d10v-*-*.
6302 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6303 pending review of whether it is useful or not.
6304
6305Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6306
6307 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6308
6309Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6310
6311 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6312 * config/dve.exp: New file to support Densan boards.
6313
6314Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6315
6316 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6317 reads and BSD.
6318
6319Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6320
6321 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6322 response.
6323
6324 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6325
6326Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6327
6328 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6329 test.
6330
6331 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6332 target_sizeof_long and target_bigendian_p.
6333 (structs_by_value, structs_by_reference): Check values according
6334 to targets word size and endianess.
beb998c6 6335
c906108c
SS
6336Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6337
6338 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6339 output.
6340
6341Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6342
6343 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6344 Update test of set args help to match source change.
6345
6346Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6347
6348 * gdb.base/default.exp: Expect help system output to be in
6349 alphabetical order.
6350 * gdb.base/help.exp: Ditto.
6351
6352Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6353
6354 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6355 "i*86-pc-linux-gnu*".
6356 * gdb.base/interrupt.exp: Ditto.
6357 * gdb.base/corefile.exp: Ditto.
6358
6359 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6360 define vxworks when building the testcase.
6361
6362 * gdb.base/ptype.exp: Fix testnames to be unique.
6363 * gdb.base/radix.exp: Ditto.
6364 * gdb.base/term.exp: Ditto.
6365 * gdb.base/whatis.exp: Ditto.
6366 * gdb.c++/classes.exp: Ditto.
6367
6368Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6369
6370 * gdb.base/callfuncs.exp: Fix indentation.
6371
6372 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6373 suppress_flag has been set.
6374 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6375 target feature.
6376
6377Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6378
6379 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6380 the testcase.
6381
6382 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6383 set_debug_traps() and breakpoint().
6384 * gdb.c++/misc.cc (main): Ditto.
6385 * gdb.c++/templates.cc (main): Ditto.
6386 * gdb.c++/virtfunc.cc (main): Ditto.
6387
6388Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6389
6390 * lib/gdb.exp(gdb_step_for_stub): New function.
6391 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6392 exists, reload the executable and do a "continue" instead of
6393 doing a jump.
6394 (runto_main): Use gdb_step_for_stub.
beb998c6 6395
c906108c
SS
6396 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6397 tests to have unique names.
6398 * gdb.base/callfuncs.exp: Ditto.
6399 * gdb.base/commands.exp: Ditto.
6400 * gdb.base/default.exp: Ditto.
6401 * gdb.base/help.exp: Ditto.
6402 * gdb.base/list.exp: Ditto.
6403 * gdb.base/opaque.exp: Ditto.
6404 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6405 similar tests.
beb998c6 6406
c906108c
SS
6407 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6408 * gdb.c++/cplusfuncs.cc: Ditto.
6409 * gdb.c++/virtfunc.cc: Ditto.
6410
6411 * config/monitor.exp: Keep track of the last file we saw, rather
6412 than trying to get the info from gdb.
6413
6414 * gdb.fortran/types.exp: Move comment to previous line.
6415
6416Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6417
6418 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6419 target mode.
6420
6421Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6422
6423 From Bob Manson:
6424 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6425 string from GDB when it connects.
6426
6427 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6428
6429Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6430
6431 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6432 if we can't get a debug format from GDB (we may be testing an
6433 older GDB). Use a 10 second timeout when checking for the format.
6434
6435 * gdb.stabs/weird.exp: Fix quoting.
6436
6437 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6438
6439Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6440
6441 * config/arm-ice.exp: New file.
6442
6443Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6444
6445 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6446 until it has been modified to work with the new testsuite.
6447
99707966 6448 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6449 testcase won't compile, cause all of the testcases in the file to
6450 fail instead.
6451
6452 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6453 (gdb_clear_suppressed): New procedure.
6454 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6455 it contains a positive value.
6456
6457Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6458
6459 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6460
6461 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6462
6463Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6464
6465 * lib/gdb.exp (setup_xfail_format): New function.
6466 (get_debug_format): New function to get debug format.
6467 (debug_format): New global variable to hold last value set
6468 by get_debug_format.
6469 * gdb.base/list.exp: Call get_debug_format and expect some
6470 tests to fail for DWARF 1 and COFF formats.
6471 * gdb.c++/ptype.exp: Ditto.
6472 * gdb.c++/classes.exp: Ditto.
6473 * gdb.c++/cplusfuncs.exp: Ditto.
6474 * gdb.c++/inherit.exp: Ditto.
6475 * gdb.c++/templates.exp: Ditto.
6476 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6477
c906108c
SS
6478Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6479
6480 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6481 host doesn't have a currently-open connection.
6482
6483 * config/sparclet.exp: Cleanups and fixes to make it generic for
6484 any gdb stub target. Handle cases where gdb doesn't respond when
6485 interrupted in a sane fashion.
6486
6487 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6488 same thing in a totally different way.
6489
6490 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6491 setting "timeout".
6492 (gdb_start): We set the global gdb_prompt variable in
6493 default_gdb_init now.
6494
6495Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6496
6497 * gdb.base/printcmds.exp: Fix "check for floating addition"
6498 regexp to accept results within approx +/- .01 of exact value.
6499 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6500
6501Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6502
6503 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6504 properly.
6505 (gdb_expect): Add optional timeout parameter, and add timeout
6506 value to various calls.
6507 (gdb_suppress_tests): Only give one warning message per group.
6508
6509Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6510
6511 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6512 global variables. Handle getting a value for $timeout more
6513 gracefully.
6514
6515Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6516
6517 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6518 initialize.
6519 (default_gdb_init): New procedure; allow gdb_init to be overridden
6520 by a target configuration file.
6521 (gdb_expect): Pass the timeout to remote_expect.
6522
6523 * config/monitor.exp(gdb_load): Fix typo in regexp.
6524
6525Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6526
6527 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6528
6529Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6530
6531 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6532 here. Call gdb_target_exec before rebooting the target, to make
6533 sure the connection to the target is closed.
6534 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6535 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6536 Also detect "Timeout reading from remote" error.
6537
6538 * config/gdbserver.exp: Pass the executable being loaded to
6539 gdb_target_monitor. Don't call gdb_file_cmd here; let
6540 gdb_target_monitor do it.
6541
6542 * gdb.disasm/hppa.exp: Don't use exec_output.
6543
6544Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6545
6546 * gdb.base/list.exp: If we're debugging a non-native target,
6547 try to set the pc register to point to the start of the
6548 program before doing the first list command.
6549
6550 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6551 test_calls after restarting.
6552
6553 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6554 reloading.
6555
6556 * gdb.base/watchpoint.exp: Fix typo.
6557
6558 * gdb.base/setshow.exp: Check for use_gdb_stub.
6559
6560 * gdb.base/break.exp: Fix continue until exit test for the gdb
6561 stub case.
6562 * gdb.base/langs.exp: Ditto.
6563
6564 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6565 gdb_load_offset. If we weren't given a file to load, figure out
6566 what the current file is and use it.
6567
6568 * config/i386-bozo.exp: New file.
6569
6570Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6571
6572 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6573 feature.
6574
6575 * config/proelf.exp: New entry.
6576
6577Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6578
6579 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6580 of regexps.
6581
6582 * gdb.base/watchpoint.exp: Don't run the test_stepping
6583 tests if gdb can't call functions on the target.
6584
6585 * gdb.base/setshow.exp: Don't run the set prompt tests if
6586 the board has gdb_prompt set.
6587
6588Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6589
6590 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6591 * gdb.base/commands.exp: Likewise.
6592 * gdb.base/setshow.exp: Likewise.
6593
6594Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6595
6596 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6597 feature.
6598
6599 * config/i960.exp: New file.
6600
6601Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6602
6603 * gdb.base/funcargs.exp: Check for gdb,short_int target
6604 feature instead of looking for explicit target triplets.
6605
dc96c6c7 6606Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6607
beb998c6 6608 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6609 "p 123DEADBEEF", to check parse_number.
6610 * top.c: change "to enable to enable" to "to enable" in a couple
6611 of help strings.
6612
6613Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6614
6615 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6616 on the mn10300.
beb998c6 6617
c906108c
SS
6618Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6619
6620 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6621 where the test executable is run with explicit args.
6622 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6623
6624Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6625
6626 * gdb.base/run.c: Use FAKEARGV to build test executable that
6627 does not require a command line arg, since most simulators
6628 don't currently support passing such an arg into the simulated
6629 program.
6630 * gdb.base/commands.exp: Change tests to insert the proper
6631 value as the arg to the first recursive factorial call. Change
6632 compilation line to define FAKEARGV at compile time.
6633
6634Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6635
6636 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6637 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6638 function with watchpoint enabled" test.
6639
6640Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6641
6642 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6643 Don't call gdb_test when the command doesn't return to a gdb prompt.
6644
6645 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6646 "Tests restarted" messages.
6647
6648Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6649
6650 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6651
dc96c6c7 6652Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6653
6654 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6655 for INFO SYMBOL; add help tests for OVERLAY commands.
6656 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6657 add tests for OVERLAY commands
6658 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6659 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6660 * gdb.base/sigall.c: add usestubs code frag
6661 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6662
c906108c
SS
6663Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6664
6665 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6666 failures.
6667 (gdb_stop_suppressing_tests): Note that tests have restarted.
6668
6669Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6670
6671 * config/h8300.exp: New file.
6672
6673Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6674
6675 * gdb.base/setshow.exp: Check for the existence of a
6676 feature, not its value.
6677
6678Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6679
6680 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6681
6682 * gdb.base/scope.exp: It's now init0(), not init().
6683
6684 * gdb.base/scope0.c: For now, change init() to be init0().
6685
6686 * config/monitor.exp: Use gdb_serial in preference to serial
6687 or netport.
6688
6689 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6690 and it's not already set.
6691
6692Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6693
6694 * gdb.base/setshow.exp: Only test the run command if the target
6695 isn't using a stub and if it supports argument passing.
6696
6697Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6698
6699 * config/udi.exp(gdb_start): Make sure UDICONF is set
6700 properly before starting gdb.
6701
6702Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6703
6704 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6705 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6706 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6707
6708Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6709
6710 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6711 specialized code to reboot the board, use remote_reboot instead.
6712
6713 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6714
6715 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6716
6717 * config/monitor.exp: Make sure we disconnect from the target.
6718 Also, try a reboot/reload cycle instead of failing if the
6719 load fails.
6720
6721Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6722
6723 * gdb.base/default.exp: Don't set match_max.
6724 * gdb.base/help.exp: Ditto.
6725 * gdb.base/list.exp: Ditto.
6726 * gdb.base/signals.exp: Ditto.
6727
6728 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6729 set, use remote_ld to download the testcase instead of
6730 the GDB loader.
6731
6732Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6733
6734 * config/vr5000.exp: New file.
6735
6736 * config/monitor.exp(gdb_target_monitor): Add pattern for
6737 "Ending remote" to detect errors in connecting.
6738
6739 * gdb.base/setshow.exp: Add .* within auto language test.
6740
6741 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6742 target feature.
6743
6744 * config/monitor.exp(gdb_load): Check for a failure when loading,
6745 and reboot the board if necessary.
6746
6747 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6748 a set of tests. Remove print.* from the patterns being checked.
6749
6750Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6751
6752 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6753 refer to gdb_spawn_id.
6754
6755 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6756 longer used.
6757 * config/sparclet.exp: Ditto.
6758 * config/sparclet-old.exp: Ditto.
6759 * config/slite.exp: Ditto.
6760 * config/sim.exp: Ditto.
6761 * gdb.base/funcargs.exp: Ditto.
6762
6763 * lib/gdb.exp:Remove references to gdb_spawn_id.
6764 (gdb_expect): Move to remote.exp.
6765
6766Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6767
6768 * config/monitor.exp: Detect the "Couldn't establish connection"
6769 message from GDB.
6770
6771Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6772
6773 * gdb.base/bitfields.exp: Use runto instead of explicit
6774 gdb_run_cmd/gdb_expect sequences.
6775
6776 * gdb.base/break.exp(text_next_with_recursion): Add match for
6777 gdb_expect call.
6778
6779 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6780 We also need to handle the "A program is being debugged already"
6781 prompt from gdb. Use gdb_test to set the baud rate.
6782
6783 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6784 to 20000. Really. I mean it.
6785
6786Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6787
6788 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6789 fails. If suppress_flag is set, skip perror message about not
6790 being able to send to GDB.
6791 (send_gdb): If suppress_flag is set, don't try to send commands to
6792 GDB.
6793 (gdb_expect): If suppress_flag is set, always fail immediately.
6794 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6795 (gdb_init): Call gdb_stop_suppressing_tests.
6796 (default_gdb_exit): Ditto.
6797 (default_gdb_start): Ditto.
6798
6799 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6800 gdb_stop_suppressing_tests as appropriate.
6801 * gdb.base/break.exp: Ditto.
6802 * gdb.base/callfuncs.exp: Ditto.
6803 * gdb.base/commands.exp: Ditto.
6804 * gdb.base/exprs.exp: Ditto.
6805 * gdb.base/funcargs.exp: Ditto.
6806 * gdb.base/list.exp: Ditto.
6807 * gdb.base/recurse.exp: Ditto.
6808 * gdb.base/scope.exp: Ditto.
6809 * gdb.base/structs.exp: Ditto.
6810 * gdb.c++/inherit.exp: Ditto.
6811
6812Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6813
6814 * config/vr4300.exp: New file.
6815
99707966
MC
6816 * gdb.*/*.exp: Call gdb_expect instead of expect.
6817
6818 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6819
6820Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6821
6822 * lib/gdb.exp(gdb_init): New function.
6823
6824 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6825 for each individual variable set.
6826
6827 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6828 name.
6829
6830 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6831
6832 * gdb.base/scope.exp: Use gdb_test.
6833
6834 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6835 aborting; the testsuite driver will do that for us (see
6836 gdb_finish). Also, use gdb_test in a few more places.
6837
6838Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6839
6840 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6841
6842Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6843
6844 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6845 and "add_tests" are not at the same address.
6846
6847Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6848
6849 * gdb.base/ptype.exp: Use gdb_test.
6850
6851Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6852
6853 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6854 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6855 left in. No longer expect them to fail.
6856
6857 * gdb.stabs/*.mt; Deleted, no longer used.
6858 * gdb.stabs/configure.in: Remove references to target makefile
6859 frags.
6860 * gdb.stabs/configure: Rebuilt.
6861
6862 * gdb.disasm/*.mt: Deleted, no longer used.
6863 * gdb.disasm/configure.in: Remove references to target makefile
6864 frags. Use "sh3.s" as the unique filename for this directory.
6865 * gdb.disasm/configure: Rebuilt.
6866
6867 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6868 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6869 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6870
6871Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6872
6873 * config/udi.exp: Use mondfe,name instead of remote_host.
6874
6875Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6876
6877 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6878 a function with a watchpoint enabled on the mn10200.
6879
6880 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6881 before trying to create it!
6882
6883Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6884
6885 * config/vx.exp: Use hostname instead of netport.
6886
6887 * config/vxworks.exp: New file.
6888
6889 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6890
6891 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6892 gdb before assuming everything worked. Send a ^C if a timeout
6893 occurs.
6894
6895 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6896 $gdb_spawn_id directly.
6897 (gdb_run_cmd): Try _start as well as start. Use the target feature
6898 gdb,start_symbol as the symbol to start from when jumping.
6899
6900Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6901
6902 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6903 redundant) test.
6904
6905 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6906 it doesn't lose for 16bit integer systems.
6907
6908Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6909
6910 * gdb.fortran/types.exp: If the target doesn't support "double"
6911 data types, then expect "real" types to only be 4 bytes.
6912
6913 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6914 call tests if the target doesn't support inferior function calls.
6915
6916 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6917 in printf tests.
6918
6919Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6920
6921 * gdb.base/help.exp: Disable "help set", "help show", and
6922 "help support". Simplify regexp for "help stack".
6923
6924 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6925 to 60 seconds. Temporarily set match_max to 15000 around the
6926 "info copying" test.
6927
6928 * gdb.base/nodebug.exp: Don't try to do an inferior function
6929 call if the target doesn't support them.
6930 * gdb.base/printcmds.exp: Likewise.
6931 * gdb.base/setvar.exp: Likewise.
6932 * gdb.base/structs.exp: Likewise.
6933 * gdb.c++/templates.exp: Likewise.
6934 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6935
6936 * gdb.base/recurse.exp: Enable for the mn10200.
6937
6938 * configure.in: Do configure gdb.stabs directory for *-*-elf
6939 targets.
6940 * configure: Rebuilt.
6941
6942 * gdb.base/break.exp: Check for gdb,noresults before testing
6943 exit status and/or results from the target.
6944 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6945 * lib/gdb.exp: Remove old (now bogus) initialization of
6946 noinferior, noargs, noresults and nosignals.
6947
6948Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6949
6950 * config/sh.exp: New file.
6951
6952 * config/slite.exp: Try to connect multiple times to the board
6953 before rebooting. Only send a "monitor run" if need_monitor_run
6954 is set.
6955
6956 * gdb.base/break.exp: Don't do the "stub continue" test if
6957 the target has gdb_stub set.
6958
6959 * gdb.base/callfuncs.exp: Increase the timeout.
6960
6961 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6962 if the target has gdb,noinferiorio set.
6963
6964 * gdb.base/list.exp: Increase match_max to 10000 characters.
6965
6966 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6967
6968 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6969 target.
6970
6971 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6972
6973Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6974
6975 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6976 trying to delete the copy of gdb. Catch the file delete so we
6977 don't die if the delete fails; also, the file should be copied to
6978 the host, not to the build.
6979
6980Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6981
6982 * lib/gdb.exp(gdb_test): Surround the result pattern with
6983 parenthesis in case it contains multiple regexps separated
6984 with |.
6985
6986 * gdb.base/watchpoint.exp: Use gdb_test.
6987 * gdb.base/default.exp: Ditto.
6988
6989Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6990
99707966 6991 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6992
c906108c
SS
6993 * gdb.base/scope.exp: Use gdb_test.
6994 * gdb.c++/classes.exp: Ditto.
6995 * gdb.c++/inherit.exp: Ditto.
6996
6997Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6998
6999 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7000 remote_exec instead.
7001 * gdb.base/corefile.exp: Don't be ridiculous.
7002 * gdb.base/*.c: Add missing stub invocations.
7003
7004Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7005
7006 * config/slite.exp: Miscellaneous fixes.
7007
7008 * lib/gdb.exp: Fix runto.
7009
7010 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7011 the target.
7012
7013 * gdb.base/watchpoint.exp: Fix regexp.
7014
7015 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7016 close and wait commands, as the descriptor may now be
7017 invalid. Always call "remote_close host".
7018
7019Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7020
7021 Major rewrite for testsuite revision.
beb998c6 7022
c906108c
SS
7023 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7024 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7025 instead of relying on spawn_id to always contain a valid
7026 spawn id.
7027 (get_compiler_info): New procedure to build the ${binfile}.ci
7028 file, instead of replicating this in N different places.
7029 (gdb_compile): New procedure.
beb998c6 7030
c906108c
SS
7031 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7032 appropriate arguments) instead of compile. Use gdb_test in a lot
7033 more places. Use send_gdb instead of send. Always run gdb_start
7034 at the start of a testcase, as this is no longer done magically.
7035
7036 config/*-gdb.exp: Rename without the -gdb suffix.
7037
7038 config/mips.exp: Use remote_close instead of exit_remote_shell.
7039 config/monitor.exp: Use target_info instead of looking at
7040 baud, timeout, etc.
7041 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7042
7043Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7044
7045 * gdb.c++/templates.exp (test_ptype_of_templates),
7046 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7047 Update expect patterns for destructors and assignment operators
7048 to match corresponding c-typeprint.c changes.
7049 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7050 to destructor breakpoint test, GDB should be able to set the
7051 destructor breakpoint without specifying arguments.
7052
7053Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7054
7055 * gdb.threads/pthreads.exp: Change result for failure to compile due
7056 to lack of pthreads runtime support from an error to simply an
7057 unsupported test, per dejagnu standards.
7058
7059Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7060
7061 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7062 where GDB exits to reduce pattern match time.
7063 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7064
7065 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7066
dc96c6c7 7067Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7068
7069 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7070 * gdb.base/default.exp: ditto.
7071 * gdb.base/nodebug.exp: ditto.
7072 * gdb.base/printcmds.exp: ditto.
7073 * gdb.base/ptype.exp: ditto.
7074 * gdb.base/setvar.exp: ditto.
7075 * gdb.base/structs.exp: ditto.
7076 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7077
7078Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7079
7080 * configure, */configure: Rebuild with autoconf 2.12.
7081
7082Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7083
7084 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7085 use new i*86-pc-linux*-gnu quads.
7086 * gdb.base/corefile.exp: Ditto.
7087 * gdb.base/signals.exp: Ditto.
7088 * gdb.base/sigall.exp: Ditto.
7089 * gdb.base/interrupt.exp: Ditto.
7090
7091 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7092 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7093 RedHat 4.0.
beb998c6 7094
c906108c
SS
7095 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7096 linux. This allows the test case to at least compile on latest
7097 linux, but still not run due to missing the threads runtime library.
7098
7099Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7100
7101 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7102 directory to search gdb directory. Accept and step over conditional
7103 stack alignment code. Consume $prompt in failure cases.
7104 Reset timeout to $oldtimeout instead of some arbitrary value.
7105 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7106 timeout problems with infinite stack backtraces.
7107 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7108 Accept function parameters for linkfunc member.
7109
7110Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7111
7112 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7113 (CXXFLAGS): Remove, unreferenced.
7114 (B_OPTIONS): Add for -B options and add code to initialize with
7115 previous -B options and also add -B option to pick up cross compiled
7116 runtime.
7117 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7118 doing cross compiles.
7119 (target_alias): Declare global.
7120 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7121 to verify that gcc exists in build tree, and if so set CC to that
7122 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7123
c906108c
SS
7124Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7125
7126 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7127 ptype test for anonymous union. Fixup testcase to match
7128 current gcc debug output.
7129
7130Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7131
7132 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7133 force argument to an unsigned long type.
7134
7135Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7136
7137 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7138 tests and anonymous union print/ptype tests.
7139 * gdb.base/list.exp (test_forward-search): Increase timeout by
7140 5 minutes for the "search extremely long line" case.
7141 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7142 completely optional and that the pass/fail messages use the command as
7143 the message if that third arg is a null string.
7144 (gdb_test_exact): Arrange that a null string pattern means match a
7145 null string output rather than any output, which might include random
7146 errors.
7147 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7148 backtrace test.
7149 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7150 always failing and failure is now exposed by gdb.exp changes.
7151
7152Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7153
7154 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7155 weren't being noted.
7156
7157Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7158
7159 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7160 * gdb.stabs/weird.exp: Remove v_comb xfails.
7161
dc96c6c7 7162Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7163
7164 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7165 list.exp scope.exp watchpoint.exp]
7166 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7167
dc96c6c7 7168Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7169
7170 * config/monitor.exp: Increase download timeout to 1000 seconds.
7171
dc96c6c7 7172Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7173
7174 * config/m32r.exp: Increase timeout to 120 seconds.
7175
7176Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7177
7178 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7179 and accept older ordering as obsolescent gcc or gdb.
7180 * gdb.c++/templates.exp: Ditto.
7181 * gdb.c++/virtfunc.exp: Ditto.
7182
7183Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7184
7185 * gdb.base/coremaker.c: Add code to mmap some data so we
7186 can check that it ends up in the core file.
7187 * gdb.base/corefile.exp: Add test to read mmapped data
7188 from core file.
7189
dc96c6c7 7190Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7191
7192 * config/m32r.exp: New file.
7193
7194Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7195
7196 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7197 that cflags can contains -gstabs, and work correctly for other tests.
7198
dc96c6c7 7199Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7200
7201 * gdb.base/setshow.exp: New file, tests show and set.
7202 * gdb.base/setshow.c: New file, tests show and set.
7203 * gdb.base/help.exp: Add test for help set|show annotate.
7204 * gdb.base/default.exp: Add test for set|show annotate.
7205
7206Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7207
7208 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7209 errors unique.
7210 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7211 explicitly.
7212
7213Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7214
7215 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7216 and width commands. This is done elsewhere.
7217 * (gdb_start): Don't call gdb_start_sim here. That's already
7218 done in gdb_load. This fixes lots of failures in default.exp.
7219
7220Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7221
7222 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7223 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7224 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7225 in the same we we treat other failures (since it may be an expected
7226 condition), rather than as an error.
7227 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7228 old test format.
7229
7230Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7231
7232 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7233 (distclean maintainer-clean realclean): No need to remove files
7234 twice. Nuke the duplicates.
7235 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7236 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7237 Remove config.h along with other config files.
7238
7239Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7240
7241 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7242 "p func1 ()" and note that rests of tests are skipped.
7243 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7244 setup_xfails for "print func2::coremaker_local".
7245 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7246 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7247 affected by the previous run test.
7248 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7249 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7250 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7251 "pass int powerset tuple" and "pass modeless int powerset tuple".
7252 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7253 "real write 4" and "real write 8".
7254 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7255 setup_xfails for "print vs1 after tuple assign 2",
7256 "print \$i after tuple assign 2", and
7257 "print vs2 after tuple assign 2".
7258 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7259 meaningful error message and return -1 so the caller can
7260 suppress further tests and avoid a cascade of errors.
beb998c6 7261
c906108c
SS
7262Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7263
7264 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7265 format for printing version.
7266 * gdb.base/default.exp: Ditto.
7267 * gdb.base/interrupt.exp: Fix problem with cascade of
7268 errors if child process dies while calling a function.
beb998c6 7269
c906108c
SS
7270Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7271
7272 * Makefile.in (VPATH): Add
7273 * Makefile.in (Makefile, config.status): Fix rules so things get
7274 remade when necessary.
7275
7276Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7277
7278 * Makefile.in (just-check): Add path to sibling expect dir
7279 to environment variable specified by RPATH_ENVVAR.
7280
7281Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7282
7283 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7284 (just-check): Add shared library paths for libstdc++, tk,
7285 tcl, bfd, and opcodes to the environment variable specified
7286 in RPATH_ENVVAR.
7287 * configure.in: Add support to recognize --enable-shared flag
7288 and generate correct value for RPATH_ENVVAR.
7289 * configure: Regenerated with autoconf.
7290
7291Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7292
7293 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7294 include all osf versions.
7295 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7296 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7297 when target is linux. When failing to build pthreads test
7298 executable, give more meaningful message.
7299 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7300 arg for pthread_create.
beb998c6 7301
c906108c
SS
7302Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7303
7304 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7305 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7306 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7307 and -lpthreads (everybody else).
7308 (test_startup): Fail gracefully if threads are not supported.
7309 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7310 "p/c array_index("abcdef",2)" when not gcc compiled.
7311 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7312 "print func2::coremaker_local" when not gcc compiled.
7313 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7314 "ptype on opaque struct tagname (statically)",
7315 "ptype on opaque struct tagname (dynamically) 1", and
7316 "ptype on opaque struct tagname (dynamically) 2"
7317 for not compiled with gcc.
7318 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7319 backtrace when compiled with gcc.
beb998c6 7320 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7321 than always return success.
7322
7323Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7324
7325 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7326
7327Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7328
7329 * gdb.base/structs.exp: Undo last change.
7330
7331Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7332
7333 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7334 encapsulate all the steps/nexts done during self test, starting
7335 at main, and makes them less sensitive to optimization issues.
7336 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7337 signal handler" test.
7338 * gdb.threads/pthreads.exp: Only run this for native configs.
7339 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7340 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7341 tests.
7342 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7343 for "runto test_calls(void)" test.
beb998c6 7344
c906108c
SS
7345Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7346
7347 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7348 and don't expect address info in breakpoint confirmations.
7349
7350Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7351
7352 * gdb.base/list.exp (test_forward_search): Increase timeout
7353 temporarily by 60 seconds for searching extremely long line,
7354 and then reset to old value when done. Increase expect input
7355 buffer to 10000.
7356
7357Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7358
7359 * gdb.base/list.exp (test_forward_search): Fix to handle very
7360 long source line without overflowing expect's input buffer.
7361
7362Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7363
7364 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7365 "buffer_full".
7366
7367 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7368 "buffer_full".
7369
7370 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7371 "buffer_full".
7372
7373 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7374 "buffer_full".
7375
7376Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7377
7378 * configure.in (configdirs): Add gdb.threads.
7379 * configure: Regenerated with autoconf.
7380 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7381 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7382 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7383
c906108c
SS
7384Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7385
7386 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7387
7388Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7389
7390 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7391 each signal's status in the output of "handle all print".
7392 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7393 the \r\n sequence that immediately precedes the gdb prompt.
7394 * gdb.base/a1-selftest.exp: Save original timeout and restore
7395 after test.
7396
7397Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7398
7399 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7400 symbol.
7401
7402Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7403
7404 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7405
7406Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7407
7408 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7409 timeout by 60 seconds.
7410
7411Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7412
7413 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7414 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7415 error return.
7416
7417Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7418
7419 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7420 gdb initialization, also report how long dejagnu waited. Restore
7421 old timeout before doing error return. Temporarily increase timeout
7422 by 3 minutes to allow for slow startups over heavy NFS use.
7423
7424Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7425
7426 * lib/gdb.exp: Report timeout value for verbosity level 2.
7427 * config/gdbserver.exp: Ditto.
7428 * config/hppro.exp: Ditto.
7429 * config/mips-gdb.exp: Ditto.
7430 * config/monitor.exp: Ditto.
7431 * config/netware.exp: Ditto.
7432 * config/sim-gdb.exp: Ditto.
7433 * config/slite-gdb.exp: Ditto.
7434 * config/udi-gdb.exp: Ditto.
7435 * config/unix-gdb.exp: Ditto.
7436 * config/vx-gdb.exp: Ditto.
7437 * gdb.base/a1-selftest.exp: Ditto.
7438 * gdb.base/a2-run.exp: Ditto.
7439 * gdb.base/break.exp: Ditto.
7440 * gdb.base/corefile.exp: Ditto.
7441 * gdb.base/list.exp: Ditto.
7442 * gdb.base/recurse.exp: Ditto.
7443 * gdb.base/scope.exp: Ditto.
7444 * gdb.base/signals.exp: Ditto.
7445
7446Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7447
7448 * gdb.threads/Makefile.in (docdir): Removed.
7449
7450Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7451
7452 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7453 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7454 @srcdir@.
beb998c6 7455 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7456 autoconf 2.5 or higher.
7457 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7458
7459Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7460
7461 * configure: Regenerated.
7462 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7463 avoid name clashes with SunOS headers.
7464
7465Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7466
7467 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7468
7469Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7470
7471 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7472 prototype information ends up in the compiler info file.
7473
7474Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7475
7476 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7477 attempting to regenerate it. Eliminate use of a temporary file
7478 and just generate the info file directly. Source it immediately,
7479 for consistency of use.
7480 * gdb.base/corefile.exp: Ditto
7481 * gdb.base/exprs.exp: Ditto.
7482 * gdb.base/funcargs.exp: Ditto.
7483 * gdb.base/langs.exp: Ditto.
7484 * gdb.base/list.exp: Ditto.
7485 * gdb.base/mips_pro.exp: Ditto.
7486 * gdb.base/nodebug.exp: Ditto.
7487 * gdb.base/opaque.exp: Ditto.
7488 * gdb.base/ptype.exp: Ditto.
7489 * gdb.base/scope.exp: Ditto.
7490 * gdb.base/setvar.exp: Ditto.
7491 * gdb.base/signals.exp: Ditto.
7492 * gdb.base/whatis.exp: Ditto.
7493 * gdb.c++/templates.exp: Ditto.
7494 * gdb.c++/virtfunc.exp: Ditto.
7495 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7496 whether or not to add -lstdc++ to the compile command line args.
7497
7498Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7499
7500 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7501 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7502 Increase timeout, a lot of single stepping might be needed if the
7503 target has no hardware watchpoints.
7504
7505Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7506
7507 * gdb.base/break.exp: Ignore compiler warnings when compiling
7508 break.c.
7509 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7510 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7511 from remote-sim.
7512 * gdb.base/exprs.exp: Add h8300 xfails.
7513 * gdb.base/funcargs.exp: Likewise.
7514 * gdb.base/nodebug.exp: Likewise.
7515 * gdb.base/printcmds.exp: Likewise.
7516 * gdb.base/ptype.exp: Likewise.
7517 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7518 h8300 xfails.
beb998c6 7519 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7520 on the h8300.
7521 * gdb.base/funcargs.c: Explicitly make last constant argument to
7522 call_after_alloca_subr an unsigned long type.
7523 * gdb.base/return.c: Include stdio.h.
7524
7525Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7526
7527 * config/abug.exp: New file for the older Motorola Bug monitor
7528 that runs on the mvme13x series VME boards.
7529 * config/monitor.exp: Use the new config array for target settings
7530 if they exist.
7531
7532Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7533
7534 * sim-gdb.exp: Make the SH simulator allocate less space when
7535 it is targeted.
7536
7537Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7538
7539 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7540 test.
7541
7542Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7543
7544 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7545 "rs6000-*-*" for "list function in include file" when gcc compiled.
7546 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7547 for "p ctable1[120]".
7548 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7549 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7550 Remove setup_xfail for "rs6000-*-*" for
7551 "print 'scope0.c'::filelocal before run".
7552 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7553 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7554 since some compilers don't allow both options to be given
7555 on the same command line. Create object file and move it.
beb998c6 7556
c906108c
SS
7557Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7558
7559 * gdb.base/corefile.exp: Always regenerate the core file, since
7560 we always regenerate the coremaker program. Detect special case
7561 where registers cannot be read from core file.
beb998c6 7562
c906108c
SS
7563Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7564
7565 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7566 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7567 * gdb.c++/templates.exp: Only match on basename of file since
7568 some formats like xcoff don't encode directory information.
7569 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7570 and rs6000 AIX xcoff targets.
7571 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7572 * configure: Regenerate.
7573 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7574 here, rather than in distclean.
beb998c6 7575
c906108c
SS
7576Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7577
7578 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7579 defined, and use it to compile the test case with -O2. The
7580 native compilation still uses no optimization.
7581 * gdb.base/mips_pro.c: Remove inline assembly code since
7582 it is compiled PIC by default, which results in assembler
7583 warnings that make the testsuite think the compilation
7584 was unsuccessful.
7585
7586Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7587
7588 * gdb.c++/misc.exp: Add note to message for
7589 "print s.a for foo struct" that this is a known gcc 2.7.2
7590 and earlier bug.
7591
7592Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7593
7594 * gdb.base/break.exp: Fix pattern for matching "Delete all
7595 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7596 setup_xfail for deleting all breakpoints test. Fix various
7597 timeout messages to include "(timeout)".
7598 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7599 for "p t_float_values2(3.14159,float_val2)".
7600 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7601 for "continue to call2g" when gcc compiled.
7602 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7603 "up to foo in langs.exp", "show language at foo in langs.exp",
7604 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7605 and "show language at fsub in langs.exp".
7606 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7607 "list line 1 in include file", "list message for lines past EOF",
7608 "list function in include file", "list list0.h:foo", and
7609 "list filename:function; nonexistant function".
7610 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7611 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7612 and "ptype t_char_array" to be for native cc only.
beb998c6 7613
c906108c
SS
7614Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7615
beb998c6 7616 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7617 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7618 "print func2::coremaker_local", and "backtrace in corefile.exp".
7619
7620Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7621
7622 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7623 "bt in signals.exp". This problem only appears when running
7624 the testsuite, and then only intermittently.
7625
7626Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7627
7628 * gdb.base/return.exp (return_tests): Differentiate between
7629 two tests of continuing.
7630
7631Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7632
7633 * */Makefile.in (maintainer-clean): Remove config.log.
7634 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7635 * gdb.c++/Makefile.in (PROGS): Add inherit.
7636 (clean): Remove *.ci.
7637
7638Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7639
7640 * gdb.c++/misc.cc: Add test code from Mike Stump.
7641 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7642
7643Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7644
7645 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7646 to "alpha-*-osf2*" and add comment.
7647 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7648 setup_xfail for "step over execarg initialization" and
7649 "step over corearg initialization".
7650 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7651 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7652 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7653 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7654 "print func2::coremaker_local", and "backtrace in corefile.exp".
7655 * gdb.base/signals.exp: Build and source signals.ci.
7656 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7657 to be for gcc only.
7658 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7659
c906108c
SS
7660Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7661
7662 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7663 Feb 3 procfs.c change.
7664
7665Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7666
7667 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7668
7669Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7670
7671 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7672 from dejagnu's apparent default of 10 seconds, which gives random
7673 results when running the tests over NFS on moderately loaded systems.
7674 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7675
7676Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7677
7678 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7679 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7680 result reports.
7681
7682Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7683
7684 * configure.in (CY_AC_PATH_TCLH): Remove.
7685 * configure: Regenerate.
7686
7687Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7688
7689 * gdb.c++/Makefile.in (clean): Add missing '{'.
7690
7691Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7692
7693 * lib/gdb.exp: Provide a default value for noinferior.
7694
7695 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7696 Load libgloss.exp.
7697
7698Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7699
7700 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7701 the executable, not the .o to run the tests from.
7702
7703Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7704
7705 * gdb.base/break.exp: Don't test for program exit or exit status
7706 if $noresults if nonzero.
7707 * gdb.base/langs.exp: Likewise.
7708 * gdb.base/watchpoint.exp: Likewise.
7709
7710 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7711 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7712 trying to compile the testcase.
7713
7714Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7715
7716 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7717 * gdb.base/signals.exp (continue to handler): Likewise.
7718
7719Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7720
7721 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7722
7723 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7724
7725Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7726
7727 * gdb.base/corefile.exp: Recognize "not found" as failure
7728 when trying to determine if a core file was generated.
7729 If no core file was generate the first time, try again without
7730 the ulimit -c to work around braindamaged shells.
7731
7732Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7733
7734 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7735 [] tests with "test" and enclose string in quotes.
7736 * gdb.stabs/configure: Rebuild
beb998c6 7737
c906108c
SS
7738Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7739
7740 Changes in sync with expect:
7741 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7742 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7743 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7744 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7745 argument to AC_REQUIRE.
7746 * configure: Regenerated.
7747
7748Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7749
7750 * gdb.base/corefile.exp: When generating a core, discard any
7751 error messages about ulimit not found and the "core dumped"
7752 message from the shell that runs the coredumper.
7753
7754Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7755
7756 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7757
7758 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7759 which sed script to run. Expect failure for v_comb test
7760 on PA targets too.
beb998c6 7761
c906108c
SS
7762Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7763
7764 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7765 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7766
7767Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7768
7769 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7770 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7771 "sparc-sun-solaris*" xfails for "p v_comb".
7772 * lib/gdb.exp (default_gdb_start): Fix typo.
7773 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7774 messages to not include the full program name that caused
7775 the core dump since some systems (such as solaris) apparently
7776 truncate this path to about 80 characters.
7777 When generating a core file first try increasing the core file
7778 size limit to unlimited since some systems may default it to
7779 zero, and it is harmless to try it. Move the test for failing
7780 to generate a core file to where it will actually get executed.
7781 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7782 new gdb result from g++ debug info improvements and make old
7783 pattern obsolescent. Also account for size_t differences
7784 (may be int or long).
7785 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7786 initialization before function call is placed in the delay slot
7787 and thus appears to be skipped over by commands such as "next".
7788
7789Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7790
7791 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7792
7793Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7794
7795 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7796 input source file; fix code to compile test to deal with this
7797 convention.
7798 * gdb.c++/*.exp: Likewise.
7799
7800Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7801
7802 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7803 "bt in signals.exp".
7804
7805Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7806
7807 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7808 "step over execarg initialization" and
7809 "step over corearg initialization".
7810
7811Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7812
7813 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7814 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7815
7816Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7817
7818 From Rob Savoye (rob@poseidon.cygnus.com)
7819 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7820 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7821 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7822 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7823 configure.in}: Major reworking for autoconfig.
7824 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7825 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7826 New files.
7827 * config/unix-gdb.exp: Make GDB global.
7828 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7829 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7830 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7831 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7832 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7833 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7834 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7835 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7836 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7837 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7838 pr-8136.exp, result.exp, string.exp, tuples.exp},
7839 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7840 to returns as necessary, arrange for test to compile own testcase
7841 executable.
7842 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7843
c906108c
SS
7844Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7845
7846 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7847 clear_xfail at end of test which might not call either pass or fail.
7848 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7849 "backtrace through signal handler".
7850
7851Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7852
7853 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7854 continuing from a job control stop signal.
7855 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7856
7857Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7858
7859 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7860 * gdb.base/corefile.exp: Likewise.
7861 * gdb.base/funcargs.exp: Likewise.
7862
7863Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7864
7865 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7866 * config/monitor.exp: Add support for setting baud rate.
7867
7868Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7869
7870 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7871 i*86-*-linux* xfails for "backtrace through signal handler".
7872 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7873 "print func2::coremaker_local".
7874 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7875 alpha-dec-osf2* xfail for
7876 "delete all breakpoints when none".
7877
7878Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7879
7880 * gdb.base/break.exp: Change test that deletes all breakpoints
7881 when no user breakpoints are installed. A post 4.15 change
7882 causes gdb to no longer prompt in this case.
7883
7884Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7885
7886 * gdb.base/return.exp (return_tests): Change xfail for test
7887 "correct value returned double test" to stop xfailing at
7888 Solaris 2.5. Apparently the bug has been fixed.
7889
7890Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7891
7892 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7893 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7894
7895Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7896
7897 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7898 * gdb.disasm/hppa.s: Corresponding changes.
7899
7900Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7901
7902 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7903 makefile fragment.
7904 * config/mt-hpux: Deleted.
7905
7906Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7907
beb998c6 7908 * Many files: When warning about suppressed tests due to a
c906108c
SS
7909 nonexistant test binary, avoid incrementing the warning count.
7910
7911Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7912
7913 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7914
c906108c
SS
7915Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7916
7917 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7918 "sparc-*-solaris2*".
7919
7920Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7921
7922 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7923 Add global and local variables and initialize them.
7924 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7925 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7926 extracts the file name and terminating signal from the core file.
7927 * TODO: Remove note about tests for correct mapping of corefile.
7928 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7929 from optimizing it away.
7930 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7931 handles common blocks.
7932
7933Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7934
7935 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7936 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7937
7938Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7939
7940 * Makefile.in (maintainer-clean): New target, synonym for
7941 realclean.
7942 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7943 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7944 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7945 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7946 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7947 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7948
7949Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7950
7951 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7952 xfails when not gcc compiled for "print foo::funclocal".
7953 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7954 "print foo::funclocal at foo",
7955 "print 'scope1.c'::foo::funclocal at foo",
7956 "print foo::funclocal_bss at foo",
7957 "print 'scope1.c'::foo::funclocal_bss at foo",
7958 "print foo::funclocal_ro at foo",
7959 "print 'scope1.c'::foo::funclocal_ro at foo",
7960 "print bar::funclocal at foo" and
7961 "print 'scope1.c'::bar::funclocal at foo".
7962 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7963 gcc compiled for "print foo::funclocal at bar".
7964 Expand all messages to ensure that they identify that
7965 the test is at bar().
7966 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7967 gcc compiled for:
7968 "ptype on opaque struct pointer (statically)",
7969 "ptype on opaque struct tagname (statically)",
7970 "ptype on opaque struct pointer (dynamically) 1",
7971 "ptype on opaque struct tagname (dynamically) 1",
7972 "ptype on opaque struct pointer (dynamically) 2" and
7973 "ptype on opaque struct tagname (dynamically) 2
7974 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7975 gcc compiled for:
7976 "p datalocal"
7977 "whatis datalocal",
7978 "ptype datalocal",
7979 "p bsslocal",
7980 "whatis bsslocal", and
7981 "ptype bsslocal".
7982 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7983 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7984 when not gcc compiled.
7985 * gdb.base/funcargs.exp (float_and_integral_args): Add
7986 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7987 compiled.
7988 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7989 "backtrace from call6a" when not gcc compiled.
7990 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7991 "backtrace from call7a" when not gcc compiled.
7992 * gdb.base/callfuncs.exp (do_function_calls):
7993 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7994 "p t_char_array_values(char_array_val2,char_array_val1)",
7995 "p t_char_array_values(char_array_val1,char_array_val2)",
7996 "p t_char_array_values("carray 1","carray 2")",
7997 "p t_char_array_values("carray 1",char_array_val2)",
7998 "p t_char_array_values(char_array_val1,"carray 2")",
7999 "p sum_args(1,{2})",
8000 "p sum_args(2,{2,3})",
8001 "p sum_args(3,{2,3,4})",
8002 "p sum_args(4,{2,3,4,5})"
8003 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8004 "backtrace in corefile.exp" when not gcc compiled.
8005
8006Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8007
8008 * gdb.base/signals.exp: Rewrite `handle all print' test as
8009 a procedure. Accept blanks or TABs as whitespace, increase
8010 timeout and expect input buffer size for the large output
8011 from the command. Remove "i*86-*-bsdi2.0" xfail.
8012
8013Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8014
8015 * gdb.base/setvar.exp: Add new testcases for truncation when
8016 assigning invalid values to bitfields.
8017
8018Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8019
beb998c6 8020 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8021 mips-sgi-irix* xfail for
8022 "call inferior func with struct - returns char *"
8023 and fix test so that an optional (unsigned char *) cast is
8024 accepted in the result.
8025
8026Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8027
8028 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8029 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8030 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8031 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8032 that accidentally got checked in.
8033
8034Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8035
beb998c6 8036 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8037 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8038 compiled test.
8039 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8040 Add mips-sgi-irix5* xfail for not gcc compiled.
8041 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8042 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8043 "p top", "whatis top", "p middle", and "whatis middle".
8044 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8045 "whatis signed char" for not gcc compiled.
8046 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8047 "set variable signed char=-1 (-1)" and
8048 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8049 * gdb.base/funcargs.exp (float_and_integral_args):
8050 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8051 Add mips-sgi-irix* xfail when not gcc compiled for
8052 "continue to call2b".
8053 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8054 "continue to call2g".
8055 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8056 "backtrace from call6a"
8057 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8058 "backtrace from call7k".
8059 Add mips-sgi-irix5* xfail when not gcc compiled for
8060 "backtrace from call7a".
8061 (localvars_after_alloca): Fix gdb_test cmds for
8062 "print * after runto ...".
8063 Remove rs6000-*-* xfails for
8064 "print i after runto localvars_after_alloca" and
8065 "print l after runto localvars_after_alloca"
8066 for all compilers.
8067 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8068 when not compiled with gcc, for:
8069 "print signed char == (minus)",
8070 "print signed char != (minus)",
8071 "print signed char < (minus)",
8072 "print signed char > (minus)".
8073 * gdb.base/callfuncs.exp (do_function_calls):
8074 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8075 "call inferior func with struct - returns char *".
beb998c6 8076 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8077 "correct value returned double test" to include Solaris 2.4.
8078 * gdb.base/funcargs.exp (float_and_integral_args):
8079 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 8080
c906108c
SS
8081Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8082
8083 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8084 enumeration bitfields if compiling with GNU C.
8085 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8086 to empty' prompt.
8087
8088Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8089
8090 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8091 test for PRO targets.
8092
8093 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8094 breakpoints in the inferior at any given time by making
8095 two groups of breakpoints for call2*, call6* and call7*
8096 tests.
8097
8098Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8099
8100 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8101 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8102 from optimizing it away.
8103 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8104 "call inferior func with struct".
8105
8106Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8107
8108 * configure.in: Only configure gdb.chill for particular targets.
8109
8110Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8111
8112 * gdb.base/Makefile.in: Add action to .c.o transformation
8113 rule that generates a .ci file for each .o file and remove
8114 explicit .c.o rules except for callfuncs.o.
8115 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8116 generates a .ci file for each .o file and remove explicit
8117 .cc.o rules.
8118 (clean): Remove *.tmp *.ci files.
8119 (EXECUTABLES): Remove templ-info.exp.
8120 * gdb.base/compiler.c: New file.
8121 * gdb.c++/compiler.cc: New file
8122 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8123 Change rs6000-*-* xfail for
8124 "print 'scope0.c'::filelocal_ro" and
8125 "print 'scope1.c'::filelocal" and
8126 "print 'scope1.c'::filelocal_bss" and
8127 "print 'scope1.c'::filelocal_ro" and
8128 "print 'scope1.c'::foo::funclocal" and
8129 "print 'scope1.c'::foo::funclocal_ro" and
8130 "print 'scope1.c'::bar::funclocal" and
8131 "print 'scope0.c'::filelocal_ro" and
8132 "print 'scope1.c'::filelocal at foo" and
8133 "print 'scope1.c'::filelocal_bss at foo" and
8134 "print 'scope1.c'::filelocal_ro at foo" and
8135 "print 'scope1.c'::foo::funclocal at foo" and
8136 "print 'scope1.c'::foo::funclocal_bss at foo" and
8137 "print 'scope1.c'::foo::funclocal_ro at foo" and
8138 "print 'scope1.c'::bar::funclocal at foo" and
8139 "print 'scope0.c'::filelocal_ro" and
8140 "print 'scope1.c'::filelocal" and
8141 "print 'scope1.c'::filelocal_bss" and
8142 "print 'scope1.c'::filelocal_ro" and
8143 "print 'scope1.c'::foo::funclocal" and
8144 "print 'scope1.c'::foo::funclocal_bss" and
8145 "print 'scope1.c'::foo::funclocal_ro" and
8146 "print 'scope1.c'::bar::funclocal" and
8147 "print 'scope1.c'::bar::funclocal_bss"
8148 to only be xfail'd when not compiled with gcc.
beb998c6 8149 Add rs6000-*-* xfail for
c906108c
SS
8150 "print 'scope0.c'::filelocal_bss before run"
8151 when compiled with gcc.
8152 (test_at_main): Add rs6000-*-* xfail for
8153 "print filelocal_ro in test_at_main"
8154 when compiled with gcc.
8155 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8156 Add rs6000-*-aix* xfail for
c906108c
SS
8157 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8158 "ptype t_char_array", not compiled with gcc.
8159 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8160 xfail for "list foo (in include file)" when gcc compiled.
8161 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8162 (integral_args): Add rs6000-*-* xfail for
8163 "run to call0a" if not compiled with gcc.
8164 (unsigned_integral_args): Add rs6000-*-* xfail for
8165 "run to call1a" if not compiled with gcc.
8166 (float_and_integral_args): Add rs6000-*-* xfail for
8167 "run to call2a" if not compiled with gcc and for
8168 "continue to call2b" for any compiler.
8169 Add rs6000-*-* xfail to
8170 "print f1 after run to call2a" for gcc compiled.
8171 (discard_and_shuffle): Add rs6000-*-* xfail for
8172 "run to call6a".
8173 (shuffle_round_robin): Add rs6000-*-* xfail for
8174 "backtrace from call7a" if not compiled with gcc.
8175 Add rs6000-*-* xfail for
8176 "backtrace from call7b" if compiled with gcc.
8177 (call_after_alloca): Add rs6000-*-* xfail for
8178 "print c in call_after_alloca" and
8179 "print s in call_after_alloca" and
8180 "backtrace from call_after_alloca_subr"
8181 if not compiled with gcc.
8182 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8183 "print c in localvars_in_indirect_call" and
8184 "print c in localvars_in_indirect_call" and
8185 "backtrace in indirectly called function" and
8186 "stepping into indirectly called function"
8187 if not compiled with gcc.
8188 (localvars_after_alloca): Add rs6000-*-* xfail for
8189 "print c after runto localvars_after_alloca" and
8190 "print s after runto localvars_after_alloca" and
8191 "print i after runto localvars_after_alloca" and
8192 "print l after runto localvars_after_alloca"
8193 for all compilers.
8194 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8195 than whatis-info.exp.
8196 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8197 than opaque-info.exp.
8198 Setup rs6000-*-* xfail for
beb998c6 8199 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8200 "ptype on opaque struct pointer (dynamically)" when
8201 not compiled with gcc.
8202 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8203 rather than callf-info.exp.
8204 (do_function_calls): Add clear_xfail for rs6000-*-* for
8205 "p t_float_values2(3.14159,float_val2)". Seems to work
8206 fine there, both with xlc and gcc. Need to find out what
8207 it is doing right and fix other platforms.
8208 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8209 "call inferior func with struct - returns int",
8210 "call inferior func with struct - returns long",
8211 "call inferior func with struct - returns float",
8212 "call inferior func with struct - returns double",
8213 "call inferior func with struct - returns char *",
8214 but only if not gcc compiled (presumes xlc compiled).
8215 Change rs6000-*-* xfails for
8216 "call inferior func with struct - returns char" and
8217 " call inferior func with struct - returns short" to only
8218 xfail if not using gcc.
8219 (clean mostlyclean): Remove *.ci and *.tmp files.
8220 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8221 than templ-info.exp.
8222 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8223 Add rs6000-*-* xfail for "up to foo in langs.exp"
8224 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8225 when not gcc compiled.
beb998c6 8226
c906108c
SS
8227Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8228
8229 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8230 * gdb.base/corefile.exp: Likewise.
8231 * gdb.base/list.exp: Likewise.
8232 * gdb.base/scope.exp: Likewise.
8233 * gdb.base/siganls.exp: Likewise.
8234
8235 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8236 compiler output.
8237 * gdb.base/whatis.exp: Likewise.
8238
8239Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8240
8241 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8242 failure (opcode table has been fixed to match reality).
8243
8244Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8245
8246 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8247 "call inferior func with struct - returns char",
8248 "call inferior func with struct - returns short"
8249
8250 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8251 "print 'scope0.c'::filelocal at main",
8252 "print 'scope0.c'::filelocal_bss in test_at_main",
8253 "print 'scope0.c'::filelocal at foo",
8254 "print 'scope0.c'::filelocal_bss in test_at_foo",
8255 "print 'scope0.c'::filelocal at bar",
8256 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8257
c906108c
SS
8258 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8259 in source file 1". This bug seems to have been fixed with both
8260 gcc and native cc (was native assembler bug?).
8261
8262Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8263
8264 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8265 "backtrace through signal handler" to "i*86-*-sysv4*".
8266 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8267 continue" case. Add "known SVR4 bug" to fail message.
8268 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8269 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8270 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8271 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8272 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8273 "up to foo in langs.exp", "show language at foo in
8274 langs.exp", "up to cppsub_ in langs.exp", "show
8275 language at cppsub_ in langs.exp", "up to fsub in
8276 langs.exp", and "show language at fsub in langs.exp".
8277 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8278 "bactrace in corefile.exp".
8279 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8280 "call inferior function with struct - returns float" and
8281 "call inferior function with struct - returns double".
beb998c6 8282
c906108c
SS
8283Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8284
8285 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8286 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8287 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8288 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8289
8290Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8291
8292 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8293 (or overriden) "CHILL" macro rather then bare "gcc".
8294 Also look for ../../gcc/xgcc since that is what we will
8295 actually need, not "Makefile". Remove following assignment
8296 of CHILL to CHILL_FOR_TARGET because that results in
8297 recursive definition.
8298
8299Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8300
8301 * gdb.base/corefile.exp: Change xfail for backtrace in
8302 corefile.exp from linuxaout to all linux.
8303 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8304 cases where we miss the breakpoint at the signal handler
8305 for some reason. Setup xfail for linuxoldld/linuxaout and
8306 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8307 hitting SIGURG breakpoint.
8308 * gdb.base/signals.exp: Setup xfail for "next" acting like
8309 continue to add linuxoldld. Setup xfail for all linux for
8310 "next to handler in signals_tests_1", "backtrace in
8311 signals_tests_1", "continue to func1", "pass SIGUSR1",
8312 and continue to handler".
8313
8314Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8315
8316 * Update all FSF addresses except those in COPYING* files.
8317
8318Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8319
8320 * gdb.base/a2-run.exp: Change messages to be more explicit about
8321 the status of args, and quote binfile in results.
8322
8323Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8324
8325 * gdb.base/callfuncs.exp: Add tests for passing structs to
8326 inferior functions and return various types.
8327 * gdb.base/callfuncs.c: Add functions to receive a struct
8328 and return a member of the struct, in various types.
8329
8330Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8331
8332 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8333
8334Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8335
8336 * config/vxworks29k.exp: New file, sources vxworks.exp.
8337
8338Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8339
8340 * config/gdbremote.exp: New file. Testing framework using
8341 gdbserver.
8342
8343Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8344
8345 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8346 "call function when asleep" and "send end of file".
8347 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8348 for "backtrace in corefile.exp".
8349 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8350 for "backtrace through signal handler".
8351 * gdb.base/corefile.exp: Make sure we actually generate a core file
8352 before trying the core tests. Some systems allow the user to suppress
8353 generation of core files and default to that (linux for example).
8354 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8355 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8356
8357Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8358
8359 * gdb.threads: New directory with some crude multi-threaded
8360 gdb tests (step.exp and step2.exp).
8361 * config/mt-lynx (STEP_EXECUTABLE): Define.
8362 (THREADFLAGS): Define.
8363
8364Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8365
8366 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8367
8368 * gdb.base/signals.exp: Disable whole file for lynx until
8369 further notice.
8370
8371 * gdb.base/signals.exp: xfail test where "next" acts like
8372 "continue" for lynx.
8373
8374 * gdb.base/interrupt.exp: xfail test for calling function while
8375 inferior is asleep for lynx.
8376
8377 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8378 than one cr-lf after each command.
8379
8380Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8381
8382 * configure.in: Reinstate setting of stabsdirs variable, fix
8383 typo in setting up configdirs for native builds.
8384
8385 * gdb.base/return.exp: Fix typo in return double test.
8386 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8387 compiler from optimizing them away.
8388
8389Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8390
8391 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8392 sequences to be echo'd by gdb when using gdb_test.
8393 * gdb.chill/chexp.exp: Likewise.
8394 * gdb.fortran/exprs.exp: Likewise
8395
8396Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8397
8398 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8399 after the inferior gdb has started.
8400
8401 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8402 after each command.
8403 * gdb.base/funcargs.exp: Likewise.
8404 * gdb.base/gdbvars.exp: Likewise.
8405 * gdb.base/interrupt.exp: Likewise.
8406 * gdb.base/list.exp: Likewise.
8407 * gdb.base/watchpoint.exp: Likewise.
8408 * gdb.c++/demangle.exp: Likewise.
8409 * gdb.c++/inherit.exp: Likewise.
8410 * gdb.chill/chexp.exp: Likewise.
8411 * gdb.fortran/exprs.exp: Likewise.
8412
8413 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8414 test if we can't handle IO to/from the inferior.
8415
8416 * gdb.c++/misc.exp: Always check for a program already being
8417 started after sending a "run" command to gdb.
8418
8419 * gdb.base/twice.exp: Start with a fresh gdb.
8420
8421 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8422 only depend on gdb's expression code, not the chill runtime.
8423
8424 * gdb.base/return.c: Put return values into variables so we
8425 can have gdb print them rather than depending on the program
8426 to print them.
8427 * gdb.base/return.exp: Corresponding changes.
8428
8429 * lib/gdb.exp: Provide default value for noinferiorio.
8430 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8431 the inferior.
8432
8433 * gdb.base/break.exp: Always check for a program already being
8434 started after sending a "run" command to gdb.
8435 (text_next_with_recursion): Don't check the output from the
8436 program's printf statement. Instead just make sure the program
8437 exited.
8438
8439 * gdb.base/commands.exp: Protect tests which need arguments with
8440 $noargs conditionals.
8441
8442Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8443
8444 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8445 of structure member arrays to match gdb/valops.c:value_addr change.
8446
8447Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8448
8449 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8450 cases.
8451
8452Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8453
8454 * configure.in (configdirs): Remove gdb.chill from default list
8455 of subdirs and then add it back in only if doing a native build.
8456 The current chill compiler does not yet work in any cross build.
8457 * Revert all signal changes from Jul 6.
8458 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8459 for sh-hms targets, allowing these tests to link, with no other
8460 changes. Testing is suppressed by setting "nosignals" in site.exp.
8461
8462Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8463
8464 * configure.in (signaldirs): Define and add to configdirs for all
8465 targets except some specific ones that are known to not support signals.
8466 Also clean up formatting.
8467 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8468 (signals, sigall): Remove rules to build.
8469 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8470 Moved to new gdb.signals directory.
8471 * gdb.signals: New test directory.
8472 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8473 signals.c signals.exp}: New or moved files.
8474
8475Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8476
8477 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8478
8479Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8480
8481 * gdb.base/return.exp: Xfail `return double' test failure
8482 on at least Solaris 2.3 and handle future/past versions on
8483 a case by case basis as appropriate. Also update message
8484 to include i*86 failures.
8485
8486Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8487
8488 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8489
8490 * lib/gdb.exp: Fix comment which erroneously identified
8491 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8492 gdb_file_cmd not gdb_load).
8493 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8494
8495 * gdb.base/setvar.exp: Make test names consistent between pass and
8496 fail cases. Use gdb_test more.
8497
8498Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8499
8500 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8501
8502Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8503
8504 * gdb.base/help.exp: Fix expected help string for `show commands'.
8505
8506Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8507
8508 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8509
8510 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8511 of a text section.
8512
8513Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8514
8515 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8516 that loop eventually terminates. Fix Connection refused logic so
8517 that testsuite will expire nicely.
8518
8519Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8520
8521 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8522 config/rom68k.exp: New tcl glue for the appropriate monitors.
8523 These all just end up calling monitor.exp.
8524 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8525 refused' by retrying. Cleanup some timeout issues.
8526 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8527 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8528 callers don't have to set/restore global timeout variable.
8529
8530 * The following set of changes centralizes management of the global
8531 timeout variable. This way, it can be set in one target dependent
8532 place instead of dozens of places scattered throughout the test suite.
8533 If you need to lengthen a timeout, then you should either set timeout
8534 in one of the config/{target}.exp files, or multiply it by a factor.
8535 Setting it to an absolute value is always going to lose for some
8536 targets.
8537 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8538 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8539 * gdb.base/funcargs.exp: Don't set timeout.
8540 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8541 * gdb.base/printcmds.exp (test_print_string_constants
8542 test_print_array_constants): Don't set timeout.
8543 * gdb.base/ptype.exp: Don't set timeout.
8544 * gdb.base/recurse.exp: Don't set timeout.
8545 * gdb.base/return.exp: Don't set timeout.
8546 * gdb.base/watchpoint.exp: Don't set timeout.
8547 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8548 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8549
8550Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8551
8552 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8553
8554Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8555
8556 * lib/gdb.exp: Disable chill tests for irix5.
8557
8558Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8559
8560 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8561 each test pass or fail.
8562
8563Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8564
8565 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8566 xlc not gcc.
8567
8568Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8569
8570 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8571
8572Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8573
8574 * config/est.exp: Fix copyright and comments. Remove dead code.
8575 Use targetname, serialport and baud variables instead of fixed
8576 constants.
8577 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8578 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8579
8580Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8581
8582 * gdb.base/watchpoint.exp: Don't run
8583 test_watchpoint_triggered_in_syscall for sunos.
8584
8585Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8586
8587 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8588 they don't seem to exist. Do include stdio.h.
8589
8590Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8591
8592 * gdb.base/a1-selftest.exp: Add alpha xfail.
8593
8594Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8595
8596 * gdb.base/watchpoint.c (main): Prompt before calling read().
8597 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8598 Revise accordingly. Remove cruft about sending "123" several
8599 times, until it gets noticed. Clean up the "print buf[0]" stuff
8600 so that it passes or fails, and waits for prompts in the usual way.
8601
8602Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8603
8604 * gdb.base/recurse.exp: Fix comment.
8605
8606 * TODO: Remove item about printing variables in nodebug.exp. Add
8607 item about enabling tests which are only run on some targets.
8608
8609 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8610 fail, make test names unique, use new gdb_test convention
8611 regarding pattern, use gdb_test more, etc.).
8612
8613 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8614 fail, make test names unique, etc.).
8615
8616Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8617
8618 * gdb.base/nodebug.c: Change return type of top and middle to
8619 short.
8620 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8621 are fixed by the recent mdebugread.c changes. Allow `short ()'
8622 as type for top and middle.
8623
8624Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8625
8626 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8627 nearly as I can tell, the whole thing was an accident in Stu's
8628 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8629 to replace a send/expect pair with gdb_test, but ended up only
8630 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8631 of 30 Mar 1995 took care of it, but left this vestigial comment
8632 which I am now nuking.
8633
8634Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8635
8636 * gdb.base/break.exp: Look for different line number for
8637 breakpoint at main depending on usestubs.
8638
8639Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8640
8641 * gdb.base/list.exp: Adjust some alternate expect patterns to
8642 match recent list0.c change. Add alternate expect pattern for
8643 output from `list default lines around main' for optimizing
8644 compilers.
8645
8646Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8647
8648 * lib/gdb.exp: If nosignals is not set, set it to 0.
8649
8650Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8651
8652 * config/slite-gdb.exp: Responds to load symbol table prompt.
8653 * gdb.base/break.exp: Adjust line number, fix rerun.
8654 * gdb.base/langs0.c: Add #ifdef usestubs.
8655
8656Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8657
8658 * gdb.base/list.exp: Adjust line contents after adding new lines in
8659 list0.c. Also fix a syntax error.
8660
8661 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8662 * gdb.base/break.exp: ditto.
8663 * gdb.base/list.exp: ditto.
8664 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8665 * gdb.base/run.c: ditto.
8666 * gdb.base/list0.c: ditto.
8667 * gdb.base/funcargs.c: ditto.
8668
8669Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8670
8671 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8672 $targetname, $serialport and $baud instead of hardwired variables.
8673 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8674 target doesn't support signals.
8675
8676Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8677
8678 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8679
8680Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8681
8682 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8683 Don't rely on the value of an auto variable before it has been
8684 initialized. Use gdb_test more.
8685
8686Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8687
8688 * lib/gdb.exp (default_gdb_version): A version number must start
8689 with a digit, but other than that contains all characters up to
8690 the first whitespace character.
8691
8692Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8693
8694 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8695
8696Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8697
8698 * gdb.c++/*.exp: Warn if executable does not exist. The original
8699 reason for skipping the warning was that configure.in sometimes
8700 intentionally skipped building the executables but the tcl code
8701 had no way of knowing. That (a) was always bogus with respect to
8702 error handling, (b) is no longer true (right now there is no way
8703 to skip C++ tests).
8704
8705 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8706
8707Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8708
8709 * gdb.base/list.exp: Add expect patterns for output from
8710 SunPRO compiled executables.
8711 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8712 types.
8713
8714Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8715
8716 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8717 number (we are already testing that the correct source line text
8718 gets printed).
8719
8720 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8721 that is what is intended, but something needed to be done to get
8722 sunos4 native working again.
8723
8724 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8725
8726 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8727 apparently went with a (very) old xfail.
8728
8729Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8730
8731 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8732 runto_main is a proc in gdb.exp that will do 'step' for target use
8733 stubs.
8734 * gdb.base/exprs.exp: ditto.
8735 * gdb.base/interrupt.exp: ditto.
8736 * gdb.base/opaque.exp: ditto.
8737 * gdb.base/printcmds.exp: ditto.
8738 * gdb.base/ptype.exp: ditto.
8739 * gdb.base/scope.exp: ditto.
8740 * gdb.base/setvar.exp: ditto.
8741 * gdb.base/signals.exp: ditto.
8742 * gdb.base/twice.exp: ditto.
8743 * gdb.c++/classes.exp: ditto.
8744 * gdb.c++/inherit.exp: ditto.
8745 * gdb.c++/templates.exp: ditto.
8746 * gdb.base/break.exp: no run and hit main for stubs. Change line
8747 numbers for breakpoints and info breakpoint.
8748 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8749 breakpoint().
8750 * gdb.base/callfuncs.c: ditto.
8751 * gdb.base/exprs: ditto.
8752 * gdb.base/interrupt.c: ditto.
8753 * gdb.base/opaque0.c: ditto.
8754 * gdb.base/printcmds.c: ditto.
8755 * gdb.base/ptype.c: ditto.
8756 * gdb.base/scope0.c: ditto.
8757 * gdb.base/setvar.c: ditto.
8758 * gdb.base/signals.c: ditto.
8759 * gdb.base/twice.c: ditto.
8760 * gdb.c++/misc.cc: ditto.
8761 * gdb.c++/templates.cc: ditto.
8762
8763Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8764
8765 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8766
8767 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8768 somewhere between `read' and `main.c'. I'm pretty sure the
8769 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8770 and it isn't particularly useful.
8771
8772 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8773
8774Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8775
8776 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8777
8778Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8779
8780 * config/mt-slite: add LIBS and -nostdlib.
8781 * config/slite-gdb.exp: add this new file to support sparclite target.
8782
8783Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8784
8785 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8786
8787 * gdb.base/a2-run.exp: Change argument to istarget from
8788 "*-*-vxworks" to "*-*-vxworks*".
8789 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8790
8791Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8792
8793 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8794 will not runto main but do a 'step' to step out of breakpoint().
8795 * config/mt-slite: add -Dusestubs.
8796
8797Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8798
8799 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8800 instead of just @.
8801
8802 * gdb.base/signals.exp: Add test for "handle all print".
8803 * TODO: Remove "handle all print". Also remove item about
8804 checking copyright date (I don't like the idea of a spurious FAIL
8805 based on when we run the tests).
8806
8807 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8808 for SunOS4 (reason for failure not investigated). Remove
8809 redundant test for $binfile.
8810
8811 * gdb.base/nodebug.c (array_index): Call malloc.
8812
8813 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8814
8815Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8816
8817 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8818 conventions and slightly simplify the matching regexp.
8819
8820Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8821
8822 * gdb.base/break.exp: Update gdb_test invocation to use new
8823 convention.
8824
8825 * lib/gdb.exp: If noargs is not set, set it to 0.
8826
8827 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8828 tests unique.
8829
8830 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8831
8832Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8833
8834 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8835 one argument of type "<non-float parameter>".
8836
8837Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8838
8839 * config/rom68k.exp: New file to support Motorola IDP board.
8840 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8841 * gdb.base/break.c: Change things around so that this program
8842 doesn't depend upon args. This is necessary to make remote
8843 targets work (in general, they can't take args).
8844 * gdb.base/break.exp: Don't try to send args to program. Don't
8845 expect output. Also, replace lots of code with gdb_test.
8846
8847Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8848
8849 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8850 printing of '\'' (which is what the comment says we are testing,
8851 even though we were not), not '''.
8852 (test_integer_literals_rejected): Test that printing ''' is an error.
8853
8854 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8855 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8856 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8857 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8858 Use gdb_test not test_print_accept.
8859 * lib/gdb.exp: Remove test_print_accept.
8860
8861 * gdb.base/signals.exp (signal_tests_1): Make pass message
8862 consistent with fail message.
8863
8864 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8865 unsigned char; the bug (PR 1821) is fixed.
8866
8867 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8868
8869 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8870 successful tests--makes xfailing them work right.
8871
8872Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8873
8874 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8875 only \r\n, not .*. The test can pass .* as the last thing in
8876 $pattern if that is what it wants. In addition to providing this
8877 flexibility, this change should speed up pattern matching in cases
8878 where the pattern already ended with .* (there were a number of
8879 them). This change also helps catch bad patterns--in the old
8880 scheme the typo "char \*" instead of "char \\*" would pass. Now
8881 it is caught.
8882 * Many .exp files: Update callers.
8883
8884 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8885 clearer and does not spuriously match multiple ('s. Likewise for
8886 ) and *.
8887
8888 * gdb.base/nodebug.exp: Test ability to call a function and pass
8889 it a string (even with no debugging info).
8890
8891 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8892 "p '\'", which is the same as "p ''" once tcl gets done with
8893 quoting, to "p '\\'", which I suspect is what is intended (one
8894 backslash gets sent to GDB).
8895
8896 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8897
8898Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8899
8900 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8901 1817) was fixed literally years ago.
8902
8903Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8904
8905 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8906 test, it causes stepping out of call_after_alloca_subr with
8907 optimizing compilers.
8908 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8909 fails.
8910
8911 * gdb.c++/templates.exp: Source templ-info.exp only if
8912 the templates executable exists.
8913
8914 * gdb.c++/misc.cc (class Contains_static_instance,
8915 class Contains_nested_static_instance),
8916 gdb.c++/classes.exp (test_static_members): Test printing of
8917 a class that contains a static instance of the class.
8918
8919Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8920
8921 * gdb.base/langs2.c (cppsub_): Don't prototype.
8922 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8923 only, I believe).
8924
8925Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8926
8927 * lib/gdb.exp (skip_chill_tests): New procedure.
8928
8929 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8930
8931Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8932
8933 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8934 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8935
8936Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8937
8938 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8939
8940 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8941 disassemble 8, not 16, instructions for part 4.
8942
8943 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8944 support the latter anymore.
8945
8946 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8947 -DNO_PROTOTYPES.
8948 * gdb.base/callfuncs.c: Control use of prototypes based on
8949 NO_PROTOTYPES, not __STDC__.
8950 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8951 t_float_values2 tests if prototypes in use.
8952
8953 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8954 t_double_values): When checking differences against DELTA, check
8955 that difference is within the range (-DELTA,DELTA), not just
8956 (-infinity,DELTA).
8957
8958Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8959
8960 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8961 'file' command firts, then 'target', then 'load', this is due to gdb
8962 target set up.
8963 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8964
8965Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8966
8967 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8968 FP load/store variants.
8969 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8970
8971Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8972
8973 * gdb.base/term.exp: Do not give a warning if not native, it is
8974 not an abnormal condition.
8975
8976Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8977
8978 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8979 t_char_array".
8980
8981Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8982
8983 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8984 are getting the version number.
8985
8986 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8987 if not native, it is not an abnormal condition.
8988
8989Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8990
8991 * lib/gdb.exp: Just use "file exists", rather than undocumented
8992 dejagnu procedure "findfile".
8993
8994Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8995
8996 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8997 (LDFLAGS): Set to -Xlinker -Ur.
8998
8999 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9000 Removed, these values are set by lib/gdb.exp.
9001
9002 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9003
9004Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9005
9006 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9007 of replicating gdb startup code.
9008
9009 * config/mt-vxworks (LDFLAGS): Set to -r.
9010 (CFLAGS_FOR_TARGET): Removed.
9011
9012 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9013 (gdb) and gdb for vxworks uses (vxgdb).
9014
9015 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9016 executable is not in the tree and host != target, use sed and
9017 program_transform_name to determine the gdb name used by the
9018 target.
9019
9020 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9021 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9022
9023Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9024
9025 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9026 floats, chars, and shorts where there are ANSI-style function
9027 definitions.
9028
9029 * gdb.base/langs.exp, gdb.base/langs*: New test.
9030 * gdb.base/Makefile.in: Build it.
9031 * TODO: Remove item about checking that C names don't get C++
9032 demangling applied; this test tests it.
9033
9034Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9035
9036 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9037 went with the const70 xfail. The xfail went away a year ago.
9038
9039 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9040
9041 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9042 for hp300.
9043
9044 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9045
9046 * gdb.base/a1-selftest.exp: Don't run on hp300.
9047
9048Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9049
9050 * Makefile.in (site.exp): Set host_alias and target_alias as well
9051 as host_triplet and target_triplet.
9052
9053Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9054
9055 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9056
9057 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9058 places as other ecoff systems).
9059
9060 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9061 ultrix.
9062
9063Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9064
9065 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9066 remove them.
9067 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9068 variable and "variable" in addition to "data variable".
9069 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9070
9071 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9072 2.
9073 * gdb.base/list1.c (long_line): Add additional statement at start
9074 of function.
9075 * gdb.base/list.exp (test_forward_search): Update line number to
9076 reflect new statement.
9077
9078Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9079
9080 * gdb.base/signals.exp: Reinitialize searched source directories
9081 after gdb_start call.
9082
9083Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9084
9085 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9086 * gdb.stabs/Makefile.in: Likewise.
9087
9088 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9089 change. Instead split the tests into smaller pieces.
9090 * gdb.disasm/hppa.s: Corresponding changes.
9091
9092Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9093
9094 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9095 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9096
9097 * gdb.base/funcargs.exp: Modify many tests so that every test
9098 either passes or fails. Make some test names unique.
9099
9100Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9101
9102 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9103 Call stty to set interrupt character.
9104
9105 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9106 for HP assembler versus GNU assembler based on actual behavior of
9107 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9108
9109 * TODO: Suggest a few more stepping tests.
9110
9111Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9112
9113 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9114 restart GDB for h8300 after a continue.
9115 (return): Add pattern to match a29k-udi behavior.
9116 * gdb.base/nodebug.exp: Remove obsolete comment.
9117 * gdb.base/regs.exp: New file, testing of register displays.
9118 * gdb.base/return.exp: Fix typo in reference to $objdir.
9119 * gdb.base/whatis.exp: Always start with a fresh GDB.
9120
9121Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9122
9123 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9124 higher, these tests generate a lot of output.
9125
9126Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9127
9128 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9129 code following the catch silently ignored some errors; without the
9130 catch they should be thrown like any other tcl error. Also, the
9131 catch used "" instead of {} which meant all the callers who wanted
9132 to include one of the characters "[]$ had to quote it an extra time.
9133 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9134 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9135 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9136 Remove extra quoting.
9137
9138Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9139
9140 * gdb.base/commands.exp: Make test names unique; every test either
9141 passes or fails. Update some comments.
9142
9143 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9144
9145Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9146
9147 The following fixes a FAIL caused by the fact that the alpha stabs
9148 configuration didn't use the ".if alpha" code in weird.def.
9149 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9150 bit pointer, so the 32 bit version works even on the alpha.
9151 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9152 Remove the stuff which allowed us to have separate versions for
9153 alpha and everything else.
9154
9155 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9156 regexp which "info func operator\[\](" is supposed to match. Fix
9157 string to send to GDB. Note that GDB still doesn't work right. Add a
9158 new test for "info func .perator\[\](" which GDB does handle correctly.
9159
9160 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9161
9162Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9163
9164 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9165 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9166 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9167 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9168 it makes the tests harder to understand and confuses test-o-matic.
9169 The preferred style is that each test provides a PASS or a FAIL,
9170 and has a unique message (e.g. "continue #54" not just "continue")
9171 which is the same for the pass and the fail.
9172 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9173 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9174 to lib/gdb.exp.
9175 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9176 prt_accept which was basically the same thing. Likewise for
9177 test_print_reject and prt_reject.
9178 * lib/gdb.exp (test_print_reject): Add some more error message
9179 patterns to match from the former printcmds.exp (prt_reject).
9180 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9181 One defect of the passcount stuff is that some of it failed to
9182 report XPASS where appropriate.
9183 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9184 stuff before and after arg in expected pattern.
9185 (test_paddr_operator_functions): Re-do test without print_addr_of;
9186 this is the only test which seems to want extra stuff there.
9187
9188Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9189
9190 * gdb.base/nodebug.exp: Update new tests to reflect improved
9191 wording of gdb output.
9192
9193 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9194 and "ptype" work on variables in files compiled without -g.
9195 Replaces commented out "maint print msymbol" tests.
9196
9197Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9198
9199 * gdb.base/setvar.c (dummy): Call malloc.
9200
9201 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9202 losing with the irix4 sed.
9203
9204 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9205 ALRM" on irix4.
9206
9207Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9208
9209 * TODO: Remove items about corefile.exp testing new exec-file and
9210 backtrace; both are now done. Add items about printing enums.
9211
9212Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9213
9214 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9215 "get signal $thissig" test fails.
9216
9217 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9218
9219Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9220
9221 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9222 compiler warning with dec alpha compiler.
9223
9224 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9225 extra \n from gdb_test call (this explains why the prompt test
9226 that I removed yesterday was there).
9227 (user_defined_command_test): Remove extra \n and prompt test.
9228
9229 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9230 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9231 doesn't exist.
9232 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9233 Also remove alpha workaround, which turns out to be because
9234 SIGABRT == SIGLOST.
9235
9236 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9237
9238 * gdb.base/help.exp: Don't test "help show".
9239
9240Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9241
9242 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9243 "set print address" is on.
9244 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9245 pass prompt to gdb_test; gdb_test already looks for the prompt.
9246
9247 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9248
9249 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9250 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9251 was to make sure that gdb can read a core file. But (a) the "read
9252 the corefile" part didn't make it to a1-selftest.exp, we just
9253 delete the corefile after creating it, and (b) we test reading
9254 corefiles in corefile.exp anyway. Also, this test left around a
9255 xgdb process on Solaris.
9256
9257 * gdb.base/corefile.exp: Also test backtrace.
9258
9259Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9260
9261 * gdb.base/commands.exp: Test a simple user defined command with
9262 arguments and if/while statements; verify the full user command is
9263 printed by "show user".
9264
9265 * gdb.base/commands.exp: Test if/while commands as part of a
9266 breakpoint command list; verify they appear in breakpoint
9267 information.
9268
9269Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9270
9271 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9272 than by dividing by zero.
9273
9274Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9275
9276 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9277 performing an inferior call with watchpoints enabled.
9278 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9279 call.
9280
9281Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9282
9283 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9284 of "file" command.
9285
9286 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9287 Add additional pattern for when "int operator int(void);" appears
9288 in a different order.
9289
9290Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9291
9292 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9293
9294 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9295 and "signal" with ".*".
9296
9297Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9298
9299 * TODO: Add note about "handle all nostop".
9300
9301 * gdb.base/{sigall.c, sigall.exp}: New test.
9302 * gdb.base/Makefile.in: Add it.
9303
9304Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9305
9306 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9307 when invoking GDB, suppresses any windowing interface.
9308
9309Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9310
9311 * config/sim-gdb: New file, simulator testing support.
9312
9313Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9314
9315 * gdb.base/interrupt.exp: Test calling func1 twice.
9316
9317Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9318
9319 * gdb.base/list.exp (test_forward_search): Set timeout higher
9320 when we'll be getting lots of output from gdb.
9321
9322 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9323 "init_malloc" to after the expect statement. Run it if that
9324 regexp is taken, but also for two others which happen if source
9325 cannot be found.
9326
9327Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9328
9329 * gdb.base/printcmds.exp: New test, for printing register before
9330 program is running.
9331
9332Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9333
9334 * gdb.base/list.exp: Correct some alternate expect patterns
9335 to reflect changes in list1.c.
9336
9337Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9338
9339 * TODO: Add item regarding large frames.
9340
9341 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9342
9343 * TODO: Remove item about enabling return.exp; it
9344 is enabled. Suggest a few more "return" tests.
9345
9346Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9347
9348 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9349 anonymous unions.
9350
9351Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9352
9353 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9354 and pr-5646.o, so "make" is the same as "make all", not "make
9355 pr-4975.o".
9356
9357Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9358
9359 * gdb.base/list.exp: Adjust expectations to reflect changes in
9360 list1.c.
9361 (test_forward_search): New test proc.
9362 * gdb.base/list1.c (long_line): New function, has long source line.
9363
9364Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9365
9366 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9367 additional line of code that was added.
9368
9369Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9370
9371 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9372 tests so as not to overflow expect's input buffers.
9373 * gdb.disasm/hppa.exp: Corresponding changes.
9374
9375Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9376
9377 Beginnings of template debugging tests.
9378 * gdb.c++/templ-info.cc: New file to test for template
9379 debugging capability of the compiler.
9380 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9381 templ-info.cc.
9382 * gdb.c++/templates.cc: Add explicit template instantiations
9383 to enable compiling with -fno-implicit-templates. Add destructor
9384 and 'value' method to T5 class for template tests.
9385 * gdb.c++/templates.exp: Add testcases for printing of template
9386 types, setting breakpoints on template methods and calling a
beb998c6 9387 template method.
c906108c
SS
9388
9389Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9390
9391 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9392 branch target since some assemblers (gas-2.5) may emit a
9393 relocation for the branch instead of resolving it in the
9394 assembler.
9395
9396Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9397
9398 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9399 through signal handler.
9400
9401Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9402
9403 * configure.in (*-*-netware): Use config/mt-netware.
9404
9405 * config/mt-netware: New file.
9406 * config/mt-i386-netware: Removed, separate configs for different
9407 netware architectures are no longer needed now that we have
9408 --with-headers.
9409
9410Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9411
9412 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9413 by the recent changes to use ANSI C arithmetic conversions.
9414
9415Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9416
9417 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9418 bug involving using inferior_pid to figure out whether to select a
9419 frame.
9420
9421Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9422
9423 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9424 match the current disassembler output.
9425
9426Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9427
9428 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9429 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9430 types, expect "int" as type of integer values (for now).
9431
9432Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9433
9434 * gdb.base/commands.exp: New tests for if/while commands.
9435
9436Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9437
9438 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9439 by .*, since hex values have different syntax in Chill mode.
9440
9441Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9442
9443 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9444 linefeed from expect pattern for repeated types with indices > 9.
9445
9446Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9447
9448 First part of Fortran test suite.
9449 * gdb.fortran: New directory.
9450 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9451
9452Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9453
9454 * gdb.base/default.exp: Update expect pattern for load command
9455 without arguments.
9456
9457Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9458
9459 * configure.in: Change i386 to i[345]86.
9460 * gdb.base/configure.in: Likewise.
9461 * gdb.c++/configure.in: Likewise.
9462 * gdb.chill/configure.in: Likewise.
9463
9464Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9465
9466 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9467 patterns, since that is not a valid context for comments.
9468
9469Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9470
9471 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9472 repeated types and repeated types with indices > 9.
9473
9474Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9475
9476 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9477 2417; old bug has been fixed.
9478
9479Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9480
9481 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9482 send the newline ourselves instead of assuming gdb_test will do
9483 so when passed an empty input string.
9484
9485 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9486 stabs testcode.
9487
9488Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9489
9490 * lib/gdb.exp (gdb_test): Don't send anything if the first
9491 argument is an empty string. This makes cases where we want to
9492 match output that is already in expect's buffers (for example,
9493 matching a breakpoint after gdb_run_cmd has been called) work
9494 reliably.
9495
9496Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9497
9498 * config/netware.exp: New file.
9499
9500Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9501
9502 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9503 the -B and -L prefixes so we can find the debugging stub.
9504
9505 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9506 there and we are using the gcc from the tree.
9507
9508 * gdb.base/types.c: Removed.
9509
9510 * gdb.base/configure.in: Look for makefile fragments in ../config.
9511 Recognize i386-*-netware.
9512 * gdb.c++/configure.in: Likewise.
9513
9514Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9515
9516 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9517 the correct TCL syntax.
9518
9519Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9520
9521 * gdb.base/opaque.exp: use runto instead of messing around with
9522 breakpoints. Simplify by using gdb_test.
9523
9524 * gdb.base/bitfields.exp: restart between tests on netware targets
9525 because breakpoints aren't relocated after target death. Run
9526 processes to completion.
9527
9528 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9529
9530Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9531
9532 * Makefile.in: Remove extra tabs that confuse some versions
9533 of "make". Use the newly built gdb to test with by default,
9534 rather than the first one in the tester's search path.
9535
9536Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9537
9538 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9539
9540 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9541 condition help.
9542
9543Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9544
9545 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9546
9547 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9548 running.
9549 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9550 * gdb.base/funcargs.exp: Likewise.
9551
9552 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9553 * gdb.base/funcargs.exp: Likewise.
9554
9555 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9556 message is "".
9557
9558Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9559
9560 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9561 return,signals,twice}.exp: Handle non-existant binaries
9562 consistantly.
9563
9564 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9565 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9566 might testing a cross development system.
9567
9568Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9569
9570 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9571 runtest script is relative to ${srcdir}, not ${rootdir}.
9572
9573Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9574
9575 * gdb.base/signals.exp: Allow for optionality of breakpoint
9576 address.
9577
9578Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9579
9580 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9581
9582Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9583
9584 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9585 for size_t definition.
9586 * gdb.c++/templates.cc: Likewise
9587
9588 * config/mt-i386-netware: New file.
9589
9590 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9591 defined.
9592
9593 * gdb.base/Makefile.in: Added support for systems that name core
9594 files by appending "core" to the program name.
9595 * gdb.base/a1-selftest.exp: Likewise.
9596
9597Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9598
9599 * gdb.base/return.exp: Add comment and message for `return double'
9600 test failure on Sparc Solaris.
9601
9602Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9603
9604 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9605
9606Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9607
9608 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9609 from optimizing them away.
9610 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9611 patterns to include default constructors and assignment operators,
9612 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9613 character in the output of the virtual base pointer.
9614
9615Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9616
9617 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9618 expression match in print_addr_of to avoid unintented matches.
9619 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9620 versions up to 2.5.8.
9621
9622Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9623
9624 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9625 included file to run under newer versions of expect.
9626 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9627 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9628 Remove xfail for the virtual table of BDDHookV.
9629
9630Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9631
9632 * lib/gdb.exp (string_to_regexp): Set a default result.
9633 (default_gdb_start): Fix misleading message.
9634
9635Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9636
9637 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9638 Remove all CC, etc definitions.
9639 * config/mt-hpux: New file.
9640 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9641 (CFLAGS, LDFLAGS): Define.
9642 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9643
9644 * Makefile.in (site.exp): Don't insert host_os, etc.
9645 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9646 (distclean): Check existence of subdir.
9647 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9648 * gdb.base/Makefile.in: General cleanup and simplification.
9649 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9650 to build executables. Use default rule to build .o files.
9651 (EXPECT, RUNTEST, CC): Fix relative pathname.
9652 (site.exp): Don't insert host_os, etc.
9653 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9654 and/or SIGUSR1 defined.
9655 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9656 * gdb.c++/Makefile.in: General cleanup and simplification.
9657 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9658 (CFLAGS): Remove.
9659 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9660
9661Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9662
9663 * gdb.base/recurse.exp: Misc changes to get tests running again
9664 after Kung's changes to the watchpoint code.
9665 * gdb.base/watchpoint.exp: Likewise.
9666
9667Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9668
9669 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9670
9671Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9672
9673 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9674 * lib/gdb.exp (default_gdb_start): Define.
9675 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9676 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9677 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9678 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9679 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9680 Don't call gdb_target_udi in between tests.
9681
9682Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9683
9684 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9685 (which was basically just a local version of the same thing). In
9686 addition to avoiding duplication, gdb_test_exact is faster.
9687 * lib/gdb.exp (gdb_test_exact): Fix typo.
9688
9689 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9690 don't give an error.
9691
9692 * gdb.base/term.exp: Call delete_breakpoints before starting.
9693
9694 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9695 (t10): Add comment.
9696
9697Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9698
9699 Reorganization of the GDB Test Suite.
9700
9701 * gdb.base: New directory, contains all the basic tests.
9702 * gdb.c++: New directory, tests specific to C++.
9703 * gdb.chill: New directory, tests specific to Chill.
9704 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9705 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9706 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9707 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9708 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9709 t30-31 to chill).
9710 * */gdbme.*: Rename to match appropriate expect scripts.
9711 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9712 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9713 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9714 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9715 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9716 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9717 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9718 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9719 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9720 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9721 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9722 gdb.c++/virtfunc.cc: New names of C++ files.
9723 * gdb.chill/chillvars.ch: New name of Chill file.
9724 * gdb.base/configure.in, gdb.c++/configure.in,
9725 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9726 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9727 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9728 * configure.in (configdirs): Update to reflect directory changes.
9729 (target_abbrev): No longer define for any configuration.
9730 * Makefile.in: Cosmetic improvements to header comments.
9731
9732Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9733
9734 Various changes to gdb.t31:
9735
9736 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9737 * gdbme.ch: Make all key-words and predefineds be upper-case.
9738 * chillvars.exp: Expect key-words and predefinds in upper-case.
9739
9740 * chillvars.exp: Use gdb_test_exact many places.
9741 Change expected output for arrays (which now includes index labels).
9742
9743 * pr-5020.exp, gdme.ch (module PR_5020):
9744 New test, for PR-5020.
9745
9746Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9747
9748 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9749 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9750
9751Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9752
9753 * Makefile.in: Fix bit-rot in definitions of CHILL,
9754 CHILL_FOR_TARGET and Chill_LIB.
9755 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9756 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9757 CHILL, and CHILL_LIB.
9758
9759Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9760
9761 * Revert the previous changes. Please see Rob's directory
9762 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9763
9764Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9765
9766 * Makefile.in, configure.in, config/mips-gdb.exp,
9767 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9768 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9769 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9770 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9771 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9772 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9773 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9774 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9775 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9776 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9777 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9778 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9779 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9780 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9781 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9782 changes from 94Q1.
9783
9784Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9785
9786 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9787 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9788 Rob's new testing fragments.
9789
9790Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9791
9792 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9793 lib/gdb.exp: Replace error proc calls with perror.
9794
9795Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9796
9797 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9798 version also, match on casted version strings, and match on
9799 gdb startup case where the line numbers might be messed up.
9800
9801Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9802
9803 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9804 (CFLAGS): Delete it from here.
9805
9806Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9807
9808 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9809
9810Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9811
9812 * Makefile.in (RUNTEST): Default to just "runtest".
9813
9814Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9815
9816 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9817 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9818 the code has been restructured.
9819
9820Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9821
9822 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9823 \n, not just one of each.
9824
9825 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9826 /bin/cc gives a warning if you do.
9827
9828Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9829
beb998c6 9830 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9831 __t10ListS_link1ZUiRCUiPT0
9832
9833Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9834
9835 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9836 on local variables in recursive functions.
9837
9838 * gdb.t07/Makefile.in: Build the new test.
9839
9840Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9841
9842 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9843 directly. Instead compare the return values from actual calls.
9844
9845Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9846
9847 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9848
9849Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9850
9851 * From Peter Schauer with minor modifications.
9852 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9853 stops in mid-line in the caller. Add xfail for returning a float
9854 value on X86 targets.
9855
9856Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9857
9858 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9859 to avoid expect lossage.
9860 (fmem_LRbug_tests): Likewise.
9861 * gdb.disasm/hppa.s: Corresponding changes.
9862
9863 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9864 conditions to work with latest dejagnu/expect.
9865
9866 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9867 expected to fail on the PA.
9868 (backtrace in call with trampolines): Explicitly require main
9869 to be frame #1 (no trampolines should show up in backtrace).
9870
9871 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9872 "continue -expect".
9873 * gdb.t06/break.exp: Likewise.
9874 * gdb.t07/watchpoint.exp: Likewise.
9875 * gdb.t13/bitfields.exp: Likewise.
9876 * gdb.t15/{funcargs,return}.exp: Likewise.
9877 * gdb.stabs/weird.exp: Likewise.
9878 * config/{mips,udi}-gdb.exp: Likewise.
9879
9880 * hppa.sed: Enclose comments within a sed command to avoid
9881 losing with the old OSF1 sed.
9882
9883Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9884
9885 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9886 sequent dynix.
9887 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9888 * gdb.t15/funcargs.exp: Conditionally step again to really
9889 finish from marker_call_with_trampolines. Handle the case where
9890 the first step from within call_with_trampolines already steps
9891 us back to main.
9892 * gdb.t15/gdbme.c: Add comment to closing brace of
9893 call_with_trampolines for funcargs.exp.
9894
9895Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9896
beb998c6 9897 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9898 Fix typo(s).
9899
9900Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9901
9902 * gdb.t07/gdbme.c: More code for watchpoint testing.
9903
9904 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9905 "Hardware watchpoint" throughout file.
9906 (test_watchpoint_triggered_in_syscall): New test.
9907 (test_complex_watchpoint): New test.
9908
9909Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9910
9911 * gdbme.c (call_with_trampolines): New function to try and step
9912 into. Tests trampoline problems on the PA.
9913
9914 * funcargs.exp (localvars_in_indirect_call): No longer expect
9915 stepping into indirect call to fail on PAs.
9916 (test_stepping_over_trampolines): New test.
9917
9918Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9919
9920 * TODO: Add suggestions for static member function tests, and
9921 completion tests.
9922
9923Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9924
9925 * TODO: Add suggestions for "p/a" tests.
9926
9927 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9928 (default_gdb_exit): Replace all the hair with sending "quit" to
9929 the process with a simple close.
9930
9931Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9932
9933 * TODO: Add suggestions for shared library tests.
9934
9935Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9936
9937 * TODO: Add suggestions for x/s tests.
9938
9939Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9940
9941 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9942 "enable once", and "enable breakpoints once" with ".*".
9943
9944Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9945
9946 * TODO: Add suggestions about structure passing tests.
9947
9948Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9949
9950 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9951 the primary1 test, use work around if __GNUC__ < 2.
9952 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9953 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9954 Test for bad output rather than waiting for timeout. Issue
9955 second continue only if first continue failed.
9956
9957Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9958
9959 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9960 operator[] test with gdb_test because the old code didn't seem to
9961 be getting the quoting right with the new dejagnu.
9962
9963Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9964
9965 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9966 one from the path.
9967 * Makefile.in: Use a fresh expect if there is one, use runtest
9968 from the src tree if there is one.
beb998c6 9969
c906108c
SS
9970Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9971
9972 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9973 next over recursive call. Revise the tests from that point on
9974 (which had been skipped) to match GDB's actual (correct) output.
9975
9976 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9977 with next over a breakpoint whose condition is false.
9978
9979 * gdb.t00/help.exp: Comment out "help set print" tests just like
9980 (and for same reason as) "help set" test.
9981
9982Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9983
9984 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9985 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9986
9987Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9988
9989 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9990 necessary gdb_target_udi.
9991
9992 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9993
9994 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9995 1838 and 2417; they are fixed.
9996
9997 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9998 gdb.t03/ptype.exp (ptype structure, ptype union):
9999 Remove xfails; the test is looser than when the xfails were added.
10000
10001 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10002 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10003
10004 * gdb.t01/run.exp: Only run shell test if isnative.
10005
10006 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10007 since "run" automatically loads if necessary. Call gdb_target_udi
10008 after the "file" since "file" kills any execution target.
10009
10010 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10011 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10012 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10013 argument for UDI.
10014
10015Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10016
10017 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10018
10019 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10020
10021Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10022
10023 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10024 properly quoting regexps. This makes the second argument to
10025 demangle a fixed string, which matches the callers, instead of a
10026 shell-style pattern which is what the previous implementation
10027 used. Update some of the callers.
10028
10029Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10030
10031 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10032 (comib_nullified_tests): Fix typo.
10033 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10034 strings. No longer expected to fail.
10035
10036 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10037 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10038 strings. No longer expected to fail.
10039
10040 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10041 string. No longer expected to fail.
10042
10043Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10044
10045 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10046 No longer expected to fail.
10047
10048 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10049 string. No longer expected to fail.
10050
10051Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10052
10053 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10054 only in the names (I probably got most of them). I was even
10055 generous with some which differed in underscores in names, and
10056 probably missed a few, and I *still* was able to remove almost a
10057 third of the file with almost no impact on testsuite coverage.
10058
10059Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10060
10061 * gdb.t00/default.exp: Match udi_attach error message as well as
10062 the one from child_attach.
10063
10064 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10065
10066 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10067
10068 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10069 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10070
10071 * Move test with enums and partial symbols back to
10072 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10073 Reverts the change of 26 May 93. Per today's change to
10074 stabs.texinfo, the behavior that weird.exp was expecting was
10075 unreasonable; what is important is that the compiler+gdb get
10076 things right, which happens with a recent gcc. Also fix the test
10077 to deal with native compilers which put out the stab gdb can't
10078 deal with.
10079
10080Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10081
10082 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10083 in the names. The main thing these accomplish is to slow things down.
10084 Many more such duplicates surely remain.
10085
10086 * gdb.t00/help.exp: Comment out "help support" test just like
10087 (and for same reason as) "help set" test.
10088
10089Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10090
10091 * gdb.t06/break.exp: Remove setup_xfails for
10092 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10093 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10094 about known bug in gcc to include up through 2.5.8.
10095 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10096 well as "_vb$".
10097 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10098 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10099 with latest gcc and gdb.
10100 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10101 well as "_vb$".
10102
10103Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10104
10105 * configure.in (hppa*-*-*): Also configure and build stabs-only
10106 tests.
10107
10108Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10109
10110 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10111 * gdb.t10/configure.in (hppa*-*-*): Use it.
10112
10113Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10114
10115 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10116
10117Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10118
10119 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10120 versions prior to 1.13.5.
10121
10122Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10123
10124 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10125 the prompt is at the start of a line.
10126
10127Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10128
10129 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10130 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10131 in the copr tests now.
10132 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10133 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10134 expected to fail.
10135
10136Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10137
10138 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10139 gdb.t31/chillvars.exp, lib/gdb.exp:
10140 Tweak to run under either version of expect.
10141 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10142 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10143 * gdb.t11/list.exp: Remove extraneous whitespace.
10144
10145Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10146
10147 * gdb.t16/printcmds.exp (test_print_strings): Accept
10148 "(unsigned char *) " before the string.
10149
10150 * TODO: Add notes about printing of fancy types and GDB expressions.
10151
10152Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10153
10154 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10155 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10156 if doing mips-idt-ecoff.
c906108c
SS
10157
10158Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10159
10160 * Most .exp files: Tweak to run under either version of expect.
10161
10162Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10163
10164 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10165 xfails; I'm not sure why they are failing, but not because of PR 1806.
10166
10167Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10168
10169 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10170 defined in lib/gdb.exp.
10171
10172Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10173
10174 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10175 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10176 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10177 have to be typeless.
10178
10179Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10180
10181 * TODO: Add suggestion for copyright year test.
10182
10183Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10184
10185 * configure.in (*-*-lynxos*): Add stabs tests.
10186
10187Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10188
10189 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10190 so insert a tab before any assembler directive in column zero.
10191
10192 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10193 stores.
10194 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10195 stores.
10196 (fpu_short_memory_tests): Likewise.
10197
10198Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10199
10200 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10201 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10202 .stabs directives in comments.
10203
10204Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10205
10206 * TODO: New file, describing tests we could write.
10207 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10208
10209Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10210
10211 * gdb.t06/signals.exp: Add kludge to force re-sync.
10212
10213 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10214 to xgdb instead of gdb, get out of gdb.
10215
10216Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10217
10218 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10219 for info.
10220
10221Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10222
10223 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10224 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10225 * gdb.stabs/hppa.sed: New sed script for the PA.
10226
10227Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10228
10229 * gdb.stabs: Re-write weird.def and configuration to use sed
10230 instead of cpp. sed is portable and POSIX; cpp is neither.
10231
10232Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10233
10234 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10235
10236Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10237
10238 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10239
10240Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10241
10242 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10243 "_vb$".
10244 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10245 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10246
10247Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10248
10249 * lib/gdb.exp: Comment out code which depends on non-existent
10250 `transform' procedure.
10251
10252Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10253
10254 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10255 * lib/gdb.exp: Transform tool name.
10256 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10257 1.1's new error handling system.
10258
10259Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10260
10261 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10262
10263Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10264
10265 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10266 They made pattern matching so slow that timeouts happened on
10267 heavily loaded systems. Now any output from "show print" which
10268 gets us back to the GDB prompt is a PASS.
10269
10270Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10271
10272 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10273
10274Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10275
10276 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10277
10278 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10279 It is not from PR 3220.
10280
10281Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10282
10283 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10284 just started failing because they depended on the order the
10285 subcommands are presented, or exact docstring text. This kind of
10286 test is a pain and has minimal benefit.
10287
10288Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10289
10290 * gdb.t09/corefile.exp: At end of test, use "core" command with
10291 no arguments.
10292
10293Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10294
10295 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10296 17}/Makefile.in: Make it possible to run the testsuite with Sun
10297 make and CC = cross gcc by adding explicit build rules for .o
10298 files.
10299
10300Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10301
10302 * gdb.t15/funcargs.exp: Don't put comments on same line as
10303 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10304
c906108c
SS
10305Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10306
10307 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10308
10309Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10310
10311 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10312 * gdb.t20/inherit.exp: remove three dumplicate entries.
10313
10314Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10315
10316 * gdb.t06/break.exp: For "next over recursive call", fail on any
10317 incorrect output, not just on "factorial (value=2)".
10318
10319Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10320
10321 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10322 working now. Add an xfail if accesing a bss variable causes
10323 a memory error if the target is not yet run.
10324
10325Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10326
10327 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10328 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10329 name of __st* demangling (2 strings). Did Kung really get the
10330 more than 95 others right without testing them?
10331
10332Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10333
10334 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10335
10336Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10337
10338 * configure.in (configdirs): Add gdb.disasm
10339 * gdb.disasm: New directory for GDB disassembler tests.
10340 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10341
10342Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10343
10344 * gdb.t00/help.exp: Don't test "help set".
10345
10346 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10347 from within expect statements. None of these happen anymore and
10348 they cause regressions to be silently unnoticed.
10349
10350 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10351 messages) about known failures with gcc cygnus-2.4.5-930417.
10352
10353 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10354 comp-info.exp so it gets built if it doesn't exist.
10355
10356 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10357 it is no longer used.
10358 * gdb.t13/comp-info.c: Removed.
10359
10360Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10361
10362 * gdb.t06/signals.exp: Add xfail for sun3.
10363
10364Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10365
10366 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10367 relevant because ^C doesn't get sent but failure can be reproduced
10368 interactively).
10369
10370Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10371
10372 * gdb.stabs/alpha.mt: New configuration file for alpha.
10373 * gdb.stabs/configure.in: Use it.
10374 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10375 sharing with alpha.mt, redefine long to word via preprocessor.
10376 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10377 for alpha.
10378 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10379 native cc.
10380 * gdb.t00/teststrategy.exp: Change expect string so that we
10381 consume the `(xgdb)' from the command echo and from the gdb prompt.
10382 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10383 gdb currently compares all values as long, so this failure probably
10384 applies to any configuration where LONGEST is bigger than a target int.
10385 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10386 with gcc.
10387 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10388 to handle opaque pointers, gcc is.
10389 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10390 as first argument. Include <sys/types.h> and change all operator
10391 new definitions to use size_t.
10392 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10393 now that we use size_t.
10394
10395Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10396
10397 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10398 a long or float array cast all array members to the same type.
10399 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10400 with 64 bit longs.
10401 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10402 on alpha.
10403 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10404
10405Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10406
10407 * gdb.t24 (demangle.exp): Constructors of templates have names like
10408 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10409 section 14.6 of the ARM.
10410
10411 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10412 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10413 accomplish little and slow down the testsuite.
10414
10415 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10416 Accept spaces various places.
10417
10418Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10419
10420 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10421 with watchpoint enabled.
10422
10423 * Makefile.in: Remove definition of CC and remove the second
10424 definition of CXX (the "CXX = gcc" one remains). These definitions
10425 were causing backquotes to be expanded within backquotes, which
10426 doesn't work.
10427
10428Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10429
10430 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10431
10432Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10433
10434 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10435 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10436 by mips cc and contains no stabs entries.
10437
10438Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10439
10440 * config/vx-gdb.exp: Use fake device to load files rather than
10441 NFS.
10442 * lib/gdb.exp: New proc to do "file" command.
10443 * config/unix-gdb.exp: Use new "file" proc.
10444
10445Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10446
10447 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10448 Rework board rebooting slightly.
10449 (gdb_exit): Don't exit from the remote shell; there isn't one.
10450 * gdb.stabs/weird.exp: If a program is being debugged already,
10451 kill it.
10452 * gdb.t04/setvar.exp: Stop and restart gdb.
10453 * gdb.t05/expr.exp: Likewise.
10454 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10455 restart gdb and reload the program.
10456 * gdb.t08/opaque.exp: Likewise.
10457 * gdb.t12/scope.exp: Likewise.
10458 * gdb.t13/bitfields.exp: Likewise.
10459 * gdb.t15/funcargs.exp: Likewise.
10460 * gdb.t20/classes.exp: Likewise.
10461 * gdb.t03/ptype.exp: Increase timeout.
10462 * gdb.t16/printcmds.exp (test_print_string_constants,
10463 test_print_array_constants): Likewise.
10464 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10465 * gdb.t20/classes.exp (do_tests): Likewise.
10466 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10467
10468Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10469
10470 * gdb.stabs: Renamed *wierd* to *weird*.
10471
10472Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10473
10474 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10475 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10476
10477Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10478
10479 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10480 (do_tests): Remove xfail for whatis on one_var and two_var.
10481
10482Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10483
10484 * Makefile.in: Made cross building work better by adding
10485 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10486
10487Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10488
10489 * gdb.t15/{return.c,return.exp,Makefile.in}:
10490 New test, currently commented out.
10491
10492Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10493
10494 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10495 still running and removes the leftover named socket so GDb can do
10496 clean restarts.
10497
10498Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10499
10500 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10501 console, not GDB.
10502 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10503 cross testing works better with "make check"
10504 * config/unix-gdb: Use default procedures for exit and version.
10505 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10506 with the newest VxWorks.
10507
10508Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10509
10510 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10511 old form.
10512
10513 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10514 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10515
10516 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10517
10518 * config/unix-gdb.exp: Remove this version of gdb_exit
10519 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10520 Rob says he'll look at it when he gets back to testing boards.
10521
10522Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10523
10524 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10525 an expected fail for certain ptype commands.
10526
10527 * gdb.t20/classes.exp: Update expected results of "ptype class
10528 Base1" to account for the constructor that now appears in the type.
10529
10530Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10531
10532 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10533 disappeared from list.
10534 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10535 "alldone" proc with call to cleanup and exit.
10536 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10537 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10538 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10539 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10540 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10541 "alldone" proc with simple returns that suppress remaining
10542 tests. The alldone proc went away many months ago.
10543
10544Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10545
10546 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10547
10548 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10549
10550Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10551
10552 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10553 as vax gdb will display them.
10554
10555Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10556
10557 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10558 optimizers.
10559
10560 * scope.exp: Change "bad value for localval" messages so each one
10561 is unique.
10562
10563 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10564 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10565
10566 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10567
10568Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10569
10570 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10571 doesn't exist (due to optimization).
10572
10573Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10574
10575 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10576 contains \r because the filename is long.
10577
10578 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10579 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10580
10581Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10582
10583 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10584 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10585 Ultrix.
10586 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10587 int tests.
10588 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10589
10590Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10591
10592 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10593
10594 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10595 to match does not match the passing case but still matches the
c906108c
SS
10596 failing case.
10597
10598Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10599
10600 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10601
10602Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10603
10604 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10605 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10606 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10607 Remove various versions of gdb_exit.
10608 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10609 gdb_exit.
10610 * config/unix-gdb.exp: gdb_exit remains here, and should override
10611 the generic version, since it's doing a lot of wierd stuff that
10612 the other versions aren't. FIXME, fold it in, or abandon this
10613 version.
10614
10615Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10616
10617 * gdb.t24/demangle.exp: Add tests for PR 3220.
10618
10619Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10620
10621 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10622
10623Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10624
10625 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10626 "i386-*-*". Works for i486 as well.
10627
10628 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10629 bug, and expand domain of xfail to all SVR4 systems, since the
10630 actual problem is likely to be in generic SVR4 /proc support.
10631
10632Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10633
10634 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10635
10636Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10637
10638 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10639 xfails for other systems. Match a missing 'Continuing.' as an
10640 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10641
10642 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10643 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10644 Only issue warning for missing executables if -all option is used.
10645
10646 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10647 file if -all option is used. It's like an unpredictable XFAIL.
10648
10649Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10650
10651 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10652 for dynamically linked binaries.
10653
10654 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10655
10656Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10657
10658 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10659 to state that this is a known bug in old versions of g++.
10660
10661Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10662
10663 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10664 while waiting for `Continuing'.
10665
10666Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10667
10668 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10669 in text, data, and bss.
10670 * gdb.t10/nodebug.c: Add local and global test variables for
10671 initialized and uninitialized data.
10672
10673Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10674
10675 * config/unix-gdb.exp (gdb_exit): Add "wait".
10676
10677Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10678
10679 * gdb.t06/signals.exp: xfail the continue from the handler for all
10680 targets.
10681
10682 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10683 function with watchpoints enabled, the i386 call dummy starts with
10684 a call.
10685
10686 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10687 386 bsd names its corefiles.
10688
10689Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10690
10691 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10692 compilers don't grok it.
10693 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10694 with small octal ints rather than character constants, which
10695 are signed and might not fit if first promoted to int.
10696
10697Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10698
10699 * gdb.t09/Makefile.in (clean): Remove corefile.
10700
10701Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10702
10703 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10704
10705Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10706 and Jim Kingdon (kingdon@cygnus.com)
10707
10708 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10709 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10710 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10711
10712Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10713
10714 * gdb.t17/interrupt.exp: Add xfail for hppa.
10715
10716Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10717
10718 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10719 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10720 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10721 to determine signed-ness of bitfields and use the result to setup
10722 the xfail.
10723 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10724 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10725 call line is reached if necessary.
10726
10727Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10728
10729 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10730
10731Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10732
10733 * gdb.t06/break.exp: Also test `clear' command.
10734
10735Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10736
10737 * gdb.t00/teststrategy.exp: Remove extra quote.
10738
10739 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10740 watchpoint enabled to be for all non-68k machines.
10741
10742 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10743
10744Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10745
10746 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10747 targets use aout.mt instead of ecoff.mt as gas understands
10748 standard aout format.
10749
10750Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10751
10752 * lib/gdb.exp (runto): Don't insist that function we are running to
10753 was compiled with -g.
10754
10755 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10756
10757 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10758 to get back into the read system call.
10759 Accept leading newline in case where we woke it up.
10760
10761Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10762
10763 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10764 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10765 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10766 enable ecoff configuration.
10767
10768Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10769
10770 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10771
10772Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10773
10774 * gdb.t16/printcmds.exp: Add another printf test.
10775
10776Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10777
10778 * configure.in: If configured -with-stabs on any target, add
10779 stabsdirs to configdirs.
10780
10781Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10782
10783 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10784 fun" so pattern does not match the command itself.
10785
10786Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10787
10788 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10789
10790Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10791
10792 * gdb.t17/interrupt.exp: Test for more things.
10793
10794Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10795
10796 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10797 compiler arranges the code and line numbers.
10798
10799 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10800
10801Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10802
10803 * gdb.t00/help.exp: Increase expect input buffer size.
10804
10805Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10806
10807 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10808
10809 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10810
10811 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10812
10813 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10814 [0-9]*, not just [0-9].
10815
10816Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10817
10818 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10819
10820 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10821
10822Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10823
10824 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10825
10826Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10827
10828 * gdb.t06/signals.c: Add xfails for sun3.
10829
10830 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10831
10832 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10833 test_stepping tests.
10834
10835Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10836
10837 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10838
10839 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10840
10841 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10842 rather than actually putting it through cpp twice.
10843
10844 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10845
10846Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10847
10848 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10849 no longer needed.
10850
10851Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10852
10853 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10854
10855 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10856 C++ features prints as "struct", make it a pass, not an xfail.
10857
10858Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10859
10860 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10861 Don't require VA to print as "class" rather than "struct".
10862
10863Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10864
10865 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10866
10867Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10868
10869 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10870
10871Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10872
10873 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10874 order.
10875
10876Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10877
10878 * gdb.t16/printcmds.exp: Add printf tests.
10879
10880 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10881
10882 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10883
10884Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10885
10886 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10887 pass counts, to counteract any existing or future setup_xfails.
10888
10889Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10890
10891 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10892 {BEGIN,END}_COMMON for common block instead of STAB.
10893 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10894
10895 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10896 intp_var should be N_GSYM not N_LSYM.
10897 wierd-aout.S: Use a label for the value of the N_SO.
10898 wierd.def: Remove all backslashes.
10899 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10900
10901Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10902
10903 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10904 get the expected next to inheritance3.
10905
10906Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10907
10908 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10909 now that gcc-2.4 gets it right.
10910
10911Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10912
10913 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10914
10915 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10916 generating comp-info.exp which works for cross-compilation.
10917
10918Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10919
10920 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10921 "*-*-sysv4.*".
10922
10923Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10924
10925 * gdb.t01/run.exp: Start with a fresh gdb.
10926 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10927 SVR4.x.
10928
10929Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10930
10931 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10932 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10933 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10934 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10935 things to remove.
10936
10937Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10938
10939 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10940 test cases from bug reports.
10941
10942Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10943
10944 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10945 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10946 avoid spurious xfails.
10947 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10948 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10949 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10950
10951Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10952
10953 * gdb.t00/teststrategy.exp: Rework to provide more useful
10954 description of each test, fix problem with systems that define
10955 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10956 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10957 results for "next over recursive call" so timeouts aren't taken
10958 by error.
10959
10960Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10961
10962 * gdb.t12/scope.exp: Test printing of variables before run.
10963
10964 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10965 printed in wrong order due to sorting.
10966
10967Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10968
10969 * gdb.t00/teststrategy.exp: Fix expected results for printing
10970 user entered string constant. Is array of char, prints with no
10971 address.
10972
10973 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10974 commands.
10975 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10976 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10977 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10978 of struct of char arrays.
10979 * gdb.t00/radix.exp: New tests for radix commands.
10980
10981Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10982
10983 * gdb.t16/printcmd.exp: Print a variable before running program
10984 (with xfail for AIX).
10985
10986Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10987
10988 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10989
10990 * gdb.t16/printcmd.exp: Don't print variables before running program.
10991
10992 * gdb.t06/break.exp: Don't require envp argument to main.
10993
10994 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10995
10996 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10997 Add xfails for rs6000.
10998
10999 * gdb.t02/whatis.exp: Change other tests not to re-test something
11000 we already tested.
11001
11002 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11003 each type used has a variable of that type.
11004
11005Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11006
11007 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11008
11009Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11010
11011 * configure.in: change srctrigger to be a file, not a directory
11012
11013Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11014
11015 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11016
11017 * gdb.t11/list.exp: Fixed a couple of typos.
11018
11019Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11020
11021 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11022 is fixed and PR is closed.
11023 * gdb.t16 (gdbme.c): Add simple test string variable.
11024 * gdb.t16 (printcmds.exp): Add tests with simple test string
11025 variable, primarily for boundaries on "set print elements".
11026
11027Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11028
11029 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11030 Make leading 0's optional and don't expect a tab in the middle
11031 of the number.
11032
11033 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11034
11035 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11036 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11037 don't end command passed to gdb_test with newline.
11038
11039 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11040 signed keyword away, don't expect signed bitfields to be signed.
11041
11042 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11043 printing with only as many 1's as are in the field as well as printing
11044 with 32 1's (see comment).
11045
11046Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11047
11048 * gdb.t00/default.exp: Start with a fresh gdb.
11049 * configure.in (configdirs): Remove gdb.t31 until the chill
11050 compiler works again. It no longer is able to find chillrt0
11051 since it isn't in libchill.a anymore.
11052 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11053 wierd.o, make more modular.
11054 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11055 spurious newlines that caused problems.
11056
11057Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11058
11059 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11060 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11061 gdb.stabs/wierd.{exp,def}: Many new tests.
11062
11063 * gdb.t00/default.exp: update info line for new message.
11064
11065 * gdb.t02/{whatis.exp,gdbme.c}:
11066 Test that "char *" doesn't print as "caddr_t".
11067
11068Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11069
11070 * gdb.t00/help.exp: Use .* in place of some help messages which
11071 just changed.
11072 gdb.t00/default.exp: Update "info frame" test for new message.
11073 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11074 Remove some xfails
11075
11076Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11077
11078 * gdb.t03/{gdbme.c,ptype.exp}:
11079 Add tests for typedef'd struct and union without tags.
11080 Also check "whatis" on a variable of a typedef'd enum without a tag.
11081
11082 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11083 PRMS 1823; the bug still exists but isn't reproduced by this test
11084 anymore), and remove rs6000 XFAIL (the bug is fixed).
11085
11086 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11087 duplicated from whatis.exp. For those that are left, accept
11088 "long", "long int", or "int" for long variables (whatis.exp already
11089 has an XFAIL for "int", so no need to fail it here).
11090
11091 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11092 Deal with GCC's names for types now that GDB uses the compiler's names.
11093
11094 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11095 setup_xfail's for sunos4. If we #defined the signed keyword away,
11096 don't expect GDB to know that char it is signed.
11097
11098 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11099
11100Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11101
11102 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11103 should work on any system, regardless of debugging format.
11104 * gdb.t21/demangle.exp: Move to gdb.t24.
11105 * gdb.t24/demangle.exp: Move from gdb.t21.
11106 * gdb.t24/{Makefile.in, configure.in}: New files.
11107
11108Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11109
11110 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11111 * gdb.stabs: New directory.
11112
11113Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11114
11115 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11116 not just "Quit anyway?".
11117
11118Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11119
11120 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11121 that all setup_xfails are immediately followed by clear_xfails.
11122
11123Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11124
11125 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11126 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11127 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11128 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11129 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11130 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11131 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11132 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11133 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11134 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11135 gdb.t31/chillvars.exp, lib/gdb.exp:
11136 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11137 bug-gdb@prep.ai.mit.edu.
11138
11139Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11140
11141 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11142 with 0.0, not integer 0.
11143
11144Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11145
11146 * gdb.t06/break.exp: Update for "Kill the program" message change.
11147
11148Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11149
11150 * Makefile.in (GDBFLAGS): Set to -nx.
11151 * Makefile.in (site.exp): Use GDBFLAGS.
11152
11153Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11154
11155 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11156 Makefiles.
11157 (check): depend on just-check.
11158 (just-check): added so that tests can be run without a noop
11159 build pass.
11160
11161Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11162
11163 Switch to using configure's configdirs.
11164 * Makefile.in (Makefile): add configure.in dependency.
11165 (SUBDIRS): removed redundant assignment.
11166 * configure.in: switch subdirs assignment to configdirs.
11167 * gdb.t*/configure.in: new files.
11168
11169Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11170
11171 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11172 works.
11173
11174Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11175
11176 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11177 in explicit rules. Apparently this is not supported by some makes.
11178
11179Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11180
11181 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11182
11183Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11184
11185 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11186 disappeared.
11187
11188Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11189
11190 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11191
11192Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11193
11194 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11195 watchpoint problem that is now fixed.
11196 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11197 uninitialized convenience variables.
11198 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11199 structures.
11200
11201Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11202
11203 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11204 which causes expect to get out of sync with gdb on long output
11205 from help set.
11206 * gdb.t09/corefile.exp: Make expected pattern for core file
11207 failing signal and frame output format less sun specific.
11208
11209Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11210
11211 * gdb.t31/chillvars.exp: Add and remove initial dummy
11212 breakpoint, so that symbol table is forced in.
11213 (Needed at least on Sunos4, though it seems not SVR4.)
11214 * gdb.t31/chillvars.exp: Update for changed output format.
11215
11216Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11217
11218 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11219
11220Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11221
11222 * Makefile.in: Added --srcdir when invoking runtest, removed the
11223 need for a local config file. (optional now)
11224
11225Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11226
11227 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11228 failure count used to force early termination. Add some more
11229 expected failures for gnu style demangling.
11230
11231Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11232
11233 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11234 pmi variable from gdb.t20/gdbme to get optimized away.
11235 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11236 Check for written corefile upon timeout _and_ eof.
11237
11238Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11239
11240 * config/unix-gdb.exp: Add missing return 0.
11241
11242Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11243
11244 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11245 test termination.
11246
11247Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11248
11249 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11250 disappeared.
11251
11252Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11253
11254 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11255 time as i860 support works.
11256
beb998c6 11257 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11258 "backtrace 100\r" rather than just "backtrace\r", to match last
11259 change.
11260
11261Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11262
11263 * config/udi-gdb.exp (gdb_exit): Remove close command.
11264 (gdb_target_udi): New procedure to set the UDI target.
11265 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11266 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11267 Added waits for prompts after several question responses. Added
11268 some more responses used by a29k-amd-udi-gdb.
11269 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11270 pass different arguments, restart UDI connection after program
11271 completion.
11272 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11273 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11274 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11275 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11276 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11277 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11278 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11279 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11280 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11281 after program completion.
11282 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11283 compiled with a SELECT_VECS setting.
11284 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11285 infinite recursion.
11286
11287 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11288 Added checks for COFF results, and made them expected failures for
11289 all targets. It would be better to make them expected failures
11290 for COFF targets only.
11291
11292Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11293
11294 * Makefile.in: add null dvi target, don't bother to recurse
11295 through test directories for info and install-info; rename
11296 $(datadir) to be dejagnu instead of deja-gnu
11297
11298Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11299
11300 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11301 compiler to coredump.
11302 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11303 code.
11304
11305Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11306
11307 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11308 coredump.
11309 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11310 code.
11311
11312Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11313
11314 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11315 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11316 which in a shell. Deletes xgdb when done.
11317 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11318 Tests the return from the "set height" or "set width" commands.
11319 Added a few return codes where needed.
11320
11321Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11322
11323 * Makefile.in (SUBDIRS): Add gdb.t17.
11324 * configure.in (subdirs): Add gdb.t17.
11325 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11326 files to test gdb's calling of functions in the inferior with
11327 the correct arguments and gdb's ability to retrieve any
11328 result returned.
11329
11330Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11331
11332 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11333 may be called after gdb goes away. Previous versions of expect
11334 needed these to avoid file descriptor leaks, but they cause
11335 errors with the current revision of expect.
11336 * gdb.t00/gdbvars.exp: Use -re on expected output after
11337 setting sevenbit-strings.
11338 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11339 to set sevenbit-strings consistent across tests.
11340 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11341 set sevenbit-strings consistent across tests.
11342
11343Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11344
11345 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11346 expected output to match current "expect" expectations.
11347
11348Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11349
11350 * gdb.t00/default.exp: Change expected output for default "source"
11351 command, to match new gdb behavior which requires a filename to
11352 source.
11353
11354Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11355
11356 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11357 expected fail for i486-*-* that misses the marker2 function.
11358 * gdb.t10/crossload.exp (bfddefault): Allow successful
11359 recognition of a format to pass even if no symbols are found.
11360 Explicitly catch failures where the format is not recognized
11361 or is ambiguous, and add the reason to the fail message.
11362 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11363 the cause is and invalid target and add reason to failure message.
11364 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11365 elf32-i386, elf32-sparc, and elf32-i860.
11366 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11367 Set up expected failure for 'filename'::variable scope resolution,
11368 which is now apparently broken on all targets.
11369 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11370 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11371 gdb.t23/templates.exp: Change failure for missing binfile into
11372 just a warning.
11373 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11374 references.
11375
11376Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11377
11378 * gdb.t00/default.exp: Add expected output for default "source"
11379 command, to match new gdb behavior.
11380 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11381
11382Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11383
11384 * config/*-gdb.exp: returns an error, rather than exiting on
11385 internal errors.
11386
11387Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11388
11389 * gdb.t03/gdbme.c: Add pointer to struct variable.
11390 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11391 referencing struct members.
11392
11393Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11394
11395 * configure.in (mips-idt-ecoff): New target.
11396 * config/mips-gdb.exp: New file for remote board using MIPS remote
11397 debugging protocol.
11398
11399 * Redid configuration scheme. Removed gdb.t*/configure.in.
11400 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11401 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11402 distclean targets. Built executables via .o files. Adjusted
11403 tests to account for source files in $(srcdir) rather than
11404 $(objdir).
11405 * lib/gdb.exp (runto): Don't expect () after the function name,
11406 because it may have arguments.
11407
11408Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11409
11410 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11411 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11412 expected failures for mips-idt-* and mips-sgi-*.
11413 * gdb.t00/default.exp (attach): Kill process if requested.
11414 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11415 that does not read core files.
11416 * gdb.t01/run.exp: Removed checks for exit status code.
11417 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11418 it is linked in.
11419 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11420 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11421 appropriate, rather than doing it by hand.
11422 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11423 execution.
11424 * gdb.t10/crossload.exp: Kill existing program if needed.
11425 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11426 appropriate, rather than doing it by hand. Always increase
11427 timeout for this test, not just for VxWorks.
11428
11429Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11430
11431 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11432 of Chill STRUCT types and STRUCT values.
11433 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11434 than "char".
11435 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11436 struct2): New struct definitions and initializations to test
c906108c
SS
11437 simple Chill STRUCT types.
11438
11439Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11440
11441 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11442 the null byte at the end of strings.
11443 * gdb.t00/default.exp: Make show version insensitive to copyright
11444 date.
11445 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11446 to avoid dependencies on target char signedness.
11447 * gdb.t16/printcmds.exp: Update expected results for explicitly
11448 unsigned char.
11449 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11450 now work.
11451 * gdb.t21/demangle.exp: Add many more patterns for template
11452 demangling, most of them being expected failures.
11453 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11454 string we are matching for, to match on the whole string.
11455 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11456 and fix a whole bunch that had incorrect expected output but were
11457 passing anyway because of the bug in "proc demangle".
11458 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11459 type.
11460 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11461
11462Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11463
11464 * gdb/testsuite: made modifications to testcases, etc., to allow
11465 them to work properly given the reorganization of deja-gnu and the
11466 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11467
11468Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11469
11470 * gdb/testsuite: Initial creation of gdb/testsuite.
11471 Migrated dejagnu testcases and support files for testing nm to
11472 gdb/testsuite from deja-gnu. These files were moved "as is"
11473 with no modifications. This migration is part of a major overhaul
11474 of dejagnu. The modifications to these testcases, etc., which
11475 will allow them to work with the new version of dejagnu will be
11476 made in a future update.
48efe704
AC
11477
11478For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11479\f
11480Local Variables:
ef043731 11481mode: change-log
c906108c
SS
11482left-margin: 8
11483fill-column: 74
11484version-control: never
11485End:
This page took 0.905284 seconds and 4 git commands to generate.